Add a shipout hook for the output stage
This commit is contained in:
1 parent
bef442684e
commit
17bd2d6237
2 files changed
+51
-4
No files matched your search
+5
-3
@@ -71,7 +71,7 @@ next paragraph milestones.
|
||||
| --- | --- | --- |
|
||||
| M0 | vertical list, page builder, checkpoint, page hash, edit demo | edit on page 2 rebuilds only page 2 |
|
||||
| M1 | TeX box/glue/penalty + paragraph builder (`\par`, `\hsize`, `\parindent`) | **partial**: item stream, CMR10 metrics, pdfTeX fixture and minimum line fill; hyphenation next |
|
||||
| M2 | page builder + `\output`, `\vsize`, `\topskip`, footnotes, floats | **partial**: `\vsize` page goal, `\topskip`, forced penalties, page-bottom `Insertion` reserve, running `Mark`s; `\output`/float placements next |
|
||||
| M2 | page builder + `\output`, `\vsize`, `\topskip`, footnotes, floats | **partial**: `\vsize` page goal, `\topskip`, forced penalties, `Insertion` reserve, running `Mark`s, Rust `OutputRoutine` shipout hook; interpreted `\output`, float placements next |
|
||||
| M3 | `\halign`, `\omit`, `\span`, `\multispan`, booktabs/longtable | table width/rules match reference |
|
||||
| M4 | math lists, scripts, fractions, radicals, accents, delimiters | arXiv formulas render without overlap |
|
||||
| M5 | NFSS/TFM metrics, CM/Latin Modern | same line/page breaks as reference |
|
||||
@@ -106,8 +106,10 @@ a single cost function.
|
||||
but not yet part of page badness. `VerticalItem::Insertion` material is
|
||||
attached to `Page::insertions` and reserves height from the page goal.
|
||||
`VerticalItem::Mark` material is collected into `Page::marks` and included
|
||||
in the page hash, as a base for running headers. There is no executable
|
||||
`\output` routine and no `\insert`/float wiring yet.
|
||||
in the page hash. `OutputRoutine::shipout` runs before sealing and may
|
||||
mutate each page; this models the `\output` stage in Rust rather than as
|
||||
an interpreted token list, and cannot yet change page goals or place
|
||||
floats.
|
||||
- No macro state, output routine, math, fonts or PDF output in the new core yet.
|
||||
- The v1 server and project API still use `src/rust_typeset` and are unchanged.
|
||||
|
||||
|
||||
Reference in new issue
Block a user