Annotate ORCID author badges with their profile links

This commit is contained in:
gloamxun committed 2026-10-19 21:37:17 +08:00
1 parent 05d7980561
commit 2076da8f21
8 files changed
+52 -10

No files matched your search

+7 -7
View File
@@ -111,9 +111,9 @@ See `docs/ROADMAP.md` for concrete implementation plans.
badge (rounded ORCID-green polygon with a white iD, drawn natively in PDF
and SVG) before the author name; the original bitmap ORCID logo is not
embedded.
Hyperlinks use hyperref's green text colour; visible `\url` text emits a
PDF `/Link` URI annotation (`/Annots`). `\href`/ORCID-name labels still
carry only colour, because their target URL is not yet stored on the run.
Hyperlinks use hyperref's green text colour; visible `\url` text,
`\href` display labels, and ORCID author badges emit PDF `/Link` URI
annotations (`/Annots`).
Metadata baselines match the reference within 0.3 pt and page 1 keeps the
same closing section-2 line as the reference. `printpdf 0.3.4` has no
annotation API, so the link is added by reopening the finished PDF with
@@ -128,7 +128,7 @@ See `docs/ROADMAP.md` for concrete implementation plans.
3.6 MB and `pdffonts` reports only embedded CID TrueType faces); this avoids
viewer-dependent glyph substitution. Tables use natural column widths and
centered rules; preview and PDF share the same table line coordinates.
- `cargo fmt --check` passes; `cargo test --offline` (54 tests: 50 compiler
- `cargo fmt --check` passes; `cargo test --offline` (56 tests: 52 compiler
integration tests + 4 server tests) covers the three examples, the arXiv
fixture, figure/table floats (top and bottom), newpage, page styles and `\thispagestyle`, SVG/PDF output,
project API, static frontend assets, path traversal, the legacy
@@ -137,7 +137,7 @@ See `docs/ROADMAP.md` for concrete implementation plans.
## Verification snapshot
- Compiler integration tests: 50; server tests: 4; total 54.
- Compiler integration tests: 52; server tests: 4; total 56.
- `cargo fmt --check` passes.
- arXiv fixture: 3 Letter pages, ~3.6 MB, embedded Liberation faces only.
- Title/author/date/Introduction baselines within 0.3 pt of the XeLaTeX
@@ -145,5 +145,5 @@ See `docs/ROADMAP.md` for concrete implementation plans.
- Table 61.1 mm wide (reference 61.2 mm) with `\multicolumn` spans and
partial `\cmidrule` rules; table rules in the SVG preview use absolute page
coordinates, matching the PDF.
- Remaining blocker: PDF link annotations (`/Annots`); printpdf 0.3.4 has
no annotation API, so clickable `\href`/`\url` need a writer extension.
- PDF link annotations are added by reopening the finished PDF with lopdf,
since printpdf 0.3.4 has no annotation API.