I would like to create a font that uses palatino (or pagella) for the text but euler for the math. If I understand correctly the documentation, it should be achievable with typefaces, but I can't get it to working : all the text is in Latin. Here is a MWE inspired from the doc :
\starttypescript [perso] [texnansi, ec, qx, t5, default]
\definetypeface[perso] [rm] [Xserif] [palatino] [default]
\definetypeface[perso] [tt] [Xmono] [palatino] [default]
\definetypeface[perso] [mm] [Xmath] [euler] [default]
\stoptypescript
\starttext
\setupbodyfont[perso]
Bonjour les ami·e·s
\startformula
x + 3 = \mathcal{P}
\stopformula
\setupbodyfont[palatino]
Bonjour les ami·e·s
\startformula
x + 3 = \mathcal{P}
\stopformula
\stoptext
What am I doing wrong ?
Thank you in advance
\setupbodyfont[euleroverpagella]
or\setupbodyfont[pagellaovereuler]
? If none of them fit your needs, you can look in the filetype-imp-euler.mkiv
and see how that was done and make your own typescript file (better leave that one without modification and add your own locally).