Expose per-order page stretch to the output routine

This commit is contained in:
gloamxun committed 2026-10-23 04:22:27 +08:00
1 parent 52e3e0647c
commit a4388942f0
6 files changed
+117 -5

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`). 383 workspace tests are green and no oracle
PDF opt-in with `?engine=route-d`). 386 workspace tests are green and no oracle
fixture is ignored.
Known gaps, in dependency order:
@@ -242,7 +242,7 @@ Scope:
- TeX page builder: candidate breakpoints, cost = badness + penalty, page goal
recomputation as insertions arrive, `\pagegoal`, `\pagetotal`, `\pagedepth`,
`\pagestretch`, `\pageshrink`,
`\pagestretch`, `\pagefilstretch`, `\pagefillstretch`, `\pagefilllstretch`,
`\pagestretch`, `\pagefilstretch`, `\pagefillstretch`, `\pagefilllstretch` (per-order stretch is recorded on every page fragment),
`\pageshrink`, `\pagedepth`;
- marks: `\mark`, `\botmark`, `\firstmark`, `\topmark`, `\marks` (marks are
collected per page; `Engine::top_mark`/`first_mark`/`bot_mark` now carry the