Cover hyphenated breaks and hyphen demerits with pdfLaTeX

This commit is contained in:
gloamxun committed 2026-10-23 13:52:04 +08:00
1 parent a6397fcfef
commit e00e0038c1
3 files changed
+57 -8

No files matched your search

+7 -6
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`). 426 workspace tests are green and no oracle
PDF opt-in with `?engine=route-d`). 428 workspace tests are green and no oracle
fixture is ignored.
Known gaps, in dependency order:
@@ -233,12 +233,13 @@ page without a `\parskip`, and a single unsplittable line may overflow at the
top of a page (see `Paragraph::split_at`).
Still open: explicit
`\vskip` classes (`\smallskip` and friends),
double/final hyphen demerit oracle fixtures. The breaker now rejects overfull
`\vskip` classes (`\smallskip` and friends). The breaker now rejects overfull
lines outside the emergency pass, exactly like TeX, so `\tolerance` cannot
smuggle in a single overfull line any more; at `\tolerance=10000` the line
count matches pdfLaTeX but the first line boundary still differs, so the
demerit fixtures stay open until that trade-off is understood.
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 line count matches pdfLaTeX but the first
line boundary still differs, which stays documented as a known approximation.
### P2 — Vertical list, page builder, `\output` (L2)