On 3/18/20 10:51 AM, Hans Hagen wrote: > On 3/18/2020 10:44 AM, Pablo Rodriguez wrote: >> \definefontfamily [mainface] [rm] [DejaVu Serif] >> \definefontfamily [mainface] [mm] [TeX Gyre Pagella Math] >> \setupbodyfont[mainface] >> \starttext >> \m{\sin^2(t)^2 + \cos^2(t) = 1} >> \setupbodyfont[pagella] >> \m{\sin^2(t)^2 + \cos^2(t) = 1} >> \stoptext > > what if you wipe the cache?
Hans, using this sample: \definefontfamily [mainface] [rm] [DejaVu Serif] \definefontfamily [mainface] [mm] [TeX Gyre Pagella Math] \setupbodyfont[mainface] \starttext \m{\sin^2(t)^2 + \cos^2(t) = 1} \stoptext Although I get this message in line 38 from the log file: mkiv lua stats > loaded fonts: 2 files: texgyrepagella-math.otf, dejavuserif.ttf There is a previous message in lines 19 and 20 from the log file (same message repeated twice): fonts > math: unset for global bodyfont mainface at 12pt I have just checked and noticed that MkIV (LuaTeX 1.11 7226 + ConTeXt MkIV 2020.01.30 14:13) embeds the font fine. I hope this helps, Pablo -- http://www.ousia.tk ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___________________________________________________________________________________