Apply assigned insertion skip to later pages

This commit is contained in:
gloamxun committed 2026-10-24 00:32:52 +08:00
1 parent de84ffc979
commit d4906a3cc5
3 files changed
+86 -7

No files matched your search

+2 -2
View File
@@ -48,7 +48,7 @@ floats (`\floatsep`, `\textfloatsep`, `\intextsep`, `\topfraction`,
`\bottomnumber`, `\totalnumber`), insertion classes (`\skip`, fraction and
absolute limits, splitting), marks, Rust output hook, multi-page PDF, and the
route-D service endpoints (`/api/route-d/preview|pdf|edit`, project preview and
PDF opt-in with `?engine=route-d`). 473 workspace tests are green and no oracle
PDF opt-in with `?engine=route-d`). 474 workspace tests are green and no oracle
fixture is ignored.
Known gaps, in dependency order:
@@ -91,7 +91,7 @@ source-level `\hyphenation{...}` exceptions and `\parshape` measures,
fragments are rebuilt from the next node index; insertion material is fine
because class limits apply at assembly time), though a document that defers
bottom floats keeps its initial goal; the paged builder runs the routine
page by page, so `\dimen<n>` and `\count<n>` assignments change the insertion limits and reservations of later pages; the configured `\skip<n>` reserves space above its class once per page, while an output-routine `\skip<n>` assignment still has no effect because the builder's parameters are fixed before the page loop; `\box255` content is not inspectable and the full `\output` machinery is still missing;
page by page, so `\dimen<n>` and `\count<n>` assignments change the insertion limits and reservations of later pages; the configured `\skip<n>` reserves space above its class once per page, and an output-routine `\skip<n>` assignment rebuilds the remaining pages with the new reservation, so later insertion material pays the assigned skip; `\box255` content is not inspectable and the full `\output` machinery is still missing;
4. `\halign` handles spans/omit/templates but not the full TeX column algorithm;
5. math is a compact subset without the CM math fonts (`cmmi`, `cmsy`, `cmex`),
display-math line breaking or `\mathchoice`-level styling;