Clamp held-over insertion depth with splitmaxdepth

This commit is contained in:
gloamxun committed 2026-10-23 23:35:20 +08:00
1 parent 0f4c1f85ae
commit a09b1d1d36
5 files changed
+84 -12

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`). 457 workspace tests are green and no oracle
PDF opt-in with `?engine=route-d`). 458 workspace tests are green and no oracle
fixture is ignored.
Known gaps, in dependency order:
@@ -266,7 +266,8 @@ Scope:
TeX register semantics, `\marks` remains open);
- insertions: `\insert` with `\count`, `\dimen`, `\skip` per class, split
insertions, held-over material with `\splittopskip` leading each
continuation, `\footins` defaults (the three registers are
continuation and `\splitmaxdepth` clamping the first continued box's
depth (excess moves into its height), `\footins` defaults (the three registers are
now modelled by `InsertionClass::multiplier`, `max_height` and `skip`, and
the fitting head stays on the anchor page with the tail held over; TeX's
register arithmetic remains);