Model TeX tolerance and hyphen penalty registers
This commit is contained in:
1 parent
4fbc43f5ff
commit
3725cca9d7
6 files changed
+148
-23
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`). 286 workspace tests are green and no oracle
|
||||
PDF opt-in with `?engine=route-d`). 288 workspace tests are green and no oracle
|
||||
fixture is ignored.
|
||||
|
||||
Known gaps, in dependency order:
|
||||
@@ -166,7 +166,9 @@ 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.
|
||||
overfull breaks. Register fixtures pin `\pretolerance=10000` (pass 0 stops
|
||||
before hyphenation) and `\hyphenpenalty=10000` (hyphenation illegal, first-fit
|
||||
overfull lines).
|
||||
|
||||
Still open: explicit `\tolerance`/`\pretolerance` overrides, flagged
|
||||
(hyphenated) demerits, `\parfillskip` variants, `\hangindent`/`\parshape`,
|
||||
|
||||
Reference in new issue
Block a user