Fix the arXiv-template PDF output
The user-supplied template PDF exposed four concrete problems:
- title/headings were letter-spaced: plain text in a large paragraph took the
SizedText segment path and was scaled twice; the fallback run now stays at
the base size and is scaled once by the paragraph;
- the table lost its third column because unsupported math glyphs were sent
through the PDF fallback font; table-cell math now has a readable ASCII
fallback (Size (um), approx. 100, 10**6);
- fancyhdr's \cfoot{\thepage} was painted together with route-D's default page
number; default numbering is skipped for a fancy pagestyle;
- .bib data was ignored; simple @article/@inproceedings entries are now parsed
from project .bib files, inlined as thebibliography entries, and resolved by
the existing citation pass, producing References and [1]-[3].
The regenerated 3-page PDF was checked for title/heading spacing, table text,
references and a single page number per page. A project regression test covers
the .bib path, and the table/heading fixes have unit tests.
Remaining visible limits in this template: the complex display equation, the
\fbox/rule figure body, vector/PDF images and the author block layout.
Test count moves to 1069 (444 core, 432 engine, 65 server).
This commit is contained in:
1 parent
fab26234fc
commit
b1e3e03f00
9 files changed
+457
-26
No files matched your search
@@ -16,20 +16,20 @@ cargo test --workspace --offline
|
||||
|
||||
or run `./scripts/verify-route-d.sh`, which executes both.
|
||||
|
||||
The workspace currently passes **1065 tests**:
|
||||
The workspace currently passes **1069 tests**:
|
||||
|
||||
| Suite | Tests |
|
||||
| --- | --- |
|
||||
| route-D unit (engine) | 442 |
|
||||
| engine binary unit | 431 |
|
||||
| server integration | 64 |
|
||||
| route-D unit (engine) | 444 |
|
||||
| engine binary unit | 432 |
|
||||
| server integration | 65 |
|
||||
| v1 integration | 71 |
|
||||
| pdfLaTeX oracle | 42 |
|
||||
| route-D integration | 10 |
|
||||
| engine/core unit | 4 + 1 |
|
||||
|
||||
Latest full run (web trial increment): `./scripts/verify-route-d.sh` passes
|
||||
with fmt clean and **1065 tests** green.
|
||||
with fmt clean and **1069 tests** green.
|
||||
|
||||
Latest live check (2026-10-27): the debug server served `examples/hello.tex`
|
||||
from `target/debug/texrra serve`; `POST /preview` answered 200 with
|
||||
|
||||
Reference in new issue
Block a user