![](https://secure.gravatar.com/avatar/57c17c28c61c03706efc4a9112fad09b.jpg?s=120&d=mm&r=g)
30 Nov
2023
30 Nov
'23
10:23 p.m.
On Thu, 30 Nov 2023 20:51:42 +0100
Wolfgang Schuster
Use the \definetypeface command to load the math font. Math fonts always use special settings or load additional settings which are missing when you use \definefontfamily.
\definetypeface [mainface] [mm] [math] [pagella]
\definetypeface generates the same error message if the font size is changed: \definefontfamily [mainface] [rm] [TeX Gyre Pagella] \definefontfamily [mainface] [ss] [TeX Gyre Heros] \definetypeface [mainface] [mm] [math] [pagella] %% 8pt works \setupbodyfont [mainface, 8.5pt] \starttext \bold{\math{x_y}} \stoptext Marco