Verify narrow-measure pretolerance against pdfLaTeX

This commit is contained in:
gloamxun committed 2026-10-24 00:07:26 +08:00
1 parent 01ed1b7c21
commit c3bb8af8a9
3 files changed
+27 -9

No files matched your search

+4 -5
View File
@@ -48,7 +48,7 @@ floats (`\floatsep`, `\textfloatsep`, `\intextsep`, `\topfraction`,
`\bottomnumber`, `\totalnumber`), insertion classes (`\skip`, fraction and
absolute limits, splitting), marks, Rust output hook, multi-page PDF, and the
route-D service endpoints (`/api/route-d/preview|pdf|edit`, project preview and
PDF opt-in with `?engine=route-d`). 466 workspace tests are green and no oracle
PDF opt-in with `?engine=route-d`). 467 workspace tests are green and no oracle
fixture is ignored.
Known gaps, in dependency order:
@@ -245,10 +245,9 @@ lines outside the emergency pass, exactly like TeX, so `\tolerance` cannot
smuggle in a single overfull line any more. Hyphenated breaks are checked at
80-120pt, and a 70/85pt fixture sets `\doublehyphendemerits` and
`\finalhyphendemerits` to 0 and 10000 so both demerits change the reference
breaks; at `\tolerance=10000` the wide-measure fixture now matches pdfLaTeX at
100-240pt, but narrow measures (70/85pt) still pick different hyphenated
breaks because the demerits optimum differs; that stays documented as a
known approximation.
breaks; at `\tolerance=10000` the wide-measure fixture matches pdfLaTeX at
100-240pt, and a 70/85pt fixture with `\pretolerance=10000 \tolerance=200`
matches the loose one-word lines TeX keeps before enabling hyphenation.
Bottom floats have two page fixtures: one where the float fits, and one
where it does not fit the remaining body space. In both cases the page