Files
texrra-engine/docs
gloamxun 1227d82f02 Consume mark commands written inside running text
The line-start forms of \markboth and \markright were handled, but an inline
"Body \markright{Short title} text." leaked the command. A body pass now finds
either command anywhere, records the left/right marks for the running heads,
and removes the command from the text (malformed brackets are left untouched).

A fancy-header test puts \markright inside a paragraph and checks the header
shows "Short title" with no warnings and no leaked command.
2026-10-27 02:53:27 +08:00
..
2026-10-19 11:41:46 +08:00
2026-10-19 11:41:46 +08:00