Reserve insertion class skip in the paged builder

This commit is contained in:
gloamxun committed 2026-10-24 00:23:55 +08:00
1 parent 1dc3e95a04
commit 0805f3c932
4 files changed
+90 -6

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`). 471 workspace tests are green and no oracle
PDF opt-in with `?engine=route-d`). 472 workspace tests are green and no oracle
fixture is ignored.
Known gaps, in dependency order:
@@ -88,7 +88,7 @@ source-level `\hyphenation{...}` exceptions and `\parshape` measures,
box height and depth, and the assigned values carry
over to later pages (TeX output registers are global); an assigned `\vsize`
changes later page goals for documents without insertions or floats, but
the paged builder now runs the routine page by page, so `\dimen<n>` and `\count<n>` assignments change the insertion limits and reservations of later pages (a `\skip<n>` assignment still has no effect on that path, which never applied `\skip` there), `\box255` content is not inspectable and the full `\output` machinery is still missing;
the paged builder now 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;
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;