Split insertions at the page break and hold over the tail

This commit is contained in:
gloamxun committed 2026-10-23 02:26:56 +08:00
1 parent b7b75fbff1
commit b5ec36ae2a
4 files changed
+202 -144

No files matched your search

+5 -4
View File
@@ -234,8 +234,9 @@ Scope:
TeX register semantics, `\marks` remains open);
- insertions: `\insert` with `\count`, `\dimen`, `\skip` per class, split
insertions, held-over material, `\footins` defaults (the three registers are
now modelled by `InsertionClass::multiplier`, `max_height` and `skip`; TeX's
register arithmetic and held-over bookkeeping remain);
now modelled by `InsertionClass::multiplier`, `max_height` and `skip`, and
the fitting head stays on the anchor page with the tail held over; TeX's
register arithmetic remains);
- output: `\output` as an interpreted token list, `\box255`, `\shipout`,
`\outputpenalty`, `\deadcycles`, page display list assembly;
- floats: TeX-compatible policy module used by the default output routine
@@ -257,8 +258,8 @@ body without moving the sheet; a route-D integration fixture checks the shift
with `pdftotext -bbox`, and the PDF endpoint reads leading `\hoffset`/`\voffset`
dimension assignments from the source. Floats, insertions and checkpoint replay still fall back
to the scrolling builder, which stays the default until it has a paged
equivalent. Next: port those paths, then paper margins, held-over insertion
material and the interpreted `\output`.
equivalent. Next: port those paths, then paper margins and the interpreted
`\output`.
Acceptance: 10 page fixtures (article text, footnotes, floats, forced breaks);
page counts identical and first/last baselines within 1pt of pdfLaTeX.