Add paragraph indentation and hfill
This commit is contained in:
1 parent
bad477fbee
commit
e44d4c8669
11 files changed
+362
-42
No files matched your search
+3
-5
@@ -17,7 +17,8 @@ the source changes; the SVG preview is refreshed per page.
|
||||
- Fonts: Liberation Serif/Mono faces, bold/italic/monospace declarations with
|
||||
group scoping, grouped text-style commands, uppercase small-caps approximation.
|
||||
- Paragraphs: Knuth-Plass breaking, TeX hyphenation patterns, justification,
|
||||
centering.
|
||||
centering, first-line `\parindent` (17pt default, group-scoped, `\setlength`/
|
||||
`\addtolength`/`\noindent` aware), and `\hfill`/`\hfil` infinite glue.
|
||||
- Pages: A4/A5/B5/Letter/Legal/Executive, landscape, geometry margins and
|
||||
text block, automatic pagination, `\newpage`/`\pagebreak`.
|
||||
- Classes/packages: built-in classes, local `.cls`/`.sty`, paper options,
|
||||
@@ -34,9 +35,6 @@ See `docs/ROADMAP.md` for concrete implementation plans.
|
||||
|
||||
## Known approximations / gaps
|
||||
|
||||
- Paragraphs: no `\parindent` indentation (a parse-side kern experiment did not
|
||||
take effect and a `\setlength` conditional broke the preamble, so it was
|
||||
reverted) and no `\hfill` (last-line infinite glue is not stretched).
|
||||
- Fonts: no sans family (`\sffamily` is a no-op); small caps are uppercase-only.
|
||||
- Boxes: `\fbox`/`\parbox` are block-level (an inline `\fbox` starts a block);
|
||||
`\raisebox`, `\minipage`, and VBox material are missing.
|
||||
@@ -52,7 +50,7 @@ See `docs/ROADMAP.md` for concrete implementation plans.
|
||||
|
||||
- `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 --workspace` (12 tests) covers the three
|
||||
- `cargo fmt --check` passes; `cargo test --workspace` (15 tests) covers the three
|
||||
examples, the arXiv fixture, SVG/PDF output, project API, static frontend
|
||||
assets, path traversal, the legacy `/texrra` endpoint, and page-hash cache
|
||||
stability.
|
||||
|
||||
Reference in new issue
Block a user