On Mon, 2025-09-08 at 16:23 +0200, Wolfgang Schuster wrote: > Take a look at you chapter and section setups, do you set a specific > font (\switchtobodyfont) or style (style=sans)?
I have the following in my environment: \setupmargindata [inmargin] [style={\switchtobodyfont[6pt]\bi]}, color=colour_text] But if I comment that out, it doesn't fix the chapter and section headers still being in a different typeface. That's the only instance of \switchtobodyfont. I also have some calls to \setuphead for chapter and section headings that set style=, but not explicitly to sans: \setuphead [chapter] [command=\PlaceSection, color=colour_head, page=yes, before=, header=nomarking, style=\bfd] \setuphead [title] [command=\PlaceSection, color=colour_head, page=right, before=, header=nomarking, style=\bfd] \setuphead [section] [command=\PlaceSection, color=colour_head, inbetween=, style=\bfb] \setuphead [subsection] [command=\PlaceSection, color=colour_head, before=\crlf, style=\bfa] \setuphead [subsubsection] [command=\PlaceSection, color=colour_head, before=\blank, style=\bsa] \define[2]\PlaceSection {\goodbreak \vbox {\localheadsetup \begstrut \inleftmargin{\hbox to \leftmarginwidth{\hss#1\hss}}% #2}} -- Kip Warner OpenPGP signed/encrypted mail preferred https://www.thevertigo.com
signature.asc
Description: This is a digitally signed message part
___________________________________________________________________________________ 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 ___________________________________________________________________________________