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

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / 
https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki     : https://wiki.contextgarden.net
___________________________________________________________________________________

Reply via email to