Apply the insertion count multiplier to page space
This commit is contained in:
1 parent
169119a48d
commit
fb33ac6327
4 files changed
+153
-20
No files matched your search
+6
-1
@@ -208,6 +208,11 @@ oracle fixture is ignored.
|
||||
`Document::insertion_skip` models TeX's `\skip\footins` and is reserved once
|
||||
before the first insertion class on a page; it defaults to zero, and
|
||||
`InsertionClass::skip` overrides it for a single insertion class.
|
||||
`InsertionClass::multiplier` models `\count<number>` in thousandths: the page
|
||||
space a class reserves is `height * multiplier / 1000`, so 2000 makes a 30pt
|
||||
insertion cost 60pt of page height. `max_height` is the `\dimen<number>`
|
||||
absolute cap. Full layout, incremental replay and the item-boundary splitter
|
||||
all use the same reserved height.
|
||||
Insertions taller than a page are split at item boundaries across pages.
|
||||
- Page breaking handles vertical boxes/glue, `Document::top_skip` and forced
|
||||
vertical penalties (`penalty <= -10000`); positive penalties are recorded
|
||||
@@ -307,7 +312,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 202 unit tests plus six route-D integration tests and eight oracle fixtures. Workspace verification: `cargo fmt --all -- --check`; `cargo test --workspace --offline` runs 313 tests (202 route-D unit, 6 route-D integration, 8 oracle, 71 v1 integration, 19 server, 4 v1 unit, 1 core unit, 2 binary units), with none ignored. v1 remains the live server path.
|
||||
The crate currently has 204 unit tests plus six route-D integration tests and eight oracle fixtures. Workspace verification: `cargo fmt --all -- --check`; `cargo test --workspace --offline` runs 315 tests (204 route-D unit, 6 route-D integration, 8 oracle, 71 v1 integration, 19 server, 4 v1 unit, 1 core unit, 2 binary units), with none ignored. v1 remains the live server path.
|
||||
|
||||
### M0 incremental demo
|
||||
|
||||
|
||||
Reference in new issue
Block a user