On Thu, 30 Nov 2023 20:51:42 +0100 Wolfgang Schuster <wolfgang.schuster.li...@gmail.com> wrote:
> > %% comment/remove this line and it works > > \definefontfamily [mainface] [mm] [TeX Gyre Pagella Math] > > Use the \definetypeface command to load the math font. That example was taken straight from https://wiki.contextgarden.net/Command/definefontfamily So that should better read like this: ? \definefontfamily [mainface] [rm] [TeX Gyre Pagella] \definefontfamily [mainface] [ss] [TeX Gyre Heros] \definetypeface [mainface] [mm] [math] [pagella] \setupbodyfont[mainface] Should I correct the wiki then? > Math fonts always use special settings or load additional settings > which are missing when you use > \definefontfamily. > > \definetypeface [mainface] [mm] [math] [pagella] That works, thanks. However, I discovered that: %% fails \definefontfamily [mainface] [mm] [TeX Gyre Pagella Math] %% works \definefontfamily [mainface] [mm] [pagella] So even with \definefontfamily it works, when “TeX Gyre Pagella Math” is changed to “pagella”. That I do not understand. Marco ___________________________________________________________________________________ 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 ___________________________________________________________________________________