Fix PDF rule placement, lipsum text, 10pt default, and page decorations

This commit is contained in:
gloamxun committed 2026-10-19 15:02:16 +08:00
1 parent e7bcdf6c53
commit 8d5cbc69ba
10 files changed
+372 -37

No files matched your search

+12 -1
View File
@@ -25,7 +25,18 @@ planner remains).
work: queue table float-page placements, tune
`\textfraction`/`\topfraction`, and support more than a one-page lookahead.
## 2. True vertical boxes (partial)
## 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
+8 -4
View File
@@ -45,13 +45,15 @@ the source changes; the SVG preview is refreshed per page.
- Chapters: `\chapter` is a level-0 heading; chapter numbers prefix section
numbers (`1.1`, `1.1.1`) and reset lower counters. Chapters after the first
block start on a new page.
- Class sizes: 10pt/11pt/12pt set the body size and propagate through
- Class sizes: 10pt/11pt/12pt set the body size (article defaults to 10pt)
and propagate through
headings, title material, lists, tables, block boxes, footnotes, and the
default paragraph indent (10/12pt use 15pt; 11pt uses 17pt).
- Title blocks: a document-level `\renewcommand{\maketitle}` replaces the
engine title layout and can use `\@title`/`\@author`/`\@date`; class and
package replacements are ignored so template title code keeps using the
native layout.
native layout. The arXiv style's box-level `\maketitle`/`\@maketitle`
(title rules, `\undertitle`, author tabular) is therefore not applied.
- Classes/packages: built-in classes, local `.cls`/`.sty`, paper options,
`\DeclareOption`/`\ProcessOptions`/`\ExecuteOptions`/option passing.
- Compatibility: spacing macros (quad/qquad/thin/en/med/thick, `\vspace*`,
@@ -74,8 +76,10 @@ See `docs/ROADMAP.md` for concrete implementation plans.
`\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.
collected; the insertion area follows the page where the paragraph ends
rather than the exact reference line. Heading keep-with-next is approximate,
so a section heading can be left at the bottom of a page with its body on
the next page.
- Contents: chapter headings are listed with chapter-prefixed section
numbers, but contents are not split per chapter.