Draw paged top floats with their text float separation
This commit is contained in:
1 parent
aa081e3dc6
commit
c5b3493998
3 files changed
+31
-9
No files matched your search
+4
-3
@@ -248,8 +248,9 @@ oracle fixture is ignored.
|
||||
consecutive paragraph units and is discarded when it would start a page,
|
||||
matching TeX's paragraph spacing in vertical lists. The routine cannot yet
|
||||
change page goals. The paged builder places top `Float` material at the top
|
||||
of a page and defers a late float to the next page; bottom floats reserve
|
||||
height on the current page and must satisfy
|
||||
of a page, defers a late float to the next page, and route-D preview/PDF
|
||||
draw pages through `display_list_with_layout` so the body clears
|
||||
`\textfloatsep`; bottom floats reserve height on the current page and must satisfy
|
||||
`Document.text_fraction_percent` (default 50%); a page holding only floats
|
||||
is sealed once it leaves less than that fraction for text.
|
||||
- No macro state, output routine, math, fonts or PDF output in the new core yet.
|
||||
@@ -338,7 +339,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 243 unit tests plus seven route-D integration tests and thirteen oracle fixtures. Workspace verification: `cargo fmt --all -- --check`; `cargo test --workspace --offline` runs 361 tests (243 route-D unit, 7 route-D integration, 13 oracle, 71 v1 integration, 20 server, 4 v1 unit, 1 core unit, 2 binary units), with none ignored. v1 remains the live server path.
|
||||
The crate currently has 244 unit tests plus seven route-D integration tests and thirteen oracle fixtures. Workspace verification: `cargo fmt --all -- --check`; `cargo test --workspace --offline` runs 362 tests (244 route-D unit, 7 route-D integration, 13 oracle, 71 v1 integration, 20 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