Cover hyphenated breaks and hyphen demerits with pdfLaTeX
This commit is contained in:
1 parent
a6397fcfef
commit
e00e0038c1
3 files changed
+57
-8
No files matched your search
+4
-2
@@ -86,7 +86,9 @@ horizontally. The narrowest measures exercise hyphenated and overfull breaks (in
|
||||
final line held at its declared shrink limit), 130-160pt the final-pass
|
||||
overfull box, and 180-240pt ordinary tolerance solutions. Two further fixtures pin register behaviour at 120pt:
|
||||
`\pretolerance=10000` stops before hyphenation and `\hyphenpenalty=10000`
|
||||
inhibits it, leaving the overfull first-fit lines TeX produces. A 120pt
|
||||
inhibits it, leaving the overfull first-fit lines TeX produces. Hyphenated paragraphs are compared at 80, 100 and 120pt, and a
|
||||
70/85pt fixture runs with `\doublehyphendemerits` and `\finalhyphendemerits`
|
||||
at 0 and 10000 so the reference breaks change with the demerits. A 120pt
|
||||
fixture with `\hangindent=20pt \hangafter=1` checks every line origin
|
||||
against pdfLaTeX as well as the word positions inside each line, and a
|
||||
`\parfillskip=0pt` fixture checks that a final line without `fil` glue is
|
||||
@@ -344,7 +346,7 @@ Math coverage includes fractions/roots, scripts, `\left...\right` with body-scal
|
||||
|
||||
Paragraph units carry a `ParagraphFont`; `Unit::paragraph_with_face` and `Unit::paragraph_with_style_and_face` select Roman, bold, italic, mono, or sans. The corresponding Computer Modern TFM (`cmr10`, `cmbx10`, `cmti10`, `cmbxti10`, `cmtt10`, `cmss10`) supplies advances, kerns, ligatures, and italic correction for layout, while the display list and PDF select the matching Liberation face. `Engine::edit` preserves the face when reflowing an edited paragraph.
|
||||
|
||||
The crate currently has 289 unit tests plus seven route-D integration tests and twenty-five oracle fixtures. Workspace verification: `cargo fmt --all -- --check`; `cargo test --workspace --offline` runs 426 tests (289 route-D unit, 7 route-D integration, 25 oracle, 71 v1 integration, 26 server, 4 v1 unit, 1 core unit, 3 binary units), with none ignored. v1 remains the live server path.
|
||||
The crate currently has 289 unit tests plus seven route-D integration tests and twenty-seven oracle fixtures. Workspace verification: `cargo fmt --all -- --check`; `cargo test --workspace --offline` runs 428 tests (289 route-D unit, 7 route-D integration, 27 oracle, 71 v1 integration, 26 server, 4 v1 unit, 1 core unit, 3 binary units), with none ignored. v1 remains the live server path.
|
||||
|
||||
### M0 incremental demo
|
||||
|
||||
|
||||
Reference in new issue
Block a user