Motivation : I'm a die-hard user of LaTeX which is intrigued by ConTeXt and try to learn enough of it to be able to judge on its usability. For now, I'm limiting myself to Mark IV/LuaTeX (Mark II seems to have stopped evolving). I use the current TeXLive distribution (as packaged by Debian).
I recently stumbled on an unexpected difficulty : Opentype math fonts. The current situation is that a lot of the (few) available Opentype Math fonts can be used "out of the box" ; a bit of exploration shows that some support scripts for these fonts exists in $TEXMF/tex/context/fonts/mkiv/.
However, I have been unable to read, guess or divine the goals or structure of these files. As a consequence, I have been unable to cajole Context to use the following couples of Opentype tex / Opentype math fonts, which have recently become available :
- GFS Neohellenic / GFS Neohellenic Math (CTAN)
- Fira Sans / Fira Math
- STIX Two family (CTAN).
I have been able to use the text fonts ; for example :
\definefontfamily [gfsneohellenic] [serif] [GFSNeohellenic] \setupbodyfont [gfsneohellenic]
but any attempt to use math fails early. However, using the first two of these may allow to get a correct typesetting of maths with a sans typeface consistent with the text font (see this question for amplification...)
[ On the other hand, using them in LuaLaTeX is a piece of cake : link them to the "right" place, re-run font-cache, and you're set... ]
I am not (yet) familiar enough with the ConTeXt documentation to understand the
mkiv/.lfg scripts which seem to be the origin of ConTeXt support for these math fonts.
Question(s) : Where should I look for documentation of this feature ? Or is there some "magic" script allowing for the creation of such scripts ?