Zum Hauptinhalt springen
Rezept Nummer 9

Rezepte · Kapitel 7 · Abbildungen und Bilder

Abbildungen, die dorthin gleiten, wo Sie sie zitieren

Zweispaltiges Kapitel mit sieben nummerierten Abbildungen: Sechs gleiten vom ersten :ref an den ersten erlaubten Platz, eine steht, wo ::resource sie setzt.

Auf dieser Seite
Ausgabe
Canvas
Postext
Getestet mit Postext 1.65.0
Erfordert ≥ 1.25.0
Lizenz
Aktualisiert am 11. Okt. 2026
Code MIT · Text CC BY 4.0

S. 28–29 · 2–3 von 4

  • Englisches Beispiel: noch keine deutsche Ausgabe
  • Endformat 200 × 250 mm
  • 2 Spalten, Spaltenabstand 6 mm
  • Faustina 9,4/13,4
  • IBM Plex Sans Condensed
  • Montserrat
  • 4 Seiten
  • Stufe
  • Postext 1.65.0
  • In 197 ms gesetzt
  • 224 Zeilen Code

Kurz gesagt

Ein Kapitel eines Lehrbuchs über Gebirge, zweispaltig, mit sieben nummerierten Bildern. Es zeigt, wie jedes Bild an den ersten freien Platz rückt, nachdem der Text es zum ersten Mal erwähnt.

Was Sie setzen

Kapitel 2 von Mountain Landforms, ein Lehrbuch der Geomorphologie im Format 200 × 250 mm. Ein blaues Band mit der Kapitelnummer hängt vom Kopf des Auftakts, neben der eisblauen Fläche des Titels; es folgen zwei Spalten Blocksatz in der Faustina. Die sieben Abbildungen, mit Diffusionsmodellen erzeugte Gemälde, im Code beschriftet, sind in der Reihenfolge ihrer ersten Nennung nummeriert. Sechs gleiten an den ersten freien Platz, den ihre Platzierung erlaubt, gezählt ab dem Absatz, der sie zuerst zitiert. Abbildung 2.1, auto, steht am Fuß des Auftakts; 2.3 eröffnet die rechte Spalte von Seite 28, und 2.2 füllt den Fuß dieser Seite; 2.4 und 2.5 eröffnen die beiden Spalten von Seite 29. Abbildung 2.6 steht dort, wo der Text sie einbettet. Abbildung 2.7, ein Gleitobjekt top, zitiert auf Seite 30, würde auf Seite 31 warten, doch ein Gleitobjekt kann sein Kapitel nicht verlassen, also geht es an den Fuß von Seite 30.

Dieses Rezept beantwortet

  • Wie füge ich eine Abbildung mit nummerierter Bildunterschrift ein und verweise im Text darauf („siehe Abb. 3.2“)?
  • Wie bestimme ich, wo eine Abbildung steht: oben auf der Seite, über beide Spalten, genau hier oder am Rand?
  • Wie erhalte ich die Beschriftungen „Abbildung“ und „Tabelle“ in der Sprache meines Dokuments?
  • Wie füge ich Bilder und Tabellen im Code (Ressourcen) statt mit Markdown ![]() hinzu?

Die kurze Antwort

script.js · Zeilen 252–285im vollständigen Code
// In the Markdown, :ref{id="valleys" case="lower"} prints 'fig. 2.1' and places Figure 2.1.
// Captions, credits and alt texts come from content.figures.<lang>.md.
const figure = (id, height, placement) => {
  if (!TEXTS[id]) throw new Error(`content.figures has no caption block for "${id}"`);
  const [caption, note, altText] = TEXTS[id];
  // An SVG fills the width of its slot (a column or the text block, or a fraction of
  // either), so its width and height only give its shape.
  const width = (placement.span === 'page' ? MEASURE : COLUMN) * (placement.width ?? 1);
  return { id, typeId: 'figure', kind: 'svg', caption, note, altText,
    svg: { fileId: `${id}.svg`, width, height }, placement, createdAt: 0, updatedAt: 0 };
};
// In any order: the first mention of each one in the text, a :ref or a ::resource line,
// decides its number.
const resources = [
  // Cited on the opener page: 'auto' may take that page's foot band, where 'top'
  // could only open the next page (gotcha: top-float-next-page).
  figure('valleys', 56, { position: 'auto', span: 'page' }),
  // Across both columns, but only in a foot band: the page it is cited on, if both
  // columns still have room there, else the foot of the next page.
  figure('profile', 60, { position: 'bottom', span: 'page' }),
  // A column figure that takes only a column head: the next one still empty after its
  // citation, here the right column of the same page, above the text that follows it.
  figure('cirque', 48, { position: 'top' }),
  // Cited in the same sentence, the two take the next two column heads, side by side.
  figure('abrasion', 48, { position: 'top' }),
  figure('plucking', 48, { position: 'top' }),
  // No float: set exactly where ::resource{id="roche"} stands, with the same gap above it
  // and below it.
  figure('roche', 42, { position: 'here' }),
  // A band of its own, half the text width and centred. It is cited on the chapter's last
  // page, where a 'top' float would wait for the next page; a float cannot leave its
  // chapter, so this one goes to the foot of the last page.
  figure('moraines', 50, { position: 'top', span: 'page', width: 0.5, align: 'center' }),
];

Zutaten

Nutzt außerdem
Absatzformate
Schrift
Faustina, Montserrat, IBM Plex Sans Condensed (SIL OFL 1.1)
Dateien
  • abrasion-1080.jpg
  • cirque-1080.jpg
  • moraines-1080.jpg
  • plucking-1080.jpg
  • profile-1400.jpg
  • roche-1080.jpg
  • valleys-1536.jpg
  • Figure 2.1: a V-shaped river valley and a U-shaped glacial valley (Generated With Diffusion Models, eigener Text)
  • Figure 2.2: long profile of a valley glacier (Generated With Diffusion Models, eigener Text)
  • Figure 2.3: a glacial cirque in section (Generated With Diffusion Models, eigener Text)
  • Figure 2.4: abrasion at the base of the ice (Generated With Diffusion Models, eigener Text)
  • Figure 2.5: plucking on a rock step (Generated With Diffusion Models, eigener Text)
  • Figure 2.6: a roche moutonnée (Generated With Diffusion Models, eigener Text)
  • Figure 2.7: lateral, medial and terminal moraines in plan (Generated With Diffusion Models, eigener Text)

Zubereitung

#1 · Eine Palette für die Seiten und die Abbildungen

script.js · Zeilen 19–36im vollständigen Code
const palette = {
  ink: '#1b2227', // text: a cold near-black
  glacier: '#34729a', // the accent: kicker, ribbon, caption labels, references, folios, water
  ice: '#e3f1f8', // the opener slab
  rock: '#5b5a57', // bedrock in the drawings
  moss: '#7d8f4e', // valley floors and pines
  rule: '#c6d3db', // the hairline under the running heads
  muted: '#5d6a72', // running heads, credit notes, the colophon
  paper: '#ffffff',
};
// A linked colour carries its hex and the palette entry it follows.
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' (#295aa3): pointing it at the accent keeps
  // that second blue off the page.
  { id: 'main-color', name: 'glacier (defaults)', value: { hex: palette.glacier, model: 'hex' } },
];

Jede Farbe der Konfiguration verweist auf einen dieser Einträge, und die Gemälde wurden im selben Schiefergrau, Gletscherblau und Moosgrün erzeugt, sodass die Abbildungen in den Farben der Seite stehen. Ein Gemälde behält seine eigenen Farben: Ein neuer Wert für glacier ändert das Band, die Fläche und die Beschriftungen, nicht das Eis in den Abbildungen. Der Akzent ist dunkel genug für kleine Schrift: 5,2:1 auf Weiß für Legendennummern und Verweise, 4,5:1 auf der Eisfläche für die Dachzeile. Jede Abbildung ist ein SVG, das sein Gemälde als JPEG-Data-URL einbettet und seine Beschriftungen als Text mit einem dünnen weißen Lichthof darübersetzt, sodass sie scharf bleiben und der Sprache der Ausgabe folgen. Die Beschriftungen im SVG verwenden die IBM Plex Sans Condensed, und loadSvg aus dem Kit bettet die beiden Schnitte, die sie verwenden, über inlineSvgFonts der Engine ein, weil ein als Bild gezeigtes SVG die Schriften der Seite nicht selbst erreichen kann.

#2 · Die Abbildungen in der Sprache des Lesers benennen

script.js · Zeilen 47–56im vollständigen Code
const captions = () => ({
  // The built-in types take their names from the locale: 'Figure 2.3' and 'fig. 2.3' with
  // 'en-us', 'Figura 2.3' with 'es', numbered {h1}.{n} per chapter. It sets hyphenation too.
  locale: t({ en: 'en-us', es: 'es' }),
  captionStyle: { // the text colour follows bodyText; the note is 0.85 × the caption size
    fontFamily: LABEL, fontSize: pt(8.3), gap: mm(2.2),
    labelColor: col('glacier'), descriptionItalic: true, // the label is bold by default
    note: { color: col('muted'), gap: mm(0.6) }, // the credit line
  },
});

locale benennt die eingebauten Typen in der Sprache des Dokuments: Die Legenden lauten hier „Figure 2.3“ und in der spanischen Ausgabe „Figura 2.3“, wo dasselbe 'es' die spanischen Trennmuster wählt. Jeder Verweis nimmt dann die Form an, die sein Satz braucht: case="lower" für „(fig. 2.1)“ und, mit style="full", für „(figure 2.2)“; style="number" nach einem Plural („figures 2.4 and 2.5“); und text="…" für eine Wendung wie „the chapter’s first figure“, die keine Nummer ausgibt. Diese Wendung verweist auf eine bereits platzierte Abbildung zurück; als erste Nennung würde sie die Abbildung trotzdem nummerieren und platzieren.

#3 · Ein Band und eine Eisfläche für den Auftakt

script.js · Zeilen 60–110im vollständigen Code
const at = (to, edge, x, y, width, height) => ({ anchor: { to, edge },
  offset: { x: mm(x), y: mm(y) },
  ...(width && { size: { width: mm(width), height: height ? mm(height) : 'auto' } }) });
const text = (id, content, family, size, color, placement, extra) => ({ kind: 'text', id,
  content, fontFamily: family, fontSize: pt(size), color: col(color), placement,
  align: 'left', ...extra });
const caps = (size) => ({ fontWeight: 600, textTransform: 'uppercase',
  letterSpacing: pt(size * 0.18) }); // capitals tracked 0.18 em
const [SLAB, RIBBON, RIBBON_END] = [64, 30, 70]; // mm: slab height; ribbon width and length
const [TEXT_X, KICKER_Y] = [RIBBON + 8, 10]; // mm: the opener texts start 8 mm right of the ribbon
const [TITLE_W, LEAD_W] = [118, 112]; // mm: the title's measure, and a shorter standfirst
const opener = {
  enabled: true,
  // At least 5 mm under the slab; the reserve then rounds up to whole 13.4 pt grid lines,
  // so here 69 mm becomes 15 lines (70.9 mm) and the text starts about 7 mm under the slab.
  minHeight: mm(SLAB + 5),
  slot: { elements: [
    { kind: 'box', id: 'slab', style: { backgroundColor: col('ice') }, // runs off the fore-edge
      placement: at('container', 'top-left', 0, 0, MEASURE + OUTER, SLAB) },
    { kind: 'box', id: 'ribbon', style: { backgroundColor: col('glacier') }, // hangs from the head
      placement: at('page', 'top-left', INNER, 0, RIBBON, RIBBON_END) },
    text('numeral', '{chapterNumber}', DISPLAY, 80, 'paper', // an 80 pt line box is 28 mm tall:
      at('page', 'top-left', INNER, RIBBON_END - 31, RIBBON), // it ends 3 mm above the foot
      { fontWeight: 800, lineHeight: 1, align: 'center' }),
    text('kicker', t({ en: 'Chapter {chapterNumber} · {attr.topic}',
      es: 'Capítulo {chapterNumber} · {attr.topic}' }), LABEL, 8.5, 'glacier',
    at('container', 'top-left', TEXT_X, KICKER_Y), caps(8.5)),
    text('title', '{titleText}', DISPLAY, 27, 'ink', at('#kicker', 'below', 0, 2.6, TITLE_W),
      { fontWeight: 800, lineHeight: 1.06 }),
    text('lead', '{attr.lead}', TEXT, 10.6, 'ink', at('#title', 'below', 0, 4.2, LEAD_W),
      { italic: true, lineHeight: 1.38, hyphenate: true }),
  ] },
};
const HAIRLINE = TOP - 5; // mm from the top edge: the rule under the running heads
const HEAD_Y = HAIRLINE - 4.4; // the running heads' line box, 4.4 mm above the hairline
const head = (id, content, parity, edge, x, extra) => text(id, content, LABEL, 7.6, 'muted',
  at('page', edge, x, HEAD_Y), { ...caps(7.6), parity, pages: 'body', ...extra });
const folio = (id, parity, edge, x, extra) => text(id, '{pageNumber}', DISPLAY, 8.5, 'glacier',
  at('page', edge, x, HEAD_Y), { fontWeight: 800, parity, pages: 'body', ...extra });
const header = { elements: [ // outer corners, over a hairline; never on the opener
  folio('verso-folio', 'even', 'top-left', OUTER),
  head('verso-title', '{title}', 'even', 'top-left', OUTER + 8),
  head('recto-title', '{chapterTitle}', 'odd', 'top-right', -(OUTER + 8), { align: 'right' }),
  folio('recto-folio', 'odd', 'top-right', -OUTER, { align: 'right' }),
  { kind: 'rule', id: 'hairline', pages: 'body', direction: 'horizontal', color: col('rule'),
    thickness: pt(0.5), placement: { ...at('container', 'top-left', 0, HAIRLINE),
      size: { width: 'fill', height: 'auto' } } },
] };
const footer = { elements: [ // the drop folio: on the opener only, centred 9 mm under the text
  text('drop-folio', '{pageNumber}', DISPLAY, 8.5, 'glacier', at('container', 'top', 0, 9),
    { fontWeight: 800, align: 'center', pages: 'opener' })] };

Der Auftakt besteht aus zwei Rechtecken und vier Texten: einem Band, das vom Kopf hängt, mit der Kapitelnummer an seinem Fuß, einer Eisfläche, die über den Außenrand hinausläuft, der Dachzeile aus dem Attribut topic der Überschrift und dem darunter verketteten Titel und Vorspann. minHeight reserviert die Fläche und mindestens 5 mm darunter, aufgerundet auf ganze Rasterzeilen (hier etwa 7 mm), sodass Abbildung 2.1 noch in den Fußbereich derselben Seite passt. Die Kolumnentitel stehen in den äußeren Ecken über einer Haarlinie in der Farbe rule, und pages: 'body' hält sie vom Auftakt fern, der stattdessen eine Pagina am Fuß bekommt.

#4 · Bei einer unbekannten ID oder einer nicht zitierten Abbildung anhalten

script.js · Zeilen 289–310im vollständigen Code
// The build lists every :ref and ::resource to an id no resource has in doc.contentWarnings
// (kind 'unknownResourceId'); each prints '?' on the page. A figure nobody names is never
// placed and raises no warning, so the pen reads the mentions with the engine's own parser;
// an embed needs double quotes (gotcha: resource-double-quotes).
function checkFigures(doc) {
  const [named, embedded] = [new Set(), new Set()];
  for (const block of parseMarkdown(markdown)) {
    if (block.type === 'resourceBlock' && block.resourceId) {
      named.add(block.resourceId);
      embedded.add(block.resourceId);
    }
    for (const span of block.spans) if (span.ref?.resourceId) named.add(span.ref.resourceId);
  }
  const unknown = (doc.contentWarnings ?? []).filter((w) => w.kind === 'unknownResourceId');
  const problems = [
    ...new Set(unknown.map((w) => `unknown id "${w.resourceId}"`)),
    ...resources.filter((r) => !named.has(r.id)).map((r) => `"${r.id}" is never cited`),
    ...resources.filter((r) => r.placement.position === 'here' && !embedded.has(r.id))
      .map((r) => `"${r.id}" is placed 'here' but no ::resource line embeds it`),
  ];
  if (problems.length) throw new Error(`Figures: ${problems.join('; ')}`);
}

Ein :ref oder ein ::resource auf eine ID, die zu keiner Ressource gehört, gibt „?“ aus und platziert nichts; der Build verzeichnet jeden solchen Fall in doc.contentWarnings als unknownResourceId, mit der ID und ihrer Stelle in der Quelle. Eine Abbildung, die niemand erwähnt, wird nie platziert und löst keine Warnung aus. Deshalb liest die Prüfung das Markdown mit parseMarkdown, dem eigenen Parser der Engine, ein und vergleicht die Nennungen mit den Abbildungen. Eine unbekannte ID, eine nicht zitierte Abbildung oder eine Abbildung here ohne Zeile ::resource wird zu einem Fehler, bevor die Seiten gezeigt werden.

#5 · Die Zählung dort beginnen, wo das Buch steht

script.js · Zeilen 417–429im vollständigen Code
for (const { id, svg: { fileId, width, height } } of resources) { // each under its svg.fileId
  const art = await dataUrl(PAINTINGS[id]);
  await loadSvg(fileId, svg(width, height, `<image href="${art}" width="${n2(width)}" `
    + `height="${n2(height)}" preserveAspectRatio="none"/>${DRAWINGS[id](width, height)}`));
}
// One chapter came before: figures number 2.1, 2.2… and the folios start at 27.
const continuation = { pageNumbering: { startAt: 27 }, // odd, to match the recto of page 1
  headings: { h1: 1, h2: 0, h3: 0, h4: 0, h5: 0, h6: 0 } }; // the next # is chapter 2
const doc = await buildDocumentWithFonts({ markdown, resources, continuation }, config(),
  { ...kitFonts(FONTS), text: words });
checkFigures(doc); // a wrong id stops here, and the viewer's bar says why
showPages(doc, { title: t({ en: 'Figures that float to where you cite them',
  es: 'Figuras que flotan hasta donde las citas' }) });

Dies ist Kapitel 2 eines längeren Buches, deshalb verzeichnet die Fortsetzung ein Kapitel davor: Abbildungen mit der Nummerierung {h1}.{n} beginnen bei 2.1 und die Paginas bei 27. Auf Seite 28 steht Abbildung 2.3 über Abbildung 2.2, die die niedrigere Nummer hat, weil der Text sie zuerst zitiert. Das ![]() von Markdown wird entfernt, deshalb ist jede Abbildung eine Ressource, deren SVG vor dem Build unter ihrer svg.fileId registriert wird. Jede Platzierung ergibt sich aus der Stelle, an der die Abbildung zitiert wird: auto für 2.1, weil die Fläche den Kopf des Auftakts füllt; bottom für das Profil, das noch den Fuß der zitierenden Seite einnehmen kann; top für die Spaltenabbildungen, die die nächsten freien Spaltenköpfe eröffnen; und top auch für 2.7, das am Fuß von Seite 30 steht, weil ein Gleitobjekt in seinem Kapitel bleibt.

Das ganze Rezept

Sandbox
// ═══ Postext Cookbook · Nº 009 · Figures that float to where you cite them ═════════
// https://postext.dev/en/cookbook/figures-float-where-cited
// Code: MIT · Text: original (CC BY 4.0) · Figures: diffusion models, labels in code
// Fonts: Faustina, Montserrat, IBM Plex Sans Condensed (SIL OFL 1.1) · Needs postext ≥ 1.25.0
//
// Chapter 2 of a geomorphology textbook. Six of its seven figures float, each to the first
// free slot its placement allows, counting from the paragraph that first cites it. Figure 2.6
// is set where ::resource embeds it. The figures are numbered in order of first mention.
import {
  buildDocumentWithFonts, prepareFonts, renderPageToCanvas, registerResourceImage,
  inlineSvgFonts, parseMarkdown,
} from 'https://esm.sh/postext';

const LANG = 'en'; // @lang: the language of the sample document ('es' | 'en')
const RECIPE = 'figures-float-where-cited';

// ─── 1 · Design ─────────────────────────────────────────────────────────────
// #region palette: eight named colours; the paintings were made to match them
const palette = {
  ink: '#1b2227', // text: a cold near-black
  glacier: '#34729a', // the accent: kicker, ribbon, caption labels, references, folios, water
  ice: '#e3f1f8', // the opener slab
  rock: '#5b5a57', // bedrock in the drawings
  moss: '#7d8f4e', // valley floors and pines
  rule: '#c6d3db', // the hairline under the running heads
  muted: '#5d6a72', // running heads, credit notes, the colophon
  paper: '#ffffff',
};
// A linked colour carries its hex and the palette entry it follows.
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' (#295aa3): pointing it at the accent keeps
  // that second blue off the page.
  { id: 'main-color', name: 'glacier (defaults)', value: { hex: palette.glacier, model: 'hex' } },
];
// #endregion
const TEXT = 'Faustina'; // one family each for text, display and labels
const DISPLAY = 'Montserrat';
const LABEL = 'IBM Plex Sans Condensed';
const LEAD = 13.4; // body leading in pt: the grid every float band snaps to
const [PAGE_W, PAGE_H, TOP, BOTTOM, INNER, OUTER, GUTTER] = [200, 250, 22, 20, 18, 14, 6]; // mm
const MEASURE = PAGE_W - INNER - OUTER; // 168 mm: the text block, and a page-wide figure
const COLUMN = (MEASURE - GUTTER) / 2; // 81 mm: a column, and a column figure

// #region captions: the type name in the document's language; bold label, italic description
const captions = () => ({
  // The built-in types take their names from the locale: 'Figure 2.3' and 'fig. 2.3' with

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 Abbildungen ohne das Kapitel nummerieren

Lassen Sie das Kapitel aus den Nummern weg, und die Abbildungen sind von 1 bis 7 nummeriert; für eine durchgehende Zählung durch ein ganzes Buch setzen Sie die Kapitel mit buildBundle oder übergeben jedem Kapitel das continuationAfter() des vorigen.

-  inlineSvgFonts, parseMarkdown,
+  inlineSvgFonts, parseMarkdown, defaultResourceTypes,
@@
   locale: t({ en: 'en-us', es: 'es' }),
+  resourceTypes: defaultResourceTypes(LANG).map((type) => ({ ...type,
+    numberingTemplate: '{n}', resetOn: 'never' })),

#Die Legenden oben auf einen Balken setzen

Die Legende wandert über die Abbildung auf einen Balken im Eisblau der Palette, und die Quellenzeile bleibt unter der Abbildung; passen Sie den Text neu ein, denn beide Ausgaben laufen dann auf eine fünfte Seite.

   captionStyle: { // the text colour follows bodyText; the note is 0.85 × the caption size
+    position: 'above', backgroundEnabled: true, background: col('ice'),
     fontFamily: LABEL, fontSize: pt(8.3), gap: mm(2.2),

#Eine Abbildung in den Rand setzen

Eine Seite mit anderthalb Spalten gibt Abbildungen und ihren Legenden eine äußere Randspalte, die der Text nie betritt: siehe das Lehrbuch mit Randspalte.

#Tabellen genauso gleiten lassen

Auch Tabellen sind Ressourcen, nach denselben Regeln zitiert und platziert, und eine lange Tabelle teilt sich über mehrere Seiten: siehe das technische Datenblatt.

Häufige Fehler

Häufiger Fehler

Ein 'top'-Gleitobjekt kommt auf die Seite nach seinem Verweis, außer es darf die verweisende Seite eröffnen

Standardmäßig steht ein Gleitobjekt nie über seinem eigenen Verweis, sodass ein seitenbreites 'top'-Gleitobjekt, auf das auf Seite N verwiesen wird, Seite N+1 eröffnet. Setzen Sie placement.citingPage: true an der Ressource oder am defaultPlacement ihres Typs (oder layout.floatsAtCitingPage für das ganze Buch, seit postext 1.25), dann steht es stattdessen oben auf Seite N, und der Text über dem Verweis rückt darunter, sofern es in layout.maxTopFraction passt und die verweisende Zeile auf dieser Seite bleibt. Es eröffnet nie die erste Seite eines Kapitels oder eine Seite nach einem erzwungenen Umbruch: dort eröffnet es weiterhin die nächste Seite, und 'auto' oder 'bottom' können den Fuß der verweisenden Seite einnehmen. Platzierung von Abbildungen →

Häufiger Fehler

::resource{id="…"} nimmt nur doppelte Anführungszeichen

Eine Block-Einbettung wird nur als ::resource{id="…"} mit doppelten Anführungszeichen erkannt; jede andere Form bleibt als sichtbare Zeile im Text. Abbildungen genau hier →

Häufiger Fehler

Kein <marker> und keine Filter in SVG-Grafiken (Raster-Ersatz)

Eine SVG-Abbildung bleibt im PDF nur ohne <marker>, Filter und Masken ein Vektor; andernfalls fällt sie auf ein Raster zurück, und tief verschachtelte Filter können sie in Chrome leer erscheinen lassen. Zeichnen Sie Pfeilspitzen als Pfade. Abbildungen und Tabellen als Ressourcen →

Sandbox-Prüfung · unknownResourceId

Unbekannte Ressource

Ursache. Ein :ref oder ::resource verweist auf eine ID, die keine Ressource hat; der Verweis gibt „?“ aus, und nichts wird platziert.

Lösung. Korrigieren Sie die ID (nur doppelte Anführungszeichen) oder fügen Sie die Ressource hinzu. Doku →

Nachweise

Text
Eigener Text, CC BY 4.0
Bilder
  • Figure 2.1: a V-shaped river valley and a U-shaped glacial valley · Generated With Diffusion Models · eigener Text
  • Figure 2.2: long profile of a valley glacier · Generated With Diffusion Models · eigener Text
  • Figure 2.3: a glacial cirque in section · Generated With Diffusion Models · eigener Text
  • Figure 2.4: abrasion at the base of the ice · Generated With Diffusion Models · eigener Text
  • Figure 2.5: plucking on a rock step · Generated With Diffusion Models · eigener Text
  • Figure 2.6: a roche moutonnée · Generated With Diffusion Models · eigener Text
  • Figure 2.7: lateral, medial and terminal moraines in plan · Generated With Diffusion Models · eigener Text
Schriften
Faustina (SIL OFL 1.1) · Montserrat (SIL OFL 1.1) · IBM Plex Sans Condensed (SIL OFL 1.1)
Sandbox