%D \module
%D   [       file=type-otf,
%D        version=2007.07.30,
%D          title=\CONTEXT\ Typescript Macros,
%D       subtitle=Opentype Definitions,
%D         author=Hans Hagen,
%D           date=\currentdate,
%D      copyright={PRAGMA ADE \& \CONTEXT\ Development Team}]
%C
%C This module is part of the \CONTEXT\ macro||package and is
%C therefore copyrighted by \PRAGMA. See mreadme.pdf for
%C details.

%D Actually, \LUATEX\ does not need all these definitions since it can
%D consult its database. However, here we use the names that we used
%D in good old \TEX, and these may differ a bit. Here we also see
%D some oldstyle definitions which normally are done with features.

\starttypescriptcollection[fallback]

\starttypescript [fallback]
    \definetypeface [] [rm] [serif] [modern] [computer-modern] [features=default]
    \definetypeface [] [ss] [sans]  [modern] [computer-modern] [features=default]
    \definetypeface [] [tt] [mono]  [modern] [computer-modern] [features=default]
    \definetypeface [] [mm] [math]  [modern] [computer-modern]
    \quittypescriptscanning
\stoptypescript

% faster
%
% \starttypescript [fallback]
%     \definetypeface [] [rm] [serif] [modern] [default] [features=default]
%     \definetypeface [] [ss] [sans]  [modern] [default] [features=default]
%     \definetypeface [] [tt] [mono]  [modern] [default] [features=default]
%     \definetypeface [] [mm] [math]  [modern] [default]
%     \quittypescriptscanning
% \stoptypescript

\stoptypescriptcollection

% if a fontname equals the filename, then use
%
% \setupfontsynonym  [LMRoman10-DemiOblique]                              [features=default] % file is lowercase, so fails
% \definefontsynonym [LMRoman10-DemiOblique] [name:LMRoman10-DemiOblique] [features=default]
% \definefontsynonym [LMRoman10-DemiOblique] [lmroman10-demioblique]      [features=default]

\starttypescriptcollection[latinmodern]

    %D The names have changed (again) ... but I will not change the symbolic names
    %D any more. Filename changes will be catched in luatex (fallbacks) but not in
    %D other tex's.

    \starttypescript [serif] [modern,latin-modern]
        \definefontsynonym [LMRoman5-Regular]      [file:lmroman5-regular]      [features=default]
        \definefontsynonym [LMRoman6-Regular]      [file:lmroman6-regular]      [features=default]
        \definefontsynonym [LMRoman7-Regular]      [file:lmroman7-regular]      [features=default]
        \definefontsynonym [LMRoman8-Regular]      [file:lmroman8-regular]      [features=default]
        \definefontsynonym [LMRoman9-Regular]      [file:lmroman9-regular]      [features=default]
        \definefontsynonym [LMRoman10-Regular]     [file:lmroman10-regular]     [features=default]
        \definefontsynonym [LMRoman12-Regular]     [file:lmroman12-regular]     [features=default]
        \definefontsynonym [LMRoman17-Regular]     [file:lmroman17-regular]     [features=default]
        \definefontsynonym [LMRoman5-Bold]         [file:lmroman5-bold]         [features=default]
        \definefontsynonym [LMRoman6-Bold]         [file:lmroman6-bold]         [features=default]
        \definefontsynonym [LMRoman7-Bold]         [file:lmroman7-bold]         [features=default]
        \definefontsynonym [LMRoman8-Bold]         [file:lmroman8-bold]         [features=default]
        \definefontsynonym [LMRoman9-Bold]         [file:lmroman9-bold]         [features=default]
        \definefontsynonym [LMRoman10-Bold]        [file:lmroman10-bold]        [features=default]
        \definefontsynonym [LMRoman12-Bold]        [file:lmroman12-bold]        [features=default]
        \definefontsynonym [LMRoman7-Italic]       [file:lmroman7-italic]       [features=default]
        \definefontsynonym [LMRoman8-Italic]       [file:lmroman8-italic]       [features=default]
        \definefontsynonym [LMRoman9-Italic]       [file:lmroman9-italic]       [features=default]
        \definefontsynonym [LMRoman10-Italic]      [file:lmroman10-italic]      [features=default]
        \definefontsynonym [LMRoman12-Italic]      [file:lmroman12-italic]      [features=default]
        \definefontsynonym [LMRoman10-BoldItalic]  [file:lmroman10-bolditalic]  [features=default]
        \definefontsynonym [LMRoman8-Oblique]      [file:lmromanslant8-regular] [features=default]
        \definefontsynonym [LMRoman9-Oblique]      [file:lmromanslant9-regular] [features=default]
        \definefontsynonym [LMRoman10-Oblique]     [file:lmromanslant10-regular][features=default]
        \definefontsynonym [LMRoman12-Oblique]     [file:lmromanslant12-regular][features=default]
        \definefontsynonym [LMRoman17-Oblique]     [file:lmromanslant17-regular][features=default]
        \definefontsynonym [LMRoman10-BoldOblique] [file:lmromanslant10-bold]   [features=default]
        \definefontsynonym [LMRoman10-Demi]        [file:lmromandemi10-regular] [features=default]
        \definefontsynonym [LMRoman10-DemiOblique] [file:lmromandemi10-oblique] [features=default]
        \definefontsynonym [LMRoman10-CapsRegular] [file:lmromancaps10-regular] [features=default] % features=smallcaps?
        \definefontsynonym [LMRoman10-CapsOblique] [file:lmromancaps10-oblique] [features=default]

        \definefontsynonym [LMRoman10-Dunhill]        [file:lmromandunh10-regular] [features=default]
        \definefontsynonym [LMRoman10-DunhillOblique] [file:lmromandunh10-oblique] [features=default]
        \definefontsynonym [LMRoman10-Unslanted]      [file:lmromanunsl10-regular] [features=default]
    \stoptypescript

    \starttypescript [sans] [modern,latin-modern]
        \definefontsynonym [LMSans8-Regular]               [file:lmsans8-regular]          [features=default]
        \definefontsynonym [LMSans9-Regular]               [file:lmsans9-regular]          [features=default]
        \definefontsynonym [LMSans10-Regular]              [file:lmsans10-regular]         [features=default]
        \definefontsynonym [LMSans12-Regular]              [file:lmsans12-regular]         [features=default]
        \definefontsynonym [LMSans17-Regular]              [file:lmsans17-regular]         [features=default]
        \definefontsynonym [LMSans10-Bold]                 [file:lmsans10-bold]            [features=default]
        \definefontsynonym [LMSans8-Oblique]               [file:lmsans8-oblique]          [features=default]
        \definefontsynonym [LMSans9-Oblique]               [file:lmsans9-oblique]          [features=default]
        \definefontsynonym [LMSans10-Oblique]              [file:lmsans10-oblique]         [features=default]
        \definefontsynonym [LMSans12-Oblique]              [file:lmsans12-oblique]         [features=default]
        \definefontsynonym [LMSans17-Oblique]              [file:lmsans17-oblique]         [features=default]
        \definefontsynonym [LMSans10-BoldOblique]          [file:lmsans10-boldoblique]     [features=default]

        \definefontsynonym [LMSans10-DemiCondensed]        [file:lmsansdemicond10-regular] [features=default]
        \definefontsynonym [LMSans10-DemiCondensedOblique] [file:lmsansdemicond10-oblique] [features=default]

        \definefontsynonym [LMSansQuotation8-Regular]      [file:lmsansquot8-regular]      [features=default]
        \definefontsynonym [LMSansQuotation8-Bold]         [file:lmsansquot8-bold]         [features=default]
        \definefontsynonym [LMSansQuotation8-Oblique]      [file:lmsansquot8-oblique]      [features=default]
        \definefontsynonym [LMSansQuotation8-BoldOblique]  [file:lmsansquot8-boldoblique]  [features=default]
    \stoptypescript

    \starttypescript [mono] [modern,latin-modern,modern-vari,latin-modern-vari,modern-cond,latin-modern-cond]
        \definefontsynonym [LMTypewriter8-Regular]                [file:lmmono8-regular]            [features=none]
        \definefontsynonym [LMTypewriter9-Regular]                [file:lmmono9-regular]            [features=none]
        \definefontsynonym [LMTypewriter10-Regular]               [file:lmmono10-regular]           [features=none]
        \definefontsynonym [LMTypewriter12-Regular]               [file:lmmono12-regular]           [features=none]
        \definefontsynonym [LMTypewriter10-Italic]                [file:lmmono10-italic]            [features=none]
        \definefontsynonym [LMTypewriter10-Oblique]               [file:lmmonoslant10-regular]      [features=none]
        \definefontsynonym [LMTypewriter10-CapsRegular]           [file:lmmonocaps10-regular]       [features=none] % features=smallcaps?
        \definefontsynonym [LMTypewriter10-CapsOblique]           [file:lmmonocaps10-oblique]       [features=none]

        \definefontsynonym [LMTypewriter10-Light]                 [file:lmmonolt10-regular]         [features=none]
        \definefontsynonym [LMTypewriter10-LightOblique]          [file:lmmonolt10-oblique]         [features=none]
        \definefontsynonym [LMTypewriter10-LightCondensed]        [file:lmmonoltcond10-regular]     [features=none]
        \definefontsynonym [LMTypewriter10-LightCondensedOblique] [file:lmmonoltcond10-oblique]     [features=none]

        \definefontsynonym [LMTypewriter10-Dark]                  [file:lmmonolt10-bold]            [features=none]
        \definefontsynonym [LMTypewriter10-DarkOblique]           [file:lmmonolt10-boldoblique]     [features=none]

        \definefontsynonym [LMTypewriterVarWd10-Regular]          [file:lmmonoproplt10-regular]     [features=default]
        \definefontsynonym [LMTypewriterVarWd10-Oblique]          [file:lmmonoproplt10-oblique]     [features=default]
        \definefontsynonym [LMTypewriterVarWd10-Light]            [file:lmmonoprop10-regular]       [features=default]
        \definefontsynonym [LMTypewriterVarWd10-LightOblique]     [file:lmmonoprop10-oblique]       [features=default]
        \definefontsynonym [LMTypewriterVarWd10-Dark]             [file:lmmonoproplt10-bold]        [features=default]
        \definefontsynonym [LMTypewriterVarWd10-DarkOblique]      [file:lmmonoproplt10-boldoblique] [features=default]
    \stoptypescript

    \starttypescript [math] [modern,latin-modern]
        \definefontsynonym [LMMathRoman5-Regular]      [rm-lmr5]
        \definefontsynonym [LMMathRoman6-Regular]      [rm-lmr6]
        \definefontsynonym [LMMathRoman7-Regular]      [rm-lmr7]
        \definefontsynonym [LMMathRoman8-Regular]      [rm-lmr8]
        \definefontsynonym [LMMathRoman9-Regular]      [rm-lmr9]
        \definefontsynonym [LMMathRoman10-Regular]     [rm-lmr10]
        \definefontsynonym [LMMathRoman12-Regular]     [rm-lmr12]
        \definefontsynonym [LMMathRoman17-Regular]     [rm-lmr17]
        \definefontsynonym [LMMathRoman5-Bold]         [rm-lmbx5]
        \definefontsynonym [LMMathRoman6-Bold]         [rm-lmbx6]
        \definefontsynonym [LMMathRoman7-Bold]         [rm-lmbx7]
        \definefontsynonym [LMMathRoman8-Bold]         [rm-lmbx8]
        \definefontsynonym [LMMathRoman9-Bold]         [rm-lmbx9]
        \definefontsynonym [LMMathRoman10-Bold]        [rm-lmbx10]
        \definefontsynonym [LMMathRoman12-Bold]        [rm-lmbx12]
        \definefontsynonym [LMMathSymbols5-BoldItalic] [lmbsy5]
        \definefontsynonym [LMMathSymbols7-BoldItalic] [lmbsy7]
        \definefontsynonym [LMMathSymbols10-BoldItalic][lmbsy10]
        \definefontsynonym [LMMathSymbols5-Italic]     [lmsy5]
        \definefontsynonym [LMMathSymbols6-Italic]     [lmsy6]
        \definefontsynonym [LMMathSymbols7-Italic]     [lmsy7]
        \definefontsynonym [LMMathSymbols8-Italic]     [lmsy8]
        \definefontsynonym [LMMathSymbols9-Italic]     [lmsy9]
        \definefontsynonym [LMMathSymbols10-Italic]    [lmsy10]
        \definefontsynonym [LMMathExtension10-Regular] [lmex10]
        \definefontsynonym [LMMathItalic5-Italic]      [lmmi5]
        \definefontsynonym [LMMathItalic6-Italic]      [lmmi6]
        \definefontsynonym [LMMathItalic7-Italic]      [lmmi7]
        \definefontsynonym [LMMathItalic8-Italic]      [lmmi8]
        \definefontsynonym [LMMathItalic9-Italic]      [lmmi9]
        \definefontsynonym [LMMathItalic10-Italic]     [lmmi10]
        \definefontsynonym [LMMathItalic12-Italic]     [lmmi12]
        \definefontsynonym [LMMathItalic5-BoldItalic]  [lmmib5]
        \definefontsynonym [LMMathItalic7-BoldItalic]  [lmmib7]
        \definefontsynonym [LMMathItalic10-BoldItalic] [lmmib10]

        \loadmapfile[lm-math.map]
        \loadmapfile[lm-rm.map]
    \stoptypescript

    \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

    \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

    \starttypescript [math] [modern,computer-modern,latin-modern]
        \definefontsynonym [ComputerModernMath-Roman]     [rm-lmr10]
        \definefontsynonym [ComputerModernMath-Extension] [lmex10]
        \definefontsynonym [ComputerModernMath-Italic]    [lmmi10]
        \definefontsynonym [ComputerModernMath-Symbol]    [lmsy10]
    \stoptypescript

    \starttypescript [boldmath,bfmath] [modern,computer-modern,latin-modern]
        \definefontsynonym [ComputerModernMath-Roman-Bold]  [rm-lmb10]
        \definefontsynonym [ComputerModernMath-Extension]   [lmex10]
        \definefontsynonym [ComputerModernMath-Italic-Bold] [lmmib10]
        \definefontsynonym [ComputerModernMath-Symbol-Bold] [lmbsy10]
    \stoptypescript

    \starttypescript [modern]
        \definetypeface [modern] [rm] [serif] [modern] [computer-modern] [features=default]
        \definetypeface [modern] [ss] [sans]  [modern] [computer-modern] [features=default]
        \definetypeface [modern] [tt] [mono]  [modern] [computer-modern] [features=default]
        \definetypeface [modern] [mm] [math]  [modern] [computer-modern]
        \quittypescriptscanning
    \stoptypescript

    \starttypescript [modern-base]
        \definetypeface [modern] [rm] [serif] [modern] [default] [features=default]
        \definetypeface [modern] [ss] [sans]  [modern] [default] [features=default]
        \definetypeface [modern] [tt] [mono]  [modern] [default] [features=default]
        \definetypeface [modern] [mm] [math]  [modern] [default]
        \quittypescriptscanning
    \stoptypescript

    \starttypescript [modernvariable]
        \definetypeface [modernvariable] [rm] [serif] [simple] [default] [features=default]
        \definetypeface [modernvariable] [ss] [sans]  [modern] [default] [features=default]
        \definetypeface [modernvariable] [tt] [mono]  [modern] [default] [features=default]
        \definetypeface [modernvariable] [mm] [math]  [modern] [default]
        \quittypescriptscanning
    \stoptypescript

    \starttypescript [serif] [simple] [name] % bad, will be changed but in sycn with manuals that use it
        \definefontsynonym [Simple] [cmvtt10]
        \setupfontsynonym  [Simple] [handling=pure]
    \stoptypescript

\stoptypescriptcollection

\starttypescriptcollection[concrete]

    % Computer Concrete (AMS)

    \starttypescript [serif] [concrete]
        \definefontsynonym [ComputerConcrete]             [ccr10]
        \definefontsynonym [ComputerConcrete-Italic]      [ccti10]
        \definefontsynonym [ComputerConcrete-Slanted]     [ccsl10]
        \definefontsynonym [ComputerConcrete-Bold]        [ComputerConcrete]
        \definefontsynonym [ComputerConcrete-BoldItalic]  [ComputerConcrete-Italic]
        \definefontsynonym [ComputerConcrete-BoldSlanted] [ComputerConcrete-Slanted]
        \definefontsynonym [ComputerConcrete-Caps]        [cccsc10]
    \stoptypescript

\stoptypescriptcollection

\starttypescriptcollection[euler]

    \starttypescript [math] [euler]
        \definefontsynonym [Euler-Roman]      [zeurm10]
        \definefontsynonym [Euler-Extension]  [zeuex10]
        \definefontsynonym [Euler-Symbol]     [zeusm10]
        \definefontsynonym [Euler-Fraktur]    [eufm10]

        \loadmapfile[original-ams-euler.map]
    \stoptypescript

    \starttypescript [boldmath,bfmath] [euler]
        \definefontsynonym [Euler-Roman-Bold]     [zeurb10]
        \definefontsynonym [Euler-Extension]      [zeuex10]
        \definefontsynonym [Euler-Symbol-Bold]    [zeusb10]
        \definefontsynonym [Euler-Fraktur-Bold]   [eufb10]

        \loadmapfile[original-ams-euler.map]
    \stoptypescript

    \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

\stoptypescriptcollection

\starttypescriptcollection[amssymbols]

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

    \starttypescript [math] [modern,computer-modern,latin-modern,ams]
        \definefontsynonym [AMS-SymbolA] [msam10]
        \definefontsynonym [AMS-SymbolB] [msbm10]
    \stoptypescript

\stoptypescriptcollection

\starttypescriptcollection[texgyre]

    \definetypescriptprefix [f:pagella] [pagella]   \definetypescriptprefix [f:palatino]   [pagella]
    \definetypescriptprefix [f:termes]  [termes]    \definetypescriptprefix [f:times]      [termes]
    \definetypescriptprefix [f:heros]   [heros]     \definetypescriptprefix [f:helvetica]  [heros]
    \definetypescriptprefix [f:bonum]   [bonum]     \definetypescriptprefix [f:bookman]    [bonum]
    \definetypescriptprefix [f:schola]  [schola]    \definetypescriptprefix [f:schoolbook] [schola]
    \definetypescriptprefix [f:adventor][adventor]  %definetypescriptprefix [f:adventor]   [adventor]
    \definetypescriptprefix [f:cursor]  [cursor]    \definetypescriptprefix [f:courier]    [cursor]
    \definetypescriptprefix [f:chorus]  [chorus]    \definetypescriptprefix [f:chancery]   [chorus] % not the full set

    % \starttypescript [serif,sans,mono] [adventor,bonum,cursor,heros,pagella,palatino,schola,termes]
    % \starttypescript [serif] [pagella,palatino,termes,times,bonum,bookman,schola,schoolbook] [name]

    \starttypescript [serif,sans,mono] [adventor,bonum,bookman,cursor,courier,heros,helvetica,pagella,palatino,schola,schoolbook,termes,times]
        \definefontsynonym [\typescriptprefix{n:\typescripttwo}-Regular]         [file:texgyre\typescriptprefix{f:\typescripttwo}-regular]    [features=default]
        \definefontsynonym [\typescriptprefix{n:\typescripttwo}-Italic]          [file:texgyre\typescriptprefix{f:\typescripttwo}-italic]     [features=default]
        \definefontsynonym [\typescriptprefix{n:\typescripttwo}-Bold]            [file:texgyre\typescriptprefix{f:\typescripttwo}-bold]       [features=default]
        \definefontsynonym [\typescriptprefix{n:\typescripttwo}-BoldItalic]      [file:texgyre\typescriptprefix{f:\typescripttwo}-bolditalic] [features=default]
        \definefontsynonym [\typescriptprefix{n:\typescripttwo}-Caps]            [file:texgyre\typescriptprefix{f:\typescripttwo}-regular]    [features=smallcaps]
        \definefontsynonym [\typescriptprefix{n:\typescripttwo}-ItalicCaps]      [file:texgyre\typescriptprefix{f:\typescripttwo}-italic]     [features=smallcaps]
        \definefontsynonym [\typescriptprefix{n:\typescripttwo}-BoldCaps]        [file:texgyre\typescriptprefix{f:\typescripttwo}-bold]       [features=smallcaps]
        \definefontsynonym [\typescriptprefix{n:\typescripttwo}-BoldItalicCaps]  [file:texgyre\typescriptprefix{f:\typescripttwo}-bolditalic] [features=smallcaps]
    \stoptypescript

    \starttypescript [serif,calligraphy] [chorus,chancery]
        \definefontsynonym [TeXGyreChorus-MediumItalic] [file:texgyrechorus-mediumitalic] [features=default]
    \stoptypescript

    \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

    \starttypescript [times,termes]
        \definetypeface [\typescriptone] [rm] [serif] [\typescriptone] [default] [features=default]
        \definetypeface [\typescriptone] [ss] [sans]  [helvetica]      [default] [features=default,rscale=0.9]
        \definetypeface [\typescriptone] [tt] [mono]  [modern]         [default] [features=default,rscale=1.05]
        \definetypeface [\typescriptone] [mm] [math]  [times]          [default]
        \quittypescriptscanning
    \stoptypescript

    \starttypescript [palatino,pagella]
        \definetypeface [\typescriptone] [rm] [serif] [\typescriptone] [default] [features=default]
        \definetypeface [\typescriptone] [ss] [sans]  [modern]         [default] [features=default,rscale=1.075]
        \definetypeface [\typescriptone] [tt] [mono]  [modern]         [default] [features=default,rscale=1.075]
        \definetypeface [\typescriptone] [mm] [math]  [palatino]       [default]
        \quittypescriptscanning
    \stoptypescript

    \starttypescript [schoolbook,schola]
        \definetypeface [\typescriptone] [rm] [serif] [\typescriptone] [default] [features=default]
        \definetypeface [\typescriptone] [ss] [sans]  [modern]         [default] [features=default,rscale=1.1]
        \definetypeface [\typescriptone] [tt] [mono]  [modern]         [default] [features=default,rscale=1.1]
        \definetypeface [\typescriptone] [mm] [math]  [modern]         [default] [rscale=1.1]
        \quittypescriptscanning
    \stoptypescript

    \starttypescript [bookman,bonum]
        \definetypeface [\typescriptone] [rm] [serif] [\typescriptone] [default] [features=default]
        \definetypeface [\typescriptone] [ss] [sans]  [modern]         [default] [features=default,rscale=1.1]
        \definetypeface [\typescriptone] [tt] [mono]  [modern]         [default] [features=default,rscale=1.1]
        \definetypeface [\typescriptone] [mm] [math]  [modern]         [default] [rscale=1.1]
        \quittypescriptscanning
    \stoptypescript

    \starttypescript [chancery,chorus]
        \definetypeface [\typescriptone] [rm] [serif] [\typescriptone] [default] [features=default]
        \definetypeface [\typescriptone] [ss] [sans]  [modern]         [default] [features=default]
        \definetypeface [\typescriptone] [tt] [mono]  [modern]         [default] [features=default]
        \definetypeface [\typescriptone] [mm] [math]  [modern]         [default]
        \quittypescriptscanning
    \stoptypescript

    \starttypescript [helvetica,heros]
        \definetypeface [\typescriptone] [ss] [sans]  [\typescriptone] [default] [features=default]
        \definetypeface [\typescriptone] [rm] [serif] [modern]         [default] [features=default,rscale=1.15]
        \definetypeface [\typescriptone] [tt] [mono]  [modern]         [default] [features=default,rscale=1.15]
        \definetypeface [\typescriptone] [mm] [math]  [modern]         [default] [rscale=1.15]
        \quittypescriptscanning
    \stoptypescript

    \starttypescript [avantgarde,adventor]
        \definetypeface [\typescriptone] [ss] [sans]  [adventor] [default] [features=default]
        \definetypeface [\typescriptone] [rm] [serif] [modern]   [default] [features=default,rscale=1.15]
        \definetypeface [\typescriptone] [tt] [mono]  [modern]   [default] [features=default,rscale=1.15]
        \definetypeface [\typescriptone] [mm] [math]  [modern]   [default]
        \quittypescriptscanning
    \stoptypescript

    \starttypescript [courier,cursor]
        \definetypeface [\typescriptone] [tt] [mono]  [\typescriptone] [default] [features=default]
        \definetypeface [\typescriptone] [rm] [serif] [modern]         [default] [features=default]
        \definetypeface [\typescriptone] [ss] [sans]  [modern]         [default] [features=default]
        \definetypeface [\typescriptone] [mm] [math]  [modern]         [default]
        \quittypescriptscanning
    \stoptypescript

\stoptypescriptcollection

\starttypescriptcollection[xmath]

    \starttypescript [math] [times] [all]
        \definefontsynonym [Times-Roman-Upright]     [txr]
        \definefontsynonym [Times-Roman-Italic]      [txi]
        \definefontsynonym [Times-Roman-Slanted]     [txsl]
        \definefontsynonym [Times-Roman-Caps]        [txsc]
        \definefontsynonym [Times-Companion-Upright] [tcxr]
        \definefontsynonym [Times-Companion-Italic]  [tcxi]
        \definefontsynonym [Times-Companion-Slanted] [tcxsl]
        \definefontsynonym [Times-Math-Italic]       [txmi]
        \definefontsynonym [Times-Math-Symbols]      [txsy]
        \definefontsynonym [Times-Math-Extension]    [txex]
        \definefontsynonym [Times-Math-SymbolsA]     [txsya]
        \definefontsynonym [Times-Math-SymbolsB]     [txsyb]
        \definefontsynonym [Times-Math-SymbolsC]     [txsyc]
        \definefontsynonym [Times-Math-Italic-A]     [txmia]
        \definefontsynonym [Times-Math-Extension-A]  [txexa]

        \loadmapfile[original-youngryu-tx.map]
        \usemathcollection[default]
    \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

    \starttypescript [math] [palatino] [all]
        \definefontsynonym [Palatino-Roman-Upright]     [pxr]
        \definefontsynonym [Palatino-Roman-Italic]      [pxi]
        \definefontsynonym [Palatino-Roman-Slanted]     [pxsl]
        \definefontsynonym [Palatino-Roman-Caps]        [pxsc]
        \definefontsynonym [Palatino-Companion-Upright] [pcxr]
        \definefontsynonym [Palatino-Companion-Italic]  [pcxi]
        \definefontsynonym [Palatino-Companion-Slanted] [pcxsl]
        \definefontsynonym [Palatino-Math-Italic]       [pxmi]
        \definefontsynonym [Palatino-Math-Symbols]      [pxsy]
        \definefontsynonym [Palatino-Math-Extension]    [pxex]
        \definefontsynonym [Palatino-Math-SymbolsA]     [pxsya]
        \definefontsynonym [Palatino-Math-SymbolsB]     [pxsyb]
        \definefontsynonym [Palatino-Math-SymbolsC]     [pxsyc]
        \definefontsynonym [Palatino-Math-Italic-A]     [pxmia]
        \definefontsynonym [Palatino-Math-Extension-A]  [pxexa]

        \loadmapfile[original-youngryu-px.map]
        \usemathcollection[default]
    \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

\stoptypescriptcollection

\starttypescriptcollection[antykwa]

    % Antykwa Torunska (GUST)

    \starttypescript [serif] [antykwa-torunska,antykwa-torunska-light,antykwa-torunska-cond,antykwa-torunska-lightcond]
        \definefontsynonym [AntykwaTorunska-Regular]           [file:AntykwaTorunska-Regular]          [features=default]
        \definefontsynonym [AntykwaTorunska-Italic]            [file:AntykwaTorunska-Italic]           [features=default]
        \definefontsynonym [AntykwaTorunska-Bold]              [file:AntykwaTorunska-Bold]             [features=default]
        \definefontsynonym [AntykwaTorunska-BoldItalic]        [file:AntykwaTorunska-BoldItalic]       [features=default]
        \definefontsynonym [AntykwaTorunska-Light]             [file:AntykwaTorunskaLight-Regular]     [features=default]
        \definefontsynonym [AntykwaTorunska-LightItalic]       [file:AntykwaTorunskaLight-Italic]      [features=default]
        \definefontsynonym [AntykwaTorunska-Medium]            [file:AntykwaTorunskaMed-Regular]       [features=default]
        \definefontsynonym [AntykwaTorunska-MedItalic]         [file:AntykwaTorunskaMed-Italic]        [features=default]
        \definefontsynonym [AntykwaTorunska-CondRegular]       [file:AntykwaTorunskaCond-Regular]      [features=default]
        \definefontsynonym [AntykwaTorunska-CondItalic]        [file:AntykwaTorunskaCond-Italic]       [features=default]
        \definefontsynonym [AntykwaTorunska-CondBold]          [file:AntykwaTorunskaCond-Bold]         [features=default]
        \definefontsynonym [AntykwaTorunska-CondBoldItalic]    [file:AntykwaTorunskaCond-BoldItalic]   [features=default]
        \definefontsynonym [AntykwaTorunska-CondLight]         [file:AntykwaTorunskaCondLight-Regular] [features=default]
        \definefontsynonym [AntykwaTorunska-CondLightItalic]   [file:AntykwaTorunskaCondLight-Italic]  [features=default]
        \definefontsynonym [AntykwaTorunska-CondMedium]        [file:AntykwaTorunskaCondMed-Regular]   [features=default]
        \definefontsynonym [AntykwaTorunska-CondMedItalic]     [file:AntykwaTorunskaCondMed-Italic]    [features=default]

        \definefontsynonym [AntykwaTorunska-Cap]               [file:AntykwaTorunska-Regular]          [features=smallcaps]
        \definefontsynonym [AntykwaTorunska-ItalicCap]         [file:AntykwaTorunska-Italic]           [features=smallcaps]
        \definefontsynonym [AntykwaTorunska-BoldCap]           [file:AntykwaTorunska-Bold]             [features=smallcaps]
        \definefontsynonym [AntykwaTorunska-BoldItalicCap]     [file:AntykwaTorunska-BoldItalic]       [features=smallcaps]
        \definefontsynonym [AntykwaTorunska-LightCap]          [file:AntykwaTorunskaLight-Regular]     [features=smallcaps]
        \definefontsynonym [AntykwaTorunska-LightItalicCap]    [file:AntykwaTorunskaLight-Italic]      [features=smallcaps]
        \definefontsynonym [AntykwaTorunska-MediumCap]         [file:AntykwaTorunskaMed-Regular]       [features=smallcaps]
        \definefontsynonym [AntykwaTorunska-MedItalicCap]      [file:AntykwaTorunskaMed-Italic]        [features=smallcaps]
        \definefontsynonym [AntykwaTorunska-CondCap]           [file:AntykwaTorunskaCond-Regular]      [features=smallcaps]
        \definefontsynonym [AntykwaTorunska-CondItalicCap]     [file:AntykwaTorunskaCond-Italic]       [features=smallcaps]
        \definefontsynonym [AntykwaTorunska-CondBoldCap]       [file:AntykwaTorunskaCond-Bold]         [features=smallcaps]
        \definefontsynonym [AntykwaTorunska-CondBoldItalicCap] [file:AntykwaTorunskaCond-BoldItalic]   [features=smallcaps]
        \definefontsynonym [AntykwaTorunska-CondLightCap]      [file:AntykwaTorunskaCondLight-Regular] [features=smallcaps]
        \definefontsynonym [AntykwaTorunska-CondLightItalicCap][file:AntykwaTorunskaCondLight-Italic]  [features=smallcaps]
        \definefontsynonym [AntykwaTorunska-CondMediumCap]     [file:AntykwaTorunskaCondMed-Regular]   [features=smallcaps]
        \definefontsynonym [AntykwaTorunska-CondMedItalicCap]  [file:AntykwaTorunskaCondMed-Italic]    [features=smallcaps]
    \stoptypescript

    \starttypescript [math] [antykwa-torunska] [default]
        \definefontsynonym [AntykwaTorunska-Math-Letters-Regular]       [rm-anttr]
        \definefontsynonym [AntykwaTorunska-Math-Letters-Italic]        [mi-anttri]
        \definefontsynonym [AntykwaTorunska-Math-Symbols-Regular]       [sy-anttrz]
        \definefontsynonym [AntykwaTorunska-Math-Extension-Regular]     [ex-anttr]
    \stoptypescript

    \starttypescript [math] [antykwa-torunska-light] [default]
        \definefontsynonym [AntykwaTorunska-Math-Letters-Light]       [rm-anttl]
        \definefontsynonym [AntykwaTorunska-Math-Letters-LightItalic] [mi-anttli]
        \definefontsynonym [AntykwaTorunska-Math-Symbols-Light]       [sy-anttlz]
        \definefontsynonym [AntykwaTorunska-Math-Extension-Light]     [ex-anttl]
    \stoptypescript

    \starttypescript [math] [antykwa-torunska-cond] [default]
        \definefontsynonym [AntykwaTorunska-Math-Letters-CondRegular]       [rm-anttcr]
        \definefontsynonym [AntykwaTorunska-Math-Letters-CondItalic]        [mi-anttcri]
        \definefontsynonym [AntykwaTorunska-Math-Symbols-CondRegular]       [sy-anttcrz]
        \definefontsynonym [AntykwaTorunska-Math-Extension-CondRegular]     [ex-anttcr]
    \stoptypescript

    \starttypescript [math] [antykwa-torunska-lightcond] [default]
        \definefontsynonym [AntykwaTorunska-Math-Letters-CondLight]       [rm-anttcl]
        \definefontsynonym [AntykwaTorunska-Math-Letters-CondLightItalic] [mi-anttcli]
        \definefontsynonym [AntykwaTorunska-Math-Symbols-CondLight]       [sy-anttclz]
        \definefontsynonym [AntykwaTorunska-Math-Extension-CondLight]     [ex-anttcl]
    \stoptypescript

    \starttypescript [math] [antykwa-torunska,antykwa-torunska-light,antykwa-torunska-cond,antykwa-torunska-lightcond]
        \usemathcollection[default]
        \loadmapfile[antt-rm.map]
        \loadmapfile[antt-mi.map]
        \loadmapfile[antt-sy.map]
        \loadmapfile[antt-ex.map]
    \stoptypescript

    \starttypescript [antykwa-torunska,antykwa-torunska-light,antykwa-torunska-cond,antykwa-torunska-lightcond]
        \definetypeface[antykwa][rm][serif][\typescriptone] [default] [features=default]
        \definetypeface[antykwa][ss][sans] [modern]         [default] [features=default,rscale=1.05]
        \definetypeface[antykwa][tt][mono] [modern]         [default] [features=default,rscale=1.05]
        \definetypeface[antykwa][mm][math] [\typescriptone] [default]
        \quittypescriptscanning
    \stoptypescript

    \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 (GUST)

    % \starttypescript [serif] [antykwa-poltawskiego]
    %     \definefontsynonym [AntykwaPoltawskiego-Regular]    [antpr]
    %     \definefontsynonym [AntykwaPoltawskiego-Bold]       [antpb]
    %     \definefontsynonym [AntykwaPoltawskiego-Italic]     [antpri]
    %     \definefontsynonym [AntykwaPoltawskiego-BoldItalic] [antpbi]
    % \stoptypescript

    % \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

    % names of "Caps" may still change
    \starttypescript [serif] [antykwa-poltawskiego,antykwa-poltawskiego-light]
        \definefontsynonym [AntykwaPoltawskiego-Condensed-Light]                [\s!file:antpoltltcond-regular]        [\s!features=\s!default]
        \definefontsynonym [AntykwaPoltawskiego-Condensed-LightItalic]          [\s!file:antpoltltcond-italic]         [\s!features=\s!default]
        \definefontsynonym [AntykwaPoltawskiego-Condensed-Regular]              [\s!file:antpoltcond-regular]          [\s!features=\s!default]
        \definefontsynonym [AntykwaPoltawskiego-Condensed-Italic]               [\s!file:antpoltcond-italic]           [\s!features=\s!default]
        \definefontsynonym [AntykwaPoltawskiego-Condensed-Medium]               [\s!file:antpoltltcond-bold]           [\s!features=\s!default]
        \definefontsynonym [AntykwaPoltawskiego-Condensed-MediumItalic]         [\s!file:antpoltltcond-bolditalic]     [\s!features=\s!default]
        \definefontsynonym [AntykwaPoltawskiego-Condensed-Bold]                 [\s!file:antpoltcond-bold]             [\s!features=\s!default]
        \definefontsynonym [AntykwaPoltawskiego-Condensed-BoldItalic]           [\s!file:antpoltcond-bolditalic]       [\s!features=\s!default]

        \definefontsynonym [AntykwaPoltawskiego-Condensed-CapsLight]            [\s!file:antpoltltcond-regular]        [\s!features=\s!smallcaps]
        \definefontsynonym [AntykwaPoltawskiego-Condensed-CapsLightItalic]      [\s!file:antpoltltcond-italic]         [\s!features=\s!smallcaps]
        \definefontsynonym [AntykwaPoltawskiego-Condensed-CapsRegular]          [\s!file:antpoltcond-regular]          [\s!features=\s!smallcaps]
        \definefontsynonym [AntykwaPoltawskiego-Condensed-CapsItalic]           [\s!file:antpoltcond-italic]           [\s!features=\s!smallcaps]
        \definefontsynonym [AntykwaPoltawskiego-Condensed-CapsMedium]           [\s!file:antpoltltcond-bold]           [\s!features=\s!smallcaps]
        \definefontsynonym [AntykwaPoltawskiego-Condensed-CapsMediumItalic]     [\s!file:antpoltltcond-bolditalic]     [\s!features=\s!smallcaps]
        \definefontsynonym [AntykwaPoltawskiego-Condensed-CapsBold]             [\s!file:antpoltcond-bold]             [\s!features=\s!smallcaps]
        \definefontsynonym [AntykwaPoltawskiego-Condensed-CapsBoldItalic]       [\s!file:antpoltcond-bolditalic]       [\s!features=\s!smallcaps]

        \definefontsynonym [AntykwaPoltawskiego-SemiCondensed-Light]            [\s!file:antpoltltsemicond-regular]    [\s!features=\s!default]
        \definefontsynonym [AntykwaPoltawskiego-SemiCondensed-LightItalic]      [\s!file:antpoltltsemicond-italic]     [\s!features=\s!default]
        \definefontsynonym [AntykwaPoltawskiego-SemiCondensed-Regular]          [\s!file:antpoltsemicond-regular]      [\s!features=\s!default]
        \definefontsynonym [AntykwaPoltawskiego-SemiCondensed-Italic]           [\s!file:antpoltsemicond-italic]       [\s!features=\s!default]
        \definefontsynonym [AntykwaPoltawskiego-SemiCondensed-Medium]           [\s!file:antpoltltsemicond-bold]       [\s!features=\s!default]
        \definefontsynonym [AntykwaPoltawskiego-SemiCondensed-MediumItalic]     [\s!file:antpoltltsemicond-bolditalic] [\s!features=\s!default]
        \definefontsynonym [AntykwaPoltawskiego-SemiCondensed-Bold]             [\s!file:antpoltsemicond-bold]         [\s!features=\s!default]
        \definefontsynonym [AntykwaPoltawskiego-SemiCondensed-BoldItalic]       [\s!file:antpoltsemicond-bolditalic]   [\s!features=\s!default]

        \definefontsynonym [AntykwaPoltawskiego-SemiCondensed-CapsLight]        [\s!file:antpoltltsemicond-regular]    [\s!features=\s!smallcaps]
        \definefontsynonym [AntykwaPoltawskiego-SemiCondensed-CapsLightItalic]  [\s!file:antpoltltsemicond-italic]     [\s!features=\s!smallcaps]
        \definefontsynonym [AntykwaPoltawskiego-SemiCondensed-CapsRegular]      [\s!file:antpoltsemicond-regular]      [\s!features=\s!smallcaps]
        \definefontsynonym [AntykwaPoltawskiego-SemiCondensed-CapsItalic]       [\s!file:antpoltsemicond-italic]       [\s!features=\s!smallcaps]
        \definefontsynonym [AntykwaPoltawskiego-SemiCondensed-CapsMedium]       [\s!file:antpoltltsemicond-bold]       [\s!features=\s!smallcaps]
        \definefontsynonym [AntykwaPoltawskiego-SemiCondensed-CapsMediumItalic] [\s!file:antpoltltsemicond-bolditalic] [\s!features=\s!smallcaps]
        \definefontsynonym [AntykwaPoltawskiego-SemiCondensed-CapsBold]         [\s!file:antpoltsemicond-bold]         [\s!features=\s!smallcaps]
        \definefontsynonym [AntykwaPoltawskiego-SemiCondensed-CapsBoldItalic]   [\s!file:antpoltsemicond-bolditalic]   [\s!features=\s!smallcaps]

        \definefontsynonym [AntykwaPoltawskiego-Light]                          [\s!file:antpoltlt-regular]            [\s!features=\s!default]
        \definefontsynonym [AntykwaPoltawskiego-LightItalic]                    [\s!file:antpoltlt-italic]             [\s!features=\s!default]
        \definefontsynonym [AntykwaPoltawskiego-Regular]                        [\s!file:antpolt-regular]              [\s!features=\s!default]
        \definefontsynonym [AntykwaPoltawskiego-Italic]                         [\s!file:antpolt-italic]               [\s!features=\s!default]
        \definefontsynonym [AntykwaPoltawskiego-Medium]                         [\s!file:antpoltlt-bold]               [\s!features=\s!default]
        \definefontsynonym [AntykwaPoltawskiego-MediumItalic]                   [\s!file:antpoltlt-bolditalic]         [\s!features=\s!default]
        \definefontsynonym [AntykwaPoltawskiego-Bold]                           [\s!file:antpolt-bold]                 [\s!features=\s!default]
        \definefontsynonym [AntykwaPoltawskiego-BoldItalic]                     [\s!file:antpolt-bolditalic]           [\s!features=\s!default]

        \definefontsynonym [AntykwaPoltawskiego-CapsLight]                      [\s!file:antpoltcond-regular]          [\s!features=\s!smallcaps]
        \definefontsynonym [AntykwaPoltawskiego-CapsLightItalic]                [\s!file:antpoltcond-italic]           [\s!features=\s!smallcaps]
        \definefontsynonym [AntykwaPoltawskiego-CapsRegular]                    [\s!file:antpolt-regular]              [\s!features=\s!smallcaps]
        \definefontsynonym [AntykwaPoltawskiego-CapsItalic]                     [\s!file:antpolt-italic]               [\s!features=\s!smallcaps]
        \definefontsynonym [AntykwaPoltawskiego-CapsMedium]                     [\s!file:antpoltcond-bold]             [\s!features=\s!smallcaps]
        \definefontsynonym [AntykwaPoltawskiego-CapsMediumItalic]               [\s!file:antpoltcond-bolditalic]       [\s!features=\s!smallcaps]
        \definefontsynonym [AntykwaPoltawskiego-CapsBold]                       [\s!file:antpolt-bold]                 [\s!features=\s!smallcaps]
        \definefontsynonym [AntykwaPoltawskiego-CapsBoldItalic]                 [\s!file:antpolt-bolditalic]           [\s!features=\s!smallcaps]

        \definefontsynonym [AntykwaPoltawskiego-SemiExpanded-Light]             [\s!file:antpoltltsemiexpd-regular]    [\s!features=\s!default]
        \definefontsynonym [AntykwaPoltawskiego-SemiExpanded-LightItalic]       [\s!file:antpoltltsemiexpd-italic]     [\s!features=\s!default]
        \definefontsynonym [AntykwaPoltawskiego-SemiExpanded-Regular]           [\s!file:antpoltsemiexpd-regular]      [\s!features=\s!default]
        \definefontsynonym [AntykwaPoltawskiego-SemiExpanded-Italic]            [\s!file:antpoltsemiexpd-italic]       [\s!features=\s!default]
        \definefontsynonym [AntykwaPoltawskiego-SemiExpanded-Medium]            [\s!file:antpoltltsemiexpd-bold]       [\s!features=\s!default]
        \definefontsynonym [AntykwaPoltawskiego-SemiExpanded-MediumItalic]      [\s!file:antpoltltsemiexpd-bolditalic] [\s!features=\s!default]
        \definefontsynonym [AntykwaPoltawskiego-SemiExpanded-Bold]              [\s!file:antpoltsemiexpd-bold]         [\s!features=\s!default]
        \definefontsynonym [AntykwaPoltawskiego-SemiExpanded-BoldItalic]        [\s!file:antpoltsemiexpd-bolditalic]   [\s!features=\s!default]

        \definefontsynonym [AntykwaPoltawskiego-SemiExpanded-CapsLight]         [\s!file:antpoltltsemiexpd-regular]    [\s!features=\s!smallcaps]
        \definefontsynonym [AntykwaPoltawskiego-SemiExpanded-CapsLightItalic]   [\s!file:antpoltltsemiexpd-italic]     [\s!features=\s!smallcaps]
        \definefontsynonym [AntykwaPoltawskiego-SemiExpanded-CapsRegular]       [\s!file:antpoltsemiexpd-regular]      [\s!features=\s!smallcaps]
        \definefontsynonym [AntykwaPoltawskiego-SemiExpanded-CapsItalic]        [\s!file:antpoltsemiexpd-italic]       [\s!features=\s!smallcaps]
        \definefontsynonym [AntykwaPoltawskiego-SemiExpanded-CapsMedium]        [\s!file:antpoltltsemiexpd-bold]       [\s!features=\s!smallcaps]
        \definefontsynonym [AntykwaPoltawskiego-SemiExpanded-CapsMediumItalic]  [\s!file:antpoltltsemiexpd-bolditalic] [\s!features=\s!smallcaps]
        \definefontsynonym [AntykwaPoltawskiego-SemiExpanded-CapsBold]          [\s!file:antpoltsemiexpd-bold]         [\s!features=\s!smallcaps]
        \definefontsynonym [AntykwaPoltawskiego-SemiExpanded-CapsBoldItalic]    [\s!file:antpoltsemiexpd-bolditalic]   [\s!features=\s!smallcaps]

        \definefontsynonym [AntykwaPoltawskiego-Expanded-Light]                 [\s!file:antpoltltexpd-regular]        [\s!features=\s!default]
        \definefontsynonym [AntykwaPoltawskiego-Expanded-LightItalic]           [\s!file:antpoltltexpd-italic]         [\s!features=\s!default]
        \definefontsynonym [AntykwaPoltawskiego-Expanded-Regular]               [\s!file:antpoltexpd-regular]          [\s!features=\s!default]
        \definefontsynonym [AntykwaPoltawskiego-Expanded-Italic]                [\s!file:antpoltexpd-italic]           [\s!features=\s!default]
        \definefontsynonym [AntykwaPoltawskiego-Expanded-Medium]                [\s!file:antpoltltexpd-bold]           [\s!features=\s!default]
        \definefontsynonym [AntykwaPoltawskiego-Expanded-MediumItalic]          [\s!file:antpoltltexpd-bolditalic]     [\s!features=\s!default]
        \definefontsynonym [AntykwaPoltawskiego-Expanded-Bold]                  [\s!file:antpoltexpd-bold]             [\s!features=\s!default]
        \definefontsynonym [AntykwaPoltawskiego-Expanded-BoldItalic]            [\s!file:antpoltexpd-bolditalic]       [\s!features=\s!default]

        \definefontsynonym [AntykwaPoltawskiego-Expanded-CapsLight]             [\s!file:antpoltltexpd-regular]        [\s!features=\s!smallcaps]
        \definefontsynonym [AntykwaPoltawskiego-Expanded-CapsLightItalic]       [\s!file:antpoltltexpd-italic]         [\s!features=\s!smallcaps]
        \definefontsynonym [AntykwaPoltawskiego-Expanded-CapsRegular]           [\s!file:antpoltexpd-regular]          [\s!features=\s!smallcaps]
        \definefontsynonym [AntykwaPoltawskiego-Expanded-CapsItalic]            [\s!file:antpoltexpd-italic]           [\s!features=\s!smallcaps]
        \definefontsynonym [AntykwaPoltawskiego-Expanded-CapsMedium]            [\s!file:antpoltltexpd-bold]           [\s!features=\s!smallcaps]
        \definefontsynonym [AntykwaPoltawskiego-Expanded-CapsMediumItalic]      [\s!file:antpoltltexpd-bolditalic]     [\s!features=\s!smallcaps]
        \definefontsynonym [AntykwaPoltawskiego-Expanded-CapsBold]              [\s!file:antpoltexpd-bold]             [\s!features=\s!smallcaps]
        \definefontsynonym [AntykwaPoltawskiego-Expanded-CapsBoldItalic]        [\s!file:antpoltexpd-bolditalic]       [\s!features=\s!smallcaps]
    \stoptypescript

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

    \starttypescript [serif] [antykwa-poltawskiego-light] [name]
        \definefontsynonym [Serif]            [AntykwaPoltawskiego-Light]
        \definefontsynonym [SerifBold]        [AntykwaPoltawskiego-Medium]
        \definefontsynonym [SerifItalic]      [AntykwaPoltawskiego-LightItalic]
        \definefontsynonym [SerifSlanted]     [AntykwaPoltawskiego-LightItalic]
        \definefontsynonym [SerifBoldItalic]  [AntykwaPoltawskiego-MediumItalic]
        \definefontsynonym [SerifBoldSlanted] [AntykwaPoltawskiego-MediumItalic]
        \definefontsynonym [SerifCaps]        [AntykwaPoltawskiego-CapsLight]
    \stoptypescript

    % condensed and extended variants are still missing

    \starttypescript [antykwa-poltawskiego,antykwa-poltawskiego-light]
        \definetypeface [\typescriptone] [rm] [serif] [\typescriptone] [default] [features=default]
        \definetypeface [\typescriptone] [ss] [sans]  [modern]         [default] [features=default,rscale=1.05]
        \definetypeface [\typescriptone] [tt] [mono]  [modern]         [default] [features=default,rscale=1.05]
        \definetypeface [\typescriptone] [mm] [math]  [modern]         [default] [rscale=1.05]
        \quittypescriptscanning
    \stoptypescript

\stoptypescriptcollection

\starttypescriptcollection[iwona]

    % maybe this will change in Iwona-Math-Letters and Iwona-Math-Letters-Italic

    % These names are a depressing mess. They have changed over time and are
    % still not consistent. I'd expect Bold-Regular and Bold-Italic.

    \starttypescript [sans] [iwona-light,iwona,iwona-medium,iwona-heavy,iwona-light-cond,iwona-cond,iwona-medium-cond,iwona-heavy-cond]

        \definefontsynonym [Iwona-Regular]               [file:Iwona-Regular]                [features=default]
        \definefontsynonym [Iwona-Italic]                [file:Iwona-Italic]                 [features=default]
        \definefontsynonym [Iwona-Bold]                  [file:Iwona-Bold]                   [features=default]
        \definefontsynonym [Iwona-BoldItalic]            [file:Iwona-BoldItalic]             [features=default]
        \definefontsynonym [Iwona-Light-Regular]         [file:IwonaLight-Regular]           [features=default]
        \definefontsynonym [Iwona-Light-Italic]          [file:IwonaLight-Italic]            [features=default]
        \definefontsynonym [Iwona-Medium-Regular]        [file:IwonaMedium-Regular]          [features=default]
        \definefontsynonym [Iwona-Medium-Italic]         [file:IwonaMedium-Italic]           [features=default]
        \definefontsynonym [Iwona-Heavy-Regular]         [file:IwonaHeavy-Regular]           [features=default]
        \definefontsynonym [Iwona-Heavy-Italic]          [file:IwonaHeavy-Italic]            [features=default]

        \definefontsynonym [Iwona-CapsRegular]           [file:Iwona-Regular]                [features=smallcaps]
        \definefontsynonym [Iwona-CapsItalic]            [file:Iwona-Italic]                 [features=smallcaps]
        \definefontsynonym [Iwona-CapsBold]              [file:Iwona-Bold]                   [features=smallcaps]
        \definefontsynonym [Iwona-CapsBoldItalic]        [file:Iwona-BoldItalic]             [features=smallcaps]
        \definefontsynonym [Iwona-CapsLight]             [file:IwonaLight-Regular]           [features=smallcaps]
        \definefontsynonym [Iwona-CapsLight-Italic]      [file:IwonaLight-Italic]            [features=smallcaps]
        \definefontsynonym [Iwona-CapsMedium]            [file:IwonaMedium-Regular]          [features=smallcaps]
        \definefontsynonym [Iwona-CapsMedium-Italic]     [file:IwonaMedium-Italic]           [features=smallcaps]
        \definefontsynonym [Iwona-CapsHeavy]             [file:IwonaHeavy-Regular]           [features=smallcaps]
        \definefontsynonym [Iwona-CapsHeavy-Italic]      [file:IwonaHeavy-Italic]            [features=smallcaps]

        \definefontsynonym [Iwona-CondRegular]           [file:IwonaCond-Regular]            [features=default]
        \definefontsynonym [Iwona-CondItalic]            [file:IwonaCond-Italic]             [features=default]
        \definefontsynonym [Iwona-CondBold]              [file:IwonaCond-Bold]               [features=default]
        \definefontsynonym [Iwona-CondBoldItalic]        [file:IwonaCond-BoldItalic]         [features=default]
        \definefontsynonym [Iwona-CondLight-Regular]     [file:IwonaCondLight-Regular]       [features=default]
        \definefontsynonym [Iwona-CondLight-Italic]      [file:IwonaCondLight-Italic]        [features=default]
        \definefontsynonym [Iwona-CondMedium-Regular]    [file:IwonaCondMedium-Regular]      [features=default]
        \definefontsynonym [Iwona-CondMedium-Italic]     [file:IwonaCondMedium-Italic]       [features=default]
        \definefontsynonym [Iwona-CondHeavy-Regular]     [file:IwonaCondHeavy-Regular]       [features=default]
        \definefontsynonym [Iwona-CondHeavy-Italic]      [file:IwonaCondHeavy-Italic]        [features=default]

        \definefontsynonym [Iwona-CapsCondRegular]       [file:IwonaCond-Regular]            [features=smallcaps]
        \definefontsynonym [Iwona-CapsCondItalic]        [file:IwonaCond-Italic]             [features=smallcaps]
        \definefontsynonym [Iwona-CapsCondBold]          [file:IwonaCond-Bold]               [features=smallcaps]
        \definefontsynonym [Iwona-CapsCondBoldItalic]    [file:IwonaCond-BoldItalic]         [features=smallcaps]
        \definefontsynonym [Iwona-CapsCondLight-Regular] [file:IwonaCondLight-Regular]       [features=smallcaps]
        \definefontsynonym [Iwona-CapsCondLight-Italic]  [file:IwonaCondLight-Italic]        [features=smallcaps]
        \definefontsynonym [Iwona-CapsCondMedium-Regular][file:IwonaCondMedium-Regular]      [features=smallcaps]
        \definefontsynonym [Iwona-CapsCondMedium-Italic] [file:IwonaCondMedium-Italic]       [features=smallcaps]
        \definefontsynonym [Iwona-CapsCondHeavy-Regular] [file:IwonaCondHeavy-Regular]       [features=smallcaps]
        \definefontsynonym [Iwona-CapsCondHeavy-Italic]  [file:IwonaCondHeavy-Italic]        [features=smallcaps]

    \stoptypescript

    \starttypescript [math] [iwona] [default]
        \definefontsynonym [Iwona-Math-Letters-Regular]       [rm-iwonar]
        \definefontsynonym [Iwona-Math-Letters-Italic]        [mi-iwonari]
        \definefontsynonym [Iwona-Math-Symbols-Regular]       [sy-iwonarz]
        \definefontsynonym [Iwona-Math-Extension-Regular]     [ex-iwonar]
    \stoptypescript

    \starttypescript [math] [iwona-light] [default]
        \definefontsynonym [Iwona-Math-Letters-Light-Regular] [rm-iwonal]
        \definefontsynonym [Iwona-Math-Letters-Light-Italic]  [mi-iwonali]
        \definefontsynonym [Iwona-Math-Symbols-Light]         [sy-iwonalz]
        \definefontsynonym [Iwona-Math-Extension-Light]       [ex-iwonal]
    \stoptypescript

    \starttypescript [math] [iwona-medium] [default]
        \definefontsynonym [Iwona-Math-Letters-Medium-Regular][rm-iwonam]
        \definefontsynonym [Iwona-Math-Letters-Medium-Italic] [mi-iwonami]
        \definefontsynonym [Iwona-Math-Symbols-Medium]        [sy-iwonamz]
        \definefontsynonym [Iwona-Math-Extension-Medium]      [ex-iwonam]
    \stoptypescript

    \starttypescript [math] [iwona-heavy] [default]
        \definefontsynonym [Iwona-Math-Letters-Heavy-Regular] [rm-iwonah]
        \definefontsynonym [Iwona-Math-Letters-Heavy-Italic]  [mi-iwonahi]
        \definefontsynonym [Iwona-Math-Symbols-Heavy]         [sy-iwonahz]
        \definefontsynonym [Iwona-Math-Extension-Heavy]       [ex-iwonah]
    \stoptypescript

    \starttypescript [math] [iwona,iwona-light,iwona-medium,iwona-heavy] [default]
        \usemathcollection[default]
        \loadmapfile[iwona-rm.map]
        \loadmapfile[iwona-mi.map]
        \loadmapfile[iwona-sy.map]
        \loadmapfile[iwona-ex.map]
    \stoptypescript

    \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-Regular]
        \definefontsynonym [SansItalicCaps]     [Iwona-CapsLight-Italic]
        \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

    \starttypescript [iwona,iwona-light,iwona-heavy,iwona-medium]
        \definetypeface[\typescriptone][ss][sans] [\typescriptone] [default] [features=default]
        \definetypeface[\typescriptone][rm][serif][modern]         [default] [features=default]
        \definetypeface[\typescriptone][tt][mono] [modern]         [default] [features=default]
        \definetypeface[\typescriptone][mm][math] [\typescriptone] [default] [features=default,text=ss]
        \quittypescriptscanning
    \stoptypescript

\stoptypescriptcollection

\starttypescriptcollection[kurier]

    \starttypescript [sans] [kurier-light,kurier,kurier-medium]
        \definefontsynonym[Kurier-Light]         [kurierl]
        \definefontsynonym[Kurier-Regular]       [kurierr]
        \definefontsynonym[Kurier-Medium]        [kurierm]
        \definefontsynonym[Kurier-Bold]          [kurierb]
        \definefontsynonym[Kurier-Heavy]         [kurierh]
        \definefontsynonym[Kurier-LightItalic]   [kurierli]
        \definefontsynonym[Kurier-Italic]        [kurierri]
        \definefontsynonym[Kurier-MediumItalic]  [kuriermi]
        \definefontsynonym[Kurier-BoldItalic]    [kurierbi]
        \definefontsynonym[Kurier-HeavyItalic]   [kurierhi]
    \stoptypescript

    \starttypescript [math] [kurier] [default]
        \definefontsynonym [Kurier-Math-Letters-Regular]       [rm-kurierr]
        \definefontsynonym [Kurier-Math-Letters-Italic]        [mi-kurierri]
        \definefontsynonym [Kurier-Math-Symbols-Regular]       [sy-kurierrz]
        \definefontsynonym [Kurier-Math-Extension-Regular]     [ex-kurierr]
    \stoptypescript

    \starttypescript [math] [kurier-light] [default]
        \definefontsynonym [Kurier-Math-Letters-Light-Regular] [rm-kurierl]
        \definefontsynonym [Kurier-Math-Letters-Light-Italic]  [mi-kurierli]
        \definefontsynonym [Kurier-Math-Symbols-Light]         [sy-kurierlz]
        \definefontsynonym [Kurier-Math-Extension-Light]       [ex-kurierl]
    \stoptypescript

    \starttypescript [math] [kurier-medium] [default]
        \definefontsynonym [Kurier-Math-Letters-Medium-Regular] [rm-kurierm]
        \definefontsynonym [Kurier-Math-Letters-Medium-Italic]  [mi-kuriermi]
        \definefontsynonym [Kurier-Math-Symbols-Medium-Regular] [sy-kuriermz]
        \definefontsynonym [Kurier-Math-Extension-Medium]       [ex-kurierm]
    \stoptypescript

    \starttypescript [math] [kurier,kurier-light,kurier-medium] [default]
        \loadmapfile[kurier-rm.map]
        \loadmapfile[kurier-mi.map]
        \loadmapfile[kurier-sy.map]
        \loadmapfile[kurier-ex.map]
    \stoptypescript

    \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

\stoptypescriptcollection

\starttypescriptcollection[symbols]

    \starttypescript
        \definefontsynonym [ZapfDingbats]          [uzdr]
        \definefontsynonym [RalfSmithFormalScript] [rsfs10]
        \definefontsynonym [MartinVogel]           [umvs]
    \stoptypescript

\stoptypescriptcollection

\starttypescriptcollection[charter]

    % is this ok?

    \starttypescript [serif] [charter]
        \definefontsynonym [Charter-Roman]       [name:CharterBT-Roman]        % or: [bchr8a]
        \definefontsynonym [Charter-Italic]      [name:CharterBT-Italic]       % or: [bchri8a]
        \definefontsynonym [Charter-Bold]        [name:CharterBT-Bold]         % or: [bchb8a]
        \definefontsynonym [Charter-BoldItalic]  [name:CharterBT-BoldItalic]   % or: [bchbi8a]
        \definefontsynonym [Charter-Slanted]     [name:CharterBT-Italic]       % or: [bchri8a]
        \definefontsynonym [Charter-BoldSlanted] [name:CharterBT-BoldItalic]   % or: [bchbi8a]
        \definefontsynonym [Charter-Roman-Caps]  [Charter-Roman]               % not present
    \stoptypescript

\stoptypescriptcollection

\starttypescriptcollection[postscript]

    \starttypescript [postscript]
        \definetypeface [postscript] [rm] [serif] [times]     [default] [features=default]
        \definetypeface [postscript] [ss] [sans]  [helvetica] [default] [features=default,rscale=0.9]
        \definetypeface [postscript] [tt] [mono]  [courier]   [default] [features=default,rscale=1.1]
        \definetypeface [postscript] [mm] [math]  [times]     [default]
        \quittypescriptscanning
    \stoptypescript

\stoptypescriptcollection

\endinput
