Use short headings in running heads
A section's optional [short] title already replaced the long title in the table
of contents, but the running heads kept the long title. When recording heading
units, the document now prefers heading_short (with its number) and falls back
to the rendered heading text, so headings/myheadings and the fancy \rightmark
fallback show the short form.
A headings-style test with \section[Short]{A long title} checks the header says
"1 SHORT" and not the long title.
This commit is contained in:
1 parent
0e386f8fdc
commit
3df130a6b3
4 files changed
+37
-7
No files matched your search
@@ -14,12 +14,12 @@ cargo fmt --all -- --check
|
||||
cargo test --workspace --offline
|
||||
```
|
||||
|
||||
The workspace currently passes **1042 tests**:
|
||||
The workspace currently passes **1043 tests**:
|
||||
|
||||
| Suite | Tests |
|
||||
| --- | --- |
|
||||
| route-D unit (engine) | 437 |
|
||||
| engine binary unit | 413 |
|
||||
| engine binary unit | 414 |
|
||||
| server integration | 63 |
|
||||
| v1 integration | 71 |
|
||||
| pdfLaTeX oracle | 42 |
|
||||
|
||||
Reference in new issue
Block a user