On Thu, 30 Nov 2023 20:51:42 +0100
Wolfgang Schuster
%% 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