%D \module
%D   [       file=type-map,
%D        version=2001.04.12,
%D          title=\CONTEXT\ Typescript Macros,
%D       subtitle=Mapfile 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.

\starttypescriptcollection[map files]

%D This one plays safe:

\starttypescript [map] [base] [all]
  \loadmapfile[original-base.map]
  \loadmapfile[ec-base.map]
  \loadmapfile[texnansi-base.map]
  \loadmapfile[8r-base.map]
  \loadmapfile[qx-base.map]
  \loadmapfile[t5-base.map]
\stoptypescript

\starttypescript [map] [base,euler,ams] [all]
  \loadmapfile[original-ams-base.map]
% \loadmapfile[original-ams-cmr.map]
  \loadmapfile[original-ams-euler.map]
  \loadmapfile[original-public-lm.map]
\stoptypescript

% This is the base map file, load it to be sure.

\starttypescript [map] [all] [ec,8r,texnansi,qx,t5]
  \loadmapfile[original-base.map]
  \loadmapfile[\typescriptthree-base.map]
\stoptypescript

% if we were in full control, we could have
%
% \starttypescript [berry] [ec]
%   \loadmapfile[ec-base.map]
% \stoptypescript

% cmr and related

\starttypescript [map] [cmr,lm,lmr]
  \loadmapfile[original-public-lm.map]
  \loadmapfile[original-ams-base.map]
  \loadmapfile[original-ams-euler.map]
\stoptypescript

% cyrillic

\starttypescript [map] [computer-modern] [t2a,t2b,t2c,x2]
  \loadmapfile[subset-cmsuper-\typescriptthree.map]
  \loadmapfile[cm-super-\typescriptthree.map]
\stoptypescript

% latin modern (watch the unfortunate \quote {lm-encoding} order
% in the name; for the moment we ship copies of the map files.

\starttypescript [map] [modern,modern-vari,modern-cond,computer-modern,latin-modern,latin-modern-vari,latin-modern-cond,] [ec,texnansi,qx,t5]
  % this was what we had at the start and what fits best into our naming scheme
  % well, all those changes in lm gave too many user problem reports so i revert to:
  % \loadmapfile[\typescriptthree-public-lm.map]
  % this one also fits into the naming scheme but has been dropped by the distributers
  % \loadmapfile[\typescriptthree-lm.map]
  % this is what the latest distributions provide
  \loadmapfile[lm-\typescriptthree.map] % maybe some day
\stoptypescript

% \usetypescript [map] [latin-modern-os] [ec] % lm is loaded under ec regime
% \starttext
%     Is onze Frans nu 41, 52, 63, 74, 85 of 96 jaar \quote {old}?
% \stoptext

\starttypescript [map] [latin-modern-os] [ec,texnansi,qx,t5]
  \loadmapfile[\typescriptthree-os-public-lm.map]
\stoptypescript

% the next applies to texfont generated metrics

\starttypescript [map] [utopia] [ec,texnansi,t5,8r]
  \loadmapfile[\typescriptthree-adobe-utopia.map]
\stoptypescript

\starttypescript [map] [charter] [ec,texnansi,t5,8r]
  \loadmapfile[\typescriptthree-bitstrea-charter.map]
\stoptypescript

% \starttypescript [map] [antykwa-torunska,antykwa-torunska-light,antykwa-torunska-cond,antykwa-torunska-lightcond] [texnansi,ec,qx,t5,t2a,t2b,t2c,default]
%   \loadmapfile[\typescriptthree-antt.map]
%   \loadmapfile[rm-antt.map]
%   \loadmapfile[mi-antt.map]
%   \loadmapfile[sy-antt.map]
%   \loadmapfile[ex-antt.map]
% \stoptypescript

\starttypescript [map] [antykwa-torunska,antykwa-torunska-light,antykwa-torunska-cond,antykwa-torunska-lightcond] [texnansi,ec,qx,t5,t2a,t2b,t2c,default]
  \loadmapfile[antt-\typescriptthree.map]
  \loadmapfile[antt-rm.map]
  \loadmapfile[antt-mi.map]
  \loadmapfile[antt-sy.map]
  \loadmapfile[antt-ex.map]
\stoptypescript

\starttypescript [map] [antykwa-poltawskiego] [ec,texnansi,qx,t5]
  \loadmapfile[\typescriptthree-public-antp.map]
\stoptypescript

% \starttypescript [map] [iwona,iwona-light,iwona-medium,iwona-heavy] [ec,texnansi,qx,t5]
%   \loadmapfile[\typescriptthree-iwona.map]
%   \loadmapfile[rm-iwona.map]
%   \loadmapfile[mi-iwona.map]
%   \loadmapfile[sy-iwona.map]
%   \loadmapfile[ex-iwona.map]
% \stoptypescript

\starttypescript [map] [iwona,iwona-light,iwona-medium,iwona-heavy] [ec,texnansi,qx,t5]
  \loadmapfile[iwona-\typescriptthree.map]
  \loadmapfile[iwona-rm.map]
  \loadmapfile[iwona-mi.map]
  \loadmapfile[iwona-sy.map]
  \loadmapfile[iwona-ex.map]
\stoptypescript

% \starttypescript [map] [kurier,kurier-light,kurier-medium,kurier-heavy] [ec,texnansi,qx,t5,default]
%   \loadmapfile[\typescriptthree-kurier.map]
%   \loadmapfile[rm-kurier.map]
%   \loadmapfile[mi-kurier.map]
%   \loadmapfile[sy-kurier.map]
%   \loadmapfile[ex-kurier.map]
% \stoptypescript

\starttypescript [map] [kurier,kurier-light,kurier-medium,kurier-heavy] [ec,texnansi,qx,t5,default]
  \loadmapfile[kurier-\typescriptthree.map]
  \loadmapfile[kurier-rm.map]
  \loadmapfile[kurier-mi.map]
  \loadmapfile[kurier-sy.map]
  \loadmapfile[kurier-ex.map]
\stoptypescript

\starttypescript [map] [bookman] [ec,texnansi,t5,8r]
  \loadmapfile[\typescriptthree-urw-bookman.map]
\stoptypescript

\starttypescript [map] [courier] [ec,texnansi,t5,8r]
  \loadmapfile[\typescriptthree-urw-courier.map]
\stoptypescript

\starttypescript [map] [helvetica] [ec,texnansi,t5,8r]
  \loadmapfile[\typescriptthree-urw-helvetica.map]
\stoptypescript

\starttypescript [map] [palatino] [ec,texnansi,t5,8r]
  \loadmapfile[\typescriptthree-urw-palatino.map]
%   \loadmapfile[\typescriptthree-public-pfl.map]
\stoptypescript

\starttypescript [map] [times] [ec,texnansi,t5,8r]
  \loadmapfile[\typescriptthree-urw-times.map]
\stoptypescript

\starttypescript [map] [chancery] [ec,texnansi,t5,8r]
  \loadmapfile[\typescriptthree-urw-zapfchan.map]
\stoptypescript

\starttypescript [map] [schoolbook] [ec,texnansi,t5,8r]
  \loadmapfile[\typescriptthree-urw-ncntrsbk.map]
\stoptypescript

% once i can be sure that the map files are in the tree, i will
% use those instead of original (too many variants anyway)

\starttypescript [map] [palatino] [default,ec,texnansi,t5,8r]
  \loadmapfile[original-youngryu-px.map]
\stoptypescript

\starttypescript [map] [times] [default,ec,texnansi,t5,8r]
  \loadmapfile[original-youngryu-tx.map]
\stoptypescript

% to do: maybe original, maybe not

\starttypescript [map] [fourier] [ec]
  \loadmapfile[fourier.map]
  \loadmapfile[fourier-utopia-expert.map]
\stoptypescript

\stoptypescriptcollection

\endinput
