Allow documents to replace the title block
This commit is contained in:
1 parent
23cf1f13de
commit
5e9552d785
8 files changed
+89
-18
No files matched your search
+5
-3
@@ -46,6 +46,10 @@ the source changes; the SVG preview is refreshed per page.
|
||||
- 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).
|
||||
- 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.
|
||||
- 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*`,
|
||||
@@ -70,14 +74,12 @@ See `docs/ROADMAP.md` for concrete implementation plans.
|
||||
ends rather than the exact reference line.
|
||||
- Contents: chapter headings are listed with chapter-prefixed section
|
||||
numbers, but contents are not split per chapter.
|
||||
- Miscellaneous: a document-level `\renewcommand{\maketitle}` is ignored in
|
||||
favor of the engine title block.
|
||||
|
||||
## Verification
|
||||
|
||||
- `examples/hello.tex`, `examples/boxes.tex`, `examples/compat.tex` compile to
|
||||
one A4 page each; the arXiv template project compiles to 3 Letter pages.
|
||||
- `cargo fmt --check` passes; `cargo test --offline` (37 tests: 33 compiler
|
||||
- `cargo fmt --check` passes; `cargo test --offline` (38 tests: 34 compiler
|
||||
integration tests + 4 server tests) covers the three examples, the arXiv
|
||||
fixture, floats/newpage, page styles and `\thispagestyle`, SVG/PDF output,
|
||||
project API, static frontend assets, path traversal, the legacy
|
||||
|
||||
Reference in new issue
Block a user