Prefer the later equal-cost page break
This commit is contained in:
1 parent
66b2ccf380
commit
bf31936146
3 files changed
+53
-16
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`). 463 workspace tests are green and no oracle
|
||||
PDF opt-in with `?engine=route-d`). 464 workspace tests are green and no oracle
|
||||
fixture is ignored.
|
||||
|
||||
Known gaps, in dependency order:
|
||||
@@ -296,8 +296,9 @@ penalty-driven earlier breaks, `\topskip`, `\maxdepth`, marks, insertion
|
||||
limits, float placement, vertical glue setting and glue orders.
|
||||
`Engine::layout_paged` now feeds it every document whose units are single
|
||||
vertical items (`Document::max_depth` supplies `\maxdepth`) and materialises the
|
||||
chosen fragments as hashed pages; ties go to the breakpoint closest to the page
|
||||
goal, so overfull pages take the least overfull break. Paragraph nodes carry their last-line descent as depth, so `\pagedepth` reports it and `\maxdepth` only caps the kept part while the excess moves into the page height; route-D applies LaTeX's 5pt `\maxdepth` default at the source layer, and the page fixtures pin it. `Document::h_offset` and
|
||||
chosen fragments as hashed pages; ties go to the later breakpoint (TeX's `<=`
|
||||
update), and a page that cannot fit any break within its glue shrink still takes
|
||||
the least overfull break. Paragraph nodes carry their last-line descent as depth, so `\pagedepth` reports it and `\maxdepth` only caps the kept part while the excess moves into the page height; route-D applies LaTeX's 5pt `\maxdepth` default at the source layer, and the page fixtures pin it. `Document::h_offset` and
|
||||
`v_offset` feed the PDF writer's `pdf::PageOrigin`, which translates the page
|
||||
body without moving the sheet; a route-D integration fixture checks the shift
|
||||
with `pdftotext -bbox`. `Document::paper_width`/`paper_height`
|
||||
|
||||
Reference in new issue
Block a user