On 2-8-2010 3:35, Riobard wrote:
Hi,

I'm wondering how I can use Palatino for math in MKII/XeTeX? The following 
works in MKIV but not in MKII (still get Computer Modern for Math, though main 
text is in Palatino). Thanks very much!

in type-otf.mkii, search for xmath and add the following in that section

    \starttypescript [math] [palatino] [name]
        \definefontsynonym [MathRoman]     [Palatino-Roman-Upright]
        \definefontsynonym [MathExtension] [Palatino-Math-Extension]
        \definefontsynonym [MathItalic]    [Palatino-Math-Italic]
        \definefontsynonym [MathSymbol]    [Palatino-Math-Symbols]
        \definefontsynonym [MathAlpha]     [Palatino-Math-SymbolsA]
        \definefontsynonym [MathBeta]      [Palatino-Math-SymbolsB]
    \stoptypescript

    \starttypescript [math] [palatino] [name]
        \definefontsynonym [OldStyle]     [MathItalic]
        \definefontsynonym [Fraktur]      [eufm10]
        \definefontsynonym [Blackboard]   [MathBeta]
        \definefontsynonym [Gothic]       [eufm10]
        \definefontsynonym [Calligraphic] [eusm10]
    \stoptypescript

    \starttypescript [math] [times] [name]
        \definefontsynonym [MathRoman]     [Times-Roman-Upright]
        \definefontsynonym [MathExtension] [Times-Math-Extension]
        \definefontsynonym [MathItalic]    [Times-Math-Italic]
        \definefontsynonym [MathSymbol]    [Times-Math-Symbols]
        \definefontsynonym [MathAlpha]     [Times-Math-SymbolsA]
        \definefontsynonym [MathBeta]      [Times-Math-SymbolsB]
    \stoptypescript

    \starttypescript [math] [times] [name]
        \definefontsynonym [OldStyle]     [MathItalic]
        \definefontsynonym [Fraktur]      [eufm10]
        \definefontsynonym [Blackboard]   [MathBeta]
        \definefontsynonym [Gothic]       [eufm10]
        \definefontsynonym [Calligraphic] [eusm10]
    \stoptypescript




-----------------------------------------------------------------
                                          Hans Hagen | PRAGMA ADE
              Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
    tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
                                             | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
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
___________________________________________________________________________________

Reply via email to