Capture vertical material in vbox and vtop

This commit is contained in:
gloamxun committed 2026-10-19 14:34:22 +08:00
1 parent 5e9552d785
commit 7ad3c327ec
8 files changed
+99 -14

No files matched your search

+7 -5
View File
@@ -12,7 +12,8 @@ geometry-aware `\textwidth`/`\textheight` named length registers; table of
contents and figure/table lists with dotted leaders; native PDF rectangles; unified pagination;
`\centering`/`\raggedright`/`\raggedleft` declarations and environments;
chapter headings with chapter-prefixed section numbering and page breaks;
deferred top-float queue for figures; document-level custom `\maketitle`
deferred top-float queue for figures; document-level custom `\maketitle`;
`\vbox`/`\vtop` vertical-material capture with inline splicing
(`build_positioned_pages` is the only page builder and no separate break
planner remains).
@@ -23,8 +24,9 @@ planner remains).
tune `\textfraction`/`\topfraction`, and support more than a one-page
lookahead.
## 2. True vertical boxes (remaining)
## 2. True vertical boxes (partial)
- `\vbox`/`\vtop` currently map to a full-width block `\parbox`. A real VBox
needs a vertical-material capture with its own natural width, baseline, and
nested line/box children in the positioned renderer.
- `\vbox`/`\vtop` now capture nested vertical material (rules, skips,
paragraphs) and splice it into the surrounding column. A fully independent
VBox still needs its own natural width, baseline, and nested line/box
children in the positioned renderer.