Split paragraphs at line boundaries across pages

This commit is contained in:
gloamxun committed 2026-10-23 02:23:18 +08:00
1 parent daf9f5c57e
commit b7b75fbff1
8 files changed
+263 -77

No files matched your search

+4 -1
View File
@@ -574,7 +574,10 @@ core. It does not embed pdfTeX/XeTeX/Tectonic; it is a new Rust engine designed
around page-boundary checkpoints and page-hash diffing. M0 implements vertical
boxes/glue, a simple page builder, serializable checkpoints and a page-local
edit demo. M1 adds the horizontal box/glue/penalty model, an item-stream Knuth-Plass-style
paragraph builder, CMR10 metrics extracted from `cmr10.tfm`, and a matching pdfTeX line-break fixture. The production v1 engine remains the
paragraph builder, CMR10 metrics extracted from `cmr10.tfm`, and a matching pdfTeX line-break fixture. Paragraphs are split at line
boundaries when they cross a page, and the pdfLaTeX oracle covers the
100-240pt measure matrix plus register, `\hangindent`/`\parshape`,
`\parfillskip`, sentence-spacing, `\looseness` and vertical-glue fixtures. The production v1 engine remains the
default until the new core reaches layout parity. See `docs/TEX_CORE.md`. The complete phased plan (P0 oracle harness, TeX-exact paragraphs,
page builder and `\\output`, `\\halign`, math, Computer Modern fonts, class
execution, service and incrementality targets) is in