Shrink overfull final lines and widen the oracle matrix
This commit is contained in:
1 parent
bcd3b6fa66
commit
6305f059ac
5 files changed
+98
-50
No files matched your search
@@ -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`). 319 workspace tests are green and no oracle
|
||||
PDF opt-in with `?engine=route-d`). 333 workspace tests are green and no oracle
|
||||
fixture is ignored.
|
||||
|
||||
Known gaps, in dependency order:
|
||||
@@ -176,10 +176,9 @@ and the final-pass fallback did not model TeX's artificial demerits. The
|
||||
breaker now uses TeX Live's `hyph-en-us` patterns and exceptions with
|
||||
`\lefthyphenmin=2`/`\righthyphenmin=3`, stretches normal glue past its
|
||||
nominal stretch while clamping shrink at the declared limit, and falls back to
|
||||
the longest prefix within `\tolerance` or the first overflowing prefix. The
|
||||
oracle compares 100, 120, 150, 180, 200 and 240pt and all six match pdfLaTeX
|
||||
word for word within 0.05pt; the narrow measures exercise hyphenated and
|
||||
overfull breaks. Register fixtures pin `\pretolerance=10000` (pass 0 stops
|
||||
the longest prefix within `\tolerance` or the first overflowing prefix. The oracle compares an eleven-measure matrix (90-240pt) and all fixtures match
|
||||
pdfLaTeX word for word within 0.05pt; the narrow measures exercise hyphenated
|
||||
and overfull breaks, and a final line held at its declared shrink limit. Register fixtures pin `\pretolerance=10000` (pass 0 stops
|
||||
before hyphenation) and `\hyphenpenalty=10000` (hyphenation illegal, first-fit
|
||||
overfull lines).
|
||||
|
||||
@@ -222,7 +221,7 @@ top of a page (see `Paragraph::split_at`).
|
||||
|
||||
Still open: generic `fil`/`fill` glue orders, `\prevgraf`, explicit
|
||||
`\vskip` classes (`\smallskip` and friends),
|
||||
double/final hyphen demerit oracle fixtures, and more width fixtures.
|
||||
double/final hyphen demerit oracle fixtures.
|
||||
|
||||
### P2 — Vertical list, page builder, `\output` (L2)
|
||||
|
||||
|
||||
Reference in new issue
Block a user