summaryrefslogtreecommitdiff
path: root/tex/context/fonts/mkiv/type-imp-texgyre.mkiv
diff options
context:
space:
mode:
Diffstat (limited to 'tex/context/fonts/mkiv/type-imp-texgyre.mkiv')
-rw-r--r--tex/context/fonts/mkiv/type-imp-texgyre.mkiv57
1 files changed, 30 insertions, 27 deletions
diff --git a/tex/context/fonts/mkiv/type-imp-texgyre.mkiv b/tex/context/fonts/mkiv/type-imp-texgyre.mkiv
index e617a2505..64861a6ef 100644
--- a/tex/context/fonts/mkiv/type-imp-texgyre.mkiv
+++ b/tex/context/fonts/mkiv/type-imp-texgyre.mkiv
@@ -215,6 +215,22 @@
\stoptypescriptcollection
+% tricky: we cannot mix now as the file is loaded only once
+
+\startmode[txmath]
+
+ \starttypescriptcollection[texgyre-math-times]
+
+ \starttypescript [\s!math][times,termes][\s!all]
+ \loadfontgoodies[tx-math]
+ \definefontsynonym[\s!MathRoman][txmath@tx-math]
+ % \definefontsynonym[\s!MathRomanBold][MathRoman]
+ \stoptypescript
+
+ \stoptypescriptcollection
+
+\stopmode
+
\startnotmode[txmath]
\starttypescriptcollection[texgyre-math-times]
@@ -229,6 +245,20 @@
\stopnotmode
+\startmode[pxmath]
+
+ \starttypescriptcollection[texgyre-math-pagella]
+
+ \starttypescript [\s!math][palatino,pagella][\s!all]
+ \loadfontgoodies[px-math]
+ \definefontsynonym[\s!MathRoman][pxmath@px-math]
+ % \definefontsynonym[\s!MathRomanBold][MathRoman]
+ \stoptypescript
+
+ \stoptypescriptcollection
+
+\stopmode
+
\startnotmode[pxmath]
\starttypescriptcollection[texgyre-math-pagella]
@@ -263,31 +293,4 @@
\stoptypescriptcollection
-\startmode[txmath]
-
- \starttypescriptcollection[texgyre-math-times]
-
- \starttypescript [\s!math][times,termes][\s!all]
- \loadfontgoodies[tx-math]
- \definefontsynonym[\s!MathRoman][txmath@tx-math]
- % \definefontsynonym[\s!MathRomanBold][MathRoman]
- \stoptypescript
-
- \stoptypescriptcollection
-
-\stopmode
-
-\startmode[pxmath]
-
- \starttypescriptcollection[texgyre-math-pagella]
-
- \starttypescript [\s!math][palatino,pagella][\s!all]
- \loadfontgoodies[px-math]
- \definefontsynonym[\s!MathRoman][pxmath@px-math]
- % \definefontsynonym[\s!MathRomanBold][MathRoman]
- \stoptypescript
-
- \stoptypescriptcollection
-
-\stopmode