At 07:28 PM 2/3/2003 -0500, Bruce D'Arcus wrote:

Thanks!  But...now what?

Let's take my earlier LaTeX example:

\DeclareFontShape{T1}{minion}{m}{n}{
<-6> MinionPro-SemiboldCapt-8t
<6-9> MinionPro-Capt-8t
<9-12> MinionPro-Regular-8t
<12-15> MinionPro-Subh-8t
<15-> MinionPro-Disp-8t}{\romanprotruding}

And the typescript as it currently stands:

\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

So what do I add to the above so that, for example, MinionPro-Capt-8y is used as the roman default at font sizes between 6 and 9 pt, MinionPro-Regular-8y between 9 and 12, etc.?
\definefontsynonym
  [AutoSerif]
  [\fontrange
     {MinionPro-Caps    <10pt
      MinionPro-Regular <12pt
      MinionPro-Disp    <15pt
      MinionPro-Something}]

and then

  \definefontsynonym[MinionPro-Caps][MinionPro-regular-SC-8y][encoding=texnansi]

with for instance

  \definefont[BigTitleFont][AutoSerif sa 2]

and alike; it all depends on how you want to use it


Remember: I'm not a programmer, and I still get confused by the font mechanism that is already there ;-)
i'm no programmer either (educational technology, long ago -)

Hans
-------------------------------------------------------------------------
                                  Hans Hagen | PRAGMA ADE | [EMAIL PROTECTED]
                      Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-------------------------------------------------------------------------
                       information: http://www.pragma-ade.com/roadmap.pdf
                    documentation: http://www.pragma-ade.com/showcase.pdf
-------------------------------------------------------------------------

_______________________________________________
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context

Reply via email to