On 11/6/2021 11:23 AM, Alexandre Christe via ntg-context wrote:
Dear all,
I'd like to know how best to work with font features regarding
adaptations of math fonts.
For example, let's assume I'd like to use Minion Pro also for math
typesetting. I've referred myself to this page of the Wiki
https://wiki.contextgarden.net/Command/definefontfallback
<https://wiki.contextgarden.net/Command/definefontfallback>. I have
tried the following, but it fails for greek letters in math mode.
\definefallbackfamily
[mainface] [math] [Minion Pro]
[range={math:lowercaseitalic,math:uppercaseitalic,math:lowercasenormal,math:uppercasenormal},force=yes]
\definefallbackfamily
[mainface] [math] [Minion Pro]
[range={math:lowercasegreekitalic,math:uppercasegreekitalic,math:lowercasegreeknormal,math:uppercasegreeknormal},force=yes]
\definefallbackfamily
[mainface] [math] [Minion Pro]
[range=math:digitsnormal,features=f:lining,force=yes]
\definefontfamily [mainface] [math] [Libertinus Math]
Thanks in advance for your support.
Do you get results at all? Hard to check as that math font is a
commercial one. If it's an otf font, I suppose it can be used directly
as mainface math.
Hans
-----------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
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
___________________________________________________________________________________