Files
texrra-engine/docs/ROADMAP.md
T

45 lines
2.3 KiB
Markdown

# Roadmap: remaining structural work
This file lists the concrete implementation plans for the foundational items that
are still missing. Each item names the files/functions to touch.
Completed: paragraph indentation (`\parindent`) and `\hfill`/`\hfil`; sans
family and true scaled small caps; inline box geometry (`\fbox`, `\makebox`,
`\raisebox`), `\minipage`, `\vbox`/`\vtop` block approximations;
footnotes/`\thanks`; figure/table `[htbp]` placement approximations; page
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;
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).
## 1. Float tuning and table queue
- Figures with `[t]` are queued and placed at the top of the next page while
following text fills the current page. Tables with `[t]` queue their caption
and rows the same way, and `[b]` pushes them to the page bottom. Remaining
work: queue table float-page placements, tune
`\textfraction`/`\topfraction`, and support more than a one-page lookahead.
## 2. Class title blocks
- A document-level `\renewcommand{\maketitle}` already works. Class/package
title code is still ignored; the arXiv style replaces both `\maketitle` and
`\@maketitle` with box-level TeX (title rules, `\undertitle`, author
tabular, `\thispagestyle{empty}`). Supporting it generally requires running
style-origin layout commands or modelling their semantic pieces (title,
subtitle, author blocks, affiliations, date, abstract heading) as data.
- Until then, arXiv PDFs use the native title block and page 1 uses `plain`
(no fancy header) but still shows the page number.
## 3. True vertical boxes (partial)
- `\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.