Record the TeX Live comparison for the arXiv template

This commit is contained in:
gloamxun committed 2026-10-27 19:14:23 +08:00
1 parent b1e3e03f00
commit 7407d4ed42
1 file changed
+34
+34
View File
@@ -125,9 +125,43 @@ references and page numbers. A project regression test now uploads a `.bib`
file and asserts that a route-D preview contains `References`, `[1]` and the
entry text.
## TeX Live comparison (2026-10-27)
The uploaded template was compiled with TeX Live 2026 (`pdflatex` + `bibtex` +
two further `pdflatex` passes; TeX Live was installed piecemeal, so the log
still contains `\languagename`/cleveref undefined-control warnings, but the
3-page layout matches the `template.pdf` bundled in the zip). The resulting
PDF was rendered page-by-page next to the route-D output.
| Page element | TeX Live reference | Route-D output |
| --- | --- | --- |
| Page count / paper | 3 pages, letter | 3 pages, letter |
| Typeface | Times (`ptm`, arxiv.sty) | Computer Modern / Liberation fallback |
| Text block | 1in left/right margins, 6.5in measure | starts at x=0 with a 6.67in measure |
| Running header | `arxiv Template` / `A PREPRINT` | absent |
| Title | `A TEMPLATE FOR THE arxiv STYLE`, small caps, rules above/below | normal case, no rules |
| Author block | two affiliations, ORCID icons, footnote symbols | one concatenated paragraph, no ORCID |
| Abstract/keywords | small-caps heading, bold `Keywords`, `·` separators | bold heading, comma separators |
| Citations | natbib author-year `(Kour and Saabne, 2014a; …)` | numeric `[1, 3]` |
| Table | booktabs rules, `Size (µm)`, `~100`, `10^6` | readable ASCII fallback `Size (um)`, `approx. 100`, `10**6`; rough header |
| Figure | framed rule box above the caption | caption only; `\fbox`/rule body missing |
| Display equation | fully typeset fraction/product/sum | approximate, visibly jumbled |
| References | author-year, italic venue, DOI link | numeric `[1]`–`[3]`, plain venue text |
| Float order | figure/table on page 3 with section 3.4 | figure/table float to page 2 top |
The visual difference is therefore not a single bug. Route-D models the
document semantically and lays out paragraphs/tables/floats with its own page
builder; it does not execute the LaTeX page builder, class styling, natbib
formatting, math typesetting or font selection that TeX Live applies. The
current output is a fast **structural preview**, not a replacement for the
TeX-produced PDF. Closing the remaining gap requires work on page geometry and
headers, Times-compatible metrics, title/author blocks, citation formatting,
float placement and the math engine — not another small patch.
## Go/no-go
- **Go**, limited to text/table/math documents: Route-D is the faster default
and handles accents that v1 rejects.
- **Conditional go** for the supplied arXiv template's text, tables and simple