denis.ma...@unibe.ch schrieb am 30.04.2024 um 14:22:

Hi,

I just jumbled upon this question on tex stackexchange : https://tex.stackexchange.com/questions/715799/context-switching-font-for-both-title-and-subject#715804

Using the style key as suggested in the accepted answer works, but I’ve had a look in to this, and I don’t understand why the original code does not work.

I’ve also tried to find a solution using textcommand instead of command, but that makes no difference. Only one setting will be accepted. As soon as both, titles and subjects, are changed only the first change will be accepted.

Is this a bug, or am I missing something?


When you load a typescript only in a local group (e.g. a section title) you should always load it
at the start of the document to avoid such side effects.

    \usebodyfont[chorus] % load the chorus typescript
    \setupbodyfont[modern] % set the default font for the document

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