[NTG-context] About \definefallbackfamily

Wolfgang Schuster schuster.wolfgang at gmail.com
Sun Aug 28 23:21:17 CEST 2016


> Jose Luis Arellano <mailto:jose.4rellano at gmail.com>
> 28. August 2016 um 06:44
> Hello guys, am working with some basic maths here and the latest 
> version of ConTexT. However, i think something has changed in ConTexT, 
> because the following MWE, from Aditya, was working fine before:
>
> \definefontfamily[mainface][rm][Minion Pro]
> \definefallbackfamily[mainface][math][Minion 
> Pro][math:lowercaseitalic][force=yes]
> \definefallbackfamily[mainface][math][Minion 
> Pro][math:digitsnormal][force=yes]
> \definefontfamily[mainface][math][TeX Gyre Pagella Math]
> \setupbodyfont[mainface]
>
> \starttext
> \startformula
> c^2 = a^2 + b^2
> \stopformula
> \stoptext
>
> Now, the italic font of Minion Pro is replaced for regular.
It’s a bug but I fixed it.
> Well, i have two questions:
>
> 1) How can i set the Minion Pro italic font for math?
Wait for the next ConTeXt version.
> 2) Is there any way to set the italic font for numbers too in math?
\definefontfamily     [mainface] [rm] [Minion Pro]
\definefallbackfamily [mainface] [mm] [Minion Pro] 
[range=digitsnormal,tf=style:italic]
\definefontfamily     [mainface] [mm] [TeX Gyre Pagella Math]

\setupbodyfont[mainface]

\starttext
\m{123}
\stoptext

Wolfgang
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ntg.nl/pipermail/ntg-context/attachments/20160828/ecfb9c46/attachment.html>


More information about the ntg-context mailing list