=========== type-OpenTypePro.tex ===============

% If I understand right, I need separate typescripts for each of these
% axes: optical size (caption, regular, subhead, display) and regular/old-style
% figures.  What I don't understand is how to name these files, and how to access
% them from a document.  For example, is the environment file at the bottom correct?
% If yes, what do I put in my doc?  

\starttypescript [serif] [minionpro] [name]

  \definefontsynonym [Serif]               [MinionPro-Regular]
  \definefontsynonym [SerifCaps]           [MinionPro-Caps]
  \definefontsynonym [SerifCaps]           [MinionPro-BoldCaps]
  \definefontsynonym [SerifSlanted]        [MinionPro-RegularItalic]
  \definefontsynonym [SerifItalic]         [MinionPro-RegularItalic]
  \definefontsynonym [SerifBold]           [MinionPro-Bold]
  \definefontsynonym [SerifBoldSlanted]    [MinionPro-BoldItalic]
  \definefontsynonym [SerifBoldItalic]     [MinionPro-BoldItalic]

\stoptypescript

\starttypescript [serif] [minionpro] [texnansi]

  \definefontsynonym[MinionPro-Bold]        [MinionPro-Bold-8y] [encoding=texnansi]
  \definefontsynonym[MinionPro-BoldItalic] [MinionPro-BoldIt-8y][encoding=texnansi]
  \definefontsynonym[MinionPro-BoldSlanted] [MinionPro-BoldIt-8y][encoding=texnansi]
  \definefontsynonym[MinionPro-Caps]      [MinionPro-Regular-SC-8y] [encoding=texnansi]
  \definefontsynonym[MinionPro-BoldCaps]      [MinionPro-Bold-SC-8y] [encoding=texnansi]
  \definefontsynonym[MinionPro-Regular]        [MinionPro-Regular-8y] [encoding=texnansi]
  \definefontsynonym[MinionPro-RegularItalic] [MinionPro-It-8y][encoding=texnansi]
  \definefontsynonym[MinionPro-RegularSlanted] [MinionPro-It-8y][encoding=texnansi]

\stoptypescript

\starttypescript [serif] [minionpro-osf] [texnansi]

  \definefontsynonym[MinionPro-Bold]        [MinionPro-Bold-OSF-8y] [encoding=texnansi]
  \definefontsynonym[MinionPro-BoldItalic] [MinionPro-BoldIt-OSF-8y][encoding=texnansi]
  \definefontsynonym[MinionPro-BoldSlanted] [MinionPro-BoldIt-OSF-8y][encoding=texnansi]
  \definefontsynonym[MinionPro-Caps]      [MinionPro-Regular-OSFSC-8y] [encoding=texnansi]
  \definefontsynonym[MinionPro-BoldCaps]      [MinionPro-Bold-OSFSC-8y] [encoding=texnansi]
  \definefontsynonym[MinionPro-Regular]        [MinionPro-Regular-OSF-8y] [encoding=texnansi]
  \definefontsynonym[MinionPro-RegularItalic] [MinionPro-It-OSF-8y][encoding=texnansi]
  \definefontsynonym[MinionPro-RegularSlanted] [MinionPro-It-OSF-8y][encoding=texnansi]

\stoptypescript

\starttypescript [serif] [didot] [name]

  \definefontsynonym [Serif]               [Didot-Regular]
  \definefontsynonym [SerifCaps]           [Didot-Caps]
  \definefontsynonym [SerifCaps]           [Didot-BoldCaps]
  \definefontsynonym [SerifSlanted]        [Didot-RegularItalic]
  \definefontsynonym [SerifItalic]         [Didot-RegularItalic]
  \definefontsynonym [SerifBold]           [Didot-Bold]
  \definefontsynonym [SerifBoldSlanted]    [Didot-BoldItalic]
  \definefontsynonym [SerifBoldItalic]     [Didot-BoldItalic]

\stoptypescript

\starttypescript [sans] [gillsans] [name]

  \definefontsynonym [Sans]            [GillSans-Roman]
  \definefontsynonym [SansCaps]        [GillSans-Roman]
  \definefontsynonym [SansItalic]      [GillSans-Italic]
  \definefontsynonym [SansSlanted]     [GillSans-Italic]
  \definefontsynonym [SansBold]        [GillSans-Bold]
  \definefontsynonym [SansBoldItalic]  [GillSans-BoldItalic]
  \definefontsynonym [SansBoldSlanted] [GillSans-BoldItalic]

\stoptypescript

\starttypescript [sans] [gillsans] [ec]

  \definefontsynonym[GillSans-Bold]       [mgsb8t]  [encoding=texnansi]
  \definefontsynonym[GillSans-BoldItalic] [mgsbi8t] [encoding=texnansi]
  \definefontsynonym[GillSans-Italic]     [mgsri8t]  [encoding=texnansi]
  \definefontsynonym[GillSans-Light]      [mgsl8t]  [encoding=texnansi]
  \definefontsynonym[GillSans-LightItalic][mgsli8t] [encoding=texnansi]
  \definefontsynonym[GillSans-Roman]      [mgsr8t]  [encoding=texnansi]

\stoptypescript

\starttypescript [sans] [optima] [name]

  \definefontsynonym [Sans]            [Optima-Roman]
  \definefontsynonym [SansCaps]        [Optima-Roman]
  \definefontsynonym [SansItalic]      [Optima-Italic]
  \definefontsynonym [SansSlanted]     [Optima-Italic]
  \definefontsynonym [SansBold]        [Optima-Bold]
  \definefontsynonym [SansBoldItalic]  [Optima-BoldItalic]
  \definefontsynonym [SansBoldSlanted] [Optima-BoldItalic]

\stoptypescript

\starttypescript [sans] [optima] [ec]

  \definefontsynonym[Optima-Bold]       [lopb8t]  [encoding=texnansi]
  \definefontsynonym[Optima-BoldItalic] [lopbi8t] [encoding=texnansi]
  \definefontsynonym[Optima-Italic]     [lopri8t]  [encoding=texnansi]
  \definefontsynonym[Optima-Roman]      [lopr8t]  [encoding=texnansi]

\stoptypescript


=========== minionpro-osf.tex ======================

\startenvironment minionpro-osf

\usetypescriptfile[typeface]

\definetypeface [maintext] [rm] [serif] [minionpro-osf]
  [default] [encoding=texnansi]
\definetypeface [maintext] [ss] [sans]  [gillsans]
  [default] [encoding=texnansi]
\definetypeface [maintext] [tt] [mono]  [computer-modern]
  [default] [encoding=default,rscale=1.1]
\definetypeface [maintext] [mm] [math]  [times]
  [default] [encoding=default,rscale=1.1]

\setupbodyfont[maintext,rm,10pt]

\stopenvironment
