Expose TeX carried marks for page headers

This commit is contained in:
gloamxun committed 2026-10-23 02:00:29 +08:00
1 parent 8d319b3b0c
commit daf9f5c57e
4 files changed
+82 -5

No files matched your search

+4 -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`). 317 workspace tests are green and no oracle
PDF opt-in with `?engine=route-d`). 318 workspace tests are green and no oracle
fixture is ignored.
Known gaps, in dependency order:
@@ -228,7 +228,9 @@ Scope:
recomputation as insertions arrive, `\pagegoal`, `\pagetotal`,
`\pagestretch`, `\pagefilstretch`, `\pagefillstretch`, `\pagefilllstretch`,
`\pageshrink`, `\pagedepth`;
- marks: `\mark`, `\botmark`, `\firstmark`, `\topmark`, `\marks`;
- marks: `\mark`, `\botmark`, `\firstmark`, `\topmark`, `\marks` (marks are
collected per page; `Engine::top_mark`/`first_mark`/`bot_mark` now carry the
TeX register semantics, `\marks` remains open);
- insertions: `\insert` with `\count`, `\dimen`, `\skip` per class, split
insertions, held-over material, `\footins` defaults (the three registers are
now modelled by `InsertionClass::multiplier`, `max_height` and `skip`; TeX's