انتقل إلى المحتوى الرئيسي
الوصفة رقم 65

دليل الوصفات · الفصل 3 · العناوين وصفحات الافتتاح

كلاسيكية جيب: فصول قصيرة متتابعة بلا فواصل

Dom Casmurro كتاب جيب: فصول قصيرة تتتابع تحت عناوين مرسومة داخل العمود، ولا يترك أي فاصل صفحة سطرًا معزولًا أو عنوانًا منفردًا.

في هذه الصفحة
المُخرَج
Canvas
المستوى
متوسط
Postext
اختُبرت مع Postext 1.65.0
تتطلب ≥ 1.25.0
الترخيص
حُدّثت في 10 أكتوبر 2026
الشيفرة MIT · النص MIT

ص 212–213 · 2–3 من 7

  • نموذج باللغة الإنجليزية: لا توجد طبعة عربية بعد
  • مقاس القص 110 × 178 مم
  • عمود واحد
  • Tinos 9.5/12.6
  • Abril Fatface
  • League Spartan
  • 7 صفحات
  • المستوى
  • Postext 1.57.1
  • أُخرجت في 68 ms
  • أسطر الشيفرة: 167

باختصار

خمس صفحات من رواية برازيلية كلاسيكية في كتاب جيب صغير. يبدأ كل فصل قصير مباشرة بعد الفصل الذي قبله، ولا تبدأ أي صفحة أو تنتهي بسطر وحيد.

ما الذي ستنضده

خمس صفحات نصية من قرب نهاية Dom Casmurro، رواية ماشادو دي أسيس الصادرة عام 1899، منضَّدة بالبرتغالية الأصلية كتابَ جيب مقاسه 110 × 178 mm ضمن سلسلة متخيَّلة هي Coleção Casuarina. غلاف بأشرطة برقوقية وكريمية وبرقوقية عليه العنوان بخط Abril Fatface وشعار السلسلة الدائري الزعفراني، ولوحة مرسومة للبحر الهائج قبالة فلامنغو، مولَّدة بنماذج الانتشار، تقابل الصفحة 213. يمتد النص من نهاية الفصل CXVIII إلى نهاية CXXIII، ولا يفتتح أي فصل صفحة. يبدأ كل فصل على بُعد سطرين تحت نهاية سابقه (ثلاثة عند CXIX، لملء الصفحة 213)، تحت رقم روماني برقوقي، وعنوانه بأحرف كبيرة متباعدة، وخط زعفراني قصير. في الصفحة 214 عنوانا فصلين، وفي كلٍّ من 215 و216 عنوان واحد. كل صفحة نصية عدا الأخيرة تنتهي عند سطرها الثالث والثلاثين، ولا تبدأ أي منها بسطر وحيد.

تجيب هذه الوصفة عن

  • كيف أتجنب الأسطر الأرامل والأسطر اليتيمة والأسطر الأخيرة ذات الكلمة الواحدة، وأبقي العنوان مع نصه؟
  • كيف أجعل أسافل الأعمدة متساوية وأوازن الصفحة الأخيرة (الضبط العمودي)؟
  • كيف أرقّم العناوين (1، 1.1، 1.1.1) وأنسّق كل مستوى بطريقة مختلفة؟
  • كيف أضبط الترويسات: عنوان الكتاب في الصفحة اليسرى، وعنوان الفصل في اليمنى، ورقم الصفحة في الجانب الخارجي؟

الجواب المختصر

script.js · الأسطر 37–59في الشيفرة الكاملة
// Machado's chapters run a page or two, so none opens a page. The level's break is off (the
// H1 default would open each chapter on a recto) and a chapter starts two lines under the last.
const [NUMERAL, TITLE, TRACK, GAP] = [14, 7.5, 1.3, 1.6]; // pt, pt, pt, mm
const RULE_Y = NUMERAL * PT + GAP + TITLE * 1.2 * PT + GAP; // mm: under the title's line
const chapterHead = { enabled: true, slot: { elements: [ // no span: the head stays in the text
  { kind: 'text', id: 'numeral', content: '{number}', fontFamily: DISPLAY, fontSize: pt(NUMERAL),
    lineHeight: 1, color: col('plum'), align: 'center',
    placement: { ...at('container', 'top'), size: { width: 'fill' } } },
  { kind: 'text', id: 'title', content: '{titleText}', ...caps(TITLE, TRACK), color: col('ink'),
    align: 'center', overflow: 'wrap', // a long title takes a second line
    placement: { anchor: { to: '#numeral', edge: 'below' }, offset: { y: mm(GAP) },
      size: { width: 'fill' } } },
  { kind: 'rule', id: 'rule', direction: 'horizontal', thickness: pt(1), color: col('saffron'),
    placement: { ...at('container', 'top', 0, RULE_Y), size: { width: mm(8) } } },
] } }; // 11.7 mm deep: the head takes three lines, and the text under it stays on the grid
const chapters = { level: 1, numberingTemplate: '{1:I}', // {number} prints CXIX, CXX…
  fontSize: pt(TITLE), // the hidden heading line, measured in the headings' face
  breakBefore: { enabled: false }, marginTop: pt(2 * LEAD), advancedDesign: chapterHead };
// The keep rules are on by default. avoidWidows keeps widowMinLines (2) lines of a paragraph
// at the foot of a page, and headings.keepWithNext takes the head along when the paragraph
// moves on; avoidOrphans keeps two lines at the head of the next page; avoidRunts weighs a
// last line shorter than about 20 characters as a fault. Column balancing adds lines above
// a head so that the page ends on line 33.

المكونات

الميزات
الأسطر الأرامل والأسطر اليتيمة والكلمات المعزولةصفحات افتتاح مصمَّمةفصول تبدأ في صفحة فرديةالعناوين المرقّمةموازنة الأعمدةتقسيم الكلمات ولغة المستندالمسافات البادئة والمحاذاة والتباعد بين الفقراتالترويسات وأرقام الصفحاتالترويسات بحسب دور الصفحةأنماط العناوينفصول بلا أرقامالأغلفة وصفحات العنوان وبيانات النشرفواصل الصفحات والأعمدةالصور في تصاميم الصفحةالنصوص والخطوط والمربعات في تصاميم الصفحةسمات العنوانهوامش متناظرةإطارات عائمةالبيانات الوصفية للمستند
الخطوط
Tinos (Apache 2.0) · Abril Fatface, League Spartan (SIL OFL 1.1)
الأصول
  • plate-1100.jpg
  • The plate of the sea off Flamengo under the Sugarloaf, a painting (Generated With Diffusion Models, أصلي)
  • The casuarina roundel, drawn in code in the book’s palette (Ignacio Ferro, MIT)

طريقة التحضير

#1 · تابع الفصول، وأبقِ كل عنوان مع نصه

script.js · الأسطر 37–59في الشيفرة الكاملة
// Machado's chapters run a page or two, so none opens a page. The level's break is off (the
// H1 default would open each chapter on a recto) and a chapter starts two lines under the last.
const [NUMERAL, TITLE, TRACK, GAP] = [14, 7.5, 1.3, 1.6]; // pt, pt, pt, mm
const RULE_Y = NUMERAL * PT + GAP + TITLE * 1.2 * PT + GAP; // mm: under the title's line
const chapterHead = { enabled: true, slot: { elements: [ // no span: the head stays in the text
  { kind: 'text', id: 'numeral', content: '{number}', fontFamily: DISPLAY, fontSize: pt(NUMERAL),
    lineHeight: 1, color: col('plum'), align: 'center',
    placement: { ...at('container', 'top'), size: { width: 'fill' } } },
  { kind: 'text', id: 'title', content: '{titleText}', ...caps(TITLE, TRACK), color: col('ink'),
    align: 'center', overflow: 'wrap', // a long title takes a second line
    placement: { anchor: { to: '#numeral', edge: 'below' }, offset: { y: mm(GAP) },
      size: { width: 'fill' } } },
  { kind: 'rule', id: 'rule', direction: 'horizontal', thickness: pt(1), color: col('saffron'),
    placement: { ...at('container', 'top', 0, RULE_Y), size: { width: mm(8) } } },
] } }; // 11.7 mm deep: the head takes three lines, and the text under it stays on the grid
const chapters = { level: 1, numberingTemplate: '{1:I}', // {number} prints CXIX, CXX…
  fontSize: pt(TITLE), // the hidden heading line, measured in the headings' face
  breakBefore: { enabled: false }, marginTop: pt(2 * LEAD), advancedDesign: chapterHead };
// The keep rules are on by default. avoidWidows keeps widowMinLines (2) lines of a paragraph
// at the foot of a page, and headings.keepWithNext takes the head along when the paragraph
// moves on; avoidOrphans keeps two lines at the head of the next page; avoidRunts weighs a
// last line shorter than about 20 characters as a fault. Column balancing adds lines above
// a head so that the page ends on line 33.

فاصل مستوى الفصل معطَّل، ويضع marginTop كل عنوان على بُعد سطرين تحت آخر سطر من الفصل السابق. ليس في تصميمه span، فيُرسم العنوان داخل العمود، في كتلة عمقها ثلاثة أسطر، ويبقى النص تحته على الشبكة (الفاصل قبل العنوان، الامتداد والتصميم المتقدم). تُركت قواعد الإبقاء على قيمها الافتراضية. الفقرتان ذواتا الأسطر الأربعة تحت CXIX وCXXI تترك كلٌّ منهما سطرين في ذيل صفحتها وتنقل سطرين؛ ومع avoidOrphans: false كانتا ستنقسمان ثلاثة وواحدًا، وكانت الصفحتان 214 و215 ستبدآن بسطر وحيد (اليتيمة والأرملة والكلمة المعزولة). تضيف موازنة الأعمدة سطرًا ثالثًا من المسافة فوق CXIX، لتنتهي الصفحة 213 عند السطر 33 (موازنة الأعمدة).

الصفحة 213: يبدأ الفصل CXIX على بُعد ثلاثة أسطر تحت نهاية CXVIII ويُبقي سطرين من نصه في الذيل.

#2 · اضبط صفحة من 33 سطرًا، بتقسيم الكلمات على قواعد البرتغالية

script.js · الأسطر 63–70في الشيفرة الكاملة
const bodyText = { fontFamily: TEXT, fontSize: pt(BODY), lineHeight: pt(LEAD),
  color: col('ink'), referenceColor: col('ink'), // a :ref added later prints in ink
  firstLineIndent: mm(5) }; // every paragraph indented, the first after a head too
const page = { sizePreset: 'custom', width: mm(TRIM.width), height: mm(TRIM.height), dpi: 150,
  backgroundColor: col('paper'),
  margins: { top: mm(TOP), bottom: mm(TRIM.height - TOP - LINES * LEAD * PT), // 16.3 mm
    left: mm(INNER), right: mm(OUTER), mirror: true } };
const LOCALE = 'pt'; // the Portuguese hyphenation patterns

الهامش السفلي 16.3 mm، وهو ما يتركه الارتفاع البالغ 178 mm بعد الهامش العلوي البالغ 15 mm و33 سطرًا بتباعد 12.6 pt، فتنتهي كل صفحة كاملة عند السطر نفسه. خط Tinos، الذي له عروض Times New Roman، ينضّد نحو 59 حرفًا في السطر على عرض 84 mm بحجم 9.5 pt. يقسّم locale: 'pt' الكلمات بأنماط التقسيم البرتغالية: at-tracção، af-fluencia، genealogica-mente (اللغات المدعومة). كل فقرة مزاحة، حتى الأولى بعد العنوان، كما جرت العادة في الطبعات البرتغالية والبرازيلية، لذلك يحتفظ indentAfterHeading بقيمته الافتراضية.

#3 · سمِّ الكتاب فوق الصفحة الزوجية والفصل فوق الفردية

script.js · الأسطر 74–87في الشيفرة الكاملة
const SHIFT = (INNER - OUTER) / 2; // mm: the text block sits off the page's centre
const [HEAD_Y, FOLIO_Y] = [8.5, 167]; // mm below the top edge
const head = (id, content, parity, x) => ({ kind: 'text', id, content, parity,
  pages: 'body', // never on the cover or the plate, which are opener pages
  ...caps(7.5, TRACK), color: col('muted'), align: 'center',
  placement: at('page', 'top', x, HEAD_Y) });
const folio = (id, parity, edge, x) => ({ kind: 'text', id, content: '{pageNumber}', parity,
  pages: 'body', ...caps(7.5, 0), color: col('ink'), placement: at('page', edge, x, FOLIO_Y) });
const header = { elements: [
  head('verso-title', '{title}', 'even', -SHIFT), // the title in the frontmatter
  head('recto-chapter', '{chapterTitle}', 'odd', SHIFT), // last chapter begun on or before it
] };
const footer = { elements: [folio('verso-folio', 'even', 'top-left', OUTER),
  { ...folio('recto-folio', 'odd', 'top-right', -OUTER), align: 'right' }] };

يطبع {title} العنوان الوارد في البيانات التمهيدية (frontmatter)، ويطبع {chapterTitle} آخر فصل يبدأ في الصفحة أو قبلها، فتذكر الصفحة 217 الفصل CXXIII الذي بدأ في الصفحة 216 (عناصر النص). وتذكر الصفحة 213 الفصل CXIX الذي يبدأ في ذيلها، مع أن أسطرها الخمسة والعشرين الأولى تختم CXVIII. أما {chapterTitleAtTop} فيذكر الفصل الذي تُفتتح فيه الصفحة، لكن هذا المقتطف لا يضم عنوان CXVIII. ينقل SHIFT الترويسات إلى منتصف كتلة النص، بعيدًا عن منتصف الصفحة بمقدار 1 mm لأن الهامش الداخلي أعرض من الخارجي بمقدار 2 mm.

#4 · ارسم الغلاف واللوحة عنوانين

script.js · الأسطر 91–134في الشيفرة الكاملة
// span: 'page', in one column too, makes each an opener page: its art runs past the foot of
// the text column, and no running head or folio prints on it. Each design reaches the foot of
// the page, so the heading reserves the whole page and the text starts on the next one.
const onPage = (y, size) => ({ ...at('page', 'top', 0, y), ...(size && { size }) });
const cover = { id: 'cover', numbered: false, span: 'page',
  advancedDesign: { enabled: true, slot: { elements: [
    { kind: 'box', id: 'top-band', style: { backgroundColor: col('plum') },
      placement: { ...at('page', 'top-left'), size: { width: 'fill', height: mm(62) } } },
    { kind: 'text', id: 'author', content: '{author}', ...caps(10, 2.4), color: col('paper'),
      align: 'center', placement: at('page', 'top', 0, 44) },
    { kind: 'text', id: 'title', content: '{titleText}', fontFamily: DISPLAY, fontSize: pt(44),
      lineHeight: 1, color: col('plum'), align: 'center', overflow: 'wrap',
      placement: onPage(72, { width: 'fill' }) },
    { kind: 'rule', id: 'rule', direction: 'horizontal', thickness: pt(1.5),
      color: col('saffron'), placement: onPage(111, { width: mm(12) }) },
    { kind: 'box', id: 'foot-band', style: { backgroundColor: col('plum') },
      placement: { ...at('page', 'top-left', 0, 124), size: { width: 'fill', height: mm(54) } } },
    { kind: 'image', id: 'roundel', resourceId: 'roundel',
      placement: onPage(133, { width: mm(20) }) },
    { kind: 'text', id: 'series', content: 'Coleção Casuarina', ...caps(7.5, 1.8),
      color: col('saffron'), align: 'center', placement: at('page', 'top', 0, 159) },
  ] } } };
// The plate faces the first page of text: the morning sea off Flamengo, captioned with the
// line of chapter CXXIII it illustrates, which the heading carries in its quote attribute.
const plate = { id: 'plate', numbered: false, span: 'page',
  advancedDesign: { enabled: true, slot: { elements: [
    { kind: 'image', id: 'sea', resourceId: 'sea',
      placement: { ...at('page', 'top-left'), size: { width: 'fill', height: 'fill' } } },
    { kind: 'text', id: 'label', content: '{titleText}', ...caps(7.5, 1.6), color: col('saffron'),
      align: 'center', placement: at('page', 'top', 0, 146) },
    { kind: 'text', id: 'quote', content: '{attr.quote}', fontFamily: TEXT, italic: true,
      fontSize: pt(8.6), lineHeight: 1.35, color: col('paper'), align: 'center', overflow: 'wrap',
      placement: onPage(152, { width: mm(78) }) },
  ] } } };
const resources = [
  { id: 'roundel', typeId: 'figure', kind: 'svg', createdAt: 0, updatedAt: 0,
    svg: { fileId: 'roundel.svg', width: 60, height: 60 },
    altText: 'The series mark: a casuarina tree in a ring.' },
  // The plate is a painting, a JPEG in assets/ cut to the trim, declared at its pixels.
  { id: 'sea', typeId: 'figure', kind: 'bitmap', createdAt: 0, updatedAt: 0,
    bitmap: { fileId: 'plate-1100.jpg', format: 'jpeg', width: 1100, height: 1780 },
    altText: 'A heavy morning sea under the Sugarloaf, a low sun, and a lone swimmer among '
      + 'the breakers.' },
];

كلاهما نمط عنوان فيه numbered: false، فيبقى أول فصل مرقَّم هو CXIX. يجعل span: 'page' كلًّا منهما صفحة افتتاح. من دونه يتوقف شريط الغلاف السفلي وصورة اللوحة عند ذيل كتلة النص، وتُطبع الترويسة ورقم الصفحة على الصفحتين. يأتي تعليق اللوحة من عنوانها: CAPÍTULO CXXIII هو نص العنوان، والاقتباس المائل هو سمته quote (سمات العناوين). يبلغ كل تصميم ذيل صفحته، فيحجز العنوان الصفحة كلها ويبدأ النص في الصفحة التالية من غير :::pagebreak.

#5 · أخبر المقتطف بموضعه من الكتاب

script.js · السطر 276في الشيفرة الكاملة
const continuation = { headings: { h1: 118, h2: 0, h3: 0, h4: 0, h5: 0, h6: 0 } };

يحدّد continuation.headings عدّادات العناوين التي يبدأ منها المقتطف. مع h1: 118 يكون أول عنوان مرقَّم هو الفصل CXIX؛ ومن دونه تُرقَّم الفصول الخمسة من I إلى V. يضبط numberingTemplate: '{1:I}' في مستوى الفصل تلك الأرقام بالأرقام الرومانية، ويطبعها التصميم عبر {number}. ويرقّم :::numbering{startAt=212}، بعد الغلاف، اللوحةَ بالرقم 212 والصفحات النصية من 213 إلى 217 (الترقيم).

الوصفة كاملة

Sandbox
// ═══ Postext Cookbook · Nº 065 · Pocket classic: short chapters that run on ═══════════
// https://postext.dev/en/cookbook/short-chapters-run-on
// Code: MIT · Text: Machado de Assis, Dom Casmurro, 1899 (PD, Gutenberg #55752) · Plate: painted
// Fonts: Tinos (Apache 2.0), Abril Fatface, League Spartan (SIL OFL 1.1) · Needs postext ≥ 1.25.0
import {
  buildDocumentWithFonts, renderPageToCanvas, registerResourceImage,
} from 'https://esm.sh/postext';

const LANG = 'en'; // @lang: the language of the viewer's title; the sample is Portuguese
const RECIPE = 'short-chapters-run-on';

// ─── 1 · Design ─────────────────────────────────────────────────────────────
const palette = {
  ink: '#24202a', // the text: a violet near-black
  paper: '#f6f1e6', // the pocket book's paper
  plum: '#4f2a49', // the series colour: cover bands, the chapter numerals
  saffron: '#d9a03c', // the second ink: rules and drawings, never text on paper (2.1:1)
  muted: '#6b616e', // the running heads and the colophon (5.2:1 on paper)
};
// Each colour names its palette entry and carries its hex.
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 default bold and italic colours link to main-color, set here to the ink, not blue.
  { id: 'main-color', name: 'ink (defaults)', value: { hex: palette.ink, model: 'hex' } },
];
const [TEXT, DISPLAY, LABEL] = ['Tinos', 'Abril Fatface', 'League Spartan'];
const TRIM = { width: 110, height: 178 }; // mm: a pocket book
const [TOP, INNER, OUTER] = [15, 14, 12]; // mm; mirrored, so the inner margin is at the spine
const [BODY, LEAD, LINES] = [9.5, 12.6, 33]; // pt, pt, and the lines of a full page
const PT = 25.4 / 72; // mm per point
const at = (to, edge, x = 0, y = 0) => ({ anchor: { to, edge }, offset: { x: mm(x), y: mm(y) } });
const caps = (size, track) => ({ fontFamily: LABEL, fontWeight: 600, fontSize: pt(size),
  letterSpacing: pt(track), textTransform: 'uppercase' });

// #region answer: chapters that run on, each under a centred head drawn in the column
// Machado's chapters run a page or two, so none opens a page. The level's break is off (the
// H1 default would open each chapter on a recto) and a chapter starts two lines under the last.
const [NUMERAL, TITLE, TRACK, GAP] = [14, 7.5, 1.3, 1.6]; // pt, pt, pt, mm
const RULE_Y = NUMERAL * PT + GAP + TITLE * 1.2 * PT + GAP; // mm: under the title's line
const chapterHead = { enabled: true, slot: { elements: [ // no span: the head stays in the text
  { kind: 'text', id: 'numeral', content: '{number}', fontFamily: DISPLAY, fontSize: pt(NUMERAL),
    lineHeight: 1, color: col('plum'), align: 'center',
    placement: { ...at('container', 'top'), size: { width: 'fill' } } },
  { kind: 'text', id: 'title', content: '{titleText}', ...caps(TITLE, TRACK), color: col('ink'),
    align: 'center', overflow: 'wrap', // a long title takes a second line
    placement: { anchor: { to: '#numeral', edge: 'below' }, offset: { y: mm(GAP) },
      size: { width: 'fill' } } },

يعمل ملف script.js المجمّع كما هو: الصقه في سكربت الوحدة (module) لأي صفحة، أو افتح الوصفة على CodePen. مجلد الوصفة على GitHub ↗ (يفتح في تبويب جديد)

تنويعات

#افتتح كل فصل في صفحة جديدة

مع فاصل قبل كل فصل تصبح الصفحات النصية الخمس سبعًا: ليس في الصفحة 214 إلا CXIX، عنوانه وأربعة أسطر، وتأخذ الصفحة 213، التي لا يبدأ فيها أي فصل، عنوان اللوحة CAPÍTULO CXXIII ترويسةً لها.

-  breakBefore: { enabled: false }, marginTop: pt(2 * LEAD), advancedDesign: chapterHead };
+  breakBefore: { enabled: true, parity: 'any' }, marginTop: pt(2 * LEAD),
+  advancedDesign: chapterHead };

#ضع رقم الفصل فوق الصفحة الفردية

يطبع {chapterNumber} رقم الفصل نفسه الذي يأتي منه العنوان: CXIX · NÃO FAÇA ISSO, QUERIDA.

-  head('recto-chapter', '{chapterTitle}', 'odd', SHIFT),
+  head('recto-chapter', '{chapterNumber} · {chapterTitle}', 'odd', SHIFT),

أخطاء شائعة

خطأ شائع

avoidWidows يحرس أسفل العمود، وavoidOrphans أعلاه

يسمّي Postext السطرين المنفردين على طريقته: avoidWidows (widowMinLines وwidowPenalty) يمنع السطر الأول من الفقرة من أن يقف وحده في أسفل العمود، وavoidOrphans (orphanMinLines وorphanPenalty) يمنع سطرها الأخير من أن يقف وحده في أعلى العمود التالي. كثير من أدلة الأسلوب تعطي الاسمين بالعكس، فاختر الإعداد بحسب الموضع الذي يعمل فيه. كلاهما مفعَّل افتراضيًا، إلا على شبكة المحارف (cjk.grid): فهناك يكون avoidWidows معطَّلًا، وكذلك avoidOrphans في منطقة اليابان، كي تحمل الصفحة الأسطر التي تعدّها شبكتها (منذ postext 1.28). ويعمل كلٌّ منهما عقوبةً: يوازن الإخراج كلًّا منهما بالأسطر الفارغة التي يتركها الالتزام به. الأسطر الأرامل والأسطر اليتيمة والكلمات المعزولة →

خطأ شائع

يسري :::numbering من الصفحة التالية

يغيّر :::numbering العدّ بدءًا من الصفحة التالية التي تبدأ، لا من الصفحة الحالية. ضعه مباشرةً بعد :::pagebreak (بالزوجية odd قبل الفصل الأول) ليبدأ الترقيم الجديد حيث تريد. ترقيم روماني للصفحات التمهيدية →

  • رفع widowMinLines إلى 3 لا يترك للفقرة ذات الأسطر الأربعة تحت CXIX موضعًا تنقسم عنده: ثلاثة أسطر وواحد يعني أن يفتتح سطر وحيد الصفحة 214. فينتقل العنوان مع نصه إلى الصفحة التالية، وتنتهي الصفحة 213 قبل تمامها بستة أسطر.
  • إذا زاد CXVIII بضعة أسطر، لم يبقَ للفصل CXIX متسع إلا لسطر واحد تحت عنوانه. عندئذ ينقل keepWithNext العنوان إلى الصفحة 214 وتنتهي الصفحة 213 ناقصة أربعة أسطر أو خمسة؛ ومع keepWithNext: false يختم العنوان الصفحة 213 بلا نص تحته.
  • اللوحة عنوان H1، فيرجع {chapterTitle} إليها: الصفحة النصية التي لم يبدأ فيها أي فصل منذ اللوحة، مثل الصفحة 213 بعد انتقال CXIX، تطبع CAPÍTULO CXXIII ترويسةً لها. ومع runningChapter: false في نمط اللوحة تتجاوزها الترويسات.
  • عطّل avoidRunts فلا يبقى في السطر الأخير من الكتاب إلا manhã. بدل nadador da manhã.
  • فواصل الصفحات هذه لا تصح إلا لهذا النص بحجم 9.5 على 12.6 pt وعرض 84 mm. بعد أن تغيّر النص أو الحجم أو العرض، انظر من جديد إلى ذيل كل صفحة وإلى المسافة فوق كل عنوان.

الحقوق

الوصفة
Ignacio Ferro
النص
  • Dom Casmurro (1899), from the end of chapter CXVIII to the end of chapter CXXIII, in the spelling of the Garnier edition, with one transcription slip corrected (homens, chapter CXXIII) · Machado de Assis · ملك عام
  • The colophon, and the series name Coleção Casuarina (invented for this recipe) · Postext Cookbook · أصلي
الصور
  • The plate of the sea off Flamengo under the Sugarloaf, a painting · Generated With Diffusion Models · أصلي
  • The casuarina roundel, drawn in code in the book’s palette · Ignacio Ferro · MIT
الخطوط
Tinos (Apache 2.0) · Abril Fatface (SIL OFL 1.1) · League Spartan (SIL OFL 1.1)
الشيفرة
MIT، مثل Postext
Sandbox