Render the keywords environment

A keywords environment was unsupported, so classes that print their keyword
list as an environment leaked the wrapper. A body pass now finds the block,
replaces \sep with ", ", and emits a bold "Keywords:" lead-in followed by the
entries; the environment name counts as supported.

A preview test renders "alpha\sep beta" as "Keywords: alpha, beta" with no
warnings.
This commit is contained in:
gloamxun committed 2026-10-27 03:50:14 +08:00
1 parent 58c35c85b9
commit 59ba5ac247
4 files changed
+63 -6

No files matched your search

+2 -2
View File
@@ -14,12 +14,12 @@ cargo fmt --all -- --check
cargo test --workspace --offline
```
The workspace currently passes **1053 tests**:
The workspace currently passes **1054 tests**:
| Suite | Tests |
| --- | --- |
| route-D unit (engine) | 439 |
| engine binary unit | 423 |
| engine binary unit | 424 |
| server integration | 63 |
| v1 integration | 71 |
| pdfLaTeX oracle | 42 |