Add dotted leaders to generated contents entries
This commit is contained in:
1 parent
1b0ce27ed3
commit
6d4aa37189
8 files changed
+79
-18
No files matched your search
+2
-7
@@ -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.
|
||||
+4
-4
@@ -35,7 +35,8 @@ the source changes; the SVG preview is refreshed per page.
|
||||
superscript markers, and title/author `\thanks`.
|
||||
- Contents: `\tableofcontents`, `\listoffigures`, and `\listoftables`
|
||||
generate headings plus entries from numbered sections and captioned
|
||||
figures/tables; page numbers are resolved after pagination.
|
||||
figures/tables, with dotted leaders and page numbers resolved after
|
||||
pagination.
|
||||
- Class sizes: 10pt/11pt/12pt set the body size and propagate through
|
||||
headings, title material, lists, tables, block boxes, footnotes, and the
|
||||
default paragraph indent (10/12pt use 15pt; 11pt uses 17pt).
|
||||
@@ -62,9 +63,8 @@ See `docs/ROADMAP.md` for concrete implementation plans.
|
||||
- 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.
|
||||
- Contents: entries use infinite glue instead of dotted leaders and only
|
||||
numbered headings plus captions are listed; per-chapter contents in
|
||||
book/report are not distinguished.
|
||||
- Contents: only numbered headings plus captions are listed; per-chapter
|
||||
contents in book/report are not distinguished.
|
||||
- Miscellaneous: a document-level `\renewcommand{\maketitle}` is ignored in
|
||||
favor of the engine title block.
|
||||
|
||||
|
||||
Reference in new issue
Block a user