Run the output routine after each paged page

This commit is contained in:
gloamxun committed 2026-10-24 00:20:32 +08:00
1 parent 23956a012b
commit 1dc3e95a04
3 files changed
+304 -115

No files matched your search

+2 -3
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`). 469 workspace tests are green and no oracle
PDF opt-in with `?engine=route-d`). 471 workspace tests are green and no oracle
fixture is ignored.
Known gaps, in dependency order:
@@ -88,8 +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
insertion-register writes still do not feed back into page building, `\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 (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;
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;