Aditya Mahajan <adit...@umich.edu> writes: > This is to announce that the latest beta supports creating virtual math > fonts with fallback. The main test case is to use Euler font with missing > characters taken from Pagella but the mechanism is general and can be used > to replace a specific set of math glyphs from a font. > > This feature is not extensively tested. As such it will be useful if > everyone interested in math fallback mechanism could test this out and > report any bugs or inconsistencies.
One inconsistency or maybe bug is that text subscripts come out in Euler instead of Palatino. Here's an example (using 2014.02.14 beta). The "Sun" subscript using _{\tf Sun} or _{\rm Sun} was in Palatino in the corresponding MkII setup, but is in Euler now. The workaround of an hbox with \tfxx or \tfx doesn't get quite the right size. \usetypescriptfile[euler] \definetypeface [mainface] [rm] [serif] [pagella] [default] \definetypeface [mainface] [tt] [mono] [dejavu] [default] [rscale=0.9] \definetypeface [mainface] [mm] [math] [pagellaovereuler] [default] \setupbodyfont[mainface] \appendtoks \rm \to \everymathematics \setupmathematics[lcgreek=normal, ucgreek=normal] \starttext \placeformula\startformula M_{\rm Sun}\quad M_{\hbox{\tfx Sun}} \quad M_{\hbox{\tfxx Sun}} \quad M_{\tf Sun} \stopformula \stoptext ___________________________________________________________________________________ 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://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________