Zum Hauptinhalt springen
Rezept Nummer 6

Rezepte · Kapitel 5 · Buchaufbau

Titelei mit römischen Paginas, dann Seite 1

Umschlag und Titelei sind nicht nummerierte Überschriften, römisch in Kleinbuchstaben gezählt; :::numbering beginnt rechts beim Roman wieder bei 1.

Auf dieser Seite
Ausgabe
Canvas · PDF
Postext
Getestet mit Postext 1.65.0
Erfordert ≥ 1.34.0 · postext-pdf ≥ 1.34.0
Lizenz
Aktualisiert am 16. Okt. 2026
Code MIT · Text CC BY 4.0

S. i · 1 von 14

  • Englisches Beispiel: noch keine deutsche Ausgabe
  • Endformat 129 × 198 mm
  • 1 Spalte
  • Fanwood Text 10,5/14
  • Cinzel
  • Playfair Display SC
  • 14 Seiten
  • Stufe
  • Postext 1.57.1
  • In 88 ms gesetzt
  • 245 Zeilen Code

Kurz gesagt

Die ersten Seiten einer Taschenbuchausgabe von Frankenstein. Sie zeigen, wie die Seiten vor der Geschichte i, ii, iii gezählt werden und die Zählung dort, wo die Geschichte beginnt, wieder bei Seite 1 anfängt.

Was Sie setzen

Die ersten Blätter von Frankenstein als Taschenbuchklassiker, 129 × 198 mm: ein Umschlag mit Blitzen über dem Mont Blanc, dessen Rückseite leer bleibt, ein Schmutztitel, ein Frontispiz mit Waltons im Eis eingeschlossenem Schiff gegenüber dem Titelblatt, das Impressum tief auf dessen Rückseite, die Widmung an Godwin über Miltons Motto, eine Inhaltsseite und das Vorwort von 1818. Diese zehn Seiten sind i bis x nummeriert, doch nur das Inhaltsverzeichnis und das Vorwort zeigen ihre Zahlen. „Letter I“ eröffnet den Roman auf einer rechten Seite unter dem Nordlicht, und seine Pagina lautet 1, an derselben Stelle wie das x auf der gegenüberliegenden Seite. Der Brief läuft bis zu Waltons Unterschrift. Das ix neben dem Vorwort im Inhaltsverzeichnis und die 1 neben dem Brief stammen aus den fertigen Seiten, und ein PDF-Betrachter beschriftet die Seiten genauso. Umschlag, Frontispiz und Nordlicht sind mit Diffusionsmodellen erzeugte Gemälde, als JPEG-Bitmaps geladen; das Verlagssignet und der Eiskristall sind im Code gezeichnet.

Dieses Rezept beantwortet

  • Wie nummeriere ich die Titelei mit römischen Ziffern und beginne mit Kapitel 1 wieder bei 1?
  • Wie erstelle ich einen Umschlag, einen Schmutztitel, eine Titelseite und ein Impressum?
  • Wie füge ich ein Inhaltsverzeichnis hinzu, das sich selbst aktualisiert (Führungspunkte, Seitenzahlen, Autoren, Teilzeilen)?
  • Wie füge ich gezielt Vakatseiten ein oder beginne einen Abschnitt auf einer neuen Doppelseite?
  • Wie setze ich ein Motto, eine Widmung, eine Unterschrift oder ein herausgestelltes Zitat mit großem Anführungszeichen?

Die kurze Antwort

script.js · Zeilen 60–82im vollständigen Code
// The page counter starts in lower-case roman: the cover is page i. After the Preface, two
// directives in the Markdown count again from 1 on the next recto:
//   :::pagebreak{parity="odd"}
//   :::numbering{format="decimal" startAt=1}
// :::numbering takes effect on the next page that starts (gotcha: numbering-next-page). Level 1
// breaks to 'odd', so here the pagebreak changes nothing; it finds the recto when a level breaks
// with parity 'any' or not at all. Never with 'always-odd': the blank pages would stack up.
const pageNumbering = { format: 'lower-roman', startAt: 1 }; // startAt spelled out: cover = i
// One folio design, centred under the text block. {pageNumber} prints the page's own label,
// so the same design sets "x" in the front matter and "1" on the first page of the novel.
const folio = (pages) => text(`folio-${pages}`, '{pageNumber}', 'Playfair Display SC', 8.5,
  at('top', 0, 9), { letterSpacing: pt(0.8), pages }); // lower case sets as small capitals
// The front matter is a heading style, unnumbered and left out of the contents (a heading
// can opt back in with {toc="true"}). It prints no running heads and puts a folio on every
// page of the section. Parity 'any', because the contents fall on a verso.
const front = {
  id: 'front', numbered: false, toc: false, breakBefore: { enabled: true, parity: 'any' },
  header: { elements: [] }, footer: { elements: [folio('all')] }, ...frontLook,
};
// The novel keeps the document's furniture: heads on its body pages, the folio on openers.
const footer = { elements: [folio('opener')] };
// Hook-up in config(): page: { pageNumbering }, headingStyles: [front] and footer at the top
// level. frontLook, set above, is the look of the prelims' openers.

Zutaten

Schrift
Fanwood Text, Playfair Display SC, Cinzel (SIL OFL 1.1)
Dateien
  • band-1400.jpg
  • cover-1000.jpg
  • plate-1000.jpg
  • The cover: lightning over Mont Blanc and the lake of Geneva (Generated With Diffusion Models, eigener Text)
  • The frontispiece: a brig beset in pack ice, a dog sledge far off (Generated With Diffusion Models, eigener Text)
  • Letter I’s opener: northern lights over the frozen Neva (Generated With Diffusion Models, eigener Text)

Zubereitung

#1 · Jedes Blatt ist eine Überschrift mit einer Gestaltung

script.js · Zeilen 86–148im vollständigen Code
// Each leaf is a heading, so it opens its page, gets a PDF bookmark and takes a design. The
// leaves are unnumbered, left out of the contents and print no heads or folio (blind folios).
// Parity 'any', or each would inherit level 1's odd break (gotcha: style-inherits-break).
const blind = { numbered: false, toc: false, breakBefore: { enabled: true, parity: 'any' },
  header: { elements: [] }, footer: { elements: [] } };
const PLATE_H = 126; // mm: the frontispiece, as wide as the text block; its caption hangs below
// mm from the trim: the imprint's eleven lines end on the text block's last baseline.
const IMPRINT_TOP = 126.4; // re-tune it whenever the imprint changes
const leaves = [
  // i: bled to the trim. The painting is as tall as the page, so the cover takes it whole.
  { id: 'cover', ...blind, advancedDesign: design([
    image('cover', at('top-left', 0, 0, { width: 'fill', to: 'bleed' })),
    label('author', '{author}', 9, onPage(22), 'bone', 2.6),
    text('title', '{title}', 'Fanwood Text', 56, onPage(31), { color: col('bone'), lineHeight: 1 }),
    text('subtitle', '{subtitle}', 'Fanwood Text', 13, onPage(53), { ...on('ice'), italic: true }),
    label('series', '{attr.publisher}', 7, onPage(168), 'ice', 2),
  ]) },
  // iii: the half title waits for a recto, so the back of the cover, ii, is left blank.
  { id: 'half', ...blind, breakBefore: { enabled: true, parity: 'odd' }, advancedDesign: design([
    text('title', '{title}', 'Playfair Display SC', 17, at('top', 0, 34), { letterSpacing: pt(3) }),
    image('crystal', at('top', 0, 45, { width: 6 })),
  ]) },
  { id: 'plate', ...blind, advancedDesign: design([ // iv: faces the title page
    image('plate', at('top-left', 0, 0, { width: 'fill' })),
    text('caption', '{attr.caption}', 'Fanwood Text', 8.8,
      at('top', 0, PLATE_H + 5, { width: 80 }), { italic: true, lineHeight: 1.3 }),
    label('source', '{attr.source}', 7.5, at('top', 0, PLATE_H + 16), 'muted', 1.3),
  ]) },
  { id: 'title', ...blind, advancedDesign: design([ // v: four frontmatter fields, one attribute
    label('edition', 'The text of {publishDate}', 7.5, at('top', 0, 22), 'accent', 1.8),
    text('title', '{title}', 'Playfair Display SC', 33, at('top', 0, 30),
      { fontWeight: 700, letterSpacing: pt(0.4), lineHeight: 1 }),
    text('subtitle', '{subtitle}', 'Fanwood Text', 14, at('top', 0, 44), { italic: true }),
    { kind: 'rule', id: 'rule', direction: 'horizontal', thickness: pt(0.8), color: col('accent'),
      placement: at('top', 0, 60, { width: 14 }) },
    label('author', '{author}', 10, at('top', 0, 66), 'ink', 2.4),
    image('mark', at('top', 0, 126, { width: 11 })),
    label('publisher', '{attr.publisher}', 7.5, at('top', 0, 140), 'muted', 1.5),
  ]) },
  // vi: the section's margins set the small print low, in a 70 mm measure against the outer
  // margin. hidden: the heading opens the page and names its bookmark, and prints nothing.
  { id: 'imprint', ...blind, hidden: true,
    margins: { top: mm(IMPRINT_TOP), left: mm(TRIM_W - OUTER - 70) } },
  // vii: dedication and epigraph, under a heading whose design is an ornament and no title.
  { id: 'quiet', ...blind,
    advancedDesign: design([image('crystal', at('top', 0, 24, { width: 6 }))], 34) },
];
// :::paragraphs blocks set the small print, the dedication, the epigraph and Walton's close;
// the dedication and the verse take one paragraph per line, so no line of them can reflow.
const VERSE_IN = 22; // mm: the indent that centres the verse as a block
const SOURCE_IN = 55; // mm: 'Paradise Lost' ends under the end of the longest line of verse
const prelimStyles = [
  { id: 'small-print', fontSize: pt(7.6), lineHeight: pt(10.4), textAlign: 'left',
    firstLineIndent: pt(0), spaceBetween: pt(5.2) },
  // Small capitals, with the italic lines of the 1818 page, leaded as one inscription.
  { id: 'dedication', fontFamily: 'Playfair Display SC', fontSize: pt(10), lineHeight: pt(15),
    textAlign: 'center', firstLineIndent: pt(0) },
  { id: 'verse', fontSize: pt(10), textAlign: 'left', firstLineIndent: mm(VERSE_IN),
    marginTop: pt(LEAD * 4) }, // on the body's 14 pt leading, which a style inherits
  { id: 'source', fontFamily: 'Cinzel', fontSize: pt(7.5), textAlign: 'left',
    firstLineIndent: mm(SOURCE_IN), marginTop: pt(4), color: col('muted') },
  { id: 'signature', textAlign: 'right', firstLineIndent: pt(0) }, // the letter's close
];

Eine Überschrift eröffnet eine eigene Seite und wird zu einem PDF-Lesezeichen; die Gestaltung in ihrem Stil platziert Schrift und Bilder des Blattes. Mit numbered: false und toc: false bleiben die Blätter aus der Kapitelzählung und dem Inhaltsverzeichnis heraus. Eine leere Kopf- und Fußzeile macht sie zu mitgezählten Seiten ohne gedruckte Pagina, englisch „blind folios“: Das Titelblatt zeigt keine Zahl, ist aber trotzdem Seite v, deshalb kann das Vorwort ix sein. Nur der Schmutztitel behält einen Umbruch auf eine ungerade Seite, und der lässt die Rückseite des Umschlags leer. Impressum, Widmung, Motto und Waltons Briefschluss sind Blöcke :::paragraphs, gesetzt in den Absatzformaten am Ende des Ausschnitts.

#2 · Das Inhaltsverzeichnis nimmt seine Zahlen aus dem Layout

script.js · Zeilen 152–161im vollständigen Code
// Entries take the body's face and ink, and start on the Preface's first baseline, facing it.
const contents = {
  levels: [{ level: 1, fontSize: pt(12), lineHeight: pt(PREFACE.lead) }],
  // The folio's face: "ix" in small capitals, then a plain 1. The leader takes it too.
  pageNumber: { fontFamily: 'Playfair Display SC', fontSize: pt(10), color: col('accent'),
    width: mm(8) },
  leader: { char: '. ', gap: mm(2.5) },
  // A second line from the heading's to="…" attribute: whom each letter is written to.
  subtitle: { enabled: true, attr: 'to', fontSize: pt(9.5), color: col('muted') },
};

:::toc listet jede Überschrift, die ihr Stil zulässt, mit der Bezeichnung der Seite, auf der sie steht (Inhaltsverzeichnis). Inhaltsverzeichnis und Vorwort teilen sich den Stil front, das toc: false setzt, und das Vorwort überschreibt es mit {toc="true"}. Weder das Vorwort noch „Letter I“ ist nummeriert, deshalb haben ihre Einträge keine Kapitelnummer. Die zweite Zeile des Eintrags für den Brief ist sein Attribut to="…". Die Seitenzahlen stehen in der Schrift der Pagina. Die Einträge beginnen auf derselben Grundlinie wie die erste Zeile des Vorworts, sodass die beiden gegenüberliegenden Seiten Register halten.

#3 · Der Roman beginnt rechts, unter dem Nordlicht

script.js · Zeilen 165–180im vollständigen Code
const BAND = 104; // mm from the trim to the foot of the drawing, which fades into the paper
// minHeight ends AIR mm below it and the first line takes the next grid line. to: 'bleed' is the
// trim until page.cutLines adds a bleed; 3 mm drop the foot 1.8 mm, still above that line.
const AIR = 2;
const opener = design([
  image('band', at('top-left', 0, 0, { width: 'fill', to: 'bleed' })),
  label('to', '{attr.to}', 7.5, onPage(19), 'ice', 2),
  text('title', '{titleText}', 'Playfair Display SC', 46, onPage(25),
    { color: col('bone'), lineHeight: 1 }),
  text('dateline', '{attr.dateline}', 'Fanwood Text', 10.5, onPage(44),
    { italic: true, color: col('bone') }),
  // The drawing reserves down to its foot. minHeight, counted from the text block (TOP below
  // the trim), is a floor AIR mm lower, which sends the first line one grid line further down.
], BAND - TOP + AIR);
// Walton's letters come before Chapter I: they take the novel's opener but no number.
const letter = { id: 'letter', numbered: false };

Das Gemälde läuft über den Kopf der Seite hinaus und verblasst an seinem Fuß ins Papier, wo der Brief beginnt. Der Auftakt reserviert die Seite bis zum Fuß des Gemäldes, 104 mm unter der Oberkante der Seite, und minHeight setzt eine Untergrenze 2 mm tiefer, wodurch der Brief eine Rasterzeile weiter unten beginnt, frei vom Verlauf (Seitenbreite und erweiterte Gestaltung). Dachzeile und Ortszeile kommen aus den Attributen to und dateline der Überschrift. „Letter I“ hat außerdem {style="letter"}, einen Stil, dessen einzige Einstellung numbered: false ist, weil Waltons Briefe vor „Chapter I“ stehen und keine Kapitelnummer haben.

#4 · Mit dem Roman kehren die Kolumnentitel zurück

script.js · Zeilen 184–196im vollständigen Code
const HEAD_Y = 12.5; // mm from the trim to the heads' line
const HEAD_GAP = 8; // mm from the outer margin, where the folio hangs, to the words beside it
const head = (id, content, parity, edge, x, extra = {}) => ({ ...label(id, content, 7.5,
  at(edge, x, HEAD_Y, { to: 'page' }), 'muted', 1.4), align: 'left', parity, pages: 'body',
  ...extra }); // pages: 'body' keeps them off the opener
const numeral = { fontFamily: 'Playfair Display SC', fontSize: pt(8.5), fontWeight: 400,
  letterSpacing: pt(0.6), color: col('ink') }; // folios in the folio face, as on the openers
const header = { elements: [
  head('verso-folio', '{pageNumber}', 'even', 'top-left', OUTER, numeral),
  head('verso-title', '{title}', 'even', 'top-left', OUTER + HEAD_GAP),
  head('recto-title', '{chapterTitle}', 'odd', 'top-right', -(OUTER + HEAD_GAP)),
  head('recto-folio', '{pageNumber}', 'odd', 'top-right', -OUTER, numeral),
] };

Ein Abschnitt behält Kopf- und Fußzeile des Dokuments, es sei denn, sein Stil ersetzt sie. Die Titelei ersetzt beide, der Stil letter nicht, deshalb zeigt der Roman ab Seite 1 diese Kolumnentitel auf seinen Textseiten und auf seinem Auftakt die in der kurzen Antwort definierte Pagina am Fuß. {pageNumber} gibt die Bezeichnung der Seite aus, auf der es steht, sodass der Helfer folio() mit derselben Gestaltung x auf die eine Seite des Bundes setzt und 1 auf die andere.

#5 · Das PDF trägt dieselben Seitenzahlen

script.js · Zeilen 398–404im vollständigen Code
// :::toc lists each heading with the label of the page it lands on; buildDocument lays the
// document out again until those labels stop moving (ix for the Preface, 1 for Letter I).
const doc = await buildDocumentWithFonts({ markdown, resources }, config(), kitFonts(FONTS));
showPages(doc, { title: 'Frankenstein · the opening leaves' });
// The PDF gets /PageLabels from the same labels: a viewer numbers its pages i–x, then 1, 2.
offerPdf(() => renderToPdf(doc, { fontProvider: fontsourceProvider, resourceBytes: imageBytes }),
  `${RECIPE}.pdf`);

buildDocument wiederholt das Layout, bis sich die Seitenbezeichnungen im Inhaltsverzeichnis nicht mehr ändern, ein Aufruf genügt also. renderToPdf schreibt diese Bezeichnungen in das PDF: In einem Betrachter, der Seitenbezeichnungen auswertet, läuft das Feld für die Seitenzahl von i bis x und dann ab 1, und „gehe zu Seite 1“ öffnet „Letter I“. Jede Überschrift wird zu einem Lesezeichen, das nach ihrem Text benannt ist, deshalb haben die Blätter schlichte Titel: „Cover“, „Half title“, „Frontispiece“, „Title page“, „Imprint“, „Dedication“.

Das ganze Rezept

Sandbox
// ═══ Postext Cookbook · Nº 006 · Front matter: roman folios, then page 1 ═══════════
// https://postext.dev/en/cookbook/front-matter-roman-to-arabic
// Code: MIT · Text: M. & P. B. Shelley, 1818 (PD) · Pictures: diffusion models; marks drawn in code
// Fonts: Fanwood Text, Playfair Display SC, Cinzel (SIL OFL 1.1) · Needs postext ≥ 1.34.0
import {
  buildDocumentWithFonts, renderPageToCanvas, registerResourceImage,
} from 'https://esm.sh/postext';
import { renderToPdf, decompressWoff2 } from 'https://esm.sh/postext-pdf';

const LANG = 'en'; // @lang: the language of the sample document ('en' | 'es')
const RECIPE = 'front-matter-roman-to-arabic';

// ─── 1 · Design ─────────────────────────────────────────────────────────────
const palette = { // every colour in the config links to one of these
  ink: '#1c1d21', // text: a cold near-black
  accent: '#3d5a70', // steel blue, the one accent on paper: contents folios, the rule, the marks
  muted: '#6a665f', // running heads, sources, the second lines of the contents
  paper: '#fbf8f2', // the page
  night: '#131a24', ice: '#a9c6d6', bone: '#efe9dc', // the drawings' inks, and the type on them
};
const col = (id) => ({ hex: palette[id], model: 'hex', paletteId: id });
const colorPalette = [
  ...Object.entries(palette).map(([id, hex]) => ({ id, name: id, value: { hex, model: 'hex' } })),
  // The engine's defaults link to 'main-color': point it at the accent, so nothing prints blue.
  { id: 'main-color', name: 'accent (defaults)', value: { hex: palette.accent, model: 'hex' } },
];
const TRIM_W = 129, TRIM_H = 198; // mm: a pocket classic
const TOP = 21, BOTTOM = 23, INNER = 17, OUTER = 15; // margins, mm; heads align to OUTER
const MEASURE = TRIM_W - INNER - OUTER; // 97 mm: the text block, and the frontispiece's width
const LEAD = 14; // body leading in pt: 31 lines fill the text block
const PREFACE = { size: 9.8, lead: 13.3 }; // pt: the preface, a size under the novel's 10.5/14

// Design-slot shorthands. at(): a placement from an anchor's edge; edge 'top' centres it.
const wide = (width) => (width === 'fill' ? 'fill' : mm(width));
const at = (edge, x, y, { width, to = 'container' } = {}) => ({ anchor: { to, edge },
  offset: { x: mm(x), y: mm(y) }, ...(width !== undefined && { size: { width: wide(width) } }) });
const onPage = (y) => at('top', 0, y, { to: 'page' }); // centred on the page, y mm from the trim
const on = (id) => ({ color: col(id) }); // a design text's ink
// overflow 'wrap' for the running heads too, where a text too wide would end in '…'.
const text = (id, content, font, size, placement, extra = {}) => ({ kind: 'text', id, content,
  fontFamily: font, fontSize: pt(size), color: col('ink'), align: 'center', overflow: 'wrap',
  placement, ...extra });
const label = (id, content, size, placement, ink, tracking) => text(id, content, 'Cinzel', size,
  placement, { fontWeight: 600, letterSpacing: pt(tracking), textTransform: 'uppercase',
    ...on(ink) }); // the label voice: Cinzel capitals, tracked
const image = (id, placement) => ({ kind: 'image', id, resourceId: id, placement });
// A heading's design. minHeight (mm) where the text must start lower than the elements reach.
const design = (elements, minHeight) => ({ enabled: true, slot: { elements },

Das zusammengesetzte script.js läuft unverändert: Fügen Sie es in das Modulskript einer beliebigen Seite ein, oder öffnen Sie das Rezept auf CodePen. Ordner des Rezepts auf GitHub ↗ (öffnet sich in einem neuen Tab)

Varianten

#Die Titelei in Großbuchstaben zählen

Römische Ziffern in Großbuchstaben erscheinen in der Schrift der Pagina als volle Versalien, höher als die Kapitälchen, die römische Ziffern in Kleinbuchstaben ergeben.

-const pageNumbering = { format: 'lower-roman', startAt: 1 }; // startAt spelled out: cover = i
+const pageNumbering = { format: 'upper-roman', startAt: 1 }; // startAt spelled out: cover = I

#Das Buch durchgehend nummerieren

Lassen Sie startAt weg, und die Zählung läuft in arabischen Ziffern weiter, sodass „Letter I“ zu Seite 11 wird, wie in Büchern, die ihre Titelei mit dem Text zählen.

-:::numbering{format="decimal" startAt=1}
+:::numbering{format="decimal"}

#Das Frontispiz weglassen

Löschen Sie die Überschrift # Frontispiece und setzen Sie das Titelblatt auf eine rechte Seite: Seite iv bleibt leer, das Vorwort ist weiterhin ix und „Letter I“ weiterhin 1.

-  { id: 'title', ...blind, advancedDesign: design([ // v: four frontmatter fields, one attribute
+  { id: 'title', ...blind, breakBefore: { enabled: true, parity: 'odd' },
+    advancedDesign: design([ // v: four frontmatter fields, one attribute

#Anschnitt und Schnittmarken für den Druck hinzufügen

Mit cutLines laufen Umschlag und Auftakt, beide am Anschnitt verankert, 3 mm über das Endformat hinaus; Paginas und Seitenzahl ändern sich nicht (Schnittmarken).

     backgroundColor: col('paper'), pageNumbering,
+    cutLines: { enabled: true }, // a 3 mm bleed and crop marks

Häufige Fehler

Häufiger Fehler

:::numbering wirkt ab der nächsten Seite

:::numbering ändert die Zählung ab der nächsten beginnenden Seite, nicht ab der aktuellen. Setzen Sie es direkt nach ein :::pagebreak (Parität odd vor dem ersten Kapitel), damit die neue Zählung dort beginnt, wo Sie es wollen. Römisch paginierte Titelei →

Häufiger Fehler

Ein Überschriftenformat erbt den Seitenumbruch seiner Ebene

Ein Eintrag in headingStyles übernimmt jedes Feld, das er auslässt, von seiner Überschriftenebene, breakBefore eingeschlossen. Ein Inhaltsverzeichnis oder Impressum, das nach einem :::pagebreak über eine H1 gestaltet wird, erbt die Parität 'odd' und landet hinter einer Vakatseite. Geben Sie einem solchen Format breakBefore: { enabled: false }. Überschriftenformate →

Häufiger Fehler

Seite 1 ist eine rechte Seite: Seiten mit physischen Nummern planen

Seite 1 ist eine rechte Seite und Seite 2 die erste linke, planen Sie Doppelseiten also mit physischen Seitenzahlen: ein Auftakt auf einer geraden Seite steht der ungeraden Seite danach gegenüber. Seiten- und Spaltenumbrüche →

Häufiger Fehler

Eine Seite übernimmt die Kopfzeile des letzten Abschnitts, der auf ihr beginnt

Beginnen zwei Überschriftenformate auf einer Seite, übernimmt die Seite Kopfzeile, Fußzeile und Palette des letzten. Eine trennende Vakatseite gehört zum Kapitel davor, eine Paritäts-Vakatseite zum Kapitel danach. Kolumnentitel je Abschnitt →

Sandbox-Prüfung · parityCascade

Paritätskaskade

Ursache. Paritätsumbrüche addieren sich und erzeugen mehr als zwei Vakatseiten hintereinander.

Lösung. Überprüfen Sie Umbrüche mit always-odd und die Paritäten von breakBefore; bei kurzen Kapiteln vermeidet parity any die Vakatseiten meist. Doku →

Sandbox-Prüfung · numberingInvalidFormat

Ungültiges Nummerierungsformat

Ursache. Ein Format von :::numbering ist keines von decimal, lower-roman, upper-roman, lower-alpha oder upper-alpha.

Lösung. Verwenden Sie eines der fünf Seitenzahlformate; Listen und Ressourcen schreiben ihre anders. Doku →

  • Die Blätter erben den Umbruch 'odd' der Ebene 1. Ohne Eingriff wartet jedes auf eine rechte Seite. Die Titelei läuft dann auf vierzehn statt zehn Seiten, mit vier weiteren leeren linken Seiten, und das Frontispiz steht einer leeren Seite statt dem Titelblatt gegenüber. Geben Sie den Umbruch mit parity: 'any' neu an, wie dieses Rezept es tut, oder schalten Sie ihn mit breakBefore: { enabled: false } ab; eine Überschrift über die ganze Seitenbreite eröffnet ohnehin ihre eigene Seite.
  • Entfernen Sie den :::pagebreak vor :::numbering, wenn Ebene 1 mit 'always-odd' umbricht, dem eigenen Standard der Engine für H1. Endet der Text davor auf einer rechten Seite, füllt der Seitenumbruch bis zur nächsten rechten Seite auf, dann fügt die Überschrift ihre Vakatseite hinzu und füllt erneut auf, was drei leere Seiten hintereinander statt einer hinterlässt. Nach einem Umbruch 'odd', wie hier, ändert der Seitenumbruch nichts; nach 'any' ist er es, der Seite 1 auf eine rechte Seite bringt.
  • Ein Vorwort, das um eine Seite wächst, schiebt „Letter I“ um zwei Seiten weiter, weil der Umbruch auf eine ungerade Seite eine leere linke Seite davor einfügt. Prüfen Sie die Seitenzahl, wann immer Sie die Titelei bearbeiten.
  • Die Füllpunkte des Inhaltsverzeichnisses stehen in Schrift und Farbe der Seitenzahlen, und toc.leader hat keine eigene Farbe, deshalb erscheinen sie hier in Stahlblau.

Nachweise

Text
  • Frankenstein; or, The Modern Prometheus (1818): the dedication, Letter I, a line of Letter IV (the frontispiece caption) and one of volume I, chapter VI (quoted in a code comment) · Mary Shelley · gemeinfrei
  • The unsigned Preface of the 1818 edition (by common attribution) · Percy Bysshe Shelley · gemeinfrei
  • Paradise Lost (1667), book X, lines 743–745: the epigraph of the 1818 title leaves · John Milton · gemeinfrei
Bilder
  • The cover: lightning over Mont Blanc and the lake of Geneva · Generated With Diffusion Models · eigener Text
  • The frontispiece: a brig beset in pack ice, a dog sledge far off · Generated With Diffusion Models · eigener Text
  • Letter I’s opener: northern lights over the frozen Neva · Generated With Diffusion Models · eigener Text
Schriften
Fanwood Text (SIL OFL 1.1) · Playfair Display SC (SIL OFL 1.1) · Cinzel (SIL OFL 1.1)
SandboxPDF