[NTG-context] Trying to use my local otf math font by editing typescript

罗晨星 chenxing.luo at gmail.com
Sun Mar 2 15:36:37 CET 2014

Hi here.

I was trying to use my own math font in Mark IV, inside distribution TeX
Live 2013, using typescript, but failed.

The way I am thinking, I might use an fallback way. For most of the math
symbols, I would use the provided palatino stuff, but for MathRoman and
MathItalic, I'd like to use the same font as of normal text, let's say
Minion Pro. As I'm looking into a normal typescript file, I thought of a
few options:

First of all, just overwrite the Palatino typescript, like follows:

    \definefontsynonym [MathRoman] [name:minionproregular]
    \definefontsynonym [MathItalic][name:minionproit]

It gives out "Math error: parameter \Umathquad\displaystyle is not set ..."

Another way I'm trying, is to use some fall back mode.

\starttypescript [math] [palatino]
    \definefontsynonym [MathRoman] [name:minionproregular]
    \definefontsynonym [MathItalic][name:minionproit]

It also doesn't work. The result was same as the previous.

And I also tried

\starttypescript [math] [palatinofb]
    \definefontsynonym [MathRoman] [name:minionproregular]
    \definefontsynonym [MathItalic][name:minionproit]

This also makes no difference.

Inspired by
I also tried the \definefallbackfamily, it turn out to be an undefined
control sequence.

In the main typescript, I uses


So I cannot find out how to fulfill my need. I guess there might because of
a missing map file, but for a roman font, do we need any? Since the
following serif definition works fine:


\starttypescript [serif] [MinionPro-Mixed]
    \definefontfallback[SerifItalic]    [name:minionproit]
    \definefontfallback[SerifBold]      [name:minionprobold]
    \definefontsynonym [Serif]
 [name:fzshusongz01][fallbacks=Serif] [features=zh]
    \definefontsynonym [SerifItalic]
[name:fzheib01][fallbacks=SerifItalic] [features=zh]
    \definefontsynonym [SerifBold]     [name:fzheib01][fallbacks=SerifBold]
    \definefontsynonym [SeriBoldItalic]
[name:fzheib01][fallbacks=SerifBoldItalic] [features=zh]

As I've seen, normally, a fallback definition of typescript is used in
serif/sans/mono, but there comes no successfull example for fall back of
math font. Also, there is fall back for a font, but not an entire

And build a new math font is obvious beyond my competent.

So how to deal with this problem? Is there a solution?


南京大学 现代工程与应用科学学院 2013级
Luo Chenxing
chenxing.luo at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.ntg.nl/pipermail/ntg-context/attachments/20140302/79b9455f/attachment.html>

More information about the ntg-context mailing list