At 02:45 PM 2/9/2003 -0500, Bruce D'Arcus wrote:
Thanks for the help with this font stuff people! It now works. Beyond needing to change the memory settings, I was incorrectly specifying the osf font. This works though:
\usetypescriptfile[type-otp.tex]
\definetypeface [maintext] [rm] [serif] [minionpro,minionpro-osf][default] [encoding=texnansi] \definetypeface [maintext] [ss] [sans] [gillsans] [default] [encoding=texnansi]
\setupbodyfont[maintext,rm,10pt]
Now, to go back to the auto-size-switching thing, here's a variation on the suggestion by Hans:
\definefontsynonym [AutoSerif] [\fontrange {MinionPro-Capt <10pt MinionPro-Regular <12pt MinionPro-Subh <15pt MinionPro-Display ??? }]
(am not sure how to specify the last)
no specification, just a name, it's the auto-fall back
So exactly where do I put this in the typescriptfile, and how do I integrate it? What I want to do is to be able to put, for example, MinionPro-BoldCapt-OSF-8y, into the "minionpro,minionpro-osf" typescript below, and each respective optical font into its respective typescript. I'm not really understanding the logic of how this would work.
\starttypescript [serif] [minionpro] [name]
\definefontsynonym [Serif] [MinionPro-Regular] \definefontsynonym [SerifCaps] [MinionPro-Caps] \definefontsynonym [SerifSlanted] [MinionPro-RegularItalic] \definefontsynonym [SerifItalic] [MinionPro-RegularItalic] \definefontsynonym [SerifBold] [MinionPro-Bold] \definefontsynonym [SerifBoldSlanted] [MinionPro-BoldItalic] \definefontsynonym [SerifBoldItalic] [MinionPro-BoldItalic]
\stoptypescript
something \starttypescript [serif] [minionpro-auto] [name] \definefontsynonym [Serif] [\fontrange{.....}] .... \stoptypescript Hans ------------------------------------------------------------------------- Hans Hagen | PRAGMA ADE | pragma@wxs.nl 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 -------------------------------------------------------------------------