Remove the duplicate page-break planner and page-layout cache

This commit is contained in:
gloamxun committed 2026-10-19 14:10:08 +08:00
1 parent dd3a20890d
commit b4ee4c1330
8 files changed
+40 -1591

No files matched your search

+3 -3
View File
@@ -374,7 +374,7 @@ binary operators, and punctuation. Fractions, scripts, roots, and delimiters
remain indivisible math boxes. Rust paints ordinary paragraph lines at their
measured baselines and applies the line breaker's adjusted word spaces. For
documents with no title block and only plain paragraphs and headings, Rust
builds the vertical list, chooses page breaks, and assigns line positions;
paginates and assigns line positions in one positioned-layout pass;
`genpdf` paints those line boxes at the planned coordinates. Mixed-content
documents still use `genpdf` for page composition. This fixed-spacing subset is
an initial page-building slice, not full TeX page building. Display math
@@ -486,9 +486,9 @@ advisory breaks, starred `\vspace`/`\hspace`, `center`, `\hrule`, `\fbox`,
| Paragraphs | Knuth-Plass breaking, TeX hyphenation, justification, centering, `\parindent` (17pt default), `\hfill`/`\hfil` | `\raggedright`/`\raggedleft` |
| Notes/floats | footnotes with page-bottom insertion area, title/author `\thanks`, figure/table `[htbp]` placement (top/bottom/page/here approximations) | deferred float queue, `\textfraction` |
| Contents | `\tableofcontents`, `\listoffigures`, `\listoftables` generated from numbered headings and captions, page numbers resolved after pagination | dotted leaders, per-chapter book/report contents |
| Pages | A4/Letter/... page sizes, margins/geometry, automatic pagination, `\newpage`, `\pagebreak`, plain/fancy page styles, `\thispagestyle`, fancyhdr L/C/R headers and footers | unified planner/renderer |
| Pages | A4/Letter/... page sizes, margins/geometry, automatic pagination, `\newpage`, `\pagebreak`, plain/fancy page styles, `\thispagestyle`, fancyhdr L/C/R headers and footers | — |
| Classes/packages | built-in + local classes, option protocol, local package options, base font sizes 10/11/12pt | class-specific section formatting |
| Live preview | incremental paragraph/page caches, page-hash diffing, SVG refresh | — |
| Live preview | incremental paragraph cache, page-hash diffing, SVG refresh | — |
The compatibility layer also covers spacing macros, text symbols/letters, style
commands, break advisories, and document metadata; see the sections above.