Adam Lindsay wrote:
Stefan Wachter said this at Wed, 31 Mar 2004 18:17:29 +0200:
thanks for the help. After extracting the typescript code into a seperate typescript file everything works fine!
Ah, I remembered what Patrick did, now: \usetypescript[adobekb][texnansi] \usetypescript[times][texnansi] \setupbodyfont[times,ss] \starttext This is Helvetica, {\bf bold}, {\it italic}, {\bi bold-italic}, {\tfa bigger} and {\tfx smaller}. \stoptext
This minimal version worked for me. The typescripts are already there in ConTeXt... adam Hi Adam,
I tried the code of Patrick. It works for Times and Helvetica. Yet, if I switch to monospace using \tt then Computer Modern fonts are used / embedded. In addition, all this typescripts stuff is so confusing for me that I prefer to use my own simple typescript. Now I wonder how to integrate the PDF base 14 ZapfDingbats and Symbols font. Do you have a clue? Additionally, it would be great to have the math mode work, too (with embedding of course). Thanks again, --Stefan PS: Here is the complete typescript: \starttypescript [sans] [helvetica] [texnansi] \definefontsynonym [Helvetica] [hv] [encoding=texnansi] \definefontsynonym [Helvetica-Bold] [hvb] [encoding=texnansi] \definefontsynonym [Helvetica-BoldOblique] [hvbo] [encoding=texnansi] \definefontsynonym [Helvetica-Oblique] [hvo] [encoding=texnansi] \stoptypescript \starttypescript [sans] [helvetica] [name] \definefontsynonym [Sans] [Helvetica] \definefontsynonym [SansBold] [Helvetica-Bold] \definefontsynonym [SansItalic] [Helvetica-Oblique] \definefontsynonym [SansSlanted] [Helvetica-Oblique] \definefontsynonym [SansBoldItalic] [Helvetica-BoldOblique] \definefontsynonym [SansBoldSlanted] [Helvetica-BoldOblique] \definefontsynonym [SansCaps] [Helvetica] \stoptypescript \starttypescript [serif] [times] [texnansi] \definefontsynonym [Times-Roman] [tir] [encoding=texnansi] \definefontsynonym [Times-Bold] [tib] [encoding=texnansi] \definefontsynonym [Times-BoldItalic] [tibi] [encoding=texnansi] \definefontsynonym [Times-Italic] [tii] [encoding=texnansi] \stoptypescript \starttypescript [serif] [times] [name] \definefontsynonym [Serif] [Times] \definefontsynonym [SerifBold] [Times-Bold] \definefontsynonym [SerifItalic] [Times-Italic] \definefontsynonym [SerifSlanted] [Times-Italic] \definefontsynonym [SerifBoldItalic] [Times-BoldItalic] \definefontsynonym [SerifBoldSlanted] [Times-BoldItalic] \definefontsynonym [SerifCaps] [Times] \stoptypescript \starttypescript [mono] [courier] [texnansi] \definefontsynonym [Courier] [com] [encoding=texnansi] \definefontsynonym [Courier-Bold] [cob] [encoding=texnansi] \definefontsynonym [Courier-BoldOblique] [cobo] [encoding=texnansi] \definefontsynonym [Courier-Oblique] [coo] [encoding=texnansi] \stoptypescript \starttypescript [mono] [courier] [name] \definefontsynonym [Mono] [Courier] \definefontsynonym [MonoBold] [Courier-Bold] \definefontsynonym [MonoItalic] [Courier-Oblique] \definefontsynonym [MonoSlanted] [Courier-Oblique] \definefontsynonym [MonoBoldItalic] [Courier-BoldOblique] \definefontsynonym [MonoBoldSlanted] [Courier-BoldOblique] \definefontsynonym [MonoCaps] [Courier] \stoptypescript \starttypescript [pdf] \definetypeface [pdf] [ss] [sans] [helvetica] [default] [encoding=texnansi] \definetypeface [pdf] [rm] [serif] [times] [default] [encoding=texnansi] \definetypeface [pdf] [tt] [mono] [courier] [default] [encoding=texnansi] \stoptypescript