Queue top table floats and let text flow around them
This commit is contained in:
1 parent
7ad3c327ec
commit
6658a155fc
6 files changed
+210
-70
No files matched your search
+8
-6
@@ -29,7 +29,8 @@ the source changes; the SVG preview is refreshed per page.
|
||||
Figures honor `[htbp]` hints: `[t]` is queued and placed at the top of the
|
||||
next page while following text fills the current page, `[b]` sits at the page
|
||||
bottom, `[p]` takes a float page, and `[h]` stays in the text flow. Tables
|
||||
still use immediate page breaks. Page styles:
|
||||
queue `[t]` captions and rows at the top of the next page and take a float
|
||||
page for `[p]`; table `[b]`/`[h]` stay in the text flow. Page styles:
|
||||
default `plain` page numbers, `\pagestyle{empty|plain|fancy}`,
|
||||
`\thispagestyle`, fancyhdr `\fancyhead`/`\fancyfoot` (L/C/R) and
|
||||
`\lhead`/`\chead`/`\rhead`/`\lfoot`/`\cfoot`/`\rfoot`, with `\thepage`
|
||||
@@ -67,9 +68,10 @@ See `docs/ROADMAP.md` for concrete implementation plans.
|
||||
- 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.
|
||||
- Pages: the figure/table queues only look one page ahead; table `[b]` and
|
||||
float-page queues are not implemented and there is no
|
||||
`\textfraction`/`\topfraction` tuning. Pagination is performed by the
|
||||
positioned renderer; the separate page-break planner was removed.
|
||||
- Notes: footnotes inside captions, floats, or arbitrary boxes are not
|
||||
collected; the insertion area currently follows the page where the paragraph
|
||||
ends rather than the exact reference line.
|
||||
@@ -80,9 +82,9 @@ 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` (39 tests: 35 compiler
|
||||
- `cargo fmt --check` passes; `cargo test --offline` (40 tests: 36 compiler
|
||||
integration tests + 4 server tests) covers the three examples, the arXiv
|
||||
fixture, floats/newpage, page styles and `\thispagestyle`, SVG/PDF output,
|
||||
fixture, figure/table floats, newpage, page styles and `\thispagestyle`, SVG/PDF output,
|
||||
project API, static frontend assets, path traversal, the legacy
|
||||
`/texrra` endpoint, and page-hash cache stability.
|
||||
- Warm preview: hello ~0.6ms, arXiv ~13ms (release server, page layout cached).
|
||||
Reference in new issue
Block a user