Hi Joas,
I do not have that font to try (and sorry if I misunderstand the
question), but the following works to get Minion italic as
"lowercaseitalic" and so on instead of Pagella. Maybe using the names
instead of the glyph ranges work for you aswell?
\definefontfamily [mainface] [rm] [Minion Pro][opticalsize=yes]
\definefontfamily [mainface] [ss] [Myriad Pro][opticalsize=yes]
\definefallbackfamily [mainface] [math] [Minion Pro]
[math:uppercasenormal] [force=yes]
\definefallbackfamily [mainface] [math] [Minion Pro]
[math:uppercaseitalic] [force=yes]
\definefallbackfamily [mainface] [math] [Minion Pro]
[math:lowercasenormal] [force=yes]
\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]
Best regards, Mikael
On Fri, Apr 18, 2014 at 8:20 AM,
Hello,
Replacing certain symbols in a math font with a text font is very easy with the fallback
mechanism and the \definefallbackfamily command makes things even simpler.
The command \definefallbackfamily seems not to be a typescript-level command.
You need a newer version of ConTeXt to get that command.
Ok. You may also answer my question:
Let us consider the statememt:
\definefontfallback [BaskervaldOverPagella] [file:BaskervaldADFStd-Italic] [0x1D44E-0x1D467] [\check=yes,force=yes]
I understand it as: “Replace the glyphs 0x1D44E-0x1D467 (mathematical a-z)
of the source font with the glyphs from Baskervald italic having the same code.”
But how do you map 0x1D44E-0x1D467 of the source font to 0x61-0x7a.
How do you say: “Replace the glyphs 0x1D44E-0x1D467 (mathematical a-z) of
the source font with the glyphs 0x61-0x7a (text a-z) from Baskervald italic”?
For example something like:
\definefontfallback [BaskervaldOverPagella] [file:BaskervaldADFStd-Italic] [0x1D44E-0x1D467] [0x61-0x7a] [\check=yes,force=yes]
Thank you, Joas
___________________________________________________________________________________ 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 ___________________________________________________________________________________