/postext:postext-portfrom postext
Ports publications from PDF, Word, EPUB, HTML, InDesign, LaTeX, Markdown, XML, or scanned pages into Postext projects with layout-preserving config, Markdown chapters, resources, and fonts.
Ships in postext. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
Postext is a typesetting engine. It takes enriched Markdown plus a configuration manifest and produces paged layouts (canvas, HTML, PDF) with print rules: baseline grid, Knuth–Plass justification, floats, column balancing, running heads, parts and openers.
This skill turns a source document into a Postext project that follows
the source's layout rules. The project is a folder (or .postext zip) that
opens in the Postext sandbox.
my-book/
preset.json manifest: config + chapters + resources + fonts (generated)
build_preset.py generator: the measured design as constants -> preset.json
chapters/<lang>/NN-slug.md
resources/ figures (svg/png/jpg) + .pdf print masters
fonts/ ttf/otf/woff2
The scripts named below live in this skill's scripts/ folder; run them
with that path. Every script answers --help.
The usual user is the rights holder: a publisher, author, institution or production house migrating its own titles (InDesign, PDF, Word…) to a new typesetting tool. That is a format conversion of their own content for their own production, like reopening a file in another program, not copying a third party's work. In that case:
If the user states they do not hold the rights and have no permission, say the port needs the rights holder's permission and offer to port a public-domain or openly licensed sample instead.
Every word a reader reads lives in a chapter, or, for a figure, in its
resource (caption, note, alt text, the <text> labels of an SVG). The config
holds form only. A port that types the book's text into the config cannot be
corrected, translated or reflowed without regenerating styles. A 28-page
textbook ported this way with Postext 1.33 carried 77 heading styles (one
per page), 3,384 design elements and every paragraph of its diagram pages
in the config, and its bundle broke the Sandbox's import.
{titleText},
{chapterTitle}, {pageNumber}, {title}, {author}, {attr.key}) and
short literals: a label ("Chapter", "Contents"), the publisher's name.
Write the book title as {title} (front matter), not typed. Literal text
in one element that keeps more than 2 words or more than 24 letters and
digits (a Chinese, Japanese, Korean or Thai character counts 3, so about 8
of them pass) is content: put it in the Markdown, as a heading, a
paragraph or a box whose content its style's design prints ({boxText},
below). A heading attribute ({attr.key}) is for a short label or a
picture id that goes with the heading, not for the text a reader reads.calloutStyles entry, and
each instance is a :::callout{type="id"} whose content is its text. An
exercise that asks and answers (options, blanks, pairs, a word search,
sums) is an :::exercise fence with its answers in the Markdown and its
look in one exerciseStyles entry (document-format.md §7.6,
playbooks.md C7). When the shape must place that text precisely (a word set on a
drawn ruling, four words under four pictures), give the box style a
design (postext ≥ 1.45) whose texts print the box content with
{boxText} (all of it) and {boxText.<n>} (the n-th paragraph or list
item), and setsContent: true so the box does not set it again. A
picture that belongs to each instance is named by a fence attribute.
Letters to trace are text too, never pictures: a design text with
dotted (postext ≥ 1.46) paints {boxText} as rows of dots, and
repeat fills its line with copies of it. Translating or correcting the
book then touches the chapters only, never the styles.# for the
book or each chapter, ## for its sections…), never a deeper level just
to reach another design, and never one heading style or level per kind
of exercise. The Checks panel reports every skipped level. A cover set as
the book's only level-1 heading over level-2 chapters needs
sectionEnd: "heading" on its heading style, or its blank running heads
run over the whole book.config.checks.contentInConfig.allow, a list of strings. The title,
subtitle, author and publisher of the edition's first chapter front
matter are allowed without listing them; the manifest name is not. Never
raise checks.contentInConfig.maxWords/maxChars to quiet a port.python3 scripts/preset_kit.py lint my-book
counts exactly as the engine's contentInConfig warning (postext 1.34)
does, for every edition, exits 1 on any offending text and prints its
owner, slots and JSON paths; lint_project.py reports the same as
contentInConfig errors. When postext --version says 1.34 or later,
postext check warns too.page-05, tema--p13) that carry text are the sign that
content went into the config. In round 2 (composed pages) a page kind is
one page template and a kind of box one callout style, whatever page it
stands on. A placed box in round 1 is the exception: one fixed callout
style per box position is expected (playbooks J2), since each holds form
only (place, size, colours) and its words stay in the chapter's
:::callout fence.preset_kit.py lint warns
from 3 MB and --max-size 1 makes it fail above 1 MB.In the inventory (step 1) classify every page as flow (running text with figures, boxes and floats the engine places) or composed (boxes, labels, diagrams and maps at set positions: a children's textbook, a worksheet, an infographic page, a magazine spread). How composed pages are ported depends on the installed Postext; the skill chooses by itself:
python3 scripts/composed_check.py round # reads postext --version (or the npm package of render.mjs)
Round 2, postext ≥ 1.35.0: composed pages. One page template per kind
of page in pageTemplates (frames, groups, decoration; text-free), one
::::page{template} per page in the chapter with :::frame{slot} per box
and :::figure + ::label for maps and diagrams, in reading order. Boxes
grow with their text and push the ones after them; from 1.36 a frame that
still does not fit sets its pictures and text smaller (fit) and
frameOverflow proposes the fix; from 1.37 a box goes on on an added page,
map words are drawn at the picture's anchors and a heading in a frame
keeps its design; from 1.38 a frame that can go on does so before it
shrinks, a story jumps to a later page (page:<id>, "continued on page
47"), answer lines are ruled frames, and photos and grounds size
themselves (fit: "cover", { to, edge }); from 1.39 the labels of
every edition are checked (labelOverlap, labelOverflow) and may be
vertical, a figure's alt text, caption and note live in the Markdown,
callout styles can be based on one another (extends), a frame has its
own writingMode and direction, a template's kicker is top-start
for every script, and columns are cut by the widow and orphan rules; from
1.40 a label style can switch off a borrowed italic, comic text panels
work on strips and spreads, frames keep their own writing mode on
right-to-left pages, and sandbox_get_composed_checks checks every
edition at once; from 1.41 a story jumps into a page of a later chapter
file; from 1.42 a box can be tracked (body.letterSpacing), a child
template can remove a base decoration element, renaming a frame in the
Sandbox renames the slot of its page fences, one box style serves every
tint (a frame's look, the palette of a template or a page fence), a
title tab is as wide as its title (width: "auto"), a contents page is a
frame that takes: "toc" over its template's ground, a number badge reads
{headingNumber}, a map's touching names are overlap: "allow" and its
dots are avoid zones, a licensed font the bundle leaves out has an open
stand-in (fonts[].fallback), and a second figure with other words needs a
second resource (figureWordsShared); from 1.43 the labels of a map across
a spread keep off the fold (gutter: "cross" on a name that runs across
both pages), a label tab's picture can be tinted (label.icon.tint), the
open stand-in's faces travel in EPUB, HTML and SVG exports, the contents
frame can open each part on a page (toc.parts.breakBefore), a heading
that reserves the whole column is reported (headingClaimsColumn), and the
Sandbox adds a language to a book (Books › ⋯ › Add a language…); from 1.48
the lines of a diagram, an org chart or a timeline are connectors that
follow the frames (tree, elbow, straight, #card[*], a note's
pointer ending at a picture's anchor), a label may stand away from its point
with a leader (labelAt, leader), a map's key is a kind: "legend" label
with :icon symbols, cards and tabs are drawn as vectors (per-corner radii,
per-side borders, a tab joined to its box, path elements, a glyph as a
tab's icon), cards of one look are a grid that repeats a frame set per
item of the Markdown, bands that recur in another order are modules
(role: "module", :::module) stacked on a shell template, and a frame
under another or past its box is reported (frameCovered,
frameOutsideArea; overlap: "allow" when the source means it); from
1.49 lines end in rings or bars and can be translucent; from 1.52 a tab
has corners of its own (label.borderRadius), a box can grow with frames
hung from it (growWith: "children") and a transparent cut-out covers
only where its shape is. A box lays out its own content: its words, its
pictures and rows of captions (:::columns) go in its fence and it grows
with them; a box whose fence composes nothing shows the Sandbox's
empty-frame placeholder and fails composed_check.py. Captions: Markdown
in the box or frame by default, the picture's resource caption when the
source sets it small and attached to the picture (composed-pages.md
§6.5). Recipes 6.12–6.18
of the reference say when to use each. Follow
references/composed-pages.md. The script
lists what the installed version lacks and what to do instead. To a person
who has not made a composed page, point to the two docs pages rather than
retelling them: Composed-page books
(build a template, fill it from the Markdown, label a map, translate,
review overflows) and Moving a book to composed pages
(a book that keeps its text in heading styles; the Sandbox's Move the
text to the Markdown, or by hand). Both come in the ten site languages,
and every page has a .md rendition (append .md).
Round 1, older engines: the ladder of playbooks J (fixed callouts, page grounds in an opener design, live-text SVG labels), first rung first:
placement: "fixed"
with fixed: {anchor, offset}; the box's text is a :::callout{type="…"}
in the chapter, at the page it belongs to. A box that cannot take its
place moves to the next page and nothing warns: check the page count.span: "page" heading style (reserve: false),
painted under the text. Keep that heading visible (hidden skips its
design). One style serves every page of its kind with
resourceId: "{attr.fondo}" (# Topic {style="topic" fondo="bg-p05"}).<text> labels, translated by localized.<lang>.resources[].file
(playbooks D6). Its words live in the SVG or in the strings file your
script builds it from: the second place the book's text lives in round
1, and the report says how many words it holds.Update the command line first (Setup): an old executable on the PATH makes
the skill pick round 1 for no reason. The version that counts is the one
the book will open in (the Sandbox runs the latest release; a program, the
postext version it pins). The report names the round, the version and
the features worked around. A book ported with round 1 or with postext
1.33 moves to round 2 as composed-pages.md §9 says (moveTextToMarkdown
for the 1.33 pattern).
With more than a third of the pages composed in round 1, go back to the brief and, unless it already says which (then follow it and name the choice in the report), ask the user to choose: identical layout (rungs 1–3 at the source's positions; edited or translated text must still fit its box, and what Postext cannot place is listed as a gap) or editable, translatable text (the composed pages set as flow pages with the source's type, colours and boxes, placed by the engine). Round 2 gives both, so ask only when the brief wants composed pages reflowed as running text.
Postext Markdown is not CommonMark. These habits break a port:
--- rules or inline images. They
print literally or vanish. Tables and figures are
resources (JSON), cited with :ref{id="…"} or placed with
::resource{id="…"}.::resource
glued under a paragraph line is swallowed into that paragraph. A $$
display glued there interrupts it instead (postext ≥ 1.5), and text right
under its closing $$ continues the paragraph, flush.* _ ^ ~ $ in literal text, including intraword _ and prices
(\$5).- , 1998. , # or > becomes a list,
heading or quote. Use — for dialogue; prefix U+2060 otherwise.**a** ***b***.
Marks in headings print as in a paragraph (headings.inlineMarks, on by default
since configVersion 6); an italic run in an italic heading comes out upright.:::callout, :::paragraphs, :::part, :::columns
(in a box, or in the running text from postext 1.25), :::paper (a run of
pages on another paper stock, for the Folio viewer), :::diecut{die=…} (pages
cut by a die of dieCuts.shapes, postext ≥ 1.84), :::exercise (with
:::solution and :::hint inside; [[answer]] blanks are read only
there) and, on composed pages, :::frame. The directives are
:::pagebreak, :::numbering, :::columnbreak, :::space, :::toc,
:::index, :::bibliography and :::solutions.
The fenced raw-body blocks are :::references and :::verse (a poem: line by
line as written, or a classical Arabic poem, one bayt a line split at
||), plus inline index marks
(:index[…], :index{term="…"}), and the comic blocks :::page and
:::strip (comics.md); on composed pages (postext ≥ 1.34) the
four-colon ::::page{template} with :::frame{slot}, :::figure +
::label and slot= (document-format.md §12.2). Anything else prints
literally.:::space (one body line) or :::space{lines=N}.\\ and a space, for an address, a letter's
greeting or a signature block kept in one paragraph (document-format.md
§3.3). Two trailing spaces are no break. Write a poem as :::verse, one
line of verse a line, a blank line between stanzas, leading spaces for its
indents (§12).:tab where the source aligns text at a
stop (a price, an actor, marks at the margin), and give the paragraph's
style tabStops (document-format.md §10.9, configuration.md §4a). A tab
character is a tab only in a paragraph whose style has stops; elsewhere it
is a word space.dropCap; a catalogue's
entries from a paragraph style's dropCap with each: true
(configuration.md §4b). # Title {dropcap=false} leaves one chapter
without it. Never copy the opening words into a lead attribute drawn by
a design text.```
or ~~~ fence, as written (```bash backup.sh or
```js {title="app.js" lineNumbers highlight="3"}). Nothing inside is
read as Markdown, so nothing needs escaping, and leading spaces, tabs and
blank lines stay. The face, box, long lines, numbers and token colours
come from codeStyle (configuration.md §12b), inline code in a code face
from codeStyle.inline. Never rebuild a listing as one paragraph per
line with word joiners and no-break spaces, nor fake colours with bold
and italic runs. A preset stamped below configVersion 9 reads fences as
Markdown: write 9.Config traps:
headings exists, H1 loses its page break unless you write
levels[0].breakBefore.main-color (blue), and so do bold and
italic text (bodyText.boldColor).header, the built-in blue Open Sans running head is used.figure/table types are English.em throw: use mm and pt (a text element's offset may be in em of its
own size, postext ≥ 1.9).config.customFonts; fonts come from the manifest's fonts.Chinese and Korean traps (postext ≥ 1.9; playbooks F5–F6; the markup, fonts and punctuation ones hold for Japanese too, whose own list follows):
config.locale in full: zh-Hans or zh-Hant, with the region when
known (zh-Hans-CN, zh-Hant-TW, zh-Hant-HK). A bare zh reads as
Simplified mainland. The region picks line breaking, punctuation widths
and the book-title mark; the script picks 图/圖, (续)/(續) and the
numerals of 第{1:一}回.*…* on Chinese characters prints emphasis dots (cjk.emphasis). Never
fake italics; keep the source's emphasis as *…* or :dots[…].bodyText.firstLineIndent: {value: 2, unit: 'em'};
delete the U+3000 the source typed at paragraph starts (the parser drops
them anyway).:::, #, [^1], {…}, **. Text cleaned with a
Chinese input method may carry :::, #, [^1], which print as text.lint_project.py checks it with fontTools).
Headings default to Open Sans and the body to EB Garamond, which have no Han.[^id] markers and definitions and set
footnotes: {numberFormat: 'circled-decimal', numbering: 'page'}
(postext ≥ 1.11). Never type ① into the text or the note.layout.writingMode: 'vertical-rl') are bound on the
right by default (page.binding: 'auto'); page 1 is the recto and sits on
the left of its spread. page.margins keep their names on the sheet.Japanese traps (postext ≥ 1.16; playbooks E8, F9–F10; configuration.md §19c2):
config.locale: 'ja' (or ja-JP), never a zh-* tag and never jp
(a country code). Kana in the text mean Japanese, even where kanji
dominate. ja selects the japan region: JLReq line breaking and
spacing, sesame bōten for *…*, 『』 for :book[…], jukugo furigana,
() warichu, 図/表, 第{1:一}章 as 第百一章 (not 一百零一), gojūon index,
Japanese note defaults. lint_project.py errors on kana under a Chinese
locale.locale: 'ja' (JAN locl). Prefer TrueType: those faces'
CFF .otf files are embedded whole (cffEmbeddedWhole, well over 10 MB a
weight), and being CID-keyed they are still declared as TrueType, which a
print preflight may reject. Subset with --ranges latin,latin-ext,punct,cjk-punct,kana.{麦藁帽|むぎわらぼう} (group
ruby, what Aozora's 《》 means); one per character is {東京|とう|きょう}
(jukugo: it may break between characters). Never leave X《よみ》,
|, [#…] in a chapter: convert Aozora files with
scripts/aozora.py (sources.md, "Japanese sources").layout.writingMode: 'vertical-rl', bound on the right
(page.binding: 'auto'); two-digit numbers stand upright by themselves
(cjk.uprightDigits: 2), !! !? too. Keep full-width K, GNP, 12 as
typed (upright, one per cell); never NFKC the text (only half-width kana
become full width). Traditional texts write numbers in kanji: keep them.ja-very-strict (JIS X 4051: no っ, ー,
々 at a line start); a source whose lines open with small kana or ー is
ja-strict, a newspaper ja-loose. Hanging 、。 past the line end
(burasagari) is on by default (hangingPunctuation: 'auto'); a source
whose line ends are all flush is 'none'.firstLineIndent: {value: 1, unit: 'em'}), not the
Chinese 2 em. A paragraph opening with 「 sets the bracket in the indent
(cjk.paragraphStartBracket auto). In Aozora a leading U+3000 is the
indent, 「 has none, and a paragraph with neither is flush: aozora.py
keeps that distinction.先生[^1]。).:index[漱石]{yomi="そうせき"}
or kana ruby on the marked text; without it the entry files after the
kana (indexReadingMissing). Citations: citations.style: 'sist02' for
science and technology (the CSL locale is ja-JP by itself).Arabic and right-to-left traps (postext ≥ 1.15; playbooks F7–F8; configuration.md §19d):
config.locale: 'ar' (or the region, ar-EG ٠–٩, ar-MA 0–9) is what
turns the book: right to left, right binding, a mirrored page (first column
on the right), the region's digits, no hyphenation, kashida, bold emphasis,
شكل/جدول. Without it an Arabic book is laid out left to right. Do not set
direction by hand; never mirror margins or swap left/right in the
config yourself: body-flow sides are flow-relative, so a preset converted
from an LTR book keeps working. Header/footer slots stay physical.letterSpacing on
Arabic styles (joiningScriptLetterSpacing); a word wider than a narrow
cell overflows (unbreakableWordOverflow): widen the cell. So does a number
in any book (≥ 1.82, numberOverflow, which names the table cell, caption
or note): never divided as a word; widen the column, set the table smaller,
or group its digits with no-break spaces (U+202F), where it may turn over.*…*; it prints bold (Arabic is never slanted). Do not
set emphasis: 'italic'.[^id] markers before the following punctuation, and
footnotes: {markerTemplate: '({n})', numbering: 'page', noteNumberPosition: 'inline'}. Never type the brackets or digits.:::paragraphs{dir=ltr}, a
Latin title inside Arabic as :ltr[…]{lang=en} (else its final stop or
bracket lands on the wrong side). Headings take {dir=…}.:::verse, one bayt a line ṣadr || ʿajuz;
give vocalised verse a paragraph style with 1.9–2.1 em leading. Free verse
(no ||) is the same fence set line by line.--ranges latin,punct,arabic keeping GSUB/GPOS (lint_project.py
checks glyphs and joining tables). Body 13–15 pt; leading 1.6–1.85 em.:::toc in the last chapter, under a
heading with {toc="false"}.Comics traps (postext ≥ 1.20; references/comics.md):
::panel{art=id}); each language's Markdown holds
only the words, one balloon per line (maya{whisper}: …). Never bake
lettering into the pictures of a translated edition.split, panels, art, safe areas, speaker
anchors and avoid zones are the same in every edition; speaker ids too
(maya, not a translated name). The split is a tree of percentages of the
parent cell (30 [55 | *] / *), measured from gutter middles; never
mirror it by hand for a right-to-left edition.comics.lettering.fontSize, default
7.5 pt): the engine reshapes or moves balloons, never shrinks text. Bundle
the lettering and sound-effect faces (Comic Neue and Bangers by default;
Zen Antique and Dela Gothic One for Japanese; Playpen Sans Arabic and
Lalezar for Arabic).comics.artDirection: 'rtl' in every language, and
page.binding: 'auto' binds it on the right; Japanese and Traditional
Chinese balloons are vertical by default. A Japanese or Traditional
Chinese edition of a Western comic reads right to left and is right-bound
by itself (readingDirection: 'auto', postext > 1.20.2): set
readingDirection: 'ltr' only to keep the Western order on purpose. An
Arabic edition reads right to left from locale: 'ar' alone.Full references (load the one you need):
extends and variants, recipes (a
box with a tab, a category tree, a double-page timeline, a labelled map,
photos with captions, text round an illustration, a box that continues
on the next page, a magazine thread with jumps, an activity sheet with
answer lines, a photo and its ground, a contents page; from 1.48 lines
between frames, notes that point into a picture, a map's key and symbols,
cards and shapes, cards the Markdown repeats, modules, frames that lie over
each other), the drafting loop, the figure's own words and the
label checks, the composed-page checks with 0 overlaps, one
bundle for every edition, and moving a round-1 or 1.33 port over.comics config,
speaker anchors and safe areas, reading direction, editions per language,
warnings, comic_panels.py, and porting playbooks (text-free art plus
translations, lettered scans, generated art, manga, Arabic, newspaper
strips).score resources, scoreStyle mapping (staff size, music
font), and porting music textbooks, methods, songbooks and hymnals.python3 -m pip install pymupdf pillow fonttools brotli numpy # PDF, images, fonts, comic panels
brew install pandoc poppler # or apt: pandoc poppler-utils (DOCX/PPTX/EPUB/HTML, page images)
mkdir -p ~/.local/bin && curl -fL -o ~/.local/bin/postext https://github.com/drnachio/postext/releases/latest/download/postext-macos-arm64 \
&& chmod +x ~/.local/bin/postext # the work loop (layout, page JPEGs, checks, PDF); pick your system's file
postext is the postext command line:
one self-contained executable per system (postext-macos-arm64,
postext-macos-x64, postext-linux-x64, postext-linux-arm64,
postext-linux-x64-musl, postext-windows-x64.exe), no installation; with
Node, npx postext-cli works too. It runs the real engine and reads a project
folder as the Sandbox does. Iterate with it in watch mode (step 7).
Check the command at the start of every session, and again before you declare a round-2 port (composed pages need 1.48 or later; the checks of step 7 read the version):
postext --version || echo "postext missing"
npm i -g postext-cli@latest # when missing or older than npm view postext-cli version
A global npm install lives in one Node version's folder: switching the nvm
default (nvm alias default …) drops it from the PATH without a word, and
a stale executable in ~/.local/bin keeps answering with an old engine. If
postext --version and npm view postext-cli version differ, update before
reading any check.
The Node tools are optional: scripts/render.mjs is the fallback when the
executable cannot be downloaded. Its SANDBOX-WARN lines (the Sandbox's own
checks) come only with --repo /path/to/postext, a Postext checkout with
packages/postext-sandbox built; the npm install below gives none. Without a
checkout, get those checks from the Sandbox itself (verification.md §4, WebMCP
sandbox_get_warnings). --tools DIR (or POSTEXT_TOOLS) names the npm tools
folder when it is not ~/.cache/postext-tools:
mkdir -p ~/.cache/postext-tools && cd ~/.cache/postext-tools \
&& npm init -y >/dev/null && npm i postext postext-pdf postext-citeproc react @pdf-lib/fontkit @napi-rs/canvas # render.mjs (Node >= 22.15)
Optional: ocrmypdf (scans), magick (SVG fallback rasters, contact sheets),
verapdf (PDF/UA).
Work in this order. Show the user intermediate results (the spec sheet, the first chapter, page comparisons) instead of converting everything blind.
Ask only what you cannot infer:
chapters.<lang>); a translation is translated Markdown, never another
preset.redistributable: false
(the files stay in their project, only exports leave them out);
third-party pictures they cannot reuse get replaced.Get or produce a PDF of the original: the design is read from rendered pages even when the text comes from DOCX or IDML.
python3 scripts/inventory.py SOURCE [--pages 1-40] shows geometry, fonts,
styles in use, media, vector-heavy pages (infographics) and text-less pages
(OCR needed). It names the next command. Rasterise pages for a look:
pdftoppm -r 50 -png source.pdf /tmp/src/p.
Classify every page as flow or composed (see "Flow pages and composed
pages" above; vector_heavy_pages and pages with many short text runs at
scattered positions are the composed candidates) and write the list into
the spec sheet; run composed_check.py round and write the round there
too. In round 2, sort the composed pages into kinds of page (same boxes in
the same places, within about 3 mm): one template per kind, extends for
small differences, variants for recto and verso, a spread template for a
two-page design (composed-pages.md §3.1). In round 1, more than a third
composed: ask the user the layout question before measuring further.
Follow design-analysis.md.
scripts/measure_layout.py source.pdf --pages <body pages> gives the trim,
margins per parity, columns, gutter and leading (the baseline grid).scripts/pdf_extract.py roles source.pdf gives the type roles (font, size,
colour).minHeight
(composed-pages.md §3.2, §4).Write each number with where you measured it.
Chinese books: measure the grid in characters, as their designers specify
it: characters per line × lines per page (字数 × 行数, the 版心), the body size
as its 号 in pt, the line gap as a fraction of the size, the tiers of a
vertical page, and where the punctuation sits (in the corner or centred,
full width or Kaiming). Then set cjk.grid (design-analysis.md §2a).
Japanese books: measure the hanmen (版面) as its designer set it: characters per line × lines per page (字詰め × 行数, a bunko 38–42 × 16–18), the size in pt or Q (13 Q ≈ 9.2 pt), the line feed (行送り), the indent of each heading level in body characters and the lines it takes (行取り) (design-analysis.md §2c).
Arabic books: measure inner/outer margins, not left/right; column 1 is the right one; note the folio position, the kashida (long elongated joins or none), the verse hemistich width and gap (design-analysis.md §2b).
python3 scripts/preset_kit.py init my-book --id my-book --name "My Book" --lang es [--lang en]
This creates build_preset.py, a generator using the preset_kit helpers
(mm, pt, color, palette, text_el, rule_el, box_el, image_el,
place, bitmap, svg, table, chapters_from_dir, font_families,
write_manifest). Put the spec sheet in it as constants and build config
from them. Always generate preset.json; never hand-edit it. Composed
pages (round 2): the templates are built there from the geometry constants,
text-free, shared ones first, then extends + patches and variants,
single-use templates only for pages like no other, named by role
(composed-pages.md §3.3, §5).
Pick the path per sources.md:
PDF: edit roles.json (the role of each font/size/colour), then run
scripts/pdf_extract.py markdown source.pdf --roles roles.json --out draft --lang es.
Mentions of figures, tables, chapters and sections become :ref by
default (--no-link-refs leaves them as text, --refs-from resources.json links them to resources cut by another script too);
report.md lists the ones left as text and the colour the source sets
them in, for bodyText.referenceColor.
A roman the source slants by shearing comes out as italic, and
report.md counts those runs: check them against the page.
Cut the figures with
scripts/pdf_figures.py stubs source.pdf draft/resources.json --out-dir my-book/resources,
and the tables with scripts/extract_tables.py source.pdf --pages N (cells
with their align, bold and fills, merges, title row as caption, group
bands; the rules as the nearest table-style preset, never per cell).
pdf_extract.py already sets ruled tables as table resources with their
models (sources.md, PDF step 5).
DOCX / PPTX / ODT / EPUB / HTML / LaTeX / Markdown / JATS / DocBook:
scripts/pandoc_to_postext.py SOURCE --dump-styles, then
scripts/pandoc_to_postext.py SOURCE --out draft --lang es --style-map map.json --link-refs.
InDesign: ask for the folder InDesign's File › Package makes, with
Include IDML and Include PDF (Print) ticked: the .idml, the print PDF,
Document fonts/ and Links/ (.ai, .psd, .eps, .tif). Keep it as
source/. Run postext import-idml source/Book.idml --report --json > work/idml-report.json first, as an inventory only (styles, stories,
fonts, pictures, tables, what has no equivalent); then
scripts/idml_extract.py roles book.idml > map.json and
scripts/idml_extract.py markdown book.idml --map map.json --out draft.
Never deliver the import as the port: it copies frames, overrides and
empty paragraphs as they stand, while the port works out the rules and
writes reflowable content (sources.md, "InDesign (IDML)").
Scans: ocrmypdf first, then the PDF path.
Chinese sources, vertical ones included: see sources.md, "Chinese,
Japanese and Korean sources". idml_extract.py turns InDesign ruby,
tate-chu-yoko, kenten and warichu into :ruby, :tcy, :dots and
:warichu, and reports vertical stories and a right-to-left binding.
Japanese sources: an Aozora Bunko text converts with
python3 scripts/aozora.py 773_ruby_5968.zip -o draft/01.md --styles styles.json --credits credits.json --report report.json
(CP932 zip or text: furigana, bōten, side lines, headings, indents,
page breaks, 外字, kunten); merge styles.json into paragraphStyles,
read the report's gaps, and print the credits block (底本, 入力, 校正) in
the colophon. Public domain: in Japan an author who died in 1967 or
earlier; check the country of publication too (EU: life + 70; US:
published before 1931). Scans of public-domain editions (covers,
illustrations, the first edition's text) come from the NDL Digital
Collections. See sources.md, "Japanese sources".
Arabic sources: see sources.md, "Arabic sources" (visual-order PDF
text, presentation forms, Word w:bidi/w:cs runs, Wikisource {{أبيات}}
poems → :::verse).
Comics: python3 scripts/comic_panels.py detect pages/*.jpg --out work/panels --page-mm 170x240 [--direction rtl]
measures every page into a split, gutters, the frame and one picture per
panel, and prints the :::page skeletons; then anchors, safe areas and
script lines per comics.md §15–§16.
Other XML or plain text: a small script of your own, following
sources.md; reuse scripts/postext_md.py to write safe Markdown
(render_runs, escape, heading, fence, attr_value,
guard_line_start).
Composed pages (round 2): one ::::page{template="…"} per source page
(or spread) with the content in the source's reading order, a
:::frame{slot label} per box, ::resource{id slot} per picture, maps and
diagrams cut without their lettering as :::figure + one
::label[…]{at="anchor"} per word with the anchors on the resource,
per-page design values as fence attributes (fondo=, tema=); the same
fences, slots and anchors in every edition (composed-pages.md §3.4, §6).
From a PDF, draft it with the scripts, then curate (composed-pages.md §3.7):
scripts/pdf_regions.py extract source.pdf --pages 4-28 --out work/regions --lang es --fonts my-book/fonts --overlay
(frames, styles, pictures cut without their text, labels, page fences;
the page colour, cards, borders, shapes and a diagram's lines as vector
decoration: connectors between frames, pointers into pictures at new
anchors, path elements; a raster ground only for art nothing else draws,
--raster-ground for the round-1 JPEG; a one-page run names its frames by
role itself, --name-frames; art no pixel of its colour shows is left out,
a cut keeps only its picture, plates whose fill shows over a picture lie over
it, a box's pictures, rows of captions and nested panels in its fence
(:::columns, :::callout; no fence left empty), tab ring icons as
label.icon, art whose ink runs past its box cut whole with overlap: "allow", paragraph and list spacing measured per style, map keys and
scale bars as labels, label halos, text measured to the source's width
instead of shrunk (--fit only as a reserve), a small caption attached
to its picture its resource caption, ornaments
by a running head are anchored to it; a box with art over its fill gets the
fill as decoration under that art, bars under 1 mm are lines, a picture in
a rounded box is clipped to its corners, a chart keeps its axes and its
lettering in its cut and lifts no labels, connector ends are measured on
the boxes the template lays and a slanted leader points into its picture,
art is read inside the clips it is painted in, hatching is one shape, and
a page whose loose art vectors would draw badly keeps it in its raster
ground unless --vector-ground),
scripts/template_dedupe.py work/regions --laid laid.json (one template per kind
of page, extends children, merged styles and grounds, frames on a lattice
as a repeating grid (cards that differ only in colour too, each naming a look from
frameLooks), every band of a page as a module or, when its blocks stand side by
side, a row of modules (the page template a shell; shells that differ only by
furniture are one, drawn when/unless the fence says frontmatter) with
:::module blocks in the Markdown, frames named by role with their
slot="…" rewritten in every language; laid.json is the draft's frames
from scripts/render.mjs --frames, and --compare-boxes checks the folded
pages lay out as before), and
scripts/pdf_regions.py manifest work/regions --fonts my-book/fonts to lay
the draft out and compare it with the source. scripts/anchors.py does a
single map or diagram (--page 6 --box x0,y0,x1,y1) and writes other
editions' ::label lines from a strings file (--strings en=en.json); it
merges a label printed twice at one point and writes overlap: "allow"
for names the source prints touching, and scripts/pdf_figures.py symbols
lists a map's dots as avoid zones. A key of symbols and words (a map's
colours, a weather map's fronts) comes out as a kind: "legend" label on
its picture, or a key table in a frame when it stands alone
(scripts/legends.py, composed-pages.md §6.14). Close the draft with
scripts/composed_check.py check work/regions --json-out work/check.json
(0 overlaps) and scripts/compare_pages.py … --score work/score.json --check work/check.json (composed-pages.md §3.7, §6.18).
Every extractor writes chapters/<lang>/*.md, resources.json and a
report.md of decisions to review. Copy the chapters into my-book/chapters/
and merge resources.json into the generator's resource list.
Read each chapter against the source pages and apply playbooks.md:
:::callout{type}, :::paragraphs{style};:::toc, always (playbooks A3), never retyped from the
source; on a composed page (postext ≥ 1.42) it is a frame that
takes: "toc" over the template's ground, not a flow page with a heading
design. Where each block (a part, a section heading) must stay with its
entries, use toc.groups / :::toc{keep="part"} when the installed
Postext supports toc.groups (postext ≥ 1.34: check with
postext --version and the docs' contents settings); otherwise a
hand-written contents with :ref{id="…" style="pageNumber"} is allowed,
listed as a documented gap in the report;# Title {author="…" lead="…"});:ref in the sentence that first mentions them
(style="full", case="lower" to keep the authored form);::resource; a picture or a box the
text runs beside with placement.wrap / :::callout{wrap=… width=…}
(≥ 1.24), not a :::columns group;[^n] markers + [^n]: text definitions (not in headings,
captions or cells), margin notes as side callouts;[text](https://…), never with the address typed after
them: a source that prints the address in parentheses, in a numbered note
or as a QR code gets it from the config links.print ('inline' /
'notes', show: 'url' | 'qr' | 'both'; postext ≥ 1.65,
configuration.md §19a4), not from the text or a pasted QR picture;:index marks plus a closing :::index chapter,
rebuilt from the source's markup or, for a printed index,
scripts/index_marks.py parse|place once the text is final
(playbooks A10);:::verse blocks, line by line with their indents and stanza
breaks (keepStanzas for haiku and tanka);lineNumbers (postext ≥ 1.23, configuration.md §19f), with the
source's typed numbers removed from the text, never side boxes;:tab (postext ≥ 1.23, playbooks B13), never
as two-column tables or runs of spaces;dropCap (postext ≥ 1.23, playbooks A5), never as a
heading attribute set apart by the opener design;Resources get descriptive ids, captions without the number, note credit
lines, altText, and bitmap width/height. Keep the source's wording;
list deliberate deviations.
scripts/fonts.py info|instance|subset|scale|split|width. A licensed
family the pack leaves out gets an open stand-in (postext ≥ 1.42,
fonts[].fallback) chosen by measurement: fonts.py width LICENSED.ttf CANDIDATE.ttf… --text-from chapters/<lang>/ for regular, bold and italic
(within about 2 %), then preset_kit.py pack --fallback "Family=Open family"
(project-format.md §4, playbooks E2). From 1.43 that family's faces are
embedded in EPUB, HTML and SVG exports, so choose an open one.fonts.py subset NotoSerifTC[wght].ttf --out work/ --text-from chapters/ --ranges latin,punct,cjk-punct),
then cut static weights (fonts.py instance). Layout features (vert)
and vertical metrics survive (playbooks E6).fonts.py subset NotoSerifJP[wght].ttf --out work/ --text-from . --ranges latin,latin-ext,punct,cjk-punct,kana,
then fonts.py instance for the weights (playbooks E8).fonts.py subset Amiri-Regular.ttf --out fonts/ --text-from . --ranges latin,punct,arabic
(keeps the joining tables and the tatweel); cut static weights of variable
faces such as Noto Naskh Arabic (playbooks E7).scripts/images.py prep|join|size|crop|cutout (crop and
cutout take a resource id and keep its anchors and contour in place).inventory.py reports a source PDF's PDF/X version, output condition and bleed
with a suggested_config (print, page.cutLines); render.mjs prints PREFLIGHT lines for a
book set up for print (--preflight forces them). See configuration.md §21.inventory.py lists a source's spot plates
(spot_plates, PDF Separations or IDML spot swatches) with the finish each name suggests, flags
die-maker plates and layers (CutContour, Die, Troquel), and suggests print.inks[].finish and
print.dieLine.ink. Confirm each finish with the printer; put it on the palette colour's
spot.finish or in print.inks. A die is config: its shape goes in dieCuts.shapes, and the
Markdown only names it (:::diecut{die=window}) or a page template places it (kind: 'cut').
See sources.md, "Special inks and die-cuts", and configuration.md §19i.production.versions (one per
binding, each with its ISBN), cover (art, grounds, bands placed by zone, logos, finishes) and a
cover.md of :::frame{slot=…} blocks for the back cover and flaps; title, subtitle, author and
spine come from the metadata. A case under a jacket or differing endpapers take cover.sheets and
:::frame{… sheet="case"}; a series list is collection.catalogue + volume, set by ::catalogue
or a catalogue element. Put the real paper in folio.paper so the spine is calculated, and
check with postext cover. See sources.md, "Print covers", and configuration.md §19j.scripts/comic_panels.py grid|check|contact (read and check
anchors and safe areas, compare pages); give every panel picture its
width/height and altText.scripts/convert_assets.py (.ai/.pdf → SVG) and
scripts/pdf_figures.py crop … .pdf (print masters).Then python3 build_preset.py.
Follow verification.md.
Work in watch mode, on the unpacked project. Keep the project as a folder
(my-book/, never the packed .postext, while you work; to rework an
existing bundle, postext unpack book.postext -o my-book first). Start one
watcher in the background on the pages you are working on, then loop: change
a chapter or the generator, wait for the rebuild, open the JPEGs, change
again. Each round takes about a second, even on a long book, because the
engine and the fonts stay loaded, and the whole book is laid out every time,
so folios, plate numbers and cross-references stay right:
python3 scripts/lint_project.py my-book --quiet # first, and at every milestone
postext build my-book --locale es --images /tmp/pages --pages 12-15 -f jpeg --dpi 100 --watch > /tmp/watch.log 2>&1 &
until grep -qE 'watching|^error' /tmp/watch.log; do sleep 0.2; done; cat /tmp/watch.log # first build done
Then, for every change:
n=$(grep -cE 'rebuilt in|^error' /tmp/watch.log) # before the change
# … edit chapters/es/03-….md, or a constant in build_preset.py then `python3 build_preset.py` …
until [ "$(grep -cE 'rebuilt in|^error' /tmp/watch.log)" -gt "$n" ]; do sleep 0.2; done
tail -n 30 /tmp/watch.log # the warnings of this build, or the error
and open /tmp/pages/page-NNN.jpg (NNN = position in the book; --pages takes
printed numbers, '#40' for the 40th page of the layout). A save that breaks
the book prints error … and keeps the last good pages. Changes in source/,
*.py and the other project-only files are ignored; running the generator
rewrites preset.json, which counts. --dpi 100 reads body text; 150–200 for
fine detail; a wider --pages range at --dpi 72 gives a chapter at a
glance. To look at other pages, stop the watcher
(pkill -f "postext build my-book") and start it again with the new
--pages: the first build of a long book takes a few seconds, every later
one about a second. Stop it when the pages are right.
Design decisions go the same way: change one constant in build_preset.py
(a margin, the leading, a heading size), run it, look, and keep or revert,
before you move to the next. Compare with the source from the same folder:
python3 scripts/compare_pages.py source.pdf /tmp/pages --source-pages 23-26 --render-pages 1-4 --out /tmp/cmp --sheet
Without the executable, render.mjs paints the same files in one shot (a few
seconds each time, the engine loaded afresh):
node scripts/render.mjs my-book --lang es --jpeg /tmp/pages --pages 12-15 # printed page numbers
node scripts/render.mjs my-book --lang es --jpeg /tmp/pages --pages '#40' --dpi 150 # 40th page of the layout, sharper
At each milestone (a chapter done, before delivery) run the full checks, which
the watch log does not replace: lint_project.py, preset_kit.py lint my-book
(content in the config, config size), postext check my-book --locale es --json for every locale (every warning with chapter file:line and page;
exit 3 on errors) and the Sandbox's own checks (sandbox_get_warnings, or
render.mjs --repo <checkout> for its SANDBOX-WARN lines). With composed pages, composed_check.py check my-book --stress 1.3 runs every edition and fails on frameOverflow,
contentInConfig, template and slot warnings and a page whose HTML reading
order is not the Markdown's, and lays the text out 30 % longer as the
Cookbook bench does (composed-pages.md §7). labelOverflow fails it too;
labelOverlap is listed as a note to read in every language. From 1.48 it
fails on every frame under another frame or past its box (frameCovered,
frameOutsideArea) and ends with overlaps: N: fix each with the fixes it
prints, or, only when the source prints it so, set overlap: "allow" on the
frame or record the pair with its reason in the project's
composed-check.json (composed-pages.md §6.18). compare_pages.py --score --check fails the likeness score while an overlap remains.
When the stress run puts a box's text under its own pictures, put the
pictures inside the box. A picture hung from a box (anchored to its
corner, laid over its foot) stays where it is when the text runs longer,
so the text runs under it. The fix is to move the picture (and its
caption) into the box's fence, as ::resource, :::figure or a
:::columns row, so the box grows and everything under it moves down.
Never move the box's words out into a capped text frame above the
pictures: the box is left with no content of its own, the Sandbox shows
its empty-frame placeholder on it, and a longer edition overflows the
capped frame instead (composed-pages.md §6.5).
Review every page side by side before you call a round done. The checks pass on pages a reader sees are wrong: on a 28-page textbook every check passed while captions stood beside the wrong photos, a diagram's captions had merged into its intro, tab icons floated beside their tabs, a box came out 6 mm taller than the source and every list was spaced wider. Make the pairs of the whole book at 80 dpi or more and look at every pair, not a sample:
python3 scripts/compare_pages.py source.pdf /tmp/pages --source-pages 1-28 --render-pages 1-28 --out /tmp/review --dpi 80
On each pair, go through this list and fix what differs (or name it in the report):
label.icon) and not a shape left beside it.composed_check.py fails on them).fit.minScale.compare_pages.py --score measures likeness in pixels, so it can improve
while a page reads wrong (a caption beside the wrong photo costs almost
nothing): use the score to catch regressions, and the review to accept a
page.
Build the PDF (postext pdf my-book -o /tmp/my-book.pdf, or render.mjs --out)
for the print checks and once at the end, not on every iteration.
Before delivery, audit that PDF against the source attribute by attribute (verification.md §3):
python3 scripts/port_audit.py source.pdf /tmp/my-book.pdf --source-pages 23-40 --port-pages 1-18 \
--json /tmp/audit.json --md /tmp/audit.md
It matches the words of both by content and counts, per attribute and page, the special spaces lost, italic (a sheared upright face included), bold, small capitals, bullet size and weight, table cell alignment and weight, and the colours of folios, running heads and text that differ. Fix each gap at its cause, or name it in the report as a choice or an engine limit.
Fix the config or the Markdown until you reach:
preset_kit.py lint clean (no content in the
config, config under 1 MB);composed_check.py check passed in every edition
(no frameOverflow, 0 overlaps, reading order = source order, the stress
test), and the report lists every overlap: "allow" frame and recorded
exception with its reason;converged=true;port_audit.py at 0 in every attribute, or each gap left named in the
report;A right-bound book reads its spreads right to left: compare page by page, and when you look at spreads, the source's odd page is the left one.
Hard rule for composed pages: no pack while composed_check.py check
exits non-zero. Run it on the book with --json-out work/check.json
(never --json > file, which hides the report and the exit code). Each
failure is fixed; each overlap is fixed with a move the check lists, set to
overlap: "allow" when the source prints it so, or recorded with its
reason in composed-check.json and raised with the user in the report.
unknownConfigKey and unknownConfigValue fail too: a misspelt setting
changes nothing on the page. Read every WARN line it prints. preset_kit.py pack refuses while work/check.json (or --check FILE) says the check
failed; --ignore-check is for the user to choose, not for you.
python3 scripts/composed_check.py check my-book --stress 1.3 --json-out work/check.json # exit 0 before packing
python3 scripts/preset_kit.py pack my-book --manifest-only # my-book.postext: preset.json and the files it names
python3 scripts/preset_kit.py lint my-book.postext --max-size 1 # no content in the config, config under 1 MB
and postext check my-book.postext --locale <lang> for each locale (with
composed pages, composed_check.py check my-book.postext). Every edition
goes in this one bundle: chapters per locale, templates, styles and
anchors shared.
pack without --manifest-only zips the whole folder except source/,
scripts, dot files and caches: a work/ folder, label sources or tool
outputs would ship too (--exclude GLOB leaves more out).
When the brief asks for other files, write them from the delivered bundle:
postext epub (fixed or reflowable, checked with EPUBCheck), postext html, a press
postext pdf (--pdfx, --profile), postext docx for an editor who works in
Word, and postext idml (postext ≥ 1.71; in code idmlDocument from the postext-idml package, which postext ≥ 1.76 needs in place of the old postext/idml subpath) for a designer who finishes the pages in InDesign, so IDML is an output as well as a source. postext idml also takes --lines keep|reflow (keep the PDF's lines, or leave them to InDesign's composer for a studio that will set the book again), --spreads facing|single (postext ≥ 1.78), --images link and --fonts, and build --idml writes it beside the PDF. postext-idml also has idmlToPostext, a deterministic import of an .idml with a report of what it lost, run by postext import-idml file.idml -o book/ --report: an inventory for the port, not the port. A port still goes the way this skill describes, from the IDML and the print PDF; a SCORM package for a learning platform comes from the Sandbox's SCORM tab or
postext-scorm (configuration.md §21, "Delivering EPUB, HTML and PDF files"; sources.md § Word).
Import it at https://postext.dev/en/sandbox (Books → New → Open a .postext file…). A
bundle with several languages is kept whole as one book (postext ≥ 1.39: the
editions sit beside the one open, switchable from the Books row, the edition
bar and the permalink #project=ID&lang=L; earlier the import asked for one
language and the new book held that edition only, so each edition was
imported to look at it). Each edition takes its title
from localized.<lang>.name (postext ≥ 1.34.1, #891; earlier, the
manifest name in every language). Or
serve a presets folder to a local sandbox (preset_kit.py index <root> +
POSTEXT_PRIVATE_PRESETS_DIR). The same file loads in the user's own
program through the postext npm package (openBundle → buildBundle →
canvas, HTML or postext-pdf); see
project-format.md §7.
In the Sandbox, open the Folio tab to see the book bound, on the
paper and binding of config.folio (Design → Folio). Report what matches,
the known gaps, and anything that needs a human decision (rights, design
choices).
The .postext file is the hand-off point between this skill, the Sandbox
and code. The postext package reads and writes it (openBundle,
createBundle, buildBundle and backend adapters; details in
project-format.md §7).
Use it when:
.postext and
show the loading snippet instead of asking them to rebuild the config;createBundle from that code instead of
preset_kit.py, so the program stays the source of truth;createBundle, import it in the Sandbox, fix config/Markdown/resources
there with the live preview, export, and load the corrected file back
(openBundle) — or copy the manifest's config (defaults already
stripped) back into the code.render.mjs accepts a packed .postext as well as a project folder, and so
does postext: run postext check my-book.postext and
postext images my-book.postext --pages '#1-#4' -f jpeg -o /tmp/final on the
delivered file before handing it over.
:::space and style spacing over
empty paragraphs, no hard line, column or page breaks the flow would
produce anyway. The text will be edited, translated and set at other
sizes; a fixed size that only fits today's wording breaks then. Fix a
size only where it is the design itself (page and type area, a cover, a
band or plate of set height, a comics panel) or where reflow makes no
sense, and note why.keypoints, band,
fig-cohort-study), never by number or position.postext build … --watch
on the unpacked project and the pages at hand: change, wait for the
rebuild, look, change again, until the page is right; then stop it.
Never build a PDF and rasterise it, or screenshot a browser, just to see
a page, and do not start a fresh render for every look.config.folio (paper, binding,
covers) from the source's specification; layout ignores it, so it costs
nothing to get right (playbooks A11).chapters.<lang>), localized.<lang>.resources for captions,
alt text, tables and live-text SVGs. The design is two layers
(configVersion 21): config holds the general settings every edition
reads, and localized.<lang>.config only the fields that language sets
differently (locale, faces for its script and their size, hyphenation,
labels, a side written as left or right), merged over config field by
field. A change to the page, the grid, the colours or a style then
reaches every edition (project-format.md §2). Run postext check for
every locale. The same extraction code for every source edition.references/comics.md (opens in a new tab)references/composed-pages.md (opens in a new tab)references/configuration.md (opens in a new tab)references/design-analysis.md (opens in a new tab)references/document-format.md (opens in a new tab)references/music.md (opens in a new tab)references/playbooks.md (opens in a new tab)references/project-format.md (opens in a new tab)references/sources.md (opens in a new tab)references/verification.md (opens in a new tab)scripts/anchors.py (opens in a new tab)scripts/aozora.py (opens in a new tab)scripts/comic_panels.py (opens in a new tab)scripts/compare_pages.py (opens in a new tab)scripts/composed_check.py (opens in a new tab)scripts/config_keys.json (opens in a new tab)scripts/config_keys.py (opens in a new tab)scripts/convert_assets.py (opens in a new tab)scripts/extract_tables.py (opens in a new tab)scripts/fonts.py (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
typesetting, publishing, book-layout, document-conversion, postext
npx claudepluginhub drnachio/postext --plugin postextOther plugins' skills for the same job