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

% texfont --ven=public --col=antt     --enc=ec --sou=auto
% texfont --ven=public --col=antp     --enc=ec --sou=auto
% texfont --ven=urw    --col=palatino --enc=ec --sou=auto
% texfont --ven-lucas  --col=sun      --enc=ec --sou=.

% \usetypescript [all] [modern] [texnansi]
% \setupbodyfont[reset] \setupbodyfont[cmr]
% \starttext \showfont[Serif] \stoptext

% done: in type-dis.tex we remap the missing encoding-lm* files onto old metrics
% todo: we should consider handling qx in the same maner, remap qx-* in type-dis.tex
% todo: cyr fonts should be handled in the same way: t2b-lmr10 -> lbrm1000

\starttypescriptcollection[encodings]

\starttypescript[all][modern,latin-modern][all]

  % fallbacks, no math in latin modern

  \definefontsynonym[lmbsy10] [cmbsy10]
  \definefontsynonym[lmbsy5]  [cmbsy5]
  \definefontsynonym[lmbsy6]  [cmbsy7]
  \definefontsynonym[lmbsy7]  [cmbsy7]
  \definefontsynonym[lmbsy8]  [cmbsy7]
  \definefontsynonym[lmbsy9]  [cmbsy10]
  \definefontsynonym[lmdunh10][cmdunh10]
  \definefontsynonym[lmex10]  [cmex10]
  \definefontsynonym[lmex7]   [cmex10]
  \definefontsynonym[lmex8]   [cmex10]
  \definefontsynonym[lmex9]   [cmex10]
  \definefontsynonym[lmff10]  [cmff10]
  \definefontsynonym[lmfi10]  [cmfi10]
  \definefontsynonym[lmfib8]  [cmfib8]
  \definefontsynonym[lmmi10]  [cmmi10]
  \definefontsynonym[lmmi12]  [cmmi12]
  \definefontsynonym[lmmi5]   [cmmi5]
  \definefontsynonym[lmmi6]   [cmmi6]
  \definefontsynonym[lmmi7]   [cmmi7]
  \definefontsynonym[lmmi8]   [cmmi8]
  \definefontsynonym[lmmi9]   [cmmi9]
  \definefontsynonym[lmmib10] [cmmib10]
  \definefontsynonym[lmmib5]  [cmmib5]
  \definefontsynonym[lmmib6]  [cmmib7]
  \definefontsynonym[lmmib7]  [cmmib7]
  \definefontsynonym[lmmib8]  [cmmib7]
  \definefontsynonym[lmmib9]  [cmmib10]
  \definefontsynonym[lmsy10]  [cmsy10]
  \definefontsynonym[lmsy5]   [cmsy5]
  \definefontsynonym[lmsy6]   [cmsy6]
  \definefontsynonym[lmsy7]   [cmsy7]
  \definefontsynonym[lmsy8]   [cmsy8]
  \definefontsynonym[lmsy9]   [cmsy9]
  \definefontsynonym[lmtex10] [cmtex10]
  \definefontsynonym[lmtex8]  [cmtex8]
  \definefontsynonym[lmtex9]  [cmtex9]

\stoptypescript

\starttypescript [serif] [modern,latin-modern] [texnansi,ec,qx,t5]

  \definefontsynonym [LMRoman10-DemiOblique] [\typescriptthree-lmbo10]   [encoding=\typescriptthree]
  \definefontsynonym [LMRoman10-Bold]        [\typescriptthree-lmbx10]   [encoding=\typescriptthree]
  \definefontsynonym [LMRoman12-Bold]        [\typescriptthree-lmbx12]   [encoding=\typescriptthree]
  \definefontsynonym [LMRoman5-Bold]         [\typescriptthree-lmbx5]    [encoding=\typescriptthree]
  \definefontsynonym [LMRoman6-Bold]         [\typescriptthree-lmbx6]    [encoding=\typescriptthree]
  \definefontsynonym [LMRoman7-Bold]         [\typescriptthree-lmbx7]    [encoding=\typescriptthree]
  \definefontsynonym [LMRoman8-Bold]         [\typescriptthree-lmbx8]    [encoding=\typescriptthree]
  \definefontsynonym [LMRoman9-Bold]         [\typescriptthree-lmbx9]    [encoding=\typescriptthree]
  \definefontsynonym [LMRoman10-BoldItalic]  [\typescriptthree-lmbxi10]  [encoding=\typescriptthree]
  \definefontsynonym [LMRoman10-BoldOblique] [\typescriptthree-lmbxo10]  [encoding=\typescriptthree]
  \definefontsynonym [LMRoman10-CapsRegular] [\typescriptthree-lmcsc10]  [encoding=\typescriptthree]
  \definefontsynonym [LMRoman10-CapsOblique] [\typescriptthree-lmcsco10] [encoding=\typescriptthree]
  \definefontsynonym [LMRoman10-Regular]     [\typescriptthree-lmr10]    [encoding=\typescriptthree]
  \definefontsynonym [LMRoman12-Regular]     [\typescriptthree-lmr12]    [encoding=\typescriptthree]
  \definefontsynonym [LMRoman17-Regular]     [\typescriptthree-lmr17]    [encoding=\typescriptthree]
  \definefontsynonym [LMRoman5-Regular]      [\typescriptthree-lmr5]     [encoding=\typescriptthree]
  \definefontsynonym [LMRoman6-Regular]      [\typescriptthree-lmr6]     [encoding=\typescriptthree]
  \definefontsynonym [LMRoman7-Regular]      [\typescriptthree-lmr7]     [encoding=\typescriptthree]
  \definefontsynonym [LMRoman8-Regular]      [\typescriptthree-lmr8]     [encoding=\typescriptthree]
  \definefontsynonym [LMRoman9-Regular]      [\typescriptthree-lmr9]     [encoding=\typescriptthree]
  \definefontsynonym [LMRoman10-Italic]      [\typescriptthree-lmri10]   [encoding=\typescriptthree]
  \definefontsynonym [LMRoman12-Italic]      [\typescriptthree-lmri12]   [encoding=\typescriptthree]
  \definefontsynonym [LMRoman7-Italic]       [\typescriptthree-lmri7]    [encoding=\typescriptthree]
  \definefontsynonym [LMRoman8-Italic]       [\typescriptthree-lmri8]    [encoding=\typescriptthree]
  \definefontsynonym [LMRoman9-Italic]       [\typescriptthree-lmri9]    [encoding=\typescriptthree]
  \definefontsynonym [LMRoman10-Oblique]     [\typescriptthree-lmro10]   [encoding=\typescriptthree]
  \definefontsynonym [LMRoman12-Oblique]     [\typescriptthree-lmro12]   [encoding=\typescriptthree]
  \definefontsynonym [LMRoman17-Oblique]     [\typescriptthree-lmro17]   [encoding=\typescriptthree]
  \definefontsynonym [LMRoman8-Oblique]      [\typescriptthree-lmro8]    [encoding=\typescriptthree]
  \definefontsynonym [LMRoman9-Oblique]      [\typescriptthree-lmro9]    [encoding=\typescriptthree]

  \definefontsynonym [LMRoman-DemiOblique]   [LMRoman10-DemiOblique] [encoding=\typescriptthree]
  \definefontsynonym [LMRoman-Bold]          [LMRoman10-Bold]        [encoding=\typescriptthree]
  \definefontsynonym [LMRoman-BoldItalic]    [LMRoman10-BoldItalic]  [encoding=\typescriptthree]
  \definefontsynonym [LMRoman-BoldOblique]   [LMRoman10-BoldOblique] [encoding=\typescriptthree]
  \definefontsynonym [LMRoman-CapsRegular]   [LMRoman10-CapsRegular] [encoding=\typescriptthree]
  \definefontsynonym [LMRoman-CapsOblique]   [LMRoman10-CapsOblique] [encoding=\typescriptthree]
  \definefontsynonym [LMRoman-Regular]       [LMRoman10-Regular]     [encoding=\typescriptthree]
  \definefontsynonym [LMRoman-Italic]        [LMRoman10-Italic]      [encoding=\typescriptthree]
  \definefontsynonym [LMRoman-Oblique]       [LMRoman10-Oblique]     [encoding=\typescriptthree]

\stoptypescript

\starttypescript [sans] [modern,latin-modern] [texnansi,ec,qx,t5]

  \definefontsynonym [LMSans10-Regular]              [\typescriptthree-lmss10]   [encoding=\typescriptthree]
  \definefontsynonym [LMSans12-Regular]              [\typescriptthree-lmss12]   [encoding=\typescriptthree]
  \definefontsynonym [LMSans17-Regular]              [\typescriptthree-lmss17]   [encoding=\typescriptthree]
  \definefontsynonym [LMSans8-Regular]               [\typescriptthree-lmss8]    [encoding=\typescriptthree]
  \definefontsynonym [LMSans9-Regular]               [\typescriptthree-lmss9]    [encoding=\typescriptthree]
  \definefontsynonym [LMSans10-BoldOblique]          [\typescriptthree-lmssbo10] [encoding=\typescriptthree]
  \definefontsynonym [LMSans10-Bold]                 [\typescriptthree-lmssbx10] [encoding=\typescriptthree]
  \definefontsynonym [LMSans10-DemiCondensed]        [\typescriptthree-lmssdc10] [encoding=\typescriptthree]
  \definefontsynonym [LMSans10-DemiCondensedOblique] [\typescriptthree-lmssdo10] [encoding=\typescriptthree]
  \definefontsynonym [LMSans10-Oblique]              [\typescriptthree-lmsso10]  [encoding=\typescriptthree]
  \definefontsynonym [LMSans12-Oblique]              [\typescriptthree-lmsso12]  [encoding=\typescriptthree]
  \definefontsynonym [LMSans17-Oblique]              [\typescriptthree-lmsso17]  [encoding=\typescriptthree]
  \definefontsynonym [LMSans8-Oblique]               [\typescriptthree-lmsso8]   [encoding=\typescriptthree]
  \definefontsynonym [LMSans9-Oblique]               [\typescriptthree-lmsso9]   [encoding=\typescriptthree]
  \definefontsynonym [LMSansQuotation8-Regular]      [\typescriptthree-lmssq8]   [encoding=\typescriptthree]
  \definefontsynonym [LMSansQuotation8-BoldOblique]  [\typescriptthree-lmssqbo8] [encoding=\typescriptthree]
  \definefontsynonym [LMSansQuotation8-Bold]         [\typescriptthree-lmssqbx8] [encoding=\typescriptthree]
  \definefontsynonym [LMSansQuotation8-Oblique]      [\typescriptthree-lmssqo8]  [encoding=\typescriptthree]

  \definefontsynonym [LMSans-Regular]                [LMSans10-Regular]              [encoding=\typescriptthree]
  \definefontsynonym [LMSans-BoldOblique]            [LMSans10-BoldOblique]          [encoding=\typescriptthree]
  \definefontsynonym [LMSans-Bold]                   [LMSans10-Bold]                 [encoding=\typescriptthree]
  \definefontsynonym [LMSans-DemiCondensed]          [LMSans10-DemiCondensed]        [encoding=\typescriptthree]
  \definefontsynonym [LMSans-DemiCondensedOblique]   [LMSans10-DemiCondensedOblique] [encoding=\typescriptthree]
  \definefontsynonym [LMSans-Oblique]                [LMSans10-Oblique]              [encoding=\typescriptthree]

\stoptypescript

\starttypescript [mono] [modern,latin-modern,modern-vari,latin-modern-vari,modern-cond,latin-modern-cond] [texnansi,ec,qx,t5]

  \definefontsynonym [LMTypewriter10-CapsRegular]           [\typescriptthree-lmtcsc10] [encoding=\typescriptthree]
  \definefontsynonym [LMTypewriter10-CapsOblique]           [\typescriptthree-lmtcso10] [encoding=\typescriptthree]
  \definefontsynonym [LMTypewriter10-Light]                 [\typescriptthree-lmtl10]   [encoding=\typescriptthree]
  \definefontsynonym [LMTypewriter10-LightOblique]          [\typescriptthree-lmtlo10]  [encoding=\typescriptthree]
  \definefontsynonym [LMTypewriter10-LightCondensed]        [\typescriptthree-lmtlc10]  [encoding=\typescriptthree]
  \definefontsynonym [LMTypewriter10-LightCondensedOblique] [\typescriptthree-lmtlco10] [encoding=\typescriptthree]
  \definefontsynonym [LMTypewriter10-Dark]                  [\typescriptthree-lmtk10]   [encoding=\typescriptthree]
  \definefontsynonym [LMTypewriter10-DarkOblique]           [\typescriptthree-lmtko10]  [encoding=\typescriptthree]
  \definefontsynonym [LMTypewriter10-Regular]               [\typescriptthree-lmtt10]   [encoding=\typescriptthree]
  \definefontsynonym [LMTypewriter12-Regular]               [\typescriptthree-lmtt12]   [encoding=\typescriptthree]
  \definefontsynonym [LMTypewriter8-Regular]                [\typescriptthree-lmtt8]    [encoding=\typescriptthree]
  \definefontsynonym [LMTypewriter9-Regular]                [\typescriptthree-lmtt9]    [encoding=\typescriptthree]
  \definefontsynonym [LMTypewriter10-Italic]                [\typescriptthree-lmtti10]  [encoding=\typescriptthree]
  \definefontsynonym [LMTypewriter10-Oblique]               [\typescriptthree-lmtto10]  [encoding=\typescriptthree]

  \definefontsynonym [LMTypewriterVarWd10-Regular]          [\typescriptthree-lmvtt10]  [encoding=\typescriptthree]
  \definefontsynonym [LMTypewriterVarWd10-Oblique]          [\typescriptthree-lmvtto10] [encoding=\typescriptthree]
  \definefontsynonym [LMTypewriterVarWd10-Light]            [\typescriptthree-lmvtl10]  [encoding=\typescriptthree]
  \definefontsynonym [LMTypewriterVarWd10-LightOblique]     [\typescriptthree-lmvtlo10] [encoding=\typescriptthree]
  \definefontsynonym [LMTypewriterVarWd10-Dark]             [\typescriptthree-lmvtk10]  [encoding=\typescriptthree]
  \definefontsynonym [LMTypewriterVarWd10-DarkOblique]      [\typescriptthree-lmvtko10] [encoding=\typescriptthree]

  \definefontsynonym [LMTypewriter-CapsRegular]             [LMTypewriter10-CapsRegular]          [encoding=\typescriptthree]
  \definefontsynonym [LMTypewriter-CapsOblique]             [LMTypewriter10-CapsOblique]          [encoding=\typescriptthree]
  \definefontsynonym [LMTypewriter-Light]                   [LMTypewriter10-Light]                [encoding=\typescriptthree]
  \definefontsynonym [LMTypewriter-LightOblique]            [LMTypewriter10-LightOblique]         [encoding=\typescriptthree]
  \definefontsynonym [LMTypewriter-LightCondensed]          [LMTypewriter10-LightCondensed]       [encoding=\typescriptthree]
  \definefontsynonym [LMTypewriter-LightCondensedOblique]   [LMTypewriter10-LightCondensedOblique][encoding=\typescriptthree]
  \definefontsynonym [LMTypewriter-Dark]                    [LMTypewriter10-Dark]                 [encoding=\typescriptthree]
  \definefontsynonym [LMTypewriter-DarkOblique]             [LMTypewriter10-DarkOblique]          [encoding=\typescriptthree]
  \definefontsynonym [LMTypewriter-Regular]                 [LMTypewriter10-Regular]              [encoding=\typescriptthree]
  \definefontsynonym [LMTypewriter-Italic]                  [LMTypewriter10-Italic]               [encoding=\typescriptthree]
  \definefontsynonym [LMTypewriter-Oblique]                 [LMTypewriter10-Oblique]              [encoding=\typescriptthree]

  \definefontsynonym [LMTypewriterVarWd-Regular]            [LMTypewriterVarWd10-Regular]         [encoding=\typescriptthree]
  \definefontsynonym [LMTypewriterVarWd-Oblique]            [LMTypewriterVarWd10-Oblique]         [encoding=\typescriptthree]
  \definefontsynonym [LMTypewriterVarWd-Light]              [LMTypewriterVarWd10-Light]           [encoding=\typescriptthree]
  \definefontsynonym [LMTypewriterVarWd-LightOblique]       [LMTypewriterVarWd10-LightOblique]    [encoding=\typescriptthree]
  \definefontsynonym [LMTypewriterVarWd-Dark]               [LMTypewriterVarWd10-Dark]            [encoding=\typescriptthree]
  \definefontsynonym [LMTypewriterVarWd-DarkOblique]        [LMTypewriterVarWd10-DarkOblique]     [encoding=\typescriptthree]

\stoptypescript

% todo: map these onto verbose names

\starttypescript [serif] [modern,latin-modern,computer-modern] [texnansi,ec,qx,t5]

  \definefontsynonym [cmr5]     [\typescriptthree-lmr5]     [encoding=\typescriptthree]
  \definefontsynonym [cmr6]     [\typescriptthree-lmr6]     [encoding=\typescriptthree]
  \definefontsynonym [cmr7]     [\typescriptthree-lmr7]     [encoding=\typescriptthree]
  \definefontsynonym [cmr8]     [\typescriptthree-lmr8]     [encoding=\typescriptthree]
  \definefontsynonym [cmr9]     [\typescriptthree-lmr9]     [encoding=\typescriptthree]
  \definefontsynonym [cmr10]    [\typescriptthree-lmr10]    [encoding=\typescriptthree]
  \definefontsynonym [cmr12]    [\typescriptthree-lmr12]    [encoding=\typescriptthree]
  \definefontsynonym [cmr17]    [\typescriptthree-lmr17]    [encoding=\typescriptthree]

  \definefontsynonym [cmbx5]    [\typescriptthree-lmbx5]    [encoding=\typescriptthree]
  \definefontsynonym [cmbx6]    [\typescriptthree-lmbx6]    [encoding=\typescriptthree]
  \definefontsynonym [cmbx7]    [\typescriptthree-lmbx7]    [encoding=\typescriptthree]
  \definefontsynonym [cmbx8]    [\typescriptthree-lmbx8]    [encoding=\typescriptthree]
  \definefontsynonym [cmbx9]    [\typescriptthree-lmbx9]    [encoding=\typescriptthree]
  \definefontsynonym [cmbx10]   [\typescriptthree-lmbx10]   [encoding=\typescriptthree]
  \definefontsynonym [cmbx12]   [\typescriptthree-lmbx12]   [encoding=\typescriptthree]

  \definefontsynonym [cmsl10]   [\typescriptthree-lmro10]   [encoding=\typescriptthree]
  \definefontsynonym [cmsl12]   [\typescriptthree-lmro12]   [encoding=\typescriptthree]
  \definefontsynonym [cmsl8]    [\typescriptthree-lmro8]    [encoding=\typescriptthree]
  \definefontsynonym [cmsl9]    [\typescriptthree-lmro9]    [encoding=\typescriptthree]

  \definefontsynonym [cmti7]    [\typescriptthree-lmri7]    [encoding=\typescriptthree]
  \definefontsynonym [cmti8]    [\typescriptthree-lmri8]    [encoding=\typescriptthree]
  \definefontsynonym [cmti9]    [\typescriptthree-lmri9]    [encoding=\typescriptthree]
  \definefontsynonym [cmti10]   [\typescriptthree-lmri10]   [encoding=\typescriptthree]
  \definefontsynonym [cmti12]   [\typescriptthree-lmri12]   [encoding=\typescriptthree]

  \definefontsynonym [cmb10]    [\typescriptthree-lmb10]    [encoding=\typescriptthree]
  \definefontsynonym [cmbsl10]  [\typescriptthree-lmbo10]   [encoding=\typescriptthree]
  \definefontsynonym [cmbxsl10] [\typescriptthree-lmbxo10]  [encoding=\typescriptthree]
  \definefontsynonym [cmbxti10] [\typescriptthree-lmbxi10]  [encoding=\typescriptthree]

  \definefontsynonym [cmcsc10]  [\typescriptthree-lmcsc10]  [encoding=\typescriptthree]
  \definefontsynonym [cmcscsl10][\typescriptthree-lmcsco10] [encoding=\typescriptthree]

\stoptypescript

\starttypescript [sans] [modern,latin-modern,computer-modern] [texnansi,ec,qx,t5]

  \definefontsynonym [cmss8]    [\typescriptthree-lmss8]    [encoding=\typescriptthree]
  \definefontsynonym [cmss9]    [\typescriptthree-lmss9]    [encoding=\typescriptthree]
  \definefontsynonym [cmss10]   [\typescriptthree-lmss10]   [encoding=\typescriptthree]
  \definefontsynonym [cmss12]   [\typescriptthree-lmss12]   [encoding=\typescriptthree]
  \definefontsynonym [cmss17]   [\typescriptthree-lmss17]   [encoding=\typescriptthree]

  \definefontsynonym [cmssi10]  [\typescriptthree-lmsso10]  [encoding=\typescriptthree]
  \definefontsynonym [cmssi12]  [\typescriptthree-lmsso12]  [encoding=\typescriptthree]
  \definefontsynonym [cmssi17]  [\typescriptthree-lmsso17]  [encoding=\typescriptthree]
  \definefontsynonym [cmssi8]   [\typescriptthree-lmsso8]   [encoding=\typescriptthree]
  \definefontsynonym [cmssi9]   [\typescriptthree-lmsso9]   [encoding=\typescriptthree]

  \definefontsynonym [cmssq8]   [\typescriptthree-lmssq8]   [encoding=\typescriptthree]
  \definefontsynonym [cmssqb8]  [\typescriptthree-lmssqbx8] [encoding=\typescriptthree]
  \definefontsynonym [cmssqbi8] [\typescriptthree-lmssqbo8] [encoding=\typescriptthree]
  \definefontsynonym [cmssqi8]  [\typescriptthree-lmssqo8]  [encoding=\typescriptthree]

  \definefontsynonym [cmssbx10] [\typescriptthree-lmssbx10] [encoding=\typescriptthree]
  \definefontsynonym [cmssdc10] [\typescriptthree-lmssdc10] [encoding=\typescriptthree]
  \definefontsynonym [cmssbi10] [\typescriptthree-lmssbo10] [encoding=\typescriptthree]
  \definefontsynonym [cmssdi10] [\typescriptthree-lmssdo10] [encoding=\typescriptthree]

\stoptypescript

\starttypescript [mono] [modern,latin-modern,computer-modern] [texnansi,ec,qx,t5]

  \definefontsynonym [cmtt8]    [\typescriptthree-lmtt8]    [encoding=\typescriptthree]
  \definefontsynonym [cmtt9]    [\typescriptthree-lmtt9]    [encoding=\typescriptthree]
  \definefontsynonym [cmtt10]   [\typescriptthree-lmtt10]   [encoding=\typescriptthree]
  \definefontsynonym [cmtt12]   [\typescriptthree-lmtt12]   [encoding=\typescriptthree]

  \definefontsynonym [cmitt10]  [\typescriptthree-lmtti10]  [encoding=\typescriptthree]
  \definefontsynonym [cmsltt10] [\typescriptthree-lmtto10]  [encoding=\typescriptthree]

  \definefontsynonym [cmvtt10]  [\typescriptthree-lmvtt10]  [encoding=\typescriptthree]
  \definefontsynonym [cmvtti10] [\typescriptthree-lmvtto]   [encoding=\typescriptthree]

  \definefontsynonym [cmtcsc10] [\typescriptthree-lmtcsc10] [encoding=\typescriptthree]

\stoptypescript

%D {\em Comments by Victor Figurnov:} the wcmb10, wcmbx10,
%D \unknown\ fonts below are taken from the Paradissa
%D collection by Basil Malyshev. These fonts don't conform t2a
%D encoding but are in MS Windows Cyrillic codepage 1251
%D encoding. These fonts contain only 33 russian letters in
%D upper and lower case, the number sign, and guillemots. But
%D even among these characters only the basic 32 russian
%D letters (in upper and lower case) will be typeset correctly
%D with this definition. The letters cyrillicYO and
%D cyrillicyo, as well as number sign (textnumero) and
%D guillemots won't be typeset properly, because these symbols
%D have different positions in t2a and MS CP1251 encodings.
%D
%D I think that the russian lh fonts and|/|or cm-super provide
%D better alternatives (type1). Therefore, the names below
%D match those of cm-super (\type {0NNN} instead of \type
%D {NNN}, i.e.\ four digit numbers).

\starttypescript [serif] [computer-modern] [cyr]
  \definefontsynonym [cmb10]    [wcmb10]    [encoding=t2a]
  \definefontsynonym [cmbsy10]  [wcmbsy10]  [encoding=t2a]
  \definefontsynonym [cmbx10]   [wcmbx10]   [encoding=t2a]
  \definefontsynonym [cmbx12]   [wcmbx12]   [encoding=t2a]
  \definefontsynonym [cmbx5]    [wcmbx5]    [encoding=t2a]
  \definefontsynonym [cmbx6]    [wcmbx6]    [encoding=t2a]
  \definefontsynonym [cmbx7]    [wcmbx7]    [encoding=t2a]
  \definefontsynonym [cmbx8]    [wcmbx8]    [encoding=t2a]
  \definefontsynonym [cmbx9]    [wcmbx9]    [encoding=t2a]
  \definefontsynonym [cmbxsl10] [wcmbxsl10] [encoding=t2a]
  \definefontsynonym [cmbxti10] [wcmbxti10] [encoding=t2a]
  \definefontsynonym [cmcsc10]  [wcmcsc10]  [encoding=t2a]
  %definefontsynonym [cmdunh10] [wcmdunh10] [encoding=t2a]
  \definefontsynonym [cminch]   [wcminch]   [encoding=t2a]
  \definefontsynonym [cmr10]    [wcmr10]    [encoding=t2a]
  \definefontsynonym [cmr12]    [wcmr12]    [encoding=t2a]
  \definefontsynonym [cmr17]    [wcmr17]    [encoding=t2a]
  \definefontsynonym [cmr5]     [wcmr5]     [encoding=t2a]
  \definefontsynonym [cmr6]     [wcmr6]     [encoding=t2a]
  \definefontsynonym [cmr7]     [wcmr7]     [encoding=t2a]
  \definefontsynonym [cmr8]     [wcmr8]     [encoding=t2a]
  \definefontsynonym [cmr9]     [wcmr9]     [encoding=t2a]
  \definefontsynonym [cmsl10]   [wcmsl10]   [encoding=t2a]
  \definefontsynonym [cmsl12]   [wcmsl12]   [encoding=t2a]
  \definefontsynonym [cmsl8]    [wcmsl8]    [encoding=t2a]
  \definefontsynonym [cmsl9]    [wcmsl9]    [encoding=t2a]
  \definefontsynonym [cmti10]   [wcmti10]   [encoding=t2a]
  \definefontsynonym [cmti12]   [wcmti12]   [encoding=t2a]
  \definefontsynonym [cmti7]    [wcmti7]    [encoding=t2a]
  \definefontsynonym [cmti8]    [wcmti8]    [encoding=t2a]
  \definefontsynonym [cmti9]    [wcmti9]    [encoding=t2a]
  \definefontsynonym [cmu10]    [wcmu10]    [encoding=t2a]
\stoptypescript

\starttypescript [sans] [computer-modern] [cyr]
  \definefontsynonym [cmss10]   [wcmss10]   [encoding=t2a]
  \definefontsynonym [cmss12]   [wcmss12]   [encoding=t2a]
  \definefontsynonym [cmss17]   [wcmss17]   [encoding=t2a]
  \definefontsynonym [cmss8]    [wcmss8]    [encoding=t2a]
  \definefontsynonym [cmss9]    [wcmss9]    [encoding=t2a]
  %definefontsynonym [cmssbi10] [wcmssbi10] [encoding=t2a]
  \definefontsynonym [cmssbx10] [wcmssbx10] [encoding=t2a]
  \definefontsynonym [cmssdc10] [wcmssdc10] [encoding=t2a]
  \definefontsynonym [cmssi10]  [wcmssi10]  [encoding=t2a]
  \definefontsynonym [cmssi12]  [wcmssi12]  [encoding=t2a]
  \definefontsynonym [cmssi17]  [wcmssi17]  [encoding=t2a]
  \definefontsynonym [cmssi8]   [wcmssi8]   [encoding=t2a]
  \definefontsynonym [cmssi9]   [wcmssi9]   [encoding=t2a]
  \definefontsynonym [cmssq8]   [wcmssq8]   [encoding=t2a]
  \definefontsynonym [cmssqi8]  [wcmssqi8]  [encoding=t2a]
\stoptypescript

\starttypescript [mono] [computer-modern] [cyr]
  \definefontsynonym [cmitt10]  [wcmitt10]  [encoding=t2a]
  \definefontsynonym [cmsltt10] [wcmsltt10] [encoding=t2a]
  \definefontsynonym [cmtt10]   [wcmtt10]   [encoding=t2a]
  \definefontsynonym [cmtt12]   [wcmtt12]   [encoding=t2a]
  \definefontsynonym [cmtt8]    [wcmtt8]    [encoding=t2a]
  \definefontsynonym [cmtt9]    [wcmtt9]    [encoding=t2a]
  %definefontsynonym [cmvtt10]  [wcmvtt10]  [encoding=t2a]
\stoptypescript

\definetypescriptprefix [c:t2a] [la]
\definetypescriptprefix [c:t2b] [lb]
\definetypescriptprefix [c:t2c] [lc]
\definetypescriptprefix [c:x2]  [rx]

\starttypescript [serif] [computer-modern] [t2a,t2b,t2c,x2]
  \definefontsynonym [cmb10]    [\typescriptprefix{c:\typescriptthree}rb1000]   [encoding=\typescriptthree]
  \definefontsynonym [cmbx10]   [\typescriptprefix{c:\typescriptthree}bx1000]   [encoding=\typescriptthree]
  \definefontsynonym [cmbx12]   [\typescriptprefix{c:\typescriptthree}bx1200]   [encoding=\typescriptthree]
  \definefontsynonym [cmbx5]    [\typescriptprefix{c:\typescriptthree}bx0500]   [encoding=\typescriptthree]
  \definefontsynonym [cmbx6]    [\typescriptprefix{c:\typescriptthree}bx0600]   [encoding=\typescriptthree]
  \definefontsynonym [cmbx7]    [\typescriptprefix{c:\typescriptthree}bx0700]   [encoding=\typescriptthree]
  \definefontsynonym [cmbx8]    [\typescriptprefix{c:\typescriptthree}bx0800]   [encoding=\typescriptthree]
  \definefontsynonym [cmbx9]    [\typescriptprefix{c:\typescriptthree}bx0900]   [encoding=\typescriptthree]
  \definefontsynonym [cmbxsl10] [\typescriptprefix{c:\typescriptthree}bl1000]   [encoding=\typescriptthree]
  \definefontsynonym [cmbxti10] [\typescriptprefix{c:\typescriptthree}bi1000]   [encoding=\typescriptthree]
  \definefontsynonym [cmcsc10]  [\typescriptprefix{c:\typescriptthree}cc1000]   [encoding=\typescriptthree]
  \definefontsynonym [cmdunh10] [\typescriptprefix{c:\typescriptthree}dh1000]   [encoding=\typescriptthree]
  \definefontsynonym [cmff10]   [\typescriptprefix{c:\typescriptthree}ff1000]   [encoding=\typescriptthree]
  \definefontsynonym [cmfi10]   [\typescriptprefix{c:\typescriptthree}fi1000]   [encoding=\typescriptthree]
  \definefontsynonym [cmfib8]   [\typescriptprefix{c:\typescriptthree}fb0800]   [encoding=\typescriptthree]
 %\definefontsynonym [cminch]   [\typescriptprefix{c:\typescriptthree}inch00]   [encoding=\typescriptthree]
  \definefontsynonym [cmr10]    [\typescriptprefix{c:\typescriptthree}rm1000]   [encoding=\typescriptthree]
  \definefontsynonym [cmr12]    [\typescriptprefix{c:\typescriptthree}rm1200]   [encoding=\typescriptthree]
  \definefontsynonym [cmr17]    [\typescriptprefix{c:\typescriptthree}rm1700]   [encoding=\typescriptthree]
  \definefontsynonym [cmr5]     [\typescriptprefix{c:\typescriptthree}rm0500]   [encoding=\typescriptthree]
  \definefontsynonym [cmr6]     [\typescriptprefix{c:\typescriptthree}rm0600]   [encoding=\typescriptthree]
  \definefontsynonym [cmr7]     [\typescriptprefix{c:\typescriptthree}rm0700]   [encoding=\typescriptthree]
  \definefontsynonym [cmr8]     [\typescriptprefix{c:\typescriptthree}rm0800]   [encoding=\typescriptthree]
  \definefontsynonym [cmr9]     [\typescriptprefix{c:\typescriptthree}rm0900]   [encoding=\typescriptthree]
  \definefontsynonym [cmsl10]   [\typescriptprefix{c:\typescriptthree}sl1000]   [encoding=\typescriptthree]
  \definefontsynonym [cmsl12]   [\typescriptprefix{c:\typescriptthree}sl1200]   [encoding=\typescriptthree]
  \definefontsynonym [cmsl8]    [\typescriptprefix{c:\typescriptthree}sl0800]   [encoding=\typescriptthree]
  \definefontsynonym [cmsl9]    [\typescriptprefix{c:\typescriptthree}sl0900]   [encoding=\typescriptthree]
  \definefontsynonym [cmtcsc10] [\typescriptprefix{c:\typescriptthree}tc1000]   [encoding=\typescriptthree]
  \definefontsynonym [cmti10]   [\typescriptprefix{c:\typescriptthree}ti1000]   [encoding=\typescriptthree]
  \definefontsynonym [cmti12]   [\typescriptprefix{c:\typescriptthree}ti1200]   [encoding=\typescriptthree]
  \definefontsynonym [cmti7]    [\typescriptprefix{c:\typescriptthree}ti0700]   [encoding=\typescriptthree]
  \definefontsynonym [cmti8]    [\typescriptprefix{c:\typescriptthree}ti0800]   [encoding=\typescriptthree]
  \definefontsynonym [cmti9]    [\typescriptprefix{c:\typescriptthree}ti0900]   [encoding=\typescriptthree]
  \definefontsynonym [cmu10]    [\typescriptprefix{c:\typescriptthree}ui1000]   [encoding=\typescriptthree]
\stoptypescript

\starttypescript [sans] [computer-modern] [t2a,t2b,t2c,x2]
  \definefontsynonym [cmss10]   [\typescriptprefix{c:\typescriptthree}ss1000]   [encoding=\typescriptthree]
  \definefontsynonym [cmss12]   [\typescriptprefix{c:\typescriptthree}ss1200]   [encoding=\typescriptthree]
  \definefontsynonym [cmss17]   [\typescriptprefix{c:\typescriptthree}ss1700]   [encoding=\typescriptthree]
  \definefontsynonym [cmss8]    [\typescriptprefix{c:\typescriptthree}ss0800]   [encoding=\typescriptthree]
  \definefontsynonym [cmss9]    [\typescriptprefix{c:\typescriptthree}ss0900]   [encoding=\typescriptthree]
  \definefontsynonym [cmssbx10] [\typescriptprefix{c:\typescriptthree}sx1000]   [encoding=\typescriptthree]
 %\definefontsynonym [cmssdc10] [\typescriptprefix{c:\typescriptthree}ssdc1000] [encoding=\typescriptthree]
  \definefontsynonym [cmssi10]  [\typescriptprefix{c:\typescriptthree}si1000]   [encoding=\typescriptthree]
  \definefontsynonym [cmssi12]  [\typescriptprefix{c:\typescriptthree}si1200]   [encoding=\typescriptthree]
  \definefontsynonym [cmssi17]  [\typescriptprefix{c:\typescriptthree}si1700]   [encoding=\typescriptthree]
  \definefontsynonym [cmssi8]   [\typescriptprefix{c:\typescriptthree}si0800]   [encoding=\typescriptthree]
  \definefontsynonym [cmssi9]   [\typescriptprefix{c:\typescriptthree}si0900]   [encoding=\typescriptthree]
  \definefontsynonym [cmssq8]   [\typescriptprefix{c:\typescriptthree}ss0800]   [encoding=\typescriptthree]
  \definefontsynonym [cmssqi8]  [\typescriptprefix{c:\typescriptthree}si0800]   [encoding=\typescriptthree]
\stoptypescript

\starttypescript [mono] [computer-modern] [t2a,t2b,t2c,x2]
  \definefontsynonym [cmitt10]  [\typescriptprefix{c:\typescriptthree}it1000]   [encoding=\typescriptthree]
  \definefontsynonym [cmsltt10] [\typescriptprefix{c:\typescriptthree}st1000]   [encoding=\typescriptthree]
  \definefontsynonym [cmtt10]   [\typescriptprefix{c:\typescriptthree}tt1000]   [encoding=\typescriptthree]
  \definefontsynonym [cmtt12]   [\typescriptprefix{c:\typescriptthree}tt1200]   [encoding=\typescriptthree]
  \definefontsynonym [cmtt8]    [\typescriptprefix{c:\typescriptthree}tt0800]   [encoding=\typescriptthree]
  \definefontsynonym [cmtt9]    [\typescriptprefix{c:\typescriptthree}tt0900]   [encoding=\typescriptthree]
  \definefontsynonym [cmvtt10]  [\typescriptprefix{c:\typescriptthree}vt1000]   [encoding=\typescriptthree]
\stoptypescript

\starttypescript [serif] [computer-modern] [lcy]
  \definefontsynonym [cmb10]    [lhb10]    [encoding=lcy]
  \definefontsynonym [cmbx10]   [lhbx10]   [encoding=lcy]
  \definefontsynonym [cmbx12]   [lhbx12]   [encoding=lcy]
  \definefontsynonym [cmbx5]    [lhbx5]    [encoding=lcy]
  \definefontsynonym [cmbx6]    [lhbx6]    [encoding=lcy]
  \definefontsynonym [cmbx7]    [lhbx7]    [encoding=lcy]
  \definefontsynonym [cmbx8]    [lhbx8]    [encoding=lcy]
  \definefontsynonym [cmbx9]    [lhbx9]    [encoding=lcy]
  \definefontsynonym [cmbxsl10] [lhbxsl10] [encoding=lcy]
  \definefontsynonym [cmbxti10] [lhbxti10] [encoding=lcy]
  \definefontsynonym [cmcsc10]  [lhcsc10]  [encoding=lcy]
  \definefontsynonym [cmdunh10] [lhdunh10] [encoding=lcy]
  \definefontsynonym [cmff10]   [lhff10]   [encoding=lcy]
  \definefontsynonym [cmfi10]   [lhfi10]   [encoding=lcy]
  \definefontsynonym [cmfib8]   [lhfib8]   [encoding=lcy]
  \definefontsynonym [cminch]   [lhinch]   [encoding=lcy]
  \definefontsynonym [cmr10]    [lhr10]    [encoding=lcy]
  \definefontsynonym [cmr12]    [lhr12]    [encoding=lcy]
  \definefontsynonym [cmr17]    [lhr17]    [encoding=lcy]
  \definefontsynonym [cmr5]     [lhr5]     [encoding=lcy]
  \definefontsynonym [cmr6]     [lhr6]     [encoding=lcy]
  \definefontsynonym [cmr7]     [lhr7]     [encoding=lcy]
  \definefontsynonym [cmr8]     [lhr8]     [encoding=lcy]
  \definefontsynonym [cmr9]     [lhr9]     [encoding=lcy]
  \definefontsynonym [cmsl10]   [lhsl10]   [encoding=lcy]
  \definefontsynonym [cmsl12]   [lhsl12]   [encoding=lcy]
  \definefontsynonym [cmsl8]    [lhsl8]    [encoding=lcy]
  \definefontsynonym [cmsl9]    [lhsl9]    [encoding=lcy]
  \definefontsynonym [cmtcsc10] [lhtcsc10] [encoding=lcy]
  \definefontsynonym [cmtex10]  [lhtex10]  [encoding=lcy]
  \definefontsynonym [cmtex8]   [lhtex8]   [encoding=lcy]
  \definefontsynonym [cmtex9]   [lhtex9]   [encoding=lcy]
  \definefontsynonym [cmti10]   [lhti10]   [encoding=lcy]
  \definefontsynonym [cmti12]   [lhti12]   [encoding=lcy]
  \definefontsynonym [cmti7]    [lhti7]    [encoding=lcy]
  \definefontsynonym [cmti8]    [lhti8]    [encoding=lcy]
  \definefontsynonym [cmti9]    [lhti9]    [encoding=lcy]
  \definefontsynonym [cmu10]    [lhu10]    [encoding=lcy]
\stoptypescript

\starttypescript [sans] [computer-modern] [lcy]
  \definefontsynonym [cmss10]   [lhss10]   [encoding=lcy]
  \definefontsynonym [cmss12]   [lhss12]   [encoding=lcy]
  \definefontsynonym [cmss17]   [lhss17]   [encoding=lcy]
  \definefontsynonym [cmss8]    [lhss8]    [encoding=lcy]
  \definefontsynonym [cmss9]    [lhss9]    [encoding=lcy]
  \definefontsynonym [cmssbi10] [lhssbi10] [encoding=lcy]
  \definefontsynonym [cmssbx10] [lhssbx10] [encoding=lcy]
  \definefontsynonym [cmssdc10] [lhssdc10] [encoding=lcy]
  \definefontsynonym [cmssi10]  [lhssi10]  [encoding=lcy]
  \definefontsynonym [cmssi12]  [lhssi12]  [encoding=lcy]
  \definefontsynonym [cmssi17]  [lhssi17]  [encoding=lcy]
  \definefontsynonym [cmssi8]   [lhssi8]   [encoding=lcy]
  \definefontsynonym [cmssi9]   [lhssi9]   [encoding=lcy]
  \definefontsynonym [cmssq8]   [lhssq8]   [encoding=lcy]
  \definefontsynonym [cmssqi8]  [lhssqi8]  [encoding=lcy]
\stoptypescript

\starttypescript [mono] [computer-modern] [lcy]
  \definefontsynonym [cmitt10]  [lhitt10]  [encoding=lcy]
  \definefontsynonym [cmsltt10] [lhsltt10] [encoding=lcy]
  \definefontsynonym [cmtt10]   [lhtt10]   [encoding=lcy]
  \definefontsynonym [cmtt12]   [lhtt12]   [encoding=lcy]
  \definefontsynonym [cmtt8]    [lhtt8]    [encoding=lcy]
  \definefontsynonym [cmtt9]    [lhtt9]    [encoding=lcy]
  \definefontsynonym [cmvtt10]  [lhvtt10]  [encoding=lcy]
\stoptypescript

\starttypescript [serif] [modern,computer-modern,latin-modern] [default]
  \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] % [default]
  \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] % [default]
  \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] % [default]
  \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,computer-modern,latin-modern] % [default]
  % watch the space, it prevents remapping
  \definefontsynonym [ComputerModernMath-Roman]     [cmr10 ]
  \definefontsynonym [ComputerModernMath-Extension] [cmex10]
  \definefontsynonym [ComputerModernMath-Italic]    [cmmi10]
  \definefontsynonym [ComputerModernMath-Symbol]    [cmsy10]
\stoptypescript

\starttypescript [boldmath,bfmath] [modern,computer-modern,latin-modern] % [default]
  % watch the space, it prevents remapping
  \definefontsynonym [ComputerModernMath-Roman-Bold]  [cmb10 ]
  \definefontsynonym [ComputerModernMath-Extension]   [cmex10]
  \definefontsynonym [ComputerModernMath-Italic-Bold] [cmmib10]
  \definefontsynonym [ComputerModernMath-Symbol-Bold] [cmbsy10]
\stoptypescript

% Till we have cyrilic in lm:

% \usetypescript[modern-base][t2a]
% \setupbodyfont[modern,10pt]

\starttypescript [serif] [computer-modern] [t2a,t2b,t2c,x2]
  \definefontsynonym [ComputerModern]                 [\typescriptprefix{c:\typescriptthree}rm1000] [encoding=\typescriptthree]
  \definefontsynonym [ComputerModern-Italic]          [\typescriptprefix{c:\typescriptthree}ti1000] [encoding=\typescriptthree]
  \definefontsynonym [ComputerModern-Slanted]         [\typescriptprefix{c:\typescriptthree}sl1000] [encoding=\typescriptthree]
  \definefontsynonym [ComputerModern-Bold]            [\typescriptprefix{c:\typescriptthree}bx1000] [encoding=\typescriptthree]
  \definefontsynonym [ComputerModern-BoldItalic]      [\typescriptprefix{c:\typescriptthree}bi1000] [encoding=\typescriptthree]
  \definefontsynonym [ComputerModern-BoldSlanted]     [\typescriptprefix{c:\typescriptthree}bl1000] [encoding=\typescriptthree]
  \definefontsynonym [ComputerModern-Caps]            [\typescriptprefix{c:\typescriptthree}cc1000] [encoding=\typescriptthree]
  \definefontsynonym [ComputerModern-CapsSlanted]     [\typescriptprefix{c:\typescriptthree}sc1000] [encoding=\typescriptthree]
\stoptypescript

\starttypescript [sans] [computer-modern] [t2a,t2b,t2c,x2]
  \definefontsynonym [ComputerModernSans]             [\typescriptprefix{c:\typescriptthree}ss1000] [encoding=\typescriptthree]
  %definefontsynonym [ComputerModernSans-Italic]      [\typescriptprefix{c:\typescriptthree}1000]   [encoding=\typescriptthree]
  \definefontsynonym [ComputerModernSans-Slanted]     [\typescriptprefix{c:\typescriptthree}si1000] [encoding=\typescriptthree]
  \definefontsynonym [ComputerModernSans-Bold]        [\typescriptprefix{c:\typescriptthree}sx1000] [encoding=\typescriptthree]
  %definefontsynonym [ComputerModernSans-BoldItalic]  [\typescriptprefix{c:\typescriptthree}1000]   [encoding=\typescriptthree]
  \definefontsynonym [ComputerModernSans-BoldSlanted] [\typescriptprefix{c:\typescriptthree}so1000] [encoding=\typescriptthree]
  %definefontsynonym [ComputerModernSans-Caps]        [\typescriptprefix{c:\typescriptthree}1000]   [encoding=\typescriptthree]
  %definefontsynonym [ComputerModernSans-CapsSlanted] [\typescriptprefix{c:\typescriptthree}1000]   [encoding=\typescriptthree]
\stoptypescript

\starttypescript [mono] [computer-modern] [t2a,t2b,t2c,x2]
  \definefontsynonym [ComputerModernMono]             [\typescriptprefix{c:\typescriptthree}tt1000] [encoding=\typescriptthree]
  \definefontsynonym [ComputerModernMono-Italic]      [\typescriptprefix{c:\typescriptthree}it1000] [encoding=\typescriptthree]
  \definefontsynonym [ComputerModernMono-Slanted]     [\typescriptprefix{c:\typescriptthree}st1000] [encoding=\typescriptthree]
  %definefontsynonym [ComputerModernMono-Bold]        [\typescriptprefix{c:\typescriptthree}1000]   [encoding=\typescriptthree]
  %definefontsynonym [ComputerModernMono-BoldItalic]  [\typescriptprefix{c:\typescriptthree}1000]   [encoding=\typescriptthree]
  %definefontsynonym [ComputerModernMono-BoldSlanted] [\typescriptprefix{c:\typescriptthree}1000]   [encoding=\typescriptthree]
  \definefontsynonym [ComputerModernMono-Caps]        [\typescriptprefix{c:\typescriptthree}tc1000] [encoding=\typescriptthree]
  %definefontsynonym [ComputerModernMono-CapsSlanted] [\typescriptprefix{c:\typescriptthree}1000]   [encoding=\typescriptthree]
\stoptypescript

% Computer Concrete (AMS)

\starttypescript [serif] [concrete] [default]
  \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

% Euler (AMS)

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

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

% AMS (AMS)

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

% Fourier (Utopia)

\starttypescript [math] [fourier] [default,ec]
  \definefontsynonym [Fourier-Math-Letters]         [futr8t]   [encoding=ec]
 %\definefontsynonym [Fourier-Math-Letters]         [futmi]
  \definefontsynonym [Fourier-Math-Letters-Italic]  [futmii]
  \definefontsynonym [Fourier-Math-Symbols]         [futsy]
  \definefontsynonym [Fourier-Math-Extension]       [fourier-mex]
\stoptypescript

\starttypescript [serif] [fourier] [ec]
  \definefontsynonym [Fourier-Regular]              [futr8t]   [encoding=ec]
  \definefontsynonym [Fourier-Slanted]              [futro8t]  [encoding=ec]
  \definefontsynonym [Fourier-Italic]               [futri8t]  [encoding=ec]
  \definefontsynonym [Fourier-RegularCaps]          [futrc8t]  [encoding=ec]
  \definefontsynonym [Fourier-Bold]                 [futb8t]   [encoding=ec]
  \definefontsynonym [Fourier-BoldSlanted]          [futbo8t]  [encoding=ec]
  \definefontsynonym [Fourier-BoldItalic]           [futbi8t]  [encoding=ec]
  \definefontsynonym [Fourier-BoldCaps]             [futbc8t]  [encoding=ec]

  \definefontsynonym [Fourier-Regular-Expert]       [futr9e]   [encoding=ec]
  \definefontsynonym [Fourier-Slanted-Expert]       [futro9e]  [encoding=ec]
  \definefontsynonym [Fourier-Italic-Expert]        [futri9e]  [encoding=ec]
  \definefontsynonym [Fourier-RegularCaps-Expert]   [futrc9e]  [encoding=ec]
  \definefontsynonym [Fourier-Semi-Expert]          [futs9e]   [encoding=ec]
  \definefontsynonym [Fourier-SemiSlanted-Expert]   [futso9e]  [encoding=ec]
  \definefontsynonym [Fourier-SemiItalic-Expert]    [futsi9e]  [encoding=ec]
  \definefontsynonym [Fourier-SemiCaps-Expert]      [futsc9e]  [encoding=ec]
  \definefontsynonym [Fourier-Bold-Expert]          [futb9e]   [encoding=ec]
  \definefontsynonym [Fourier-BoldSlanted-Expert]   [futbo9e]  [encoding=ec]
  \definefontsynonym [Fourier-BoldItalic-Expert]    [futbi9e]  [encoding=ec]
  \definefontsynonym [Fourier-Black-Expert]         [futc9e]   [encoding=ec]

  \definefontsynonym [Fourier-Regular-OldStyle]     [futr9d]   [encoding=ec]
  \definefontsynonym [Fourier-Slanted-OldStyle]     [futro9d]  [encoding=ec]
  \definefontsynonym [Fourier-Italic-OldStyle]      [futri9d]  [encoding=ec]
  \definefontsynonym [Fourier-RegularCaps-OldStyle] [futrc9d]  [encoding=ec]
  \definefontsynonym [Fourier-Semi-OldStyle]        [futs9d]   [encoding=ec]
  \definefontsynonym [Fourier-SemiSlanted-OldStyle] [futso9d]  [encoding=ec]
  \definefontsynonym [Fourier-SemiItalic-OldStyle]  [futsi9d]  [encoding=ec]
  \definefontsynonym [Fourier-SemiCaps-OldStyle]    [futsc9d]  [encoding=ec]
  \definefontsynonym [Fourier-Bold-OldStyle]        [futb9d]   [encoding=ec]
  \definefontsynonym [Fourier-BoldSlanted-OldStyle] [futbo9d]  [encoding=ec]
  \definefontsynonym [Fourier-BoldItalic-OldStyle]  [futbi9d]  [encoding=ec]
  \definefontsynonym [Fourier-Black-OldStyle]       [futc9d]   [encoding=ec]
\stoptypescript

% Courier (URW)

\starttypescript [mono] [courier] [texnansi,ec,8r,t5]
  \definefontsynonym [Courier]             [\typescriptthree-ucrr8a]  [encoding=\typescriptthree]
  \definefontsynonym [Courier-Bold]        [\typescriptthree-ucrb8a]  [encoding=\typescriptthree]
  \definefontsynonym [Courier-Oblique]     [\typescriptthree-ucrro8a] [encoding=\typescriptthree]
  \definefontsynonym [Courier-BoldOblique] [\typescriptthree-ucrbo8a] [encoding=\typescriptthree]
\stoptypescript

% alternative 1
%
% \definefontsynonym[qx-ucrr8a]  [qcrr]
% \definefontsynonym[qx-ucrb8a]  [qcrb]
% \definefontsynonym[qx-ucrr08a] [qcrri]
% \definefontsynonym[qx-ucrbo8a] [qcrbi]
%
% alternative 2

\starttypescript [mono] [courier] [qx]
  \definefontsynonym [Courier]             [qcrr]  [encoding=qx]
  \definefontsynonym [Courier-Bold]        [qcrb]  [encoding=qx]
  \definefontsynonym [Courier-Oblique]     [qcrri] [encoding=qx]
  \definefontsynonym [Courier-BoldOblique] [qcrbi] [encoding=qx]
\stoptypescript

% Helvetica (URW)

\starttypescript [sans] [helvetica] [texnansi,ec,8r,t5]
  \definefontsynonym [Helvetica]             [\typescriptthree-uhvr8a]  [encoding=\typescriptthree]
  \definefontsynonym [Helvetica-Italic]      [\typescriptthree-uhvri8a] [encoding=\typescriptthree]
  \definefontsynonym [Helvetica-Oblique]     [\typescriptthree-uhvro8a] [encoding=\typescriptthree]
  \definefontsynonym [Helvetica-Bold]        [\typescriptthree-uhvb8a]  [encoding=\typescriptthree]
  \definefontsynonym [Helvetica-BoldItalic]  [\typescriptthree-uhvbi8a] [encoding=\typescriptthree]
  \definefontsynonym [Helvetica-BoldOblique] [\typescriptthree-uhvbo8a] [encoding=\typescriptthree]
\stoptypescript

\starttypescript [sans] [helvetica] [qx]                           % narrow
  \definefontsynonym [Helvetica]             [qhvr]  [encoding=qx] % qhvcr
  \definefontsynonym [Helvetica-Italic]      [qhvri] [encoding=qx] % qhvcri
  \definefontsynonym [Helvetica-Oblique]     [qhvri] [encoding=qx] % qhvcri
  \definefontsynonym [Helvetica-Bold]        [qhvb]  [encoding=qx] % qhvcb
  \definefontsynonym [Helvetica-BoldItalic]  [qhvbi] [encoding=qx] % qhvcbi
  \definefontsynonym [Helvetica-BoldOblique] [qhvbi] [encoding=qx] % qhvcbi
\stoptypescript

% Times Roman (URW)

\starttypescript [serif] [times] [texnansi,ec,8r,t5]
  \definefontsynonym [Times-Roman]       [\typescriptthree-utmr8a]  [encoding=\typescriptthree]
  \definefontsynonym [Times-Italic]      [\typescriptthree-utmri8a] [encoding=\typescriptthree]
  \definefontsynonym [Times-Bold]        [\typescriptthree-utmb8a]  [encoding=\typescriptthree]
  \definefontsynonym [Times-BoldItalic]  [\typescriptthree-utmbi8a] [encoding=\typescriptthree]

  \definefontsynonym [Times-Slanted]     [\typescriptthree-utmr8a-slanted-167] [encoding=\typescriptthree]
  \definefontsynonym [Times-BoldSlanted] [\typescriptthree-utmb8a-slanted-167] [encoding=\typescriptthree]

  \definefontsynonym [Times]             [Times-Roman]
\stoptypescript

\starttypescript [serif] [times] [qx]
  \definefontsynonym [Times-Roman]       [qtmr]  [encoding=qx]
  \definefontsynonym [Times-Italic]      [qtmri] [encoding=qx]
  \definefontsynonym [Times-Bold]        [qtmb]  [encoding=qx]
  \definefontsynonym [Times-BoldItalic]  [qtmbi] [encoding=qx]

  \definefontsynonym [Times-Slanted]     [Times-Italic]
  \definefontsynonym [Times-BoldSlanted] [Times-BoldItalic]

  \definefontsynonym [Times]             [Times-Roman]
\stoptypescript

% Math Times (tx)

\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]
\stoptypescript

% Antykwa Torunska (GUST)

% \starttypescript [serif] [antykwa-torunska] [texnansi,ec,8r]
%   \definefontsynonym [AntykwaTorunska-Regular] [\typescriptthree-anttr]  [encoding=\typescriptthree]
%   \definefontsynonym [AntykwaTorunska-Bold]    [\typescriptthree-anttb]  [encoding=\typescriptthree]
%   \definefontsynonym [AntykwaTorunska-Italic]  [\typescriptthree-anttri] [encoding=\typescriptthree]
% \stoptypescript

\starttypescript [serif] [antykwa-torunska,antykwa-torunska-light,antykwa-torunska-cond,antykwa-torunska-lightcond] [texnansi,qx,t5,ec,t2a,t2b,t2c,greek]
  \definefontsynonym [AntykwaTorunska-Bold]           [\typescriptthree-anttb]     [encoding=\typescriptthree]
  \definefontsynonym [AntykwaTorunska-BoldItalic]     [\typescriptthree-anttbi]    [encoding=\typescriptthree]
  \definefontsynonym [AntykwaTorunska-Light]          [\typescriptthree-anttl]     [encoding=\typescriptthree]
  \definefontsynonym [AntykwaTorunska-LightItalic]    [\typescriptthree-anttli]    [encoding=\typescriptthree]
  \definefontsynonym [AntykwaTorunska-Medium]         [\typescriptthree-anttm]     [encoding=\typescriptthree]
  \definefontsynonym [AntykwaTorunska-MedItalic]      [\typescriptthree-anttmi]    [encoding=\typescriptthree]
  \definefontsynonym [AntykwaTorunska-Regular]        [\typescriptthree-anttr]     [encoding=\typescriptthree]
  \definefontsynonym [AntykwaTorunska-Italic]         [\typescriptthree-anttri]    [encoding=\typescriptthree]
  \definefontsynonym [AntykwaTorunska-CondBold]       [\typescriptthree-anttcb]    [encoding=\typescriptthree]
  \definefontsynonym [AntykwaTorunska-CondBoldItalic] [\typescriptthree-anttcbi]   [encoding=\typescriptthree]
  \definefontsynonym [AntykwaTorunska-CondLight]      [\typescriptthree-anttcl]    [encoding=\typescriptthree]
  \definefontsynonym [AntykwaTorunska-CondLightItalic][\typescriptthree-anttcli]   [encoding=\typescriptthree]
  \definefontsynonym [AntykwaTorunska-CondMedium]     [\typescriptthree-anttcm]    [encoding=\typescriptthree]
  \definefontsynonym [AntykwaTorunska-CondMedItalic]  [\typescriptthree-anttcmi]   [encoding=\typescriptthree]
  \definefontsynonym [AntykwaTorunska-CondRegular]    [\typescriptthree-anttcr]    [encoding=\typescriptthree]
  \definefontsynonym [AntykwaTorunska-CondItalic]     [\typescriptthree-anttcri]   [encoding=\typescriptthree]
\stoptypescript

\starttypescript [serif] [antykwa-torunska,antykwa-torunska-light,antykwa-torunska-cond,antykwa-torunska-lightcond] [texnansi,qx,t5,ec]
  \definefontsynonym [AntykwaTorunska-BoldCap]           [\typescriptthree-anttbcap]   [encoding=\typescriptthree]
  \definefontsynonym [AntykwaTorunska-BoldItalicCap]     [\typescriptthree-anttbicap]  [encoding=\typescriptthree]
  \definefontsynonym [AntykwaTorunska-LightCap]          [\typescriptthree-anttlcap]   [encoding=\typescriptthree]
  \definefontsynonym [AntykwaTorunska-LightItalicCap]    [\typescriptthree-anttlicap]  [encoding=\typescriptthree]
  \definefontsynonym [AntykwaTorunska-MediumCap]         [\typescriptthree-anttmcap]   [encoding=\typescriptthree]
  \definefontsynonym [AntykwaTorunska-MedItalicCap]      [\typescriptthree-anttmicap]  [encoding=\typescriptthree]
  \definefontsynonym [AntykwaTorunska-Cap]               [\typescriptthree-anttrcap]   [encoding=\typescriptthree]
  \definefontsynonym [AntykwaTorunska-ItalicCap]         [\typescriptthree-anttricap]  [encoding=\typescriptthree]
  \definefontsynonym [AntykwaTorunska-CondBoldCap]       [\typescriptthree-anttcbcap]  [encoding=\typescriptthree]
  \definefontsynonym [AntykwaTorunska-CondBoldItalicCap] [\typescriptthree-anttcbicap] [encoding=\typescriptthree]
  \definefontsynonym [AntykwaTorunska-CondLightCap]      [\typescriptthree-anttclcap]  [encoding=\typescriptthree]
  \definefontsynonym [AntykwaTorunska-CondLightItalicCap][\typescriptthree-anttclicap] [encoding=\typescriptthree]
  \definefontsynonym [AntykwaTorunska-CondMediumCap]     [\typescriptthree-anttcmcap]  [encoding=\typescriptthree]
  \definefontsynonym [AntykwaTorunska-CondMedItalicCap]  [\typescriptthree-anttcmicap] [encoding=\typescriptthree]
  \definefontsynonym [AntykwaTorunska-CondCap]           [\typescriptthree-anttcrcap]  [encoding=\typescriptthree]
  \definefontsynonym [AntykwaTorunska-CondItalicCap]     [\typescriptthree-anttcricap] [encoding=\typescriptthree]
\stoptypescript

% duplicates ? ?
% atl: no: fallbacks for the named variants

\starttypescript [serif] [antykwa-torunska,antykwa-torunska-light,antykwa-torunska-cond,antykwa-torunska-lightcond] [t2a,t2b,t2c,greek]
  \definefontsynonym [AntykwaTorunska-BoldCap]           [\typescriptthree-anttb]   [encoding=\typescriptthree]
  \definefontsynonym [AntykwaTorunska-BoldItalicCap]     [\typescriptthree-anttbi]  [encoding=\typescriptthree]
  \definefontsynonym [AntykwaTorunska-LightCap]          [\typescriptthree-anttl]   [encoding=\typescriptthree]
  \definefontsynonym [AntykwaTorunska-LightItalicCap]    [\typescriptthree-anttli]  [encoding=\typescriptthree]
  \definefontsynonym [AntykwaTorunska-MediumCap]         [\typescriptthree-anttm]   [encoding=\typescriptthree]
  \definefontsynonym [AntykwaTorunska-MedItalicCap]      [\typescriptthree-anttmi]  [encoding=\typescriptthree]
  \definefontsynonym [AntykwaTorunska-Cap]               [\typescriptthree-anttr]   [encoding=\typescriptthree]
  \definefontsynonym [AntykwaTorunska-ItalicCap]         [\typescriptthree-anttri]  [encoding=\typescriptthree]
  \definefontsynonym [AntykwaTorunska-CondBoldCap]       [\typescriptthree-anttcb]  [encoding=\typescriptthree]
  \definefontsynonym [AntykwaTorunska-CondBoldItalicCap] [\typescriptthree-anttcbi] [encoding=\typescriptthree]
  \definefontsynonym [AntykwaTorunska-CondLightCap]      [\typescriptthree-anttcl]  [encoding=\typescriptthree]
  \definefontsynonym [AntykwaTorunska-CondLightItalicCap][\typescriptthree-anttcli] [encoding=\typescriptthree]
  \definefontsynonym [AntykwaTorunska-CondMediumCap]     [\typescriptthree-anttcm]  [encoding=\typescriptthree]
  \definefontsynonym [AntykwaTorunska-CondMedItalicCap]  [\typescriptthree-anttcmi] [encoding=\typescriptthree]
  \definefontsynonym [AntykwaTorunska-CondCap]           [\typescriptthree-anttcr]  [encoding=\typescriptthree]
  \definefontsynonym [AntykwaTorunska-CondItalicCap]     [\typescriptthree-anttcri] [encoding=\typescriptthree]
\stoptypescript

\starttypescript [serif] [antykwa-torunska,antykwa-torunska-light,antykwa-torunska-cond,antykwa-torunska-lightcond] [t2a,t2b,t2c]
  \definefontsynonym [AntykwaTorunska-BoldCap]           [\typescriptthree-anttb]   [encoding=\typescriptthree]
  \definefontsynonym [AntykwaTorunska-BoldItalicCap]     [\typescriptthree-anttbi]  [encoding=\typescriptthree]
  \definefontsynonym [AntykwaTorunska-LightCap]          [\typescriptthree-anttl]   [encoding=\typescriptthree]
  \definefontsynonym [AntykwaTorunska-LightItalicCap]    [\typescriptthree-anttli]  [encoding=\typescriptthree]
  \definefontsynonym [AntykwaTorunska-MediumCap]         [\typescriptthree-anttm]   [encoding=\typescriptthree]
  \definefontsynonym [AntykwaTorunska-MedItalicCap]      [\typescriptthree-anttmi]  [encoding=\typescriptthree]
  \definefontsynonym [AntykwaTorunska-Cap]               [\typescriptthree-anttr]   [encoding=\typescriptthree]
  \definefontsynonym [AntykwaTorunska-ItalicCap]         [\typescriptthree-anttri]  [encoding=\typescriptthree]
  \definefontsynonym [AntykwaTorunska-CondBoldCap]       [\typescriptthree-anttcb]  [encoding=\typescriptthree]
  \definefontsynonym [AntykwaTorunska-CondBoldItalicCap] [\typescriptthree-anttcbi] [encoding=\typescriptthree]
  \definefontsynonym [AntykwaTorunska-CondLightCap]      [\typescriptthree-anttcl]  [encoding=\typescriptthree]
  \definefontsynonym [AntykwaTorunska-CondLightItalicCap][\typescriptthree-anttcli] [encoding=\typescriptthree]
  \definefontsynonym [AntykwaTorunska-CondMediumCap]     [\typescriptthree-anttcm]  [encoding=\typescriptthree]
  \definefontsynonym [AntykwaTorunska-CondMedItalicCap]  [\typescriptthree-anttcmi] [encoding=\typescriptthree]
  \definefontsynonym [AntykwaTorunska-CondCap]           [\typescriptthree-anttcr]  [encoding=\typescriptthree]
  \definefontsynonym [AntykwaTorunska-CondItalicCap]     [\typescriptthree-anttcri] [encoding=\typescriptthree]
\stoptypescript

% mabye no -Regular etc
% dunny reverse of condlight lightcond

\starttypescript [math] [antykwa-torunska] [default]
  \definefontsynonym [AntykwaTorunska-Math-Letters-Regular]       [rm-anttr]
  \definefontsynonym [AntykwaTorunska-Math-Letters-RegularItalic] [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-CondRegularItalic] [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

% Antykwa Poltawskiego (GUST)

\starttypescript [serif] [antykwa-poltawskiego] [texnansi,ec,8r]
  \definefontsynonym [AntykwaPoltawskiego-Regular]    [\typescriptthree-antpr]  [encoding=\typescriptthree]
  \definefontsynonym [AntykwaPoltawskiego-Bold]       [\typescriptthree-antpb]  [encoding=\typescriptthree]
  \definefontsynonym [AntykwaPoltawskiego-Italic]     [\typescriptthree-antpri] [encoding=\typescriptthree]
  \definefontsynonym [AntykwaPoltawskiego-BoldItalic] [\typescriptthree-antpbi] [encoding=\typescriptthree]
\stoptypescript

% Iwona (JMN)

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

\starttypescript [sans] [iwona-light,iwona,iwona-medium,iwona-heavy,iwona-light-cond,iwona-cond,iwona-medium-cond,iwona-heavy-cond] [texnansi,ec,el,qx,t5]
  \definefontsynonym[Iwona-Light]                 [\typescriptthree-iwonal]      [encoding=\typescriptthree]
  \definefontsynonym[Iwona-Regular]               [\typescriptthree-iwonar]      [encoding=\typescriptthree]
  \definefontsynonym[Iwona-Medium]                [\typescriptthree-iwonam]      [encoding=\typescriptthree]
  \definefontsynonym[Iwona-Bold]                  [\typescriptthree-iwonab]      [encoding=\typescriptthree]
  \definefontsynonym[Iwona-Heavy]                 [\typescriptthree-iwonah]      [encoding=\typescriptthree]
  \definefontsynonym[Iwona-LightItalic]           [\typescriptthree-iwonali]     [encoding=\typescriptthree]
  \definefontsynonym[Iwona-RegularItalic]         [\typescriptthree-iwonari]     [encoding=\typescriptthree]
  \definefontsynonym[Iwona-MediumItalic]          [\typescriptthree-iwonami]     [encoding=\typescriptthree]
  \definefontsynonym[Iwona-BoldItalic]            [\typescriptthree-iwonabi]     [encoding=\typescriptthree]
  \definefontsynonym[Iwona-HeavyItalic]           [\typescriptthree-iwonahi]     [encoding=\typescriptthree]

  \definefontsynonym[Iwona-CapsLight]             [\typescriptthree-iwonalcap]   [encoding=\typescriptthree]
  \definefontsynonym[Iwona-CapsRegular]           [\typescriptthree-iwonarcap]   [encoding=\typescriptthree]
  \definefontsynonym[Iwona-CapsMedium]            [\typescriptthree-iwonamcap]   [encoding=\typescriptthree]
  \definefontsynonym[Iwona-CapsBold]              [\typescriptthree-iwonabcap]   [encoding=\typescriptthree]
  \definefontsynonym[Iwona-CapsHeavy]             [\typescriptthree-iwonahcap]   [encoding=\typescriptthree]
  \definefontsynonym[Iwona-CapsLightItalic]       [\typescriptthree-iwonalicap]  [encoding=\typescriptthree]
  \definefontsynonym[Iwona-CapsRegularItalic]     [\typescriptthree-iwonaricap]  [encoding=\typescriptthree]
  \definefontsynonym[Iwona-CapsMediumItalic]      [\typescriptthree-iwonamicap]  [encoding=\typescriptthree]
  \definefontsynonym[Iwona-CapsBoldItalic]        [\typescriptthree-iwonabicap]  [encoding=\typescriptthree]
  \definefontsynonym[Iwona-CapsHeavyItalic]       [\typescriptthree-iwonahicap]  [encoding=\typescriptthree]

  \definefontsynonym[Iwona-CondLight]             [\typescriptthree-iwonacl]     [encoding=\typescriptthree]
  \definefontsynonym[Iwona-CondRegular]           [\typescriptthree-iwonacr]     [encoding=\typescriptthree]
  \definefontsynonym[Iwona-CondMedium]            [\typescriptthree-iwonacm]     [encoding=\typescriptthree]
  \definefontsynonym[Iwona-CondBold]              [\typescriptthree-iwonacb]     [encoding=\typescriptthree]
  \definefontsynonym[Iwona-CondHeavy]             [\typescriptthree-iwonach]     [encoding=\typescriptthree]
  \definefontsynonym[Iwona-CondLightItalic]       [\typescriptthree-iwonacli]    [encoding=\typescriptthree]
  \definefontsynonym[Iwona-CondRegularItalic]     [\typescriptthree-iwonacri]    [encoding=\typescriptthree]
  \definefontsynonym[Iwona-CondMediumItalic]      [\typescriptthree-iwonacmi]    [encoding=\typescriptthree]
  \definefontsynonym[Iwona-CondBoldItalic]        [\typescriptthree-iwonacbi]    [encoding=\typescriptthree]
  \definefontsynonym[Iwona-CondHeavyItalic]       [\typescriptthree-iwonachi]    [encoding=\typescriptthree]

  \definefontsynonym[Iwona-CondCapsLight]         [\typescriptthree-iwonaclcap]  [encoding=\typescriptthree]
  \definefontsynonym[Iwona-CondCapsRegular]       [\typescriptthree-iwonacrcap]  [encoding=\typescriptthree]
  \definefontsynonym[Iwona-CondCapsMedium]        [\typescriptthree-iwonacmcap]  [encoding=\typescriptthree]
  \definefontsynonym[Iwona-CondCapsBold]          [\typescriptthree-iwonacbcap]  [encoding=\typescriptthree]
  \definefontsynonym[Iwona-CondCapsHeavy]         [\typescriptthree-iwonachcap]  [encoding=\typescriptthree]
  \definefontsynonym[Iwona-CondCapsLightItalic]   [\typescriptthree-iwonaclicap] [encoding=\typescriptthree]
  \definefontsynonym[Iwona-CondCapsRegularItalic] [\typescriptthree-iwonacricap] [encoding=\typescriptthree]
  \definefontsynonym[Iwona-CondCapsMediumItalic]  [\typescriptthree-iwonacmicap] [encoding=\typescriptthree]
  \definefontsynonym[Iwona-CondCapsBoldItalic]    [\typescriptthree-iwonacbicap] [encoding=\typescriptthree]
  \definefontsynonym[Iwona-CondCapsHeavyItalic]   [\typescriptthree-iwonachicap] [encoding=\typescriptthree]
\stoptypescript

\starttypescript [math] [iwona] [default]
  \definefontsynonym [Iwona-Math-Letters-Regular]       [rm-iwonar]
  \definefontsynonym [Iwona-Math-Letters-RegularItalic] [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]         [rm-iwonal]
  \definefontsynonym [Iwona-Math-Letters-LightItalic]   [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]        [rm-iwonam]
  \definefontsynonym [Iwona-Math-Letters-MediumItalic]  [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]         [rm-iwonah]
  \definefontsynonym [Iwona-Math-Letters-HeavyItalic]   [mi-iwonahi]
  \definefontsynonym [Iwona-Math-Symbols-Heavy]         [sy-iwonahz]
  \definefontsynonym [Iwona-Math-Extension-Heavy]       [ex-iwonah]
\stoptypescript

% Kurier (JMN)

\starttypescript [sans] [kurier-light,kurier,kurier-medium] [texnansi,ec,qx,t5]
  \definefontsynonym[Kurier-Light]         [\typescriptthree-kurierl]  [encoding=\typescriptthree]
  \definefontsynonym[Kurier-Regular]       [\typescriptthree-kurierr]  [encoding=\typescriptthree]
  \definefontsynonym[Kurier-Medium]        [\typescriptthree-kurierm]  [encoding=\typescriptthree]
  \definefontsynonym[Kurier-Bold]          [\typescriptthree-kurierb]  [encoding=\typescriptthree]
  \definefontsynonym[Kurier-Heavy]         [\typescriptthree-kurierh]  [encoding=\typescriptthree]
  \definefontsynonym[Kurier-LightItalic]   [\typescriptthree-kurierli] [encoding=\typescriptthree]
  \definefontsynonym[Kurier-RegularItalic] [\typescriptthree-kurierri] [encoding=\typescriptthree]
  \definefontsynonym[Kurier-MediumItalic]  [\typescriptthree-kuriermi] [encoding=\typescriptthree]
  \definefontsynonym[Kurier-BoldItalic]    [\typescriptthree-kurierbi] [encoding=\typescriptthree]
  \definefontsynonym[Kurier-HeavyItalic]   [\typescriptthree-kurierhi] [encoding=\typescriptthree]
\stoptypescript

\starttypescript [math] [kurier] [default]
  \definefontsynonym [Kurier-Math-Letters-Regular]       [rm-kurierr]
  \definefontsynonym [Kurier-Math-Letters-RegularItalic] [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]         [rm-kurierl]
  \definefontsynonym [Kurier-Math-Letters-LightItalic]   [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]        [rm-kurierm]
  \definefontsynonym [Kurier-Math-Letters-MediumItalic]  [mi-kuriermi]
  \definefontsynonym [Kurier-Math-Symbols-Medium]        [sy-kuriermz]
  \definefontsynonym [Kurier-Math-Extension-medium]      [ex-kurierm]
\stoptypescript

% Palatino (URW)

\starttypescript [serif] [palatino] [texnansi,ec,8r,t5]
  \definefontsynonym [Palatino]             [\typescriptthree-uplr8a]  [encoding=\typescriptthree]
  \definefontsynonym [Palatino-Italic]      [\typescriptthree-uplri8a] [encoding=\typescriptthree]
  \definefontsynonym [Palatino-Bold]        [\typescriptthree-uplb8a]  [encoding=\typescriptthree]
  \definefontsynonym [Palatino-BoldItalic]  [\typescriptthree-uplbi8a] [encoding=\typescriptthree]

  \definefontsynonym [Palatino-Slanted]     [\typescriptthree-uplr8a-slanted-167]     [encoding=\typescriptthree]
  \definefontsynonym [Palatino-BoldSlanted] [\typescriptthree-uplb8a-slanted-167]     [encoding=\typescriptthree]
  \definefontsynonym [Palatino-Caps]        [\typescriptthree-uplr8a-capitalized-800] [encoding=\typescriptthree]
\stoptypescript

\starttypescript [serif] [palatino] [qx]
  \definefontsynonym [Palatino]             [qplr]  [encoding=qx]
  \definefontsynonym [Palatino-Italic]      [qplri] [encoding=qx]
  \definefontsynonym [Palatino-Bold]        [qplb]  [encoding=qx]
  \definefontsynonym [Palatino-BoldItalic]  [qplbi] [encoding=qx]

  \definefontsynonym [Palatino-Slanted]     [Palatino-Italic]
  \definefontsynonym [Palatino-BoldSlanted] [Palatino-BoldItalic]
  \definefontsynonym [Palatino-Caps]        [Palatino]
\stoptypescript

% bonus definitions

% when these fonts are in tex live ...
%
% \definefontsynonym [Palatino-Caps] [TeXPalladioL-SC] [encoding=\typescriptthree]

\starttypescript [serif] [palatino] [ec,texnansi,8r]

 \definefontsynonym[TeXPalladioL-BoldItalicOsF][\typescriptthree-fplbij8a][encoding=\typescriptthree]
 \definefontsynonym[TeXPalladioL-BoldOsF]      [\typescriptthree-fplbj8a] [encoding=\typescriptthree]
 \definefontsynonym[TeXPalladioL-SC]           [\typescriptthree-fplrc8a] [encoding=\typescriptthree]
 \definefontsynonym[TeXPalladioL-ItalicOsF]    [\typescriptthree-fplrij8a][encoding=\typescriptthree]

\stoptypescript

% Palatino Math (PX)

\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]
\stoptypescript

% Bookman (URW)

\starttypescript [serif] [bookman] [ec,texnansi,8r,t5]
  \definefontsynonym [Bookman-Light]           [\typescriptthree-ubkl8a]                 [encoding=\typescriptthree]
  \definefontsynonym [Bookman-LightItalic]     [\typescriptthree-ubkli8a]                [encoding=\typescriptthree]
  \definefontsynonym [Bookman-DemiBold]        [\typescriptthree-ubkd8a]                 [encoding=\typescriptthree]
  \definefontsynonym [Bookman-DemiBoldItalic]  [\typescriptthree-ubkdi8a]                [encoding=\typescriptthree]
  \definefontsynonym [Bookman-LightSlanted]    [\typescriptthree-ubkl8a-slanted-167]     [encoding=\typescriptthree]
  \definefontsynonym [Bookman-DemiBoldSlanted] [\typescriptthree-ubkd8a-slanted-167]     [encoding=\typescriptthree]
  \definefontsynonym [Bookman-Light-Caps]      [\typescriptthree-ubkl8a-capitalized-800] [encoding=\typescriptthree]
\stoptypescript

\starttypescript [serif] [bookman] [qx]
  \definefontsynonym [Bookman-Light]           [qbkr]  [encoding=qx]
  \definefontsynonym [Bookman-LightItalic]     [qbkri] [encoding=qx]
  \definefontsynonym [Bookman-DemiBold]        [qbkb]  [encoding=qx]
  \definefontsynonym [Bookman-DemiBoldItalic]  [qbkbi] [encoding=qx]

  \definefontsynonym [Bookman-LightSlanted]    [Bookman-LightItalic]
  \definefontsynonym [Bookman-DemiBoldSlanted] [Bookman-DemiBoldItalic]
  \definefontsynonym [Bookman-Light-Caps]      [Bookman-Light]
\stoptypescript

% Chancery (URW)

\starttypescript [calligraphy] [chancery] [ec,texnansi,8r]
  \definefontsynonym [Chancery] [\typescriptthree-uzcmi8a] [encoding=\typescriptthree]
\stoptypescript

\starttypescript [calligraphy] [chancery] [qx]
  \definefontsynonym [Chancery] [qzcmi] [encoding=qx]
\stoptypescript

% New Century Schoolbook (URW)

\starttypescript [serif] [schoolbook] [ec,texnansi,8r,t5]
  \definefontsynonym [Schoolbook-Roman]        [\typescriptthree-uncr8a]                 [encoding=\typescriptthree]
  \definefontsynonym [Schoolbook-Italic]       [\typescriptthree-uncri8a]                [encoding=\typescriptthree]
  \definefontsynonym [Schoolbook-Bold]         [\typescriptthree-uncb8a]                 [encoding=\typescriptthree]
  \definefontsynonym [Schoolbook-BoldItalic]   [\typescriptthree-uncbi8a]                [encoding=\typescriptthree]
  \definefontsynonym [Schoolbook-RomanSlanted] [\typescriptthree-uncr8a-slanted-167]     [encoding=\typescriptthree]
  \definefontsynonym [Schoolbook-BoldSlanted]  [\typescriptthree-uncb8a-slanted-167]     [encoding=\typescriptthree]
  \definefontsynonym [Schoolbook-Roman-Caps]   [\typescriptthree-uncr8a-capitalized-800] [encoding=\typescriptthree]
\stoptypescript

% Utopia (Adobe)

\starttypescript [serif] [utopia] [ec,texnansi]
  \definefontsynonym [Utopia-Regular]     [\typescriptthree-putr8a]                 [encoding=\typescriptthree]
  \definefontsynonym [Utopia-Italic]      [\typescriptthree-putri8a]                [encoding=\typescriptthree]
  \definefontsynonym [Utopia-Bold]        [\typescriptthree-putb8a]                 [encoding=\typescriptthree]
  \definefontsynonym [Utopia-BoldItalic]  [\typescriptthree-putbi8a]                [encoding=\typescriptthree]
  \definefontsynonym [Utopia-Slanted]     [\typescriptthree-putr8a-slanted-167]     [encoding=\typescriptthree]
  \definefontsynonym [Utopia-BoldSlanted] [\typescriptthree-putb8a-slanted-167]     [encoding=\typescriptthree]
  \definefontsynonym [Utopia-Regular-Caps][\typescriptthree-putr8a-capitalized-800] [encoding=\typescriptthree]
\stoptypescript

% Charter (Bitstream)

\starttypescript [serif] [charter] [ec,texnansi,8r]
  \definefontsynonym [Charter-Roman]      [\typescriptthree-bchr8a]                 [encoding=\typescriptthree]
  \definefontsynonym [Charter-Italic]     [\typescriptthree-bchri8a]                [encoding=\typescriptthree]
  \definefontsynonym [Charter-Bold]       [\typescriptthree-bchb8a]                 [encoding=\typescriptthree]
  \definefontsynonym [Charter-BoldItalic] [\typescriptthree-bchbi8a]                [encoding=\typescriptthree]
  \definefontsynonym [Charter-Slanted]    [\typescriptthree-bchr8a-slanted-167]     [encoding=\typescriptthree]
  \definefontsynonym [Charter-BoldSlanted][\typescriptthree-bchb8a-slanted-167]     [encoding=\typescriptthree]
  \definefontsynonym [Charter-Roman-Caps] [\typescriptthree-bchr8a-capitalized-800] [encoding=\typescriptthree]
\stoptypescript

% Whatever else we need:

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

\stoptypescriptcollection

\endinput
