Flow in-text floats through the paged builder
This commit is contained in:
1 parent
14ca3b91d9
commit
f488dd3b6c
4 files changed
+117
-19
No files matched your search
@@ -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`). 375 workspace tests are green and no oracle
|
||||
PDF opt-in with `?engine=route-d`). 377 workspace tests are green and no oracle
|
||||
fixture is ignored.
|
||||
|
||||
Known gaps, in dependency order:
|
||||
@@ -69,8 +69,8 @@ yet generic `fil`/`fill` glue
|
||||
documents made of box/glue/penalty/mark units, insertion classes
|
||||
(per-class limits with held-over material) and top and bottom floats
|
||||
(`\textfloatsep` above the body, `\floatsep` between stacked bottom
|
||||
floats, `\bottomfraction` cap); in-text floats still use the scrolling
|
||||
builder, and the interpreted
|
||||
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`;
|
||||
3. `\insert` classes model `\count`/`\dimen`/`\skip` but are not TeX
|
||||
@@ -279,11 +279,11 @@ the source. Insertion classes are placed by the
|
||||
paged builder with their limits and held-over material, top floats are placed
|
||||
at the head of a fragment with `\textfloatsep` reserved above the body, and
|
||||
bottom floats sit at the page bottom with `\floatsep` between them and a
|
||||
`\bottomfraction` cap; in-text floats still fall back to the scrolling builder. Paged layouts also record the
|
||||
`\bottomfraction` cap; in-text floats flow inline with their `\intextsep` gaps counted as body height. Paged layouts also record the
|
||||
node index starting each page, so `Engine::edit` reuses the sealed prefix and
|
||||
rebuilds only the pages from the edited unit onward; insertions and interpreted
|
||||
`\output` keep the full-rebuild fallback. Next: port in-text floats and
|
||||
paper margins, then extend the `\output` interpreter past the
|
||||
`\output` keep the full-rebuild fallback. Next: paper margins, then
|
||||
extend the `\output` interpreter past the
|
||||
shipout/ifdim/ifnum/ifodd/ifcase subset.
|
||||
|
||||
Acceptance: 10 page fixtures (article text, footnotes, floats, forced breaks);
|
||||
|
||||
Reference in new issue
Block a user