
10 Apr
2025
10 Apr
'25
8:06 p.m.
Am 10.04.2025 um 18:28 schrieb Alan Bowen:
Oops. I forgot the macro definition:
\def\modCyr#1{{\switchtobodyfont[dejavu]{#1}}}
To get your text in dejavu add \usebodyfont [dejavu] \setupbodyfont[modern] at the begin of the document to preload the typescript, otherwise you load the font in a local group where the settings are forgotten at the end of the group. Be also be aware of \switchtobodyfont being an argumentless switch, this means the form \switchtobodyfont[<font>]{...} is wrong and the correct form is {\switchtobodyfont[<font>]...} Wolfgang