type-imp-texgyre.mkiv /size: 21 Kb    last modification: 2023-12-21 09:44
1
 %D \module
2%D   [       file=type-imp-texgyre,
3%D        version=2007.07.30,
4%D          title=\CONTEXT\ Typescript Macros,
5%D       subtitle=\TEX Gyre Fonts,
6%D         author=Hans Hagen,
7%D           date=\currentdate,
8%D      copyright={PRAGMA ADE \& \CONTEXT\ Development Team}]
9%C
10%C This module is part of the \CONTEXT\ macro||package and is
11%C therefore copyrighted by \PRAGMA. See mreadme.pdf for
12%C details.
13
14%D There are some weird ones that are never used .. all these Caps ... we can better
15%D split them into pagella-caps etc.
16
17%D The tx and px font setups depend on the definitions in px-math.lfg and tx-math.lfg
18%D and because these fonts (mappings, names) are not that stable you should not use
19%D these variants. At some point I will remove this because we have \OPENTYPE\ fonts
20%D that (mostly) work. The mechanism to construct virtual math fonts will probably stay
21%D around but I won't waste time on sorting out all the (changing) font hassles. Also,
22%D the T1 fonts involved are unlikely to be available.
23
24% \definefontfeature[mathextra][collapseitalics]
25
26\starttypescriptcollection[texgyre]
27
28    \doifunknownfontfeature {pagella-math-bold} {\definefontfeature[pagella-math-bold][boldened]}
29    \doifunknownfontfeature {schola-math-bold}  {\definefontfeature[schola-math-bold] [boldened]}
30    \doifunknownfontfeature {bonum-math-bold}   {\definefontfeature[bonum-math-bold]  [boldened]}
31    \doifunknownfontfeature {termes-math-bold}  {\definefontfeature[termes-math-bold] [boldened]}
32
33    \definetypescriptprefix [f:pagella] [pagella]
34    \definetypescriptprefix [f:termes]  [termes]
35    \definetypescriptprefix [f:heros]   [heros]
36    \definetypescriptprefix [f:bonum]   [bonum]
37    \definetypescriptprefix [f:schola]  [schola]
38    \definetypescriptprefix [f:adventor][adventor]
39    \definetypescriptprefix [f:cursor]  [cursor]
40    \definetypescriptprefix [f:chorus]  [chorus]
41
42    \definetypescriptprefix [f:pagella-nt] [pagella]
43    \definetypescriptprefix [f:termes-nt]  [termes]
44    \definetypescriptprefix [f:bonum-nt]   [bonum]
45    \definetypescriptprefix [f:schola-nt]  [schola]
46
47    \definetypescriptprefix [f:palatino]   [pagella]
48    \definetypescriptprefix [f:times]      [termes]
49    \definetypescriptprefix [f:helvetica]  [heros]
50    \definetypescriptprefix [f:bookman]    [bonum]
51    \definetypescriptprefix [f:schoolbook] [schola]
52    \definetypescriptprefix [f:avantgarde] [adventor]
53    \definetypescriptprefix [f:courier]    [cursor]
54    \definetypescriptprefix [f:chancery]   [chorus]
55
56    \definetypescriptprefix [n:pagella]  [TeXGyrePagella]
57    \definetypescriptprefix [n:termes]   [TeXGyreTermes]
58    \definetypescriptprefix [n:heros]    [TeXGyreHeros]
59    \definetypescriptprefix [n:bonum]    [TeXGyreBonum]
60    \definetypescriptprefix [n:schola]   [TeXGyreSchola]
61    \definetypescriptprefix [n:adventor] [TeXGyreAdventor]
62    \definetypescriptprefix [n:cursor]   [TeXGyreCursor]
63    \definetypescriptprefix [n:chorus]   [TeXGyreChorus]
64
65    \definetypescriptprefix [n:pagella-nt] [TeXGyrePagella]
66    \definetypescriptprefix [n:termes-nt]  [TeXGyreTermes]
67    \definetypescriptprefix [n:bonum-nt]   [TeXGyreBonum]
68    \definetypescriptprefix [n:schola-nt]  [TeXGyreSchola]
69
70    \definetypescriptprefix [n:palatino]   [TeXGyrePagella]
71    \definetypescriptprefix [n:times]      [TeXGyreTermes]
72    \definetypescriptprefix [n:helvetica]  [TeXGyreHeros]
73    \definetypescriptprefix [n:bookman]    [TeXGyreBonum]
74    \definetypescriptprefix [n:schoolbook] [TeXGyreSchola]
75    \definetypescriptprefix [n:adventor]   [TeXGyreAdventor]
76    \definetypescriptprefix [n:courier]    [TeXGyreCursor]
77    \definetypescriptprefix [n:chancery]   [TeXGyreChorus]
78
79    \starttypescript [\s!serif,\s!sans] [adventor,bonum,bookman,heros,helvetica,pagella,palatino,schola,schoolbook,termes,times,%
80                                         pagella-nt,termes-nt,bonum-nt,schola-nt]
81        \definefontsynonym [\typescriptprefix{n:\typescripttwo}-Regular]        [\s!file:texgyre\typescriptprefix{f:\typescripttwo}-regular]    [\s!features=\s!default,\s!goodies=texgyre-text]
82        \definefontsynonym [\typescriptprefix{n:\typescripttwo}-Italic]         [\s!file:texgyre\typescriptprefix{f:\typescripttwo}-italic]     [\s!features=\s!default,\s!goodies=texgyre-text]
83        \definefontsynonym [\typescriptprefix{n:\typescripttwo}-Bold]           [\s!file:texgyre\typescriptprefix{f:\typescripttwo}-bold]       [\s!features=\s!default,\s!goodies=texgyre-text]
84        \definefontsynonym [\typescriptprefix{n:\typescripttwo}-BoldItalic]     [\s!file:texgyre\typescriptprefix{f:\typescripttwo}-bolditalic] [\s!features=\s!default,\s!goodies=texgyre-text]
85        \definefontsynonym [\typescriptprefix{n:\typescripttwo}-Caps]           [\s!file:texgyre\typescriptprefix{f:\typescripttwo}-regular]    [\s!features=\s!smallcaps]
86        \definefontsynonym [\typescriptprefix{n:\typescripttwo}-ItalicCaps]     [\s!file:texgyre\typescriptprefix{f:\typescripttwo}-italic]     [\s!features=\s!smallcaps]
87        \definefontsynonym [\typescriptprefix{n:\typescripttwo}-BoldCaps]       [\s!file:texgyre\typescriptprefix{f:\typescripttwo}-bold]       [\s!features=\s!smallcaps]
88        \definefontsynonym [\typescriptprefix{n:\typescripttwo}-BoldItalicCaps] [\s!file:texgyre\typescriptprefix{f:\typescripttwo}-bolditalic] [\s!features=\s!smallcaps]
89    \stoptypescript
90
91    \starttypescript [\s!mono] [cursor,courier]
92        \definefontsynonym [\typescriptprefix{n:\typescripttwo}-Regular]        [\s!file:texgyre\typescriptprefix{f:\typescripttwo}-regular]    [\s!features=\s!none]
93        \definefontsynonym [\typescriptprefix{n:\typescripttwo}-Italic]         [\s!file:texgyre\typescriptprefix{f:\typescripttwo}-italic]     [\s!features=\s!none]
94        \definefontsynonym [\typescriptprefix{n:\typescripttwo}-Bold]           [\s!file:texgyre\typescriptprefix{f:\typescripttwo}-bold]       [\s!features=\s!none]
95        \definefontsynonym [\typescriptprefix{n:\typescripttwo}-BoldItalic]     [\s!file:texgyre\typescriptprefix{f:\typescripttwo}-bolditalic] [\s!features=\s!none]
96    \stoptypescript
97
98    \starttypescript [\s!serif,\s!calligraphy] [chorus,chancery]
99        \definefontsynonym [TeXGyreChorus-MediumItalic] [\s!file:texgyrechorus-mediumitalic] [\s!features=\s!default]
100    \stoptypescript
101
102    \starttypescript [\s!serif] [pagella,palatino,termes,times,bonum,bookman,schola,schoolbook,%
103                                 pagella-nt,termes-nt,bonum-nt,schola-nt] [\s!name]
104        \definefontsynonym [\s!Serif]             [\typescriptprefix{n:\typescripttwo}-Regular]
105        \definefontsynonym [\s!SerifItalic]       [\typescriptprefix{n:\typescripttwo}-Italic]
106        \definefontsynonym [\s!SerifBold]         [\typescriptprefix{n:\typescripttwo}-Bold]
107        \definefontsynonym [\s!SerifBoldItalic]   [\typescriptprefix{n:\typescripttwo}-BoldItalic]
108        \definefontsynonym [\s!SerifSlanted]      [\s!SerifItalic]
109        \definefontsynonym [\s!SerifBoldSlanted]  [\s!SerifBoldItalic]
110        \definefontsynonym [\s!SerifCaps]         [\typescriptprefix{n:\typescripttwo}-Caps]
111    \stoptypescript
112
113    \starttypescript [\s!serif] [pagella-caps,palatino-caps,termes-caps,times-caps,bonum-caps,bookman-caps,schola-caps,schoolbook-caps] [\s!name]
114        \definefontsynonym [\s!Serif]             [\typescriptprefix{n:\typescripttwo}-Caps]
115        \definefontsynonym [\s!SerifItalic]       [\typescriptprefix{n:\typescripttwo}-ItalicCaps]
116        \definefontsynonym [\s!SerifBold]         [\typescriptprefix{n:\typescripttwo}-BoldCaps]
117        \definefontsynonym [\s!SerifBoldItalic]   [\typescriptprefix{n:\typescripttwo}-BoldItalicCaps]
118        \definefontsynonym [\s!SerifSlanted]      [\s!SerifItalic]
119        \definefontsynonym [\s!SerifBoldSlanted]  [\s!SerifBoldItalic]
120    \stoptypescript
121
122    \starttypescript [\s!serif] [chorus,chancery] [\s!name]
123        \definefontsynonym [\s!Serif]            [TeXGyreChorus-MediumItalic]
124        \definefontsynonym [\s!SerifItalic]      [\s!Serif]
125        \definefontsynonym [\s!SerifBold]        [\s!Serif]
126        \definefontsynonym [\s!SerifBoldItalic]  [\s!Serif]
127        \definefontsynonym [\s!SerifSlanted]     [\s!Serif]
128        \definefontsynonym [\s!SerifBoldSlanted] [\s!Serif]
129        \definefontsynonym [\s!SerifCaps]        [\s!Serif]
130    \stoptypescript
131
132    \starttypescript [\s!calligraphy] [chorus,chancery] [\s!name]
133        \definefontsynonym [Calligraphy] [TeXGyreChorus-MediumItalic]
134    \stoptypescript
135
136    \starttypescript [\s!sans] [heros,helvetica,adventor] [\s!name]
137        \definefontsynonym [\s!Sans]            [\typescriptprefix{n:\typescripttwo}-Regular]
138        \definefontsynonym [\s!SansItalic]      [\typescriptprefix{n:\typescripttwo}-Italic]
139        \definefontsynonym [\s!SansBold]        [\typescriptprefix{n:\typescripttwo}-Bold]
140        \definefontsynonym [\s!SansBoldItalic]  [\typescriptprefix{n:\typescripttwo}-BoldItalic]
141        \definefontsynonym [\s!SansSlanted]     [\s!SansItalic]
142        \definefontsynonym [\s!SansBoldSlanted] [\s!SansBoldItalic]
143        \definefontsynonym [\s!SansCaps]        [\typescriptprefix{n:\typescripttwo}-Caps]
144    \stoptypescript
145
146    \starttypescript [\s!sans] [heros-caps,helvetica-caps,adventor-caps] [\s!name]
147        \definefontsynonym [\s!Sans]            [\typescriptprefix{n:\typescripttwo}-Caps]
148        \definefontsynonym [\s!SansItalic]      [\typescriptprefix{n:\typescripttwo}-ItalicCaps]
149        \definefontsynonym [\s!SansBold]        [\typescriptprefix{n:\typescripttwo}-BoldCaps]
150        \definefontsynonym [\s!SansBoldItalic]  [\typescriptprefix{n:\typescripttwo}-BoldItalicCaps]
151        \definefontsynonym [\s!SansSlanted]     [\s!SansItalic]
152        \definefontsynonym [\s!SansBoldSlanted] [\s!SansBoldItalic]
153    \stoptypescript
154
155    \starttypescript [\s!mono] [cursor,courier] [\s!name]
156        \definefontsynonym [\s!Mono]             [\typescriptprefix{n:\typescripttwo}-Regular]
157        \definefontsynonym [\s!MonoItalic]       [\typescriptprefix{n:\typescripttwo}-Italic]
158        \definefontsynonym [\s!MonoBold]         [\typescriptprefix{n:\typescripttwo}-Bold]
159        \definefontsynonym [\s!MonoBoldItalic]   [\typescriptprefix{n:\typescripttwo}-BoldItalic]
160        \definefontsynonym [\s!MonoSlanted]      [\s!MonoItalic]
161        \definefontsynonym [\s!MonoBoldSlanted]  [\s!MonoBoldItalic]
162        \definefontsynonym [\s!MonoCaps]         [\typescriptprefix{n:\typescripttwo}-Caps]
163    \stoptypescript
164
165    \starttypescript [\s!mono] [cursor-caps,courier-caps] [\s!name]
166        \definefontsynonym [\s!Mono]            [\typescriptprefix{n:\typescripttwo}-Caps]
167        \definefontsynonym [\s!MonoItalic]      [\typescriptprefix{n:\typescripttwo}-ItalicCaps]
168        \definefontsynonym [\s!MonoBold]        [\typescriptprefix{n:\typescripttwo}-BoldCaps]
169        \definefontsynonym [\s!MonoBoldItalic]  [\typescriptprefix{n:\typescripttwo}-BoldItalicCaps]
170        \definefontsynonym [\s!MonoSlanted]     [\s!MonoItalic]
171        \definefontsynonym [\s!MonoBoldSlanted] [\s!MonoBoldItalic]
172    \stoptypescript
173
174    % interesting is that we cannot move these definitions up (without loosing features)
175
176    % caps: \definetypeface [pagella] [rm] [serif] [pagella-caps] [default]
177
178    \starttypescript [termes,termes-nt,times]
179        \definetypeface [\typescriptone] [\s!rm] [\s!serif] [\typescriptone] [\s!default]
180        \definetypeface [\typescriptone] [\s!ss] [\s!sans]  [helvetica]      [\s!default] [\s!rscale=0.9]
181        \definetypeface [\typescriptone] [\s!tt] [\s!mono]  [modern]         [\s!default] [\s!rscale=1.05]
182    \stoptypescript
183    \starttypescript [termes,times]
184        \definetypeface [\typescriptone] [\s!mm] [\s!math]  [termes]         [\s!default]
185        \quittypescriptscanning
186    \stoptypescript
187    \starttypescript [termes-nt]
188        \definetypeface [\typescriptone] [\s!mm] [\s!math]  [termes-nt]      [\s!default]
189        \quittypescriptscanning
190    \stoptypescript
191
192    \starttypescript [pagella,pagella-nt,palatino]
193        \definetypeface [\typescriptone] [\s!rm] [\s!serif] [\typescriptone] [\s!default]
194        \definetypeface [\typescriptone] [\s!ss] [\s!sans]  [modern]         [\s!default] [\s!rscale=1.075]
195        \definetypeface [\typescriptone] [\s!tt] [\s!mono]  [modern]         [\s!default] [\s!rscale=1.075]
196    \stoptypescript
197    \starttypescript [pagella,palatino]
198        \definetypeface [\typescriptone] [\s!mm] [\s!math]  [pagella]        [\s!default]
199        \quittypescriptscanning
200    \stoptypescript
201    \starttypescript [pagella-nt]
202        \definetypeface [\typescriptone] [\s!mm] [\s!math]  [pagella-nt]     [\s!default]
203        \quittypescriptscanning
204    \stoptypescript
205
206    \starttypescript [schola,schola-nt,schoolbook]
207        \definetypeface [\typescriptone] [\s!rm] [\s!serif] [\typescriptone] [\s!default]
208        \definetypeface [\typescriptone] [\s!ss] [\s!sans]  [modern]         [\s!default] [\s!rscale=1.1]
209        \definetypeface [\typescriptone] [\s!tt] [\s!mono]  [modern]         [\s!default] [\s!rscale=1.1]
210    \stoptypescript
211    \starttypescript [schola,schoolbook]
212        \definetypeface [\typescriptone] [\s!mm] [\s!math]  [schola]         [\s!default]
213        \quittypescriptscanning
214    \stoptypescript
215    \starttypescript [schola-nt]
216        \definetypeface [\typescriptone] [\s!mm] [\s!math]  [schola-nt]      [\s!default]
217        \quittypescriptscanning
218    \stoptypescript
219
220    \starttypescript [bonum,bonum-nt,bookman]
221        \definetypeface [\typescriptone] [\s!rm] [\s!serif] [\typescriptone] [\s!default]
222        \definetypeface [\typescriptone] [\s!ss] [\s!sans]  [modern]         [\s!default] [\s!rscale=1.1]
223        \definetypeface [\typescriptone] [\s!tt] [\s!mono]  [modern]         [\s!default] [\s!rscale=1.1]
224    \stoptypescript
225    \starttypescript [bookman,bonum]
226        \definetypeface [\typescriptone] [\s!mm] [\s!math]  [bonum]          [\s!default]
227        \quittypescriptscanning
228    \stoptypescript
229    \starttypescript [bonum-nt]
230        \definetypeface [\typescriptone] [\s!mm] [\s!math]  [bonum-nt]       [\s!default]
231        \quittypescriptscanning
232    \stoptypescript
233
234    \starttypescript [chancery,chorus]
235        \definetypeface [\typescriptone] [\s!rm] [\s!serif] [\typescriptone] [\s!default]
236        \definetypeface [\typescriptone] [\s!ss] [\s!sans]  [modern]         [\s!default]
237        \definetypeface [\typescriptone] [\s!tt] [\s!mono]  [modern]         [\s!default]
238        \definetypeface [\typescriptone] [\s!mm] [\s!math]  [modern]         [\s!default]
239        \quittypescriptscanning
240    \stoptypescript
241
242    \starttypescript [helvetica,heros]
243        \definetypeface [\typescriptone] [\s!ss] [\s!sans]  [\typescriptone] [\s!default]
244        \definetypeface [\typescriptone] [\s!rm] [\s!serif] [modern]         [\s!default] [\s!rscale=1.15]
245        \definetypeface [\typescriptone] [\s!tt] [\s!mono]  [modern]         [\s!default] [\s!rscale=1.15]
246        \definetypeface [\typescriptone] [\s!mm] [\s!math]  [modern]         [\s!default] [\s!rscale=1.15]
247        \quittypescriptscanning
248    \stoptypescript
249
250    \starttypescript [avantgarde,adventor]
251        \definetypeface [\typescriptone] [\s!ss] [\s!sans]  [adventor] [\s!default]
252        \definetypeface [\typescriptone] [\s!rm] [\s!serif] [modern]   [\s!default] [\s!rscale=1.15]
253        \definetypeface [\typescriptone] [\s!tt] [\s!mono]  [modern]   [\s!default] [\s!rscale=1.15]
254        \definetypeface [\typescriptone] [\s!mm] [\s!math]  [modern]   [\s!default]
255        \quittypescriptscanning
256    \stoptypescript
257
258    \starttypescript [courier,cursor]
259        \definetypeface [\typescriptone] [\s!tt] [\s!mono]  [\typescriptone] [\s!default]
260        \definetypeface [\typescriptone] [\s!rm] [\s!serif] [modern]         [\s!default]
261        \definetypeface [\typescriptone] [\s!ss] [\s!sans]  [modern]         [\s!default]
262        \definetypeface [\typescriptone] [\s!mm] [\s!math]  [modern]         [\s!default]
263        \quittypescriptscanning
264    \stoptypescript
265
266\stoptypescriptcollection
267
268% We no longer support tx and px in LMTX. These fonts were used in the transition from
269% traditional (type one) fonts to the new gyre fonts. The LMTX distribution no longer
270% ships these fonts anyway.
271
272\ifcase\contextlmtxmode \else
273    \disablemode[pxmath]
274    \disablemode[txmath]
275\fi
276
277\startmode[txmath]
278
279    \starttypescriptcollection[texgyre-math-termes]
280
281        \starttypescript [\s!math][termes,times][\s!all]
282            \loadfontgoodies[tx-math]
283            \definefontsynonym[\s!MathRoman][txmath@tx-math]
284          % \definefontsynonym[\s!MathRomanBold][MathRoman]
285        \stoptypescript
286
287    \stoptypescriptcollection
288
289\stopmode
290
291\startnotmode[txmath]
292
293    \starttypescriptcollection[texgyre-math-termes]
294
295        \starttypescript [\s!math][termes,termes-nt,times][\s!all]
296            \checkedmapfontsize[\typescripttwo][\s!script]      [.70]%.74
297            \checkedmapfontsize[\typescripttwo][\s!scriptscript][.50]%.55
298        \stoptypescript
299        \starttypescript [\s!math][termes,times][\s!all]
300            \definefontsynonym[\s!MathRoman]    [file:texgyretermes-math.otf][\s!features={\s!math\mathsizesuffix,termes:mathextra,mathextra},\s!goodies=termes-math]
301            \definefontsynonym[\s!MathRomanBold][file:texgyretermes-math.otf][\s!features={\s!math\mathsizesuffix,termes:mathextra,termes-math-bold,mathextra},\s!goodies=termes-math]
302        \stoptypescript
303        \starttypescript [\s!math][termes-nt][\s!all]
304            \definefontsynonym[\s!MathRoman]    [file:texgyretermes-math.otf][\s!features={\s!math\mathsizesuffix,termes:mathextra,mathextra}]
305            \definefontsynonym[\s!MathRomanBold][file:texgyretermes-math.otf][\s!features={\s!math\mathsizesuffix,termes:mathextra,termes-math-bold,mathextra}]
306        \stoptypescript
307
308    \stoptypescriptcollection
309
310\stopnotmode
311
312\startmode[pxmath]
313
314    \starttypescriptcollection[texgyre-math-pagella]
315
316        \starttypescript [\s!math][palatino,pagella][\s!all]
317            \loadfontgoodies[px-math]
318            \definefontsynonym[\s!MathRoman][pxmath@px-math]
319          % \definefontsynonym[\s!MathRomanBold][MathRoman]
320        \stoptypescript
321
322    \stoptypescriptcollection
323
324\stopmode
325
326\startnotmode[pxmath]
327
328    \starttypescriptcollection[texgyre-math-pagella]
329
330        \starttypescript [\s!math][pagella,pagella-nt,palatino]% [\s!all]
331            \checkedmapfontsize[\typescripttwo][\s!script]      [.74]
332            \checkedmapfontsize[\typescripttwo][\s!scriptscript][.55]
333        \stoptypescript
334        \starttypescript [\s!math][pagella,palatino][\s!all]
335            \definefontsynonym[\s!MathRoman]    [file:texgyrepagella-math.otf][\s!features={\s!math\mathsizesuffix,pagella:mathextra,mathextra},\s!goodies=pagella-math]
336            \definefontsynonym[\s!MathRomanBold][file:texgyrepagella-math.otf][\s!features={\s!math\mathsizesuffix,pagella:mathextra,pagella-math-bold,mathextra},\s!goodies=pagella-math]
337        \stoptypescript
338        \starttypescript [\s!math][pagella-nt][\s!all]
339            \definefontsynonym[\s!MathRoman]    [file:texgyrepagella-math.otf][\s!features={\s!math\mathsizesuffix,pagella:mathextra,mathextra}]
340            \definefontsynonym[\s!MathRomanBold][file:texgyrepagella-math.otf][\s!features={\s!math\mathsizesuffix,pagella:mathextra,pagella-math-bold,mathextra}]
341        \stoptypescript
342
343    \stoptypescriptcollection
344
345\stopnotmode
346
347\starttypescriptcollection[texgyre-math-bonum]
348
349    \starttypescript [\s!math][bonum,bonum-nt,bookman][\s!all]
350        \checkedmapfontsize[\typescripttwo][\s!script]      [.70]%.77
351        \checkedmapfontsize[\typescripttwo][\s!scriptscript][.55]%.60
352    \stoptypescript
353    \starttypescript [\s!math][bonum,bookman][\s!all]
354        \definefontsynonym[\s!MathRoman]    [file:texgyrebonum-math.otf][\s!features={\s!math\mathsizesuffix,bonum:mathextra,mathextra},\s!goodies=bonum-math]
355        \definefontsynonym[\s!MathRomanBold][file:texgyrebonum-math.otf][\s!features={\s!math\mathsizesuffix,bonum:mathextra,bonum-math-bold,mathextra},\s!goodies=bonum-math]
356    \stoptypescript
357    \starttypescript [\s!math][bonum-nt][\s!all]
358        \definefontsynonym[\s!MathRoman]    [file:texgyrebonum-math.otf][\s!features={\s!math\mathsizesuffix,bonum:mathextra,mathextra}]
359        \definefontsynonym[\s!MathRomanBold][file:texgyrebonum-math.otf][\s!features={\s!math\mathsizesuffix,bonum:mathextra,bonum-math-bold,mathextra}]
360    \stoptypescript
361
362\stoptypescriptcollection
363
364\starttypescriptcollection[texgyre-math-schola]
365
366    \starttypescript [\s!math][schola,schola-nt,schoolbook][\s!all]
367        \checkedmapfontsize[\typescripttwo][\s!script]      [.77]
368        \checkedmapfontsize[\typescripttwo][\s!scriptscript][.60]
369    \stoptypescript
370    \starttypescript [\s!math][schola,schoolbook][\s!all]
371        \definefontsynonym[\s!MathRoman]    [file:texgyreschola-math.otf][\s!features={\s!math\mathsizesuffix,schola:mathextra,mathextra},\s!goodies=schola-math]
372        \definefontsynonym[\s!MathRomanBold][file:texgyreschola-math.otf][\s!features={\s!math\mathsizesuffix,schola:mathextra,schola-math-bold,mathextra},\s!goodies=schola-math]
373    \stoptypescript
374    \starttypescript [\s!math][schola-nt][\s!all]
375        \definefontsynonym[\s!MathRoman]    [file:texgyreschola-math.otf][\s!features={\s!math\mathsizesuffix,schola:mathextra,mathextra}]
376        \definefontsynonym[\s!MathRomanBold][file:texgyreschola-math.otf][\s!features={\s!math\mathsizesuffix,schola:mathextra,schola-math-bold,mathextra}]
377    \stoptypescript
378
379\stoptypescriptcollection
380