On Sun, Sep 7, 2008 at 10:04 PM, Flavien Lambert
(Sorry for the preceding message, I forgot the [NTG-context] for filters...)
Dear all, I try to use Open Type fonts with ConTeXt and XeTeX (I recently did the same with LaTeX using fontspec and mathspec packages). >From the web site, I managed to use them for standard text as well as roman alphabet in math. Unfortunately, greek letters stay printed with the Latin Modern font. From examples of the web site, I tried the following lines but without success. In a preceding post, there was a similar question but with the luatex engine. Thanks for your help !
\definetypeface[myface][rm][Xserif][GFS Didot] \definetypeface[myface][mm][math][GFS Didot]
No time for complete answer, but you need to define the whole [math][GFS Didot] repertoaire first. This has no effect until you define one. Someone needs to write "Unicode math support" for mkii, or you need to make your own virtual font. See this file for example: http://source.contextgarden.net/math-lbr.tex in a similar way that would need to be done for general typefaces without math. You might then be able to say something like \definetypeface[myface][mm][Xmath][GFS Didot], though I'm 100% sure that people would then start complaining very soon that they either: - want other math characters in their favorite font as well (like plus, minus, brackets, ...), not only Greek letters - complain that they don't get any symbol (no font has them all) Mojca