Dear list, In the latest beta the font fallback using a text font in math mode does not work anymore. The log contains messages like char π (U+1D450) in font 'MinionPro-It' with id 8: missing char π (U+1D44E) in font 'MinionPro-It' with id 8: missing char π (U+1D44F) in font 'MinionPro-It' with id 8: missing which is not surprising because a text font does not have math italics. How can I get this to work again? MWE below. Cheers, Henri --- \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 \input ward \startformula c^2 = a^2 + b^2 \stopformula \stoptext
On 8/28/2018 3:49 AM, Henri Menke wrote:
Dear list,
In the latest beta the font fallback using a text font in math mode does not work anymore. The log contains messages like
char π (U+1D450) in font 'MinionPro-It' with id 8: missing char π (U+1D44E) in font 'MinionPro-It' with id 8: missing char π (U+1D44F) in font 'MinionPro-It' with id 8: missing
which is not surprising because a text font does not have math italics. How can I get this to work again? MWE below.
Isn't it \definefallbackfamily [mainface] [math] [Minion Pro] [range=lowercaseitalic,force=yes] \definefallbackfamily [mainface] [math] [Minion Pro] [range=digitsnormal,force=yes] or so? It's Wolfgangs speciality ...
Cheers, Henri
---
\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 \input ward
\startformula c^2 = a^2 + b^2 \stopformula
\stoptext
___________________________________________________________________________________ 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://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___________________________________________________________________________________
-- ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl -----------------------------------------------------------------
Hans Hagen schrieb am 28.08.18 um 10:14:
On 8/28/2018 3:49 AM, Henri Menke wrote:
Dear list,
In the latest beta the font fallback using a text font in math mode does not work anymore. The log contains messages like
char π (U+1D450) in font 'MinionPro-It' with id 8: missing char π (U+1D44E) in font 'MinionPro-It' with id 8: missing char π (U+1D44F) in font 'MinionPro-It' with id 8: missing
which is not surprising because a text font does not have math italics. How can I get this to work again? MWE below.
Isn't it
\definefallbackfamily [mainface] [math] [Minion Pro] [range=lowercaseitalic,force=yes] \definefallbackfamily [mainface] [math] [Minion Pro] [range=digitsnormal,force=yes]
or so? It's Wolfgangs speciality ...
\definefallbackfamily [mainface] [math] [Minion Pro] [preset=math:lowercaseitalic,force=yes] \definefallbackfamily [mainface] [math] [Minion Pro] [preset=math:digitsnormal,force=yes] but there is a bug in the fallback mechanism when you try to replace characters which are in different positions, e.g. mathitalic lowercase a (0x1D44E) with upright lowercase a (0x61). Attached is a test file where I tried to replace the uppercase and lowercase mathitalic b with a letter from a text font but it doesnβt work. Wolfgang
participants (3)
-
Hans Hagen
-
Henri Menke
-
Wolfgang Schuster