Queue top figures and flow following text around them
This commit is contained in:
1 parent
5a54386dee
commit
23cf1f13de
6 files changed
+131
-24
No files matched your search
+7
-5
@@ -11,15 +11,17 @@ styles (plain/fancy, `\thispagestyle`, fancyhdr headers/footers, `\thepage`);
|
||||
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
|
||||
chapter headings with chapter-prefixed section numbering and page breaks;
|
||||
deferred top-float queue for figures
|
||||
(`build_positioned_pages` is the only page builder and no separate break
|
||||
planner remains).
|
||||
|
||||
## 1. Deferred float queue
|
||||
## 1. Float tuning and table queue
|
||||
|
||||
- Figures/tables currently place immediately from their source position. Add a
|
||||
per-page float queue with `\textfraction`/`\topfraction` tuning so a later
|
||||
float can move ahead of text while preserving source order numbers.
|
||||
- Figures with `[t]` are queued and placed at the top of the next page while
|
||||
following text fills the current page. Remaining work: queue table floats,
|
||||
tune `\textfraction`/`\topfraction`, and support more than a one-page
|
||||
lookahead.
|
||||
|
||||
## 2. True vertical boxes (remaining)
|
||||
|
||||
|
||||
+8
-6
@@ -25,8 +25,11 @@ the source changes; the SVG preview is refreshed per page.
|
||||
`\addtolength`/`\noindent` aware), and `\hfill`/`\hfil` infinite glue.
|
||||
- Pages: A4/A5/B5/Letter/Legal/Executive, landscape, geometry margins and
|
||||
text block, geometry-aware `\textwidth`/`\textheight`/`\linewidth`/
|
||||
`\columnwidth` (as live named length registers), automatic pagination, `\newpage`/`\pagebreak`; figures/tables
|
||||
honor `[htbp]` hints with top/bottom/page/here approximations. Page styles:
|
||||
`\columnwidth` (as live named length registers), automatic pagination, `\newpage`/`\pagebreak`.
|
||||
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:
|
||||
default `plain` page numbers, `\pagestyle{empty|plain|fancy}`,
|
||||
`\thispagestyle`, fancyhdr `\fancyhead`/`\fancyfoot` (L/C/R) and
|
||||
`\lhead`/`\chead`/`\rhead`/`\lfoot`/`\cfoot`/`\rfoot`, with `\thepage`
|
||||
@@ -59,10 +62,9 @@ See `docs/ROADMAP.md` for concrete implementation plans.
|
||||
|
||||
- Boxes: `\parbox`/`\minipage` are block-level; `\vbox`/`\vtop` map to a
|
||||
full-width block rather than true nested VBox material.
|
||||
- Pages: float placement is immediate rather than a deferred float queue
|
||||
(no `\textfraction` tuning, no reordering around later text). Pagination is
|
||||
performed by the positioned renderer; the separate page-break planner was
|
||||
removed.
|
||||
- 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.
|
||||
- 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.
|
||||
|
||||
Reference in new issue
Block a user