Capture vertical material in vbox and vtop
This commit is contained in:
1 parent
5e9552d785
commit
7ad3c327ec
8 files changed
+99
-14
No files matched your search
+5
-4
@@ -13,7 +13,7 @@ the source changes; the SVG preview is refreshed per page.
|
||||
- Headings: numbered `\section`/`\subsection`/`\subsubsection` and starred
|
||||
`\section*` variants (starred headings do not advance the counter).
|
||||
- Box material: `\rule` (raise/width/height), inline framed `\fbox`, block
|
||||
`\parbox`/`\minipage`, `\vbox`/`\vtop` (full-width block approximation),
|
||||
`\parbox`/`\minipage`, `\vbox`/`\vtop` (vertical material capture),
|
||||
inline `\mbox`, `\makebox[width][align]`, `\raisebox`, `center`, `\hrule`
|
||||
with `width`/`height`.
|
||||
- Fonts: Liberation Serif/Sans/Mono faces, bold/italic/monospace/sans
|
||||
@@ -64,8 +64,9 @@ See `docs/ROADMAP.md` for concrete implementation plans.
|
||||
|
||||
## Known approximations / gaps
|
||||
|
||||
- Boxes: `\parbox`/`\minipage` are block-level; `\vbox`/`\vtop` map to a
|
||||
full-width block rather than true nested VBox material.
|
||||
- Boxes: `\parbox`/`\minipage` are block-level; `\vbox`/`\vtop` capture
|
||||
and splice vertical material but do not expose an independent natural width
|
||||
or box baseline.
|
||||
- Pages: the figure queue only looks one page ahead; tables are not queued and
|
||||
there is no `\textfraction`/`\topfraction` tuning. Pagination is performed by
|
||||
the positioned renderer; the separate page-break planner was removed.
|
||||
@@ -79,7 +80,7 @@ See `docs/ROADMAP.md` for concrete implementation plans.
|
||||
|
||||
- `examples/hello.tex`, `examples/boxes.tex`, `examples/compat.tex` compile to
|
||||
one A4 page each; the arXiv template project compiles to 3 Letter pages.
|
||||
- `cargo fmt --check` passes; `cargo test --offline` (38 tests: 34 compiler
|
||||
- `cargo fmt --check` passes; `cargo test --offline` (39 tests: 35 compiler
|
||||
integration tests + 4 server tests) covers the three examples, the arXiv
|
||||
fixture, floats/newpage, page styles and `\thispagestyle`, SVG/PDF output,
|
||||
project API, static frontend assets, path traversal, the legacy
|
||||
|
||||
Reference in new issue
Block a user