Add dotted leaders to generated contents entries

This commit is contained in:
gloamxun committed 2026-10-19 14:20:30 +08:00
1 parent 1b0ce27ed3
commit 6d4aa37189
8 files changed
+79 -18

No files matched your search

+2 -7
View File
@@ -9,7 +9,7 @@ family and true scaled small caps; inline box geometry (`\fbox`, `\makebox`,
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; native PDF rectangles; unified pagination;
contents and figure/table lists with dotted leaders; native PDF rectangles; unified pagination;
`\centering`/`\raggedright`/`\raggedleft` declarations and environments
(`build_positioned_pages` is the only page builder and no separate break
planner remains).
@@ -26,12 +26,7 @@ planner remains).
needs a vertical-material capture with its own natural width, baseline, and
nested line/box children in the positioned renderer.
## 3. Contents leaders (remaining)
- TOC/list entries use infinite glue for right-aligned page numbers. Dotted
leaders require a glue item that repeats a character across its stretch.
## 4. Custom title blocks (remaining)
## 3. Custom title blocks (remaining)
- Let a document-level `\renewcommand{\maketitle}` contribute a real title
block once the engine's title model can run box material.