Render hyperlinks with hyperref green colour

This commit is contained in:
gloamxun committed 2026-10-19 18:29:24 +08:00
1 parent a8b20563fb
commit 09781d40e9
12 files changed
+158 -11

No files matched your search

+1 -1
View File
@@ -15,7 +15,7 @@ chapter headings with chapter-prefixed section numbering and page breaks;
deferred top-float queue for figures; document-level custom `\maketitle`;
abstract quotation formatting, unnumbered `\paragraph` headings, natbib-style
author-year citations and plainnat bibliography formatting with duplicate-year
`2014a`/`2014b` suffixes;
`2014a`/`2014b` suffixes; hyperref-style green `\href`/`\url`/citation text;
`\vbox`/`\vtop` vertical-material capture with inline splicing
(`build_positioned_pages` is the only page builder and no separate break
planner remains); conditional Base-14 font embedding and natural-width centered
+3 -3
View File
@@ -103,8 +103,8 @@ See `docs/ROADMAP.md` for concrete implementation plans.
- Contents: chapter headings are listed with chapter-prefixed section
numbers, but contents are not split per chapter.
- Preprint title blocks: ORCID icons embedded in `\author` are dropped because
metadata does not carry PDF images, and links/URLs remain plain black text
instead of colored hyperref links. Title-block vertical spacing is tighter
metadata does not carry images. Hyperlinks use hyperref's green text colour;
PDF link annotations are not emitted. Title-block vertical spacing is tighter
than the reference class.
## Verification
@@ -114,7 +114,7 @@ See `docs/ROADMAP.md` for concrete implementation plans.
- ASCII-only documents use non-embedded Base-14 Times/Courier (arXiv PDF is
about 0.7 MB); documents with accented/non-WinAnsi text embed Liberation
faces. Tables use natural column widths and centered rules.
- `cargo fmt --check` passes; `cargo test --offline` (48 tests: 44 compiler
- `cargo fmt --check` passes; `cargo test --offline` (49 tests: 45 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