Am Samstag, dem 05.10.2024 um 15:49 +0200 schrieb Jürgen Spitzmüller: > Why this fails only with book classes is beyond me.
It breaks as it lands in \@mkboth{% \MakeUppercase\contentsname}{\MakeUppercase\contentsname}}% in the book class (\MakeUppercase is not to blame here). (listings locally makes \let\contentsname\lstlistlistingname) I don't know why this only breaks with some fixed encodings (for instance, \renewcommand{\lstlistlistingname}{\inputencoding{koi8-r}Листинги} works flawlessly) -- Jürgen -- lyx-devel mailing list lyx-devel@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-devel