A rather simple question, which probably will have a complex answer. I'm trying to migrate to ConTeXt, since I want to have a layout not easily achieved with LaTeX (grid…). In LaTeX, MinionPro is working fine, including the math, after some voodoo and lots of hair pulling. I haven't touched it since. Now, how to get this stuff to work in ConTeXt as well? I started with the body font, that's the easy part. I have no clue where to look for the math font, or how to port/translate the TeX stuff I have to something ConTeXt will understand. Where do I begin?
Edit: To clarify, what I currently have is
\starttypescript [serif] [minionpro]
\definefontsynonym [Serif] [name:minionproregular] [features=default]
\stoptypescript
\starttypescript [minionpro]
\definetypeface [minionpro] [rm] [serif] [minionpro] [default]
\definetypeface [minionpro] [mm] [math] [minionpro] [default]
\stoptypescript
\usetypescript [minionpro]
\setupbodyfont [minionpro,10pt]
\starttext
Hi, this is text. A formula: $x + y = z$.
\stoptext
This is obviously not enough information to make it go, it helpfully cries out with the error
error on line 14 in file tmp.tex: Math error: parameter \Umathquad\displaystyle is not set ...
Best Answer
To use the Minion fonts in ConTeXt:
Make sure that you have the fonts. Running
should give you:
The Minion fonts do not come with a accompanying math fonts. However, for simple math you can use symbols from a different math font (e.g., Pagella Math), and use letters and digits from Minion. To do so, you need a recent (2013.12.20 or newer) version of ConTeXt. Then use the following test file:
which gives: