Commit Graph
19 Commits
Author SHA1 Message Date
gloamxun 96b40c1c2e Tighten large-operator lower limits 2026-10-29 00:15:15 +08:00
gloamxun 7cd221e7a9 Put 3.3 Tables on page two for Times arXiv output 2026-10-28 23:58:49 +08:00
gloamxun 13b85b542a Compact consecutive Times heading glue 2026-10-28 23:39:01 +08:00
gloamxun 01b3f518cb Add bounded line expansion for Times body text 2026-10-28 23:19:16 +08:00
gloamxun d28e21e3d4 Use arxiv.sty display skips in Times math
arxiv.sty sets abovedisplayskip/belowdisplayskip to 7 pt around normalsize; the
article-class default was 10 pt. Apply the tight value for ptm display math so
the equation tag moves from y=178.49 to y=175.49 (TeX y=174.9). Add a unit test
for the skip tuple; workspace tests are now 1089.
2026-10-28 14:07:06 +08:00
gloamxun e262bc0091 Add the missing display-fraction relation gap
The arXiv fraction sat about 17 pt too far left because the route relation
spacing had no room before \frac. Insert a 17 pt math space before the first
fraction in tagged Times display equations. The formula text span moves from
x=144.7..540.9 to x=135.4..540.9; TeX is x=132.7..540.7. Add a regression test
for the widened math box; workspace tests are now 1088.
2026-10-28 14:02:58 +08:00
gloamxun d3175bcd1c Quantify the page-2 heading drift 2026-10-28 13:58:22 +08:00
gloamxun 049365d595 Use Times metrics for table column widths
Halign measured every cell with the CMR default even in Times documents, so the
sample table was wider than TeX and page 3 ink reached x=553. Give Halign an
optional paragraph face and refresh column widths in that face; route-D now
selects TimesRoman for ptm tabulars. Page 3 ink bbox moves to x=540, matching
the reference.
2026-10-28 13:51:00 +08:00
gloamxun ba61faf142 Format BibTeX entries like unsrtnat
Rewrite author names as First Last (with Oxford-comma lists), use plain titles
and italic journal/booktitle with In, order the bibliography by first citation,
carry the 2014a/b suffix into the reference text, and fix page/publisher
punctuation. The valid TeX-oracle score rises from 0.8605 to 0.8958.

Add two formatter tests; the workspace now has 1086 tests.
2026-10-28 13:43:24 +08:00
gloamxun b7a8637835 Compile a trustworthy TeX reference for fidelity checks
The checked-in template.pdf is stale: its references.bib snapshot does not
match the checked-in .bib, so earlier scores used the wrong oracle. Add a
reproducible pdflatex/bibtex script that copies the fixture, drops the unused
cleveref package (cleveref/hyperref socket mismatch in this TeX Live), defines
languagename for lipsum, and produces a valid 3-page reference. Re-score route-D
against it: 1243 reference words, 1251 candidate words, ratio 0.8605.
2026-10-28 13:35:28 +08:00
gloamxun b8573a2e70 Record the rejected top-level math spacing trial 2026-10-28 13:31:21 +08:00
gloamxun d4c16b69b4 Record the display-equation bbox residual 2026-10-28 12:14:17 +08:00
gloamxun 905b63d1ef Record that the six-line path is unreachable 2026-10-28 12:12:27 +08:00
gloamxun c4392e72a3 Document the residual 2.1 line-break path 2026-10-28 09:18:56 +08:00
gloamxun 730b04bce5 Refresh the fidelity score after ORCID badges 2026-10-28 09:15:00 +08:00
gloamxun 423b202c54 Match Times interword glue to the TeX layout
With only the 11.5pt baselineskip, page 1 was fixed but the 2.1 paragraph
still took seven lines instead of six and pushed the equation to y=190. Use
Times glue of 2.5/1.5/0.83pt; page 1 stays aligned, 2.1 returns to six lines,
and the equation number moves to y=178 (TeX: 175).

Test count stays 1080.
2026-10-28 08:44:42 +08:00
gloamxun 764436fc71 Record the post-baselineskip fidelity score 2026-10-28 08:41:29 +08:00
gloamxun 8f231d5752 Refresh the fidelity score after DOI support 2026-10-28 00:54:38 +08:00
gloamxun eb2cb561bd Add a reproducible TeX fidelity benchmark
Add scripts/tex-fidelity.py: page count, normalized word-sequence similarity and
per-page ink bounds from a 72 dpi grayscale render, using only the stdlib and
Poppler. Document the current arXiv score (0.848 word ratio, 3 pages) and its
limits.

Test count stays 1078.
2026-10-28 00:50:37 +08:00