Apply TeX page offsets in the route-D PDF endpoint
This commit is contained in:
1 parent
5db7acaff2
commit
8d319b3b0c
5 files changed
+75
-11
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`). 316 workspace tests are green and no oracle
|
||||
PDF opt-in with `?engine=route-d`). 317 workspace tests are green and no oracle
|
||||
fixture is ignored.
|
||||
|
||||
Known gaps, in dependency order:
|
||||
@@ -251,7 +251,8 @@ chosen fragments as hashed pages; ties go to the breakpoint closest to the page
|
||||
goal, so overfull pages take the least overfull break. `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`. Floats, insertions and checkpoint replay still fall back
|
||||
with `pdftotext -bbox`, and the PDF endpoint reads leading `\hoffset`/`\voffset`
|
||||
dimension assignments from the source. Floats, insertions and checkpoint replay still fall back
|
||||
to the scrolling builder, which stays the default until it has a paged
|
||||
equivalent. Next: port those paths, then paper margins, held-over insertion
|
||||
material and the interpreted `\output`.
|
||||
|
||||
Reference in new issue
Block a user