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! Rio
Sorry, the example is here (forgot to paste it; my bad):
\usetypescript[palatino]
\definetypeface[palatino][rm][serif][palatino][default]
\definetypeface[palatino][mm][math][palatino][default]
\setupbodyfont[palatino,11pt]
On Mon, Aug 2, 2010 at 3:57 PM, Taco Hoekwater
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!
[example missing]
Best wishes, Taco ___________________________________________________________________________________ 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 ___________________________________________________________________________________
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 -----------------------------------------------------------------
On Mon, Aug 2, 2010 at 16:00, Hans Hagen wrote:
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] ...
In TeX Live that doesn't work and in minimals it has no influence. \usetypescript[palatino] \setupbodyfont[palatino] kpathsea: Running mktexpk --mfmode / --bdpi 600 --mag 1+0/600 --dpi 600 uplri8a.pfb mktexpk: don't know how to create bitmap font for uplri8a.pfb. mktexpk: perhaps uplri8a.pfb is missing from the map file. kpathsea: Appending font creation commands to missfont.log. ** WARNING ** Could not locate a virtual/physical font for TFM "rpxpplri". ** WARNING ** >> This font is mapped to a physical font "uplri8a.pfb". ** WARNING ** >> Please check if kpathsea library can find this font: uplri8a.pfb ** ERROR ** Cannot proceed without .vf or "physical" font for PDF output... Mojca
You'll these few lines:
\usetypescript[palatino]
\definetypeface[palatino][rm][serif][palatino][default]
\definetypeface[palatino][mm][math][palatino][default]
\setupbodyfont[palatino,11pt]
then modify as suggested by Hans. Works for me with the latest beta of
minimals.
On Mon, Aug 2, 2010 at 7:58 PM, Mojca Miklavec
On Mon, Aug 2, 2010 at 16:00, Hans Hagen wrote:
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] ...
In TeX Live that doesn't work and in minimals it has no influence.
\usetypescript[palatino] \setupbodyfont[palatino]
kpathsea: Running mktexpk --mfmode / --bdpi 600 --mag 1+0/600 --dpi 600 uplri8a.pfb mktexpk: don't know how to create bitmap font for uplri8a.pfb. mktexpk: perhaps uplri8a.pfb is missing from the map file. kpathsea: Appending font creation commands to missfont.log.
** WARNING ** Could not locate a virtual/physical font for TFM "rpxpplri". ** WARNING ** >> This font is mapped to a physical font "uplri8a.pfb". ** WARNING ** >> Please check if kpathsea library can find this font: uplri8a.pfb ** ERROR ** Cannot proceed without .vf or "physical" font for PDF output...
Mojca ___________________________________________________________________________________ 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 ___________________________________________________________________________________
participants (4)
-
Hans Hagen
-
Mojca Miklavec
-
Riobard
-
Taco Hoekwater