%D \module
%D   [       file=type-tmf,
%D        version=2007.07.30,
%D          title=\CONTEXT\ Typescript Macros,
%D       subtitle=Core \TEX\ Fonts,
%D         author=Hans Hagen,
%D           date=\currentdate,
%D      copyright={PRAGMA / Hans Hagen \& Ton Otten}]
%C
%C This module is part of the \CONTEXT\ macro||package and is
%C therefore copyrighted by \PRAGMA. See mreadme.pdf for
%C details.

\starttypescriptcollection[synonyms]

% Computer Modern Roman : Donald Knuth
% Latin Modern: LM Font Revision Team

% LM math vs CM math (analysis by Taco):
%
% lmex10.tfm  % identical
% lmmi5.tfm   % identical
% lmmi6.tfm   % identical
% lmmi7.tfm   % identical
% lmmi8.tfm   % identical
% lmmi9.tfm   % identical
% lmmi10.tfm  % identical
% lmmi12.tfm  % identical
% lmmib10.tfm % identical
% lmsy5.tfm   % extra chars: 254,255 (octal)
% lmsy6.tfm   % extra chars: 254,255 (octal)
% lmsy7.tfm   % extra chars: 254,255 (octal)
% lmsy8.tfm   % extra chars: 254,255 (octal)
% lmsy9.tfm   % extra chars: 254,255 (octal)
% lmsy10.tfm  % extra chars: 254,255 (octal)
% lmbsy10.tfm % extra chars: 254,255 (octal)
%
% From the 'AMS' set:
%
% lmmib5.tfm  % identical
% lmmib7.tfm  % identical
% lmbsy5.tfm  % extra chars: 254,255 (octal)
% lmbsy7.tfm  % extra chars: 254,255 (octal)
%
% The two extra characters are:
%
%   /lessorequalslant
%   /greaterorequalslant

\starttypescript [serif] [modern,computer-modern,latin-modern] [name]
    \definefontsynonym [Serif]            [LMRoman-Regular]
    \definefontsynonym [SerifBold]        [LMRoman-Bold]
    \definefontsynonym [SerifItalic]      [LMRoman-Italic]
    \definefontsynonym [SerifSlanted]     [LMRoman-Oblique]
    \definefontsynonym [SerifBoldItalic]  [LMRoman-BoldItalic]
    \definefontsynonym [SerifBoldSlanted] [LMRoman-BoldOblique]
    \definefontsynonym [SerifCaps]        [LMRoman-CapsRegular]
    \definefontsynonym [SerifCapsSlanted] [LMRoman-CapsOblique]
\stoptypescript

\starttypescript [sans] [modern,computer-modern,latin-modern] [name]
    \definefontsynonym [Sans]             [LMSans-Regular]
    \definefontsynonym [SansBold]         [LMSans-Bold]
    \definefontsynonym [SansItalic]       [LMSans-Oblique]
    \definefontsynonym [SansSlanted]      [LMSans-Oblique]
    \definefontsynonym [SansBoldItalic]   [LMSans-BoldOblique]
    \definefontsynonym [SansBoldSlanted]  [LMSans-BoldOblique]
    \definefontsynonym [SansCaps]         [LMSans-Regular]
    \definefontsynonym [SansCapsSlanted]  [LMSans-Oblique]
\stoptypescript

\starttypescript [mono] [modern,computer-modern,latin-modern] [name]
    \definefontsynonym [Mono]             [LMTypewriter-Regular]
    \definefontsynonym [MonoBold]         [LMTypewriter-Dark]
    \definefontsynonym [MonoItalic]       [LMTypewriter-Italic]
    \definefontsynonym [MonoSlanted]      [LMTypewriter-Oblique]
    \definefontsynonym [MonoBoldItalic]   [LMTypewriter-DarkOblique]
    \definefontsynonym [MonoBoldSlanted]  [LMTypewriter-DarkOblique]
    \definefontsynonym [MonoCaps]         [LMTypewriter-CapsRegular]
    \definefontsynonym [MonoCapsSlanted]  [LMTypewriter-CapsOblique]
    \definefontsynonym [MonoVariable]     [LMTypewriterVarWd-Regular]
\stoptypescript

\starttypescript [math] [modern,computer-modern,latin-modern] [name]
    \definefontsynonym [MathRoman]        [LMMathRoman-Regular]
    \definefontsynonym [MathExtension]    [LMMathExtension-Regular]
    \definefontsynonym [MathItalic]       [LMMathItalic-Italic]
    \definefontsynonym [MathSymbol]       [LMMathSymbols-Italic]
\stoptypescript

% maybe we can by now just use: (to be tested first)

\starttypescript [math] [modern,computer-modern,latin-modern] [name]
    \definefontsynonym[xcmr12][rm-lmr12]
    \definefontsynonym[xcmr10][rm-lmr10]
    \definefontsynonym[xcmr9] [rm-lmr9]
    \definefontsynonym[xcmr8] [rm-lmr8]
    \definefontsynonym[xcmr7] [rm-lmr7]
    \definefontsynonym[xcmr6] [rm-lmr6]
    \definefontsynonym[xcmr5] [rm-lmr5]
\stoptypescript

\starttypescript [boldmath] [modern,computer-modern,latin-modern] [name]
    \definefontsynonym [MathRoman]        [LMMathRoman-Bold]
    \definefontsynonym [MathExtension]    [LMMathExtension-Regular]
    \definefontsynonym [MathItalic]       [LMMathItalic-BoldItalic]
    \definefontsynonym [MathSymbol]       [LMMathSymbols-BoldItalic]
\stoptypescript

\starttypescript [bfmath] [modern,computer-modern,latin-modern] [name]
    \definefontsynonym [MathRomanBold]    [LMMathRoman-Bold]
    \definefontsynonym [MathExtension]    [LMMathExtension-Regular]
    \definefontsynonym [MathItalicBold]   [LMMathItalic-BoldItalic]
    \definefontsynonym [MathSymbolBold]   [LMMathSymbols-BoldItalic]
\stoptypescript

\starttypescript [math,boldmath,bfmath] [modern,computer-modern,latin-modern] [name]
  \usemathcollection[default]
\stoptypescript

\starttypescript [serif] [modern-vari,computer-modern-vari,latin-modern-vari] [name]
    \definefontsynonym [Serif]            [LMTypewriterVarWd-Regular]
    \definefontsynonym [SerifBold]        [LMTypewriterVarWd-Oblique]
    \definefontsynonym [SerifItalic]      [LMTypewriterVarWd-Oblique]
    \definefontsynonym [SerifSlanted]     [LMTypewriterVarWd-Dark]
    \definefontsynonym [SerifBoldItalic]  [LMTypewriterVarWd-DarkOblique]
    \definefontsynonym [SerifBoldSlanted] [LMTypewriterVarWd-DarkOblique]
    \definefontsynonym [SerifCaps]        [LMTypewriterVarWd-Regular]
    \definefontsynonym [SerifCapsSlanted] [LMTypewriterVarWd-Oblique]
\stoptypescript

\starttypescript [mono] [modern-cond,computer-modern-cond,latin-modern-cond,modern-lightcond,computer-modern-lightcond,latin-modern-lightcond] [name]
    \definefontsynonym [Mono]             [LMTypewriter-LightCondensed]
    \definefontsynonym [MonoBold]         [LMTypewriter-LightCondensed]
    \definefontsynonym [MonoItalic]       [LMTypewriter-LightCondensedOblique]
    \definefontsynonym [MonoSlanted]      [LMTypewriter-LightCondensedOblique]
    \definefontsynonym [MonoBoldItalic]   [LMTypewriter-LightCondensed]
    \definefontsynonym [MonoBoldSlanted]  [LMTypewriter-LightCondensed]
    \definefontsynonym [MonoCaps]         [LMTypewriter-LightCondensed]
    \definefontsynonym [MonoCapsSlanted]  [LMTypewriter-LightCondensed]
\stoptypescript

\starttypescript [mono] [modern-light,computer-modern-light,latin-modern-light] [name]
    \definefontsynonym [Mono]             [LMTypewriter-Light]
    \definefontsynonym [MonoBold]         [LMTypewriter-Light]
    \definefontsynonym [MonoItalic]       [LMTypewriter-LightOblique]
    \definefontsynonym [MonoSlanted]      [LMTypewriter-LightOblique]
    \definefontsynonym [MonoBoldItalic]   [LMTypewriter-Light]
    \definefontsynonym [MonoBoldSlanted]  [LMTypewriter-Light]
    \definefontsynonym [MonoCaps]         [LMTypewriter-Light]
    \definefontsynonym [MonoCapsSlanted]  [LMTypewriter-Light]
\stoptypescript

% Later we will map the real fonts, here we just map synonyms.

\starttypescript [serif] [modern,latin-modern]
    \definefontsynonym [LMRoman-DemiOblique] [LMRoman10-DemiOblique]
    \definefontsynonym [LMRoman-Bold]        [LMRoman10-Bold]
    \definefontsynonym [LMRoman-BoldItalic]  [LMRoman10-BoldItalic]
    \definefontsynonym [LMRoman-BoldOblique] [LMRoman10-BoldOblique]
    \definefontsynonym [LMRoman-CapsRegular] [LMRoman10-CapsRegular]
    \definefontsynonym [LMRoman-CapsOblique] [LMRoman10-CapsOblique]
    \definefontsynonym [LMRoman-Regular]     [LMRoman10-Regular]
    \definefontsynonym [LMRoman-Italic]      [LMRoman10-Italic]
    \definefontsynonym [LMRoman-Oblique]     [LMRoman10-Oblique]
\stoptypescript

\starttypescript [sans] [modern,latin-modern]
    \definefontsynonym [LMSans-Regular]              [LMSans10-Regular]
    \definefontsynonym [LMSans-BoldOblique]          [LMSans10-BoldOblique]
    \definefontsynonym [LMSans-Bold]                 [LMSans10-Bold]
    \definefontsynonym [LMSans-DemiCondensed]        [LMSans10-DemiCondensed]
    \definefontsynonym [LMSans-DemiCondensedOblique] [LMSans10-DemiCondensedOblique]
    \definefontsynonym [LMSans-Oblique]              [LMSans10-Oblique]
\stoptypescript

\starttypescript [mono] [modern,latin-modern,modern-vari,latin-modern-vari,modern-cond,latin-modern-cond]
    \definefontsynonym [LMTypewriter-CapsRegular]           [LMTypewriter10-CapsRegular]
    \definefontsynonym [LMTypewriter-CapsOblique]           [LMTypewriter10-CapsOblique]
    \definefontsynonym [LMTypewriter-Light]                 [LMTypewriter10-Light]
    \definefontsynonym [LMTypewriter-LightOblique]          [LMTypewriter10-LightOblique]
    \definefontsynonym [LMTypewriter-LightCondensed]        [LMTypewriter10-LightCondensed]
    \definefontsynonym [LMTypewriter-LightCondensedOblique] [LMTypewriter10-LightCondensedOblique]
    \definefontsynonym [LMTypewriter-Dark]                  [LMTypewriter10-Dark]
    \definefontsynonym [LMTypewriter-DarkOblique]           [LMTypewriter10-DarkOblique]
    \definefontsynonym [LMTypewriter-Regular]               [LMTypewriter10-Regular]
    \definefontsynonym [LMTypewriter-Italic]                [LMTypewriter10-Italic]
    \definefontsynonym [LMTypewriter-Oblique]               [LMTypewriter10-Oblique]
    \definefontsynonym [LMTypewriterVarWd-Regular]          [LMTypewriterVarWd10-Regular]
    \definefontsynonym [LMTypewriterVarWd-Oblique]          [LMTypewriterVarWd10-Oblique]
    \definefontsynonym [LMTypewriterVarWd-Light]            [LMTypewriterVarWd10-Light]
    \definefontsynonym [LMTypewriterVarWd-LightOblique]     [LMTypewriterVarWd10-LightOblique]
    \definefontsynonym [LMTypewriterVarWd-Dark]             [LMTypewriterVarWd10-Dark]
    \definefontsynonym [LMTypewriterVarWd-DarkOblique]      [LMTypewriterVarWd10-DarkOblique]
\stoptypescript

\starttypescript [serif] [modern,computer-modern,latin-modern]
    \definefontsynonym [ComputerModern]             [LMRoman-Regular]
    \definefontsynonym [ComputerModern-Italic]      [LMRoman-Italic]
    \definefontsynonym [ComputerModern-Slanted]     [LMRoman-Oblique]
    \definefontsynonym [ComputerModern-Bold]        [LMRoman-Bold]
    \definefontsynonym [ComputerModern-BoldItalic]  [LMRoman-BoldItalic]
    \definefontsynonym [ComputerModern-BoldSlanted] [LMRoman-BoldOblique]
    \definefontsynonym [ComputerModern-Caps]        [LMRoman-CapsRegular]
    \definefontsynonym [ComputerModern-CapsSlanted] [LMRoman-CapsOblique]
\stoptypescript

\starttypescript [sans] [modern,computer-modern,latin-modern]
    \definefontsynonym [ComputerModernSans]             [LMSans-Regular]
    \definefontsynonym [ComputerModernSans-Italic]      [LMSans-Oblique]
    \definefontsynonym [ComputerModernSans-Slanted]     [LMSans-Oblique]
    \definefontsynonym [ComputerModernSans-Bold]        [LMSans-Bold]
    \definefontsynonym [ComputerModernSans-BoldItalic]  [LMSans-BoldOblique]
    \definefontsynonym [ComputerModernSans-BoldSlanted] [LMSans-BoldOblique]
    \definefontsynonym [ComputerModernSans-Caps]        [LMSans-Regular] % [LMSans-CapsRegular]
    \definefontsynonym [ComputerModernSans-CapsSlanted] [LMSans-Oblique] % [LMSans-CapsOblique]
\stoptypescript

\starttypescript [mono] [modern,computer-modern,latin-modern]
    \definefontsynonym [ComputerModernMono]             [LMTypewriter-Regular]
    \definefontsynonym [ComputerModernMono-Italic]      [LMTypewriter-Italic]
    \definefontsynonym [ComputerModernMono-Slanted]     [LMTypewriter-Oblique]
    \definefontsynonym [ComputerModernMono-Bold]        [LMTypewriter-Dark]
    \definefontsynonym [ComputerModernMono-BoldItalic]  [LMTypewriter-DarkOblique] % !
    \definefontsynonym [ComputerModernMono-BoldSlanted] [LMTypewriter-DarkOblique]
    \definefontsynonym [ComputerModernMono-Caps]        [LMTypewriter-CapsRegular]
    \definefontsynonym [ComputerModernMono-CapsSlanted] [LMTypewriter-CapsOblique]
    \definefontsynonym [ComputerModernMono-Variable]    [LMTypewriterVarWd-Regular]
\stoptypescript

\starttypescript [serif] [modern-vari,computer-modern-vari,latin-modern-vari]
    \definefontsynonym [ComputerModernVariable]             [LMTypewriterVarWd-Regular]
    \definefontsynonym [ComputerModernVariable-Italic]      [LMTypewriterVarWd-Oblique]
    \definefontsynonym [ComputerModernVariable-Slanted]     [LMTypewriterVarWd-Oblique]
    \definefontsynonym [ComputerModernVariable-Bold]        [LMTypewriterVarWd-Dark]
    \definefontsynonym [ComputerModernVariable-BoldItalic]  [LMTypewriterVarWd-DarkOblique]
    \definefontsynonym [ComputerModernVariable-BoldSlanted] [LMTypewriterVarWd-DarkOblique]
    \definefontsynonym [ComputerModernVariable-Caps]        [LMTypewriterVarWd-Regular]
    \definefontsynonym [ComputerModernVariable-CapsSlanted] [LMTypewriterVarWd-Oblique]
\stoptypescript

\starttypescript [math] [modern,latin-modern]
    \definefontsynonym [LMMathRoman-Regular]       [LMMathRoman10-Regular]
    \definefontsynonym [LMMathRoman-Bold]          [LMMathRoman10-Bold]
    \definefontsynonym [LMMathSymbols-BoldItalic]  [LMMathSymbols10-BoldItalic]
    \definefontsynonym [LMMathSymbols-Italic]      [LMMathSymbols10-Italic]
    \definefontsynonym [LMMathExtension-Regular]   [LMMathExtension10-Regular]
    \definefontsynonym [LMMathItalic-Italic]       [LMMathItalic10-Italic]
    \definefontsynonym [LMMathItalic-BoldItalic]   [LMMathItalic10-BoldItalic]
\stoptypescript

% can boldmath and bfmath be joined?
\starttypescript [boldmath] [modern,computer-modern,latin-modern] [name]
    \definefontsynonym [LMMathRoman-Bold]         [LMMathRoman10-Bold]
    \definefontsynonym [LMMathExtension-Regular]  [LMMathExtension10-Regular]
    \definefontsynonym [LMMathItalic-BoldItalic]  [LMMathItalic10-BoldItalic]
    \definefontsynonym [LMMathSymbols-BoldItalic] [LMMathSymbols10-BoldItalic]
\stoptypescript

\starttypescript [bfmath] [modern,computer-modern,latin-modern] [name]
    \definefontsynonym [LMMathRoman-Bold]         [LMMathRoman10-Bold]
    \definefontsynonym [LMMathExtension-Regular]  [LMMathExtension10-Regular]
    \definefontsynonym [LMMathItalic-BoldItalic]  [LMMathItalic10-BoldItalic]
    \definefontsynonym [LMMathSymbols-BoldItalic] [LMMathSymbols10-BoldItalic]
\stoptypescript

\starttypescript [serif] [modern,latin-modern,computer-modern]
    \definefontsynonym [cmr5]     [LMRoman5-Regular]
    \definefontsynonym [cmr6]     [LMRoman6-Regular]
    \definefontsynonym [cmr7]     [LMRoman7-Regular]
    \definefontsynonym [cmr8]     [LMRoman8-Regular]
    \definefontsynonym [cmr9]     [LMRoman9-Regular]
    \definefontsynonym [cmr10]    [LMRoman10-Regular]
    \definefontsynonym [cmr12]    [LMRoman12-Regular]
    \definefontsynonym [cmr17]    [LMRoman17-Regular]
    \definefontsynonym [cmbx5]    [LMRoman5-Bold]
    \definefontsynonym [cmbx6]    [LMRoman6-Bold]
    \definefontsynonym [cmbx7]    [LMRoman7-Bold]
    \definefontsynonym [cmbx8]    [LMRoman8-Bold]
    \definefontsynonym [cmbx9]    [LMRoman9-Bold]
    \definefontsynonym [cmbx10]   [LMRoman10-Bold]
    \definefontsynonym [cmbx12]   [LMRoman12-Bold]
    \definefontsynonym [cmsl10]   [LMRoman10-Oblique]
    \definefontsynonym [cmsl12]   [LMRoman12-Oblique]
    \definefontsynonym [cmsl17]   [LMRoman17-Oblique]
    \definefontsynonym [cmsl8]    [LMRoman8-Oblique]
    \definefontsynonym [cmsl9]    [LMRoman9-Oblique]
    \definefontsynonym [cmti7]    [LMRoman7-Italic]
    \definefontsynonym [cmti8]    [LMRoman8-Italic]
    \definefontsynonym [cmti9]    [LMRoman9-Italic]
    \definefontsynonym [cmti10]   [LMRoman10-Italic]
    \definefontsynonym [cmti12]   [LMRoman12-Italic]
    \definefontsynonym [cmbsl10]  [LMRoman10-DemiOblique]
    \definefontsynonym [cmbxsl10] [LMRoman10-BoldOblique]
    \definefontsynonym [cmbxti10] [LMRoman10-BoldItalic]
    \definefontsynonym [cmcsc10]  [LMRoman10-CapsRegular]
    \definefontsynonym [cmcscsl10][LMRoman10-CapsOblique]

    %definefontsynonym [cmb10]
\stoptypescript

\starttypescript [sans] [modern,latin-modern,computer-modern]
    \definefontsynonym [cmss8]    [LMSans8-Regular]
    \definefontsynonym [cmss9]    [LMSans9-Regular]
    \definefontsynonym [cmss10]   [LMSans10-Regular]
    \definefontsynonym [cmss12]   [LMSans12-Regular]
    \definefontsynonym [cmss17]   [LMSans17-Regular]
    \definefontsynonym [cmssi10]  [LMSans10-Oblique]
    \definefontsynonym [cmssi12]  [LMSans12-Oblique]
    \definefontsynonym [cmssi17]  [LMSans17-Oblique]
    \definefontsynonym [cmssi8]   [LMSans8-Oblique]
    \definefontsynonym [cmssi9]   [LMSans9-Oblique]
    \definefontsynonym [cmssq8]   [LMSansQuotation8-Regular]
    \definefontsynonym [cmssqb8]  [LMSansQuotation8-Bold]
    \definefontsynonym [cmssqbi8] [LMSansQuotation8-BoldOblique]
    \definefontsynonym [cmssqi8]  [LMSansQuotation8-Oblique]
    \definefontsynonym [cmssbx10] [LMSans10-Bold]
    \definefontsynonym [cmssdc10] [LMSans10-DemiCondensed]
    \definefontsynonym [cmssbi10] [LMSans10-BoldOblique]
    \definefontsynonym [cmssdi10] [LMSans10-DemiCondensedOblique]
\stoptypescript

\starttypescript [mono] [modern,latin-modern,computer-modern]
    \definefontsynonym [cmtt8]    [LMTypewriter8-Regular]
    \definefontsynonym [cmtt9]    [LMTypewriter9-Regular]
    \definefontsynonym [cmtt10]   [LMTypewriter10-Regular]
    \definefontsynonym [cmtt12]   [LMTypewriter12-Regular]
    \definefontsynonym [cmitt10]  [LMTypewriter10-Italic]
    \definefontsynonym [cmsltt10] [LMTypewriter10-Oblique]
    \definefontsynonym [cmvtt10]  [LMTypewriterVarWd10-Regular]
    \definefontsynonym [cmvtti10] [LMTypewriterVarWd10-Oblique]
    \definefontsynonym [cmtcsc10] [LMTypewriter10-CapsRegular]
\stoptypescript

\starttypescript [math] [modern,latin-modern,computer-modern]
    \definefontsynonym [cmbsy5]  [LMMathSymbols5-BoldItalic]
    \definefontsynonym [cmbsy7]  [LMMathSymbols7-BoldItalic]
    \definefontsynonym [cmbsy10] [LMMathSymbols10-BoldItalic]
    \definefontsynonym [cmsy5]   [LMMathSymbols5-Italic]
    \definefontsynonym [cmsy6]   [LMMathSymbols6-Italic]
    \definefontsynonym [cmsy7]   [LMMathSymbols7-Italic]
    \definefontsynonym [cmsy8]   [LMMathSymbols8-Italic]
    \definefontsynonym [cmsy9]   [LMMathSymbols9-Italic]
    \definefontsynonym [cmsy10]  [LMMathSymbols10-Italic]
    \definefontsynonym [cmex10]  [LMMathExtension10-Regular]
    \definefontsynonym [cmmi5]   [LMMathItalic5-Italic]
    \definefontsynonym [cmmi6]   [LMMathItalic6-Italic]
    \definefontsynonym [cmmi7]   [LMMathItalic7-Italic]
    \definefontsynonym [cmmi8]   [LMMathItalic8-Italic]
    \definefontsynonym [cmmi9]   [LMMathItalic9-Italic]
    \definefontsynonym [cmmi10]  [LMMathItalic10-Italic]
    \definefontsynonym [cmmi12]  [LMMathItalic12-Italic]
    \definefontsynonym [cmmib5]  [LMMathItalic5-BoldItalic]
    \definefontsynonym [cmmib7]  [LMMathItalic7-BoldItalic]
    \definefontsynonym [cmmib10] [LMMathItalic10-BoldItalic]
\stoptypescript

% This will change some day.

\starttypescript [math] [modern,computer-modern,latin-modern] [name]
    \definefontsynonym [OldStyle]     [MathItalic]
    \definefontsynonym [Fraktur]      [eufm10]
    \definefontsynonym [Blackboard]   [msbm10]
    \definefontsynonym [Gothic]       [eufm10]
    \definefontsynonym [Calligraphic] [cmsy10]
\stoptypescript

% Concrete Modern Roman : Donald Knuth

\starttypescript [serif] [concrete] [name]
    \definefontsynonym [Serif]            [ComputerConcrete]
    \definefontsynonym [SerifBold]        [ComputerConcrete]
    \definefontsynonym [SerifItalic]      [ComputerConcrete-Italic]
    \definefontsynonym [SerifSlanted]     [ComputerConcrete-Slanted]
    \definefontsynonym [SerifBoldItalic]  [ComputerConcrete-Italic]
    \definefontsynonym [SerifBoldSlanted] [ComputerConcrete-Slanted]
    \definefontsynonym [SerifCaps]        [ComputerConcrete-Caps]
\stoptypescript

% Euler : Hermann Zapf

\starttypescript [math] [euler] [name]
    \definefontsynonym [MathRoman]     [Euler-Roman]      % mr
    \definefontsynonym [MathItalic]    [Euler-Fraktur]    % mi
    \definefontsynonym [MathExtension] [Euler-Extension]  % ex
    \definefontsynonym [MathSymbol]    [Euler-Symbol]     % sy
\stoptypescript

\starttypescript [boldmath] [euler] [name]
    \definefontsynonym [MathRoman]     [Euler-Roman-Bold]     % mr
    \definefontsynonym [MathItalic]    [Euler-Fraktur-Bold]   % mi
    \definefontsynonym [MathExtension] [Euler-Extension]      % ex
    \definefontsynonym [MathSymbol]    [Euler-Symbol-Bold]    % sy
\stoptypescript

\starttypescript [bfmath] [euler] [name]
    \definefontsynonym [MathRomanBold]  [Euler-Roman-Bold]     % mr
    \definefontsynonym [MathItalicBold] [Euler-Fraktur-Bold]   % mi
    \definefontsynonym [MathExtension]  [Euler-Extension]      % ex
    \definefontsynonym [MathSymbolBold] [Euler-Symbol-Bold]    % sy
\stoptypescript

\starttypescript [math] [euler] [name]
    \definefontsynonym [OldStyle]     [MathItalic]
    \definefontsynonym [Fraktur]      [MathItalic]
    \definefontsynonym [Gothic]       [MathItalic]
    \definefontsynonym [Calligraphic] [MathSymbol]
\stoptypescript

\starttypescript [boldmath] [euler] [name]
    \definefontsynonym [OldStyle]     [MathItalicBold]
    \definefontsynonym [Fraktur]      [MathItalicBold]
    \definefontsynonym [Gothic]       [MathItalicBold]
    \definefontsynonym [Calligraphic] [MathSymbolBold]
\stoptypescript

\starttypescript [math,boldmath,bfmath] [euler] [name]
  \usemathcollection[eul]
\stoptypescript

% American Math Society : Michael Spivak

\starttypescript [math] [modern,computer-modern,latin-modern,ams] [name]
    \definefontsynonym [MathAlpha] [AMS-SymbolA]
    \definefontsynonym [MathBeta]  [AMS-SymbolB]
\stoptypescript

% Antykwa Torunska :

\starttypescript [serif] [antykwa-torunska] [name]
    \definefontsynonym [Serif]            [AntykwaTorunska-Regular]
    \definefontsynonym [SerifBold]        [AntykwaTorunska-Bold]
    \definefontsynonym [SerifItalic]      [AntykwaTorunska-Italic]
    \definefontsynonym [SerifSlanted]     [AntykwaTorunska-Italic]
    \definefontsynonym [SerifBoldItalic]  [AntykwaTorunska-BoldItalic]
    \definefontsynonym [SerifBoldSlanted] [AntykwaTorunska-BoldItalic]
    \definefontsynonym [SerifCaps]        [AntykwaTorunska-Cap]
\stoptypescript

\starttypescript [serif] [antykwa-torunska-light] [name]
  \definefontsynonym [Serif]            [AntykwaTorunska-Light]
  \definefontsynonym [SerifBold]        [AntykwaTorunska-Medium]
  \definefontsynonym [SerifItalic]      [AntykwaTorunska-LightItalic]
  \definefontsynonym [SerifSlanted]     [AntykwaTorunska-LightItalic]
  \definefontsynonym [SerifBoldItalic]  [AntykwaTorunska-MedItalic]
  \definefontsynonym [SerifBoldSlanted] [AntykwaTorunska-MedItalic]
  \definefontsynonym [SerifCaps]        [AntykwaTorunska-LightCap]
\stoptypescript

\starttypescript [serif] [antykwa-torunska-cond] [name]
    \definefontsynonym [Serif]            [AntykwaTorunska-CondRegular]
    \definefontsynonym [SerifBold]        [AntykwaTorunska-CondBold]
    \definefontsynonym [SerifItalic]      [AntykwaTorunska-CondItalic]
    \definefontsynonym [SerifSlanted]     [AntykwaTorunska-CondItalic]
    \definefontsynonym [SerifBoldItalic]  [AntykwaTorunska-CondBoldItalic]
    \definefontsynonym [SerifBoldSlanted] [AntykwaTorunska-CondBoldItalic]
    \definefontsynonym [SerifCaps]        [AntykwaTorunska-CondCap]
\stoptypescript

\starttypescript [serif] [antykwa-torunska-lightcond] [name]
    \definefontsynonym [Serif]            [AntykwaTorunska-CondLight]
    \definefontsynonym [SerifBold]        [AntykwaTorunska-CondMedium]
    \definefontsynonym [SerifItalic]      [AntykwaTorunska-CondLightItalic]
    \definefontsynonym [SerifSlanted]     [AntykwaTorunska-CondLightItalic]
    \definefontsynonym [SerifBoldItalic]  [AntykwaTorunska-CondMedItalic]
    \definefontsynonym [SerifBoldSlanted] [AntykwaTorunska-CondMedItalic]
    \definefontsynonym [SerifCaps]        [AntykwaTorunska-CondLightCap]
\stoptypescript

\starttypescript [serif] [antykwa-torunska] [name]
    \definefontsynonym [SerifRegular]         [Serif]
    \definefontsynonym [SerifRegularCaps]     [AntykwaTorunska-Cap]
    \definefontsynonym [SerifBoldCaps]        [AntykwaTorunska-BoldCap]
    \definefontsynonym [SerifItalicCaps]      [AntykwaTorunska-ItalicCap]
    \definefontsynonym [SerifSlantedCaps]     [AntykwaTorunska-ItalicCap]
    \definefontsynonym [SerifBoldItalicCaps]  [AntykwaTorunska-BoldItalicCap]
    \definefontsynonym [SerifBoldSlantedCaps] [AntykwaTorunska-BoldItalicCap]
    \definefontsynonym [SerifCapsCaps]        [AntykwaTorunska-Cap]

    \definefontvariant [Serif][osf][Caps]
    \definefontvariant [Serif][sc] [Caps]

    \definefontsynonym [SerifRegularLight]     [AntykwaTorunska-Light]
    \definefontsynonym [SerifBoldLight]        [AntykwaTorunska-Medium]
    \definefontsynonym [SerifItalicLight]      [AntykwaTorunska-LightItalic]
    \definefontsynonym [SerifSlantedLight]     [AntykwaTorunska-LightItalic]
    \definefontsynonym [SerifBoldItalicLight]  [AntykwaTorunska-MedItalic]
    \definefontsynonym [SerifBoldSlantedLight] [AntykwaTorunska-MedItalic]
    \definefontsynonym [SerifCapsLight]        [AntykwaTorunska-LightCap]

    \definefontvariant [Serif][lt][Light]

    \definefontsynonym [SerifRegularCond]     [AntykwaTorunska-CondRegular]
    \definefontsynonym [SerifBoldCond]        [AntykwaTorunska-CondBold]
    \definefontsynonym [SerifItalicCond]      [AntykwaTorunska-CondItalic]
    \definefontsynonym [SerifSlantedCond]     [AntykwaTorunska-CondItalic]
    \definefontsynonym [SerifBoldItalicCond]  [AntykwaTorunska-CondBoldItalic]
    \definefontsynonym [SerifBoldSlantedCond] [AntykwaTorunska-CondBoldItalic]
    \definefontsynonym [SerifCapsCond]        [AntykwaTorunska-CondCap]

    \definefontvariant [Serif][cond][Cond]

\stoptypescript

\starttypescript [serif] [antykwa-torunska-light] [name]
    \definefontsynonym [SerifRegular]         [Serif]
    \definefontsynonym [SerifRegularCaps]     [AntykwaTorunska-LightCap]
    \definefontsynonym [SerifBoldCaps]        [AntykwaTorunska-MediumCap]
    \definefontsynonym [SerifItalicCaps]      [AntykwaTorunska-LightItalicCap]
    \definefontsynonym [SerifSlantedCaps]     [AntykwaTorunska-LightItalicCap]
    \definefontsynonym [SerifBoldItalicCaps]  [AntykwaTorunska-MedItalicCap]
    \definefontsynonym [SerifBoldSlantedCaps] [AntykwaTorunska-MedItalicCap]
    \definefontsynonym [SerifCapsCaps]        [AntykwaTorunska-LightCap]

    \definefontvariant [Serif][osf][Caps]
    \definefontvariant [Serif][sc] [Caps]

    \definefontsynonym [SerifRegularDark]     [AntykwaTorunska-Regular]
    \definefontsynonym [SerifBoldDark]        [AntykwaTorunska-Bold]
    \definefontsynonym [SerifItalicDark]      [AntykwaTorunska-Italic]
    \definefontsynonym [SerifSlantedDark]     [AntykwaTorunska-Italic]
    \definefontsynonym [SerifBoldItalicDark]  [AntykwaTorunska-BoldItalic]
    \definefontsynonym [SerifBoldSlantedDark] [AntykwaTorunska-BoldItalic]
    \definefontsynonym [SerifCapsDark]        [AntykwaTorunska-Cap]

    \definefontvariant [Serif][dk][Dark]

    \definefontsynonym [SerifRegularCond]     [AntykwaTorunska-CondLight]
    \definefontsynonym [SerifBoldCond]        [AntykwaTorunska-CondMedium]
    \definefontsynonym [SerifItalicCond]      [AntykwaTorunska-CondLightItalic]
    \definefontsynonym [SerifSlantedCond]     [AntykwaTorunska-CondLightItalic]
    \definefontsynonym [SerifBoldItalicCond]  [AntykwaTorunska-CondMedItalic]
    \definefontsynonym [SerifBoldSlantedCond] [AntykwaTorunska-CondMedItalic]
    \definefontsynonym [SerifCapsCond]        [AntykwaTorunska-CondLightCap]

    \definefontvariant [Serif][cond][Cond]

\stoptypescript

\starttypescript [serif] [antykwa-torunska-cond] [name]
    \definefontsynonym [SerifRegular]         [Serif]
    \definefontsynonym [SerifRegularCaps]     [AntykwaTorunska-CondCap]
    \definefontsynonym [SerifBoldCaps]        [AntykwaTorunska-CondBoldCap]
    \definefontsynonym [SerifItalicCaps]      [AntykwaTorunska-CondItalicCap]
    \definefontsynonym [SerifSlantedCaps]     [AntykwaTorunska-CondItalicCap]
    \definefontsynonym [SerifBoldItalicCaps]  [AntykwaTorunska-CondBoldItalicCap]
    \definefontsynonym [SerifBoldSlantedCaps] [AntykwaTorunska-CondBoldItalicCap]
    \definefontsynonym [SerifCapsCaps]        [AntykwaTorunska-CondCap]

    \definefontvariant [Serif][osf][Caps]
    \definefontvariant [Serif][sc] [Caps]

    \definefontsynonym [SerifRegularLight]     [AntykwaTorunska-CondLight]
    \definefontsynonym [SerifBoldLight]        [AntykwaTorunska-CondMedium]
    \definefontsynonym [SerifItalicLight]      [AntykwaTorunska-CondLightItalic]
    \definefontsynonym [SerifSlantedLight]     [AntykwaTorunska-CondLightItalic]
    \definefontsynonym [SerifBoldItalicLight]  [AntykwaTorunska-CondMedItalic]
    \definefontsynonym [SerifBoldSlantedLight] [AntykwaTorunska-CondMedItalic]
    \definefontsynonym [SerifCapsLight]        [AntykwaTorunska-CondLightCap]

    \definefontvariant [Serif][lt][Light]

    \definefontsynonym [SerifRegularExp]     [AntykwaTorunska-Regular]
    \definefontsynonym [SerifBoldExp]        [AntykwaTorunska-Bold]
    \definefontsynonym [SerifItalicExp]      [AntykwaTorunska-Italic]
    \definefontsynonym [SerifSlantedExp]     [AntykwaTorunska-Italic]
    \definefontsynonym [SerifBoldItalicExp]  [AntykwaTorunska-BoldItalic]
    \definefontsynonym [SerifBoldSlantedExp] [AntykwaTorunska-BoldItalic]
    \definefontsynonym [SerifCapsExp]        [AntykwaTorunska-Cap]

    \definefontvariant [Serif][exp][Exp]

\stoptypescript

\starttypescript [serif] [antykwa-torunska-lightcond] [name]
    \definefontsynonym [SerifRegular]         [Serif]
    \definefontsynonym [SerifRegularCaps]     [AntykwaTorunska-CondLightCap]
    \definefontsynonym [SerifBoldCaps]        [AntykwaTorunska-CondMediumCap]
    \definefontsynonym [SerifItalicCaps]      [AntykwaTorunska-CondLightItalicCap]
    \definefontsynonym [SerifSlantedCaps]     [AntykwaTorunska-CondLightItalicCap]
    \definefontsynonym [SerifBoldItalicCaps]  [AntykwaTorunska-CondMedItalicCap]
    \definefontsynonym [SerifBoldSlantedCaps] [AntykwaTorunska-CondMedItalicCap]
    \definefontsynonym [SerifCapsCaps]        [AntykwaTorunska-CondLightCap]

    \definefontvariant [Serif][osf][Caps]
    \definefontvariant [Serif][sc] [Caps]

    \definefontsynonym [SerifRegularDark]     [AntykwaTorunska-CondRegular]
    \definefontsynonym [SerifBoldDark]        [AntykwaTorunska-CondBold]
    \definefontsynonym [SerifItalicDark]      [AntykwaTorunska-CondItalic]
    \definefontsynonym [SerifSlantedDark]     [AntykwaTorunska-CondItalic]
    \definefontsynonym [SerifBoldItalicDark]  [AntykwaTorunska-CondBoldItalic]
    \definefontsynonym [SerifBoldSlantedDark] [AntykwaTorunska-CondBoldItalic]
    \definefontsynonym [SerifCapsDark]        [AntykwaTorunska-CondCap]

    \definefontvariant [Serif][dk][Dark]

    \definefontsynonym [SerifRegularExp]     [AntykwaTorunska-Light]
    \definefontsynonym [SerifBoldExp]        [AntykwaTorunska-Medium]
    \definefontsynonym [SerifItalicExp]      [AntykwaTorunska-LightItalic]
    \definefontsynonym [SerifSlantedExp]     [AntykwaTorunska-LightItalic]
    \definefontsynonym [SerifBoldItalicExp]  [AntykwaTorunska-MedItalic]
    \definefontsynonym [SerifBoldSlantedExp] [AntykwaTorunska-MedItalic]
    \definefontsynonym [SerifCapsExp]        [AntykwaTorunska-LightCap]

    \definefontvariant [Serif][exp][Exp]

\stoptypescript

% maybe no -Regular etc

\starttypescript [math] [antykwa-torunska-light] [name]
    \definefontsynonym [MathRoman]     [AntykwaTorunska-Math-Letters-Light]
    \definefontsynonym [MathItalic]    [AntykwaTorunska-Math-Letters-LightItalic]
    \definefontsynonym [MathSymbol]    [AntykwaTorunska-Math-Symbols-Light]
    \definefontsynonym [MathExtension] [AntykwaTorunska-Math-Extension-Light]
\stoptypescript

\starttypescript [math] [antykwa-torunska] [name]
    \definefontsynonym [MathRoman]     [AntykwaTorunska-Math-Letters-Regular]
    \definefontsynonym [MathItalic]    [AntykwaTorunska-Math-Letters-Italic]
    \definefontsynonym [MathSymbol]    [AntykwaTorunska-Math-Symbols-Regular]
    \definefontsynonym [MathExtension] [AntykwaTorunska-Math-Extension-Regular]
\stoptypescript

\starttypescript [math] [antykwa-torunska-cond] [name]
    \definefontsynonym [MathRoman]     [AntykwaTorunska-Math-Letters-CondRegular]
    \definefontsynonym [MathItalic]    [AntykwaTorunska-Math-Letters-CondItalic]
    \definefontsynonym [MathSymbol]    [AntykwaTorunska-Math-Symbols-CondRegular]
    \definefontsynonym [MathExtension] [AntykwaTorunska-Math-Extension-CondRegular]
\stoptypescript

\starttypescript [math] [antykwa-torunska-lightcond] [name]
    \definefontsynonym [MathRoman]     [AntykwaTorunska-Math-Letters-CondLight]
    \definefontsynonym [MathItalic]    [AntykwaTorunska-Math-Letters-CondLightItalic]
    \definefontsynonym [MathSymbol]    [AntykwaTorunska-Math-Symbols-CondLight]
    \definefontsynonym [MathExtension] [AntykwaTorunska-Math-Extension-CondLight]
\stoptypescript

% Antykwa Poltawskiego :

\starttypescript [serif] [antykwa-poltawskiego] [name]
    \definefontsynonym [Serif]            [AntykwaPoltawskiego-Regular]
    \definefontsynonym [SerifBold]        [AntykwaPoltawskiego-Bold]
    \definefontsynonym [SerifItalic]      [AntykwaPoltawskiego-Italic]
    \definefontsynonym [SerifSlanted]     [AntykwaPoltawskiego-Italic]
    \definefontsynonym [SerifBoldItalic]  [AntykwaPoltawskiego-Bold]
    \definefontsynonym [SerifBoldSlanted] [AntykwaPoltawskiego-Bold]
    \definefontsynonym [SerifCaps]        [AntykwaPoltawskiego-Regular]
\stoptypescript

% Iwona

\starttypescript [sans] [iwona-light] [name]
    \setups[font:fallback:sans]
    \definefontsynonym [Sans]               [Iwona-Light-Regular]
    \definefontsynonym [SansItalic]         [Iwona-Light-Italic]
    \definefontsynonym [SansBold]           [Iwona-Medium-Regular]
    \definefontsynonym [SansBoldItalic]     [Iwona-Medium-Italic]
    \definefontsynonym [SansCaps]           [Iwona-CapsLight]
    \definefontsynonym [SansItalicCaps]     [Iwona-CapsLightItalic]
    \definefontsynonym [SansBoldCaps]       [Iwona-CapsMedium]
    \definefontsynonym [SansBoldItalicCaps] [Iwona-CapsMediumItalic]
\stoptypescript

\starttypescript [sans] [iwona-light-caps] [name]
    \setups[font:fallback:sans]
    \definefontsynonym [Sans]           [Iwona-CapsLight-Regular]
    \definefontsynonym [SansItalic]     [Iwona-CapsLight-Italic]
    \definefontsynonym [SansBold]       [Iwona-CapsMedium-Regular]
    \definefontsynonym [SansBoldItalic] [Iwona-CapsMedium-Italic]
\stoptypescript

\starttypescript [sans] [iwona] [name]
    \setups[font:fallback:sans]
    \definefontsynonym [Sans]               [Iwona-Regular]
    \definefontsynonym [SansItalic]         [Iwona-Italic]
    \definefontsynonym [SansBold]           [Iwona-Bold]
    \definefontsynonym [SansBoldItalic]     [Iwona-BoldItalic]
    \definefontsynonym [SansCaps]           [Iwona-CapsRegular]
    \definefontsynonym [SansItalicCaps]     [Iwona-CapsItalic]
    \definefontsynonym [SansBoldCaps]       [Iwona-CapsBold]
    \definefontsynonym [SansBoldItalicCaps] [Iwona-CapsBoldItalic]
\stoptypescript

\starttypescript [sans] [iwona-caps] [name]
    \setups[font:fallback:sans]
    \definefontsynonym [Sans]           [Iwona-CapsRegular]
    \definefontsynonym [SansItalic]     [Iwona-CapsItalic]
    \definefontsynonym [SansBold]       [Iwona-CapsBold]
    \definefontsynonym [SansBoldItalic] [Iwona-CapsBoldItalic]
\stoptypescript

\starttypescript [sans] [iwona-medium] [name]
    \setups[font:fallback:sans]
    \definefontsynonym [Sans]               [Iwona-Medium-Regular]
    \definefontsynonym [SansItalic]         [Iwona-Medium-Italic]
    \definefontsynonym [SansBold]           [Iwona-Heavy-Regular]
    \definefontsynonym [SansBoldItalic]     [Iwona-Heavy-Italic]
    \definefontsynonym [SansCaps]           [Iwona-CapsHeavy-Regular]
    \definefontsynonym [SansItalicCaps]     [Iwona-CapsMedium-Italic]
    \definefontsynonym [SansBoldCaps]       [Iwona-CapsHeavy-Regular]
    \definefontsynonym [SansBoldItalicCaps] [Iwona-CapsHeavy-Italic]
\stoptypescript

\starttypescript [sans] [iwona-medium-caps] [name]
    \setups[font:fallback:sans]
    \definefontsynonym [Sans]           [Iwona-CapsHeavy-Regular]
    \definefontsynonym [SansItalic]     [Iwona-CapsMedium-Italic]
    \definefontsynonym [SansBold]       [Iwona-CapsHeavy-Regular]
    \definefontsynonym [SansBoldItalic] [Iwona-CapsHeavy-Italic]
\stoptypescript

\starttypescript [sans] [iwona-heavy] [name]
    \setups[font:fallback:sans]
    \definefontsynonym [Sans]               [Iwona-Heavy-Regular]
    \definefontsynonym [SansItalic]         [Iwona-Heavy-Italic]
    \definefontsynonym [SansBold]           [Iwona-Heavy-Regular]
    \definefontsynonym [SansBoldItalic]     [Iwona-Heavy-Italic]
    \definefontsynonym [SansCaps]           [Iwona-CapsHeavy-Regular]
    \definefontsynonym [SansItalicCaps]     [Iwona-CapsHeavy-Italic]
    \definefontsynonym [SansBoldCaps]       [Iwona-CapsHeavy-Regular]
    \definefontsynonym [SansBoldItalicCaps] [Iwona-CapsHeavy-Italic]
\stoptypescript

\starttypescript [sans] [iwona-heavy-caps] [name]
   \setups[font:fallback:sans]
   \definefontsynonym [SansCaps]           [Iwona-CapsHeavy-Regular]
   \definefontsynonym [SansItalicCaps]     [Iwona-CapsHeavy-Italic]
   \definefontsynonym [SansBoldCaps]       [Iwona-CapsHeavy-Regular]
   \definefontsynonym [SansBoldItalicCaps] [Iwona-CapsHeavy-Italic]
\stoptypescript

\starttypescript [sans] [iwona-light-cond] [name]
    \setups[font:fallback:sans]
    \definefontsynonym [Sans]               [Iwona-CondLight-Regular]
    \definefontsynonym [SansItalic]         [Iwona-CondLight-Italic]
    \definefontsynonym [SansBold]           [Iwona-CondMedium-Regular]
    \definefontsynonym [SansBoldItalic]     [Iwona-CondMedium-Italic]
    \definefontsynonym [SansCaps]           [Iwona-CapsCondLight-Regular]
    \definefontsynonym [SansItalicCaps]     [Iwona-CapsCondLight-Italic]
    \definefontsynonym [SansBoldCaps]       [Iwona-CapsCondMedium-Regular]
    \definefontsynonym [SansBoldItalicCaps] [Iwona-CapsCondMedium-Italic]
\stoptypescript

\starttypescript [sans] [iwona-light-cond-caps,iwona-light-caps-cond] [name]
    \setups[font:fallback:sans]
    \definefontsynonym [Sans]           [Iwona-CapsCondLight-Regular]
    \definefontsynonym [SansItalic]     [Iwona-CapsCondLight-Italic]
    \definefontsynonym [SansBold]       [Iwona-CapsCondMedium-Regular]
    \definefontsynonym [SansBoldItalic] [Iwona-CapsCondMedium-Italic]
\stoptypescript

\starttypescript [sans] [iwona-cond] [name]
    \setups[font:fallback:sans]
    \definefontsynonym [Sans]               [Iwona-CondRegular]
    \definefontsynonym [SansItalic]         [Iwona-CondItalic]
    \definefontsynonym [SansBold]           [Iwona-CondBold]
    \definefontsynonym [SansBoldItalic]     [Iwona-CondBoldItalic]
    \definefontsynonym [SansCaps]           [Iwona-CapsCondRegular]
    \definefontsynonym [SansItalicCaps]     [Iwona-CapsCondItalic]
    \definefontsynonym [SansBoldCaps]       [Iwona-CapsCondBold]
    \definefontsynonym [SansBoldItalicCaps] [Iwona-CapsCondBoldItalic]
\stoptypescript

\starttypescript [sans] [iwona-cond-caps,iwona-caps-cond] [name]
    \setups[font:fallback:sans]
    \definefontsynonym [Sans]           [Iwona-CapsCondRegular]
    \definefontsynonym [SansItalic]     [Iwona-CapsCondItalic]
    \definefontsynonym [SansBold]       [Iwona-CapsCondBold]
    \definefontsynonym [SansBoldItalic] [Iwona-CapsCondBoldItalic]
\stoptypescript

\starttypescript [sans] [iwona-medium-cond] [name]
    \setups[font:fallback:sans]
    \definefontsynonym [Sans]               [Iwona-CondMedium-Regular]
    \definefontsynonym [SansItalic]         [Iwona-CondMedium-Italic]
    \definefontsynonym [SansBold]           [Iwona-CondHeavy-Regular]
    \definefontsynonym [SansBoldItalic]     [Iwona-CondHeavy-Italic]
    \definefontsynonym [SansCaps]           [Iwona-CapsCondHeavy-Regular]
    \definefontsynonym [SansItalicCaps]     [Iwona-CapsCondMedium-Italic]
    \definefontsynonym [SansBoldCaps]       [Iwona-CapsCondHeavy-Regular]
    \definefontsynonym [SansBoldItalicCaps] [Iwona-CapsCondHeavy-Italic]
\stoptypescript

\starttypescript [sans] [iwona-medium-cond-caps,iwona-medium-caps-cond] [name]
    \setups[font:fallback:sans]
    \definefontsynonym [Sans]           [Iwona-CapsCondHeavy-Regular]
    \definefontsynonym [SansItalic]     [Iwona-CapsCondMedium-Italic]
    \definefontsynonym [SansBold]       [Iwona-CapsCondHeavy-Regular]
    \definefontsynonym [SansBoldItalic] [Iwona-CapsCondHeavy-Italic]
\stoptypescript

\starttypescript [math] [iwona-light] [name]
    \definefontsynonym [MathRoman]     [Iwona-Math-Letters-Light-Regular]
    \definefontsynonym [MathItalic]    [Iwona-Math-Letters-Light-Italic]
    \definefontsynonym [MathSymbol]    [Iwona-Math-Symbols-Light]
    \definefontsynonym [MathExtension] [Iwona-Math-Extension-Light]
\stoptypescript

\starttypescript [math] [iwona] [name]
    \definefontsynonym [MathRoman]     [Iwona-Math-Letters-Regular]
    \definefontsynonym [MathItalic]    [Iwona-Math-Letters-Italic]
    \definefontsynonym [MathSymbol]    [Iwona-Math-Symbols-Regular]
    \definefontsynonym [MathExtension] [Iwona-Math-Extension-Regular]
\stoptypescript

\starttypescript [math] [iwona-medium] [name]
    \definefontsynonym [MathRoman]     [Iwona-Math-Letters-Medium-Regular]
    \definefontsynonym [MathItalic]    [Iwona-Math-Letters-Medium-Italic]
    \definefontsynonym [MathSymbol]    [Iwona-Math-Symbols-Medium]
    \definefontsynonym [MathExtension] [Iwona-Math-Extension-Medium]
\stoptypescript

\starttypescript [math] [iwona-heavy] [name]
    \definefontsynonym [MathRoman]     [Iwona-Math-Letters-Heavy-Regular]
    \definefontsynonym [MathItalic]    [Iwona-Math-Letters-Heavy-Italic]
    \definefontsynonym [MathSymbol]    [Iwona-Math-Symbols-Heavy]
    \definefontsynonym [MathExtension] [Iwona-Math-Extension-Heavy]
\stoptypescript

% Kurier

\starttypescript [sans] [kurier-light] [name]
    \setups[font:fallback:sans]
    \definefontsynonym [Sans]           [Kurier-Light-Regular]
    \definefontsynonym [SansItalic]     [Kurier-Light-Italic]
    \definefontsynonym [SansBold]       [Kurier-Medium-Regular]
    \definefontsynonym [SansBoldItalic] [Kurier-Medium-Italic]
\stoptypescript

\starttypescript [sans] [kurier] [name]
    \setups[font:fallback:sans]
    \definefontsynonym [Sans]           [Kurier-Regular]
    \definefontsynonym [SansItalic]     [Kurier-Italic]
    \definefontsynonym [SansBold]       [Kurier-Bold]
    \definefontsynonym [SansBoldItalic] [Kurier-BoldItalic]
\stoptypescript

\starttypescript [sans] [kurier-medium] [name]
    \setups[font:fallback:sans]
    \definefontsynonym [Sans]           [Kurier-Medium-Regular]
    \definefontsynonym [SansItalic]     [Kurier-Medium-Italic]
    \definefontsynonym [SansBold]       [Kurier-Heavy-Regular]
    \definefontsynonym [SansBoldItalic] [Kurier-Heavy-Italic]
\stoptypescript

\starttypescript [math] [kurier-light] [name]
    \definefontsynonym [MathRoman]     [Kurier-Math-Letters-Light-Regular]
    \definefontsynonym [MathItalic]    [Kurier-Math-Letters-Light-Italic]
    \definefontsynonym [MathSymbol]    [Kurier-Math-Symbols-Light]
    \definefontsynonym [MathExtension] [Kurier-Math-Extension-Light]
\stoptypescript

\starttypescript [math] [kurier] [name]
    \definefontsynonym [MathRoman]     [Kurier-Math-Letters-Regular]
    \definefontsynonym [MathItalic]    [Kurier-Math-Letters-Italic]
    \definefontsynonym [MathSymbol]    [Kurier-Math-Symbols-Regular]
    \definefontsynonym [MathExtension] [Kurier-Math-Extension-Regular]
\stoptypescript

\starttypescript [math] [kurier-medium] [name]
    \definefontsynonym [MathRoman]     [Kurier-Math-Letters-Medium-Regular]
    \definefontsynonym [MathItalic]    [Kurier-Math-Letters-Medium-Italic]
    \definefontsynonym [MathSymbol]    [Kurier-Math-Symbols-Medium]
    \definefontsynonym [MathExtension] [Kurier-Math-Extension-Medium]
\stoptypescript

% Bookman :

\starttypescript [serif] [bookman] [name]
    \definefontsynonym [Serif]            [Bookman-Light]
    \definefontsynonym [SerifItalic]      [Bookman-LightItalic]
    \definefontsynonym [SerifBold]        [Bookman-DemiBold]
    \definefontsynonym [SerifBoldItalic]  [Bookman-DemiBoldItalic]
    \definefontsynonym [SerifSlanted]     [Bookman-LightSlanted]
    \definefontsynonym [SerifBoldSlanted] [Bookman-DemiBoldSlanted]
    \definefontsynonym [SerifCaps]        [Bookman-Light-Caps]
\stoptypescript

% Chancery : Zapf

\starttypescript [calligraphy] [chancery] [name]
    \definefontsynonym [Calligraphy] [Chancery]
\stoptypescript

% Schoolbook :

\starttypescript [serif] [schoolbook] [name]
    \definefontsynonym [Serif]            [Schoolbook-Roman]
    \definefontsynonym [SerifItalic]      [Schoolbook-Italic]
    \definefontsynonym [SerifBold]        [Schoolbook-Bold]
    \definefontsynonym [SerifBoldItalic]  [Schoolbook-BoldItalic]
    \definefontsynonym [SerifSlanted]     [Schoolbook-RomanSlanted]
    \definefontsynonym [SerifBoldSlanted] [Schoolbook-BoldSlanted]
    \definefontsynonym [SerifCaps]        [Schoolbook-Roman-Caps]
\stoptypescript

% Utopia : Adobe

\starttypescript [serif] [utopia] [name]
    \definefontsynonym [Serif]            [Utopia-Regular]
    \definefontsynonym [SerifItalic]      [Utopia-Italic]
    \definefontsynonym [SerifBold]        [Utopia-Bold]
    \definefontsynonym [SerifBoldItalic]  [Utopia-BoldItalic]
    \definefontsynonym [SerifSlanted]     [Utopia-Slanted]
    \definefontsynonym [SerifBoldSlanted] [Utopia-BoldSlanted]
    \definefontsynonym [SerifCaps]        [Utopia-Regular-Caps]
\stoptypescript

% Fourier : Michael Bovani

\starttypescript [serif] [fourier] [name]
    \definefontsynonym [Serif]                      [Fourier-Regular]
    \definefontsynonym [SerifSlanted]               [Fourier-Slanted]
    \definefontsynonym [SerifItalic]                [Fourier-Italic]
    \definefontsynonym [SerifCaps]                  [Fourier-RegularCaps]
    \definefontsynonym [SerifBold]                  [Fourier-Bold]
    \definefontsynonym [SerifBoldSlanted]           [Fourier-BoldSlanted]
    \definefontsynonym [SerifBoldItalic]            [Fourier-BoldItalic]
    \definefontsynonym [SerifBoldCaps]              [Fourier-BoldCaps]

    \definefontsynonym [Serif-Expert]               [Fourier-Regular-Expert]
    \definefontsynonym [SerifSlanted-Expert]        [Fourier-Slanted-Expert]
    \definefontsynonym [SerifItalic-Expert]         [Fourier-Italic-Expert]
    \definefontsynonym [SerifCaps-Expert]           [Fourier-RegularCaps-Expert]
    \definefontsynonym [SerifSemiBold-Expert]       [Fourier-Semi-Expert]
    \definefontsynonym [SerifSemiSlanted-Expert]    [Fourier-SemiSlanted-Expert]
    \definefontsynonym [SerifSemiItalic-Expert]     [Fourier-SemiItalic-Expert]
    \definefontsynonym [SerifSemiCaps-Expert]       [Fourier-SemiCaps-Expert]
    \definefontsynonym [SerifBold-Expert]           [Fourier-Bold-Expert]
    \definefontsynonym [SerifBoldSlanted-Expert]    [Fourier-BoldSlanted-Expert]
    \definefontsynonym [SerifBoldItalic-Expert]     [Fourier-BoldItalic-Expert]
    \definefontsynonym [SerifBlack-Expert]          [Fourier-Black-Expert]

    \definefontsynonym [Serif-OldStyle]             [Fourier-Regular-OldStyle]
    \definefontsynonym [SerifSlanted-OldStyle]      [Fourier-Slanted-OldStyle]
    \definefontsynonym [SerifItalic-OldStyle]       [Fourier-Italic-OldStyle]
    \definefontsynonym [SerifCaps-OldStyle]         [Fourier-RegularCaps-OldStyle]
    \definefontsynonym [SerifSemiBold-OldStyle]     [Fourier-Semi-OldStyle]
    \definefontsynonym [SerifSemiSlanted-OldStyle]  [Fourier-SemiSlanted-OldStyle]
    \definefontsynonym [SerifSemiItalic-OldStyle]   [Fourier-SemiItalic-OldStyle]
    \definefontsynonym [SerifSemiCaps-OldStyle]     [Fourier-SemiCaps-OldStyle]
    \definefontsynonym [SerifBold-OldStyle]         [Fourier-Bold-OldStyle]
    \definefontsynonym [SerifBoldSlanted-OldStyle]  [Fourier-BoldSlanted-OldStyle]
    \definefontsynonym [SerifBoldItalic-OldStyle]   [Fourier-BoldItalic-OldStyle]
    \definefontsynonym [SerifBlack-OldStyle]        [Fourier-Black-OldStyle]
    \definefontsynonym [SerifBlackSlanted-OldStyle] [Fourier-BlackSlanted-OldStyle]
\stoptypescript

\starttypescript [math] [fourier] [name]
    \definefontsynonym [MathRoman]     [Fourier-Math-Letters]
    \definefontsynonym [MathItalic]    [Fourier-Math-Letters-Italic]
    \definefontsynonym [MathSymbol]    [Fourier-Math-Symbols]
    \definefontsynonym [MathExtension] [Fourier-Math-Extension]
\stoptypescript

\starttypescript [math] [fourier] [name] % todo
    \definefontsynonym [OldStyle]     [Serif-OldStyle] % strange, no oldstyles
    \definefontsynonym [Fraktur]      [eufm10]
    \definefontsynonym [Blackboard]   [msbm10]
    \definefontsynonym [Gothic]       [eufm10]
    \definefontsynonym [Calligraphic] [eusm10]
\stoptypescript

% Charter :

\starttypescript [serif] [charter] [name]
    \definefontsynonym [Serif]            [Charter-Roman]
    \definefontsynonym [SerifItalic]      [Charter-Italic]
    \definefontsynonym [SerifBold]        [Charter-Bold]
    \definefontsynonym [SerifBoldItalic]  [Charter-BoldItalic]
    \definefontsynonym [SerifSlanted]     [Charter-Slanted]
    \definefontsynonym [SerifBoldSlanted] [Charter-BoldSlanted]
    \definefontsynonym [SerifCaps]        [Charter-Roman-Caps]
\stoptypescript

% Times :

\starttypescript [serif] [times] [name]
    \definefontsynonym [Serif]            [Times-Roman]
    \definefontsynonym [SerifBold]        [Times-Bold]
    \definefontsynonym [SerifItalic]      [Times-Italic]
    \definefontsynonym [SerifSlanted]     [Times-Italic]
    \definefontsynonym [SerifBoldItalic]  [Times-BoldItalic]
    \definefontsynonym [SerifBoldSlanted] [Times-BoldItalic]
    \definefontsynonym [SerifCaps]        [Times-Caps]
\stoptypescript

\starttypescript [math] [times] [name]
    \definefontsynonym [MathRoman]     [Times-Roman-Upright]
    \definefontsynonym [MathExtension] [Times-Math-Extension]
    \definefontsynonym [MathItalic]    [Times-Math-Italic]
    \definefontsynonym [MathSymbol]    [Times-Math-Symbols]
    \definefontsynonym [MathAlpha]     [Times-Math-SymbolsA]
    \definefontsynonym [MathBeta]      [Times-Math-SymbolsB]
\stoptypescript

\starttypescript [math] [times] [name]
    \definefontsynonym [OldStyle]     [MathItalic]
    \definefontsynonym [Fraktur]      [eufm10]
    \definefontsynonym [Blackboard]   [MathBeta]
    \definefontsynonym [Gothic]       [eufm10]
    \definefontsynonym [Calligraphic] [eusm10]
\stoptypescript

% Helvetica :

\starttypescript [sans] [helvetica] [name]
    \definefontsynonym [Sans]            [Helvetica]
    \definefontsynonym [SansBold]        [Helvetica-Bold]
    \definefontsynonym [SansItalic]      [Helvetica-Oblique]
    \definefontsynonym [SansSlanted]     [Helvetica-Oblique]
    \definefontsynonym [SansBoldItalic]  [Helvetica-BoldOblique]
    \definefontsynonym [SansBoldSlanted] [Helvetica-BoldOblique]
    \definefontsynonym [SansCaps]        [Helvetica-Caps]
\stoptypescript

\starttypescript [math] [helvetica] [name]
    \definefontsynonym [MathRoman]     [Helvetica-MathRoman]
    \definefontsynonym [MathExtension] [Helvetica-MathExtendedSymbols]
    \definefontsynonym [MathItalic]    [Helvetica-MathItalics]
    \definefontsynonym [MathSymbol]    [Helvetica-MathSymbols]
\stoptypescript

% Courier :

\starttypescript [mono] [courier] [name]
    \definefontsynonym [Mono]            [Courier]
    \definefontsynonym [MonoBold]        [Courier-Bold]
    \definefontsynonym [MonoItalic]      [Courier-Oblique]
    \definefontsynonym [MonoSlanted]     [Courier-Oblique]
    \definefontsynonym [MonoBoldItalic]  [Courier-BoldOblique]
    \definefontsynonym [MonoBoldSlanted] [Courier-BoldOblique]
    \definefontsynonym [MonoCaps]        [Courier]
\stoptypescript

% Palatino : Hermann Zapf / URW

\starttypescript [serif] [palatino] [name]
    \definefontsynonym [Serif]            [Palatino]
    \definefontsynonym [SerifBold]        [Palatino-Bold]
    \definefontsynonym [SerifItalic]      [Palatino-Italic]
    \definefontsynonym [SerifSlanted]     [Palatino-Slanted]
    \definefontsynonym [SerifBoldItalic]  [Palatino-BoldItalic]
    \definefontsynonym [SerifBoldSlanted] [Palatino-BoldSlanted]
    \definefontsynonym [SerifCaps]        [Palatino-Caps]
\stoptypescript

\starttypescript [math] [palatino] [name]
    \definefontsynonym [MathRoman]     [Palatino-Roman-Upright]
    \definefontsynonym [MathExtension] [Palatino-Math-Extension]
    \definefontsynonym [MathItalic]    [Palatino-Math-Italic]
    \definefontsynonym [MathSymbol]    [Palatino-Math-Symbols]
    \definefontsynonym [MathAlpha]     [Palatino-Math-SymbolsA]
    \definefontsynonym [MathBeta]      [Palatino-Math-SymbolsB]
\stoptypescript

\starttypescript [math] [palatino] [name]
    \definefontsynonym [OldStyle]     [MathItalic]
    \definefontsynonym [Fraktur]      [eufm10]
    \definefontsynonym [Blackboard]   [MathBeta]
    \definefontsynonym [Gothic]       [eufm10]
    \definefontsynonym [Calligraphic] [eusm10]
\stoptypescript

% bonus definitions / will disappear

\starttypescript [serif] [palatino] [name]
    \definefontsynonym [SerifRegular]      [Serif]
    \definefontsynonym [SerifRegularOsF]   [TeXPalladioL-SC]
    \definefontsynonym [SerifItalicOsF]    [TeXPalladioL-ItalicOsF]
    \definefontsynonym [SerifBoldOsF]      [TeXPalladioL-BoldOsF]
    \definefontsynonym [SerifBoldItalicOsF][TeXPalladioL-BoldItalicOsF]
    \definefontsynonym [SerifCapsOsF]      [TeXPalladioL-SC]
\stoptypescript

% TeXGyre

% name definitions & prefixes

\definetypescriptprefix [n:pagella]    [TeXGyrePagella]  \definetypescriptprefix [n:palatino]   [TeXGyrePagella]
\definetypescriptprefix [n:termes]     [TeXGyreTermes]   \definetypescriptprefix [n:times]      [TeXGyreTermes]
\definetypescriptprefix [n:heros]      [TeXGyreHeros]    \definetypescriptprefix [n:helvetica]  [TeXGyreHeros]
\definetypescriptprefix [n:bonum]      [TeXGyreBonum]    \definetypescriptprefix [n:bookman]    [TeXGyreBonum]
\definetypescriptprefix [n:schola]     [TeXGyreSchola]   \definetypescriptprefix [n:schoolbook] [TeXGyreSchola]
\definetypescriptprefix [n:adventor]   [TeXGyreAdventor] %definetypescriptprefix [n:adventor]   [TeXGyreAdventor]
\definetypescriptprefix [n:cursor]     [TeXGyreCursor]   \definetypescriptprefix [n:courier]    [TeXGyreCursor]
\definetypescriptprefix [n:chorus]     [TeXGyreChorus]   \definetypescriptprefix [n:chancery]   [TeXGyreChorus] % not the full set

\starttypescript [serif] [pagella,palatino,termes,times,bonum,bookman,schola,schoolbook] [name]
    \definefontsynonym [Serif]                [\typescriptprefix{n:\typescripttwo}-Regular]
    \definefontsynonym [SerifItalic]          [\typescriptprefix{n:\typescripttwo}-Italic]
    \definefontsynonym [SerifBold]            [\typescriptprefix{n:\typescripttwo}-Bold]
    \definefontsynonym [SerifBoldItalic]      [\typescriptprefix{n:\typescripttwo}-BoldItalic]
    \definefontsynonym [SerifSlanted]         [SerifItalic]
    \definefontsynonym [SerifBoldSlanted]     [SerifBoldItalic]
    \definefontsynonym [SerifCaps]            [\typescriptprefix{n:\typescripttwo}-Caps]

    \definefontvariant [Serif][osf][Caps]
    \definefontvariant [Serif][sc] [Caps]

    \definefontsynonym [SerifRegular]         [Serif]
    \definefontsynonym [SerifRegularCaps]     [SerifCaps]
    \definefontsynonym [SerifItalicCaps]      [\typescriptprefix{n:\typescripttwo}-ItalicCaps]
    \definefontsynonym [SerifBoldCaps]        [\typescriptprefix{n:\typescripttwo}-BoldCaps]
    \definefontsynonym [SerifBoldItalicCaps]  [\typescriptprefix{n:\typescripttwo}-BoldItalicCaps]
    \definefontsynonym [SerifSlantedCaps]     [SerifItalicCaps]
    \definefontsynonym [SerifBoldSlantedCaps] [SerifBoldItalicCaps]
    \definefontsynonym [SerifCapsCaps]        [SerifCaps]
\stoptypescript

\starttypescript [serif] [chorus,chancery] [name]
    \definefontsynonym [SerifMediumItalic] [TeXGyreChorus-MediumItalic]
    \definefontsynonym [Serif]             [SerifMediumItalic]
    \definefontsynonym [SerifItalic]       [SerifMediumItalic]
    \definefontsynonym [SerifBold]         [SerifMediumItalic]
    \definefontsynonym [SerifBoldItalic]   [SerifMediumItalic]
    \definefontsynonym [SerifSlanted]      [SerifMediumItalic]
    \definefontsynonym [SerifBoldSlanted]  [SerifMediumItalic]
    \definefontsynonym [SerifCaps]         [SerifMediumItalic]
\stoptypescript

\starttypescript [calligraphy] [chorus,chancery] [name]
    \definefontsynonym [Calligraphy] [TeXGyreChorus-MediumItalic]
\stoptypescript

\starttypescript [sans] [heros,helvetica,adventor] [name]
    \definefontsynonym [Sans]                [\typescriptprefix{n:\typescripttwo}-Regular]
    \definefontsynonym [SansItalic]          [\typescriptprefix{n:\typescripttwo}-Italic]
    \definefontsynonym [SansBold]            [\typescriptprefix{n:\typescripttwo}-Bold]
    \definefontsynonym [SansBoldItalic]      [\typescriptprefix{n:\typescripttwo}-BoldItalic]
    \definefontsynonym [SansSlanted]         [SansItalic]
    \definefontsynonym [SansBoldSlanted]     [SansBoldItalic]
    \definefontsynonym [SansCaps]            [\typescriptprefix{n:\typescripttwo}-Caps]

    \definefontvariant [Sans][osf][Caps]
    \definefontvariant [Sans][sc] [Caps]

    \definefontsynonym [SansRegular]         [Sans]
    \definefontsynonym [SansRegularCaps]     [SansCaps]
    \definefontsynonym [SansItalicCaps]      [\typescriptprefix{n:\typescripttwo}-ItalicCaps]
    \definefontsynonym [SansBoldCaps]        [\typescriptprefix{n:\typescripttwo}-BoldCaps]
    \definefontsynonym [SansBoldItalicCaps]  [\typescriptprefix{n:\typescripttwo}-BoldItalicCaps]
    \definefontsynonym [SansSlantedCaps]     [SansItalicCaps]
    \definefontsynonym [SansBoldSlantedCaps] [SansBoldItalicCaps]
    \definefontsynonym [SansCapsCaps]        [SansCaps]
\stoptypescript

\starttypescript [mono] [cursor,courier] [name]
    \definefontsynonym [Mono]                [\typescriptprefix{n:\typescripttwo}-Regular]
    \definefontsynonym [MonoItalic]          [\typescriptprefix{n:\typescripttwo}-Italic]
    \definefontsynonym [MonoBold]            [\typescriptprefix{n:\typescripttwo}-Bold]
    \definefontsynonym [MonoBoldItalic]      [\typescriptprefix{n:\typescripttwo}-BoldItalic]
    \definefontsynonym [MonoSlanted]         [MonoItalic]
    \definefontsynonym [MonoBoldSlanted]     [MonoBoldItalic]

    \definefontvariant [Mono][osf][Caps]
    \definefontvariant [Mono][sc] [Caps]

    \definefontsynonym [MonoRegular]         [Mono]
    \definefontsynonym [MonoRegularCaps]     [MonoCaps]
    \definefontsynonym [MonoItalicCaps]      [\typescriptprefix{n:\typescripttwo}-ItalicCaps]
    \definefontsynonym [MonoBoldCaps]        [\typescriptprefix{n:\typescripttwo}-BoldCaps]
    \definefontsynonym [MonoBoldItalicCaps]  [\typescriptprefix{n:\typescripttwo}-BoldItalicCaps]
    \definefontsynonym [MonoSlantedCaps]     [MonoItalicCaps]
    \definefontsynonym [MonoBoldSlantedCaps] [MonoBoldItalicCaps]
    \definefontsynonym [MonoCapsCaps]        [MonoCaps]
\stoptypescript

\stoptypescriptcollection

\endinput
