Files
texrra-engine/docs
gloamxun 1e4eb2d5ab Fall back to the current heading for fancy marks
Running heads expanded \leftmark/\rightmark only from explicit
\markboth/\markright, so a fancy header using \rightmark stayed empty when the
document never set a mark. Document now exposes the per-page heading list from
the previous increment, and running_head_text falls back to the current numbered
heading (uppercased) when no explicit left/right mark is configured.

A two-page test with \rhead{\rightmark} and a section checks "1 INTRODUCTION"
appears in the header with no warnings.
2026-10-27 02:46:34 +08:00
..
2026-10-19 11:41:46 +08:00
2026-10-19 11:41:46 +08:00