Report page badness and held-over insertions to the output routine

This commit is contained in:
gloamxun committed 2026-10-24 00:02:46 +08:00
1 parent bf31936146
commit 01ed1b7c21
5 files changed
+89 -6

No files matched your search

+3 -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`). 464 workspace tests are green and no oracle
PDF opt-in with `?engine=route-d`). 466 workspace tests are green and no oracle
fixture is ignored.
Known gaps, in dependency order:
@@ -79,7 +79,8 @@ source-level `\hyphenation{...}` exceptions and `\parshape` measures,
floats, `\bottomfraction` cap); in-text floats flow inline, so every
float placement goes through the paged builder, and the interpreted
`\output` subset handles `\shipout`, `\ifdim` and `\ifnum` over page
registers such as `\pageno`, `\outputpenalty` and `\deadcycles`;
registers such as `\pageno`, `\outputpenalty`, `\deadcycles`, `\vbadness` and
`\insertpenalties`;
3. `\insert` classes are TeX registers addressed by number (`\count<n>`,
`\dimen<n>`, `\skip<n>`, with `\count0` aliasing `\pageno`) and the
interpreted output routine can assign `\pageno`, `\deadcycles`,