Files
texrra-engine/docs
gloamxun c25c38f16a Resolve running marks in fancy headers
\markboth/\markright and the \leftmark/\rightmark placeholders were
unsupported. The page-geometry pass now consumes those mark assignments and
records the last left/right mark; the running-head text expands \leftmark and
\rightmark from that record (document-wide, not per page) before scrubbing, so
a fancy header or footer can carry the current short title.

A test sets \pagestyle{fancy}, \fancyhead[R]{\rightmark} and
\markboth{Left title}{Right title}, then checks the header text is
"Right title" with no warnings and no leaked \rightmark.
2026-10-27 02:18:11 +08:00
..
2026-10-19 11:41:46 +08:00
2026-10-19 11:41:46 +08:00