Document the aligned title-page line and remaining annotation gaps

This commit is contained in:
gloamxun committed 2026-10-19 19:13:30 +08:00
1 parent 6c55686849
commit 4edd345a01
2 files changed
+4 -11

No files matched your search

+2 -8
View File
@@ -72,11 +72,5 @@ badge is the fallback until that image path exists.
### First-page paragraph break
The section-2 paragraph stops roughly two lines earlier than the reference
because `position_box` sees the reduced page goal used for the title-footnote
reserve, while the paragraph's post-reserve kern is added only after the whole
paragraph is placed. The fix is to split the page builder's notion of
"usable height for the current paragraph" from "height reserved after the
paragraph": the paragraph should be allowed to use the full body goal, and only
following blocks should see the reduced goal. Add a regression test comparing
the number of section-2 lines on page 1 with the reference fixture.
Done: the paragraph now places against the full body goal and the title-note reserve is applied after it; `arxiv_fixture_is_three_letter_pages` asserts that page 1 contains the closing `See` line and keeps a 3 mm gap above the footnote.
+2 -3
View File
@@ -80,7 +80,7 @@ the source changes; the SVG preview is refreshed per page.
bottom (TeX `\maxdepth`) so the last baseline and its descender stay inside
the page frame.
- Preprint title blocks reserve the title/author `\thanks` footnote height on
page one plus one spare baseline; the body layout goal is reduced while the footnote area still paints from the unreduced page goal, so body text cannot cross the separator. Uses the arxiv class's 11 pt leading and reference title
page one plus one spare baseline; the title-note reserve is settled after the paragraph so the body can use the full body goal, with a 1 mm guard keeping the closing line above the separator. Uses the arxiv class's 11 pt leading and reference title
gaps (measured title/author/date/Introduction baselines match XeLaTeX within 0.3 pt); table cells get a 1 mm render-area tolerance so bottom floats at the page
goal do not trip the frame check.
- Live preview: paragraph cache, page-hash diffing, warm rebuilds in the low
@@ -110,8 +110,7 @@ See `docs/ROADMAP.md` for concrete implementation plans.
- Preprint title blocks: ORCID links in `\author` render as a green `iD`
badge before the author name; the bitmap ORCID icon itself is not embedded.
Hyperlinks use hyperref's green text colour; PDF link annotations are not
emitted. Metadata baselines match the reference within 0.3 pt, but page 1
can lose one body line compared with the reference. PDF link annotations are
emitted. Metadata baselines match the reference within 0.3 pt and page 1 keeps the same closing section-2 line as the reference. PDF link annotations are
blocked on `printpdf 0.3.4`: it has no annotation API, so a vendored printpdf
patch must add a `/Annots` writer before `\href`/ORCID links can be clickable.
The same patch is the natural place to attach API-provided ORCID icon images.