Hi, 

again a font problem :)

that is my type-tetex.tex:
-----------------------------------------------------
% Times-Roman
\starttypescript [tetexnames][ec]
 \definefontsynonym [Times-Roman]      [ptmr8t]  [encoding=ec]
 \definefontsynonym [Times-Italic]     [ptmri8t] [encoding=ec]
 \definefontsynonym [Times-Bold]       [ptmb8t]  [encoding=ec]
 \definefontsynonym [Times-BoldItalic] [ptmbi8t] [encoding=ec]
 \definefontsynonym [Times-Slanted]    [ptmro8t] [encoding=ec]
 \definefontsynonym [Times-BoldSlanted][ptmbo8t] [encoding=ec]
 \definefontsynonym [Times-Caps]       [ptmrc8t] [encoding=ec]
 \definefontsynonym [Times-BoldCaps]   [ptmbc8t] [encoding=ec]
\stoptypescript
\starttypescript[serif][tetextimes][name]
 \definefontsynonym [Serif]           [Times-Roman]
 \definefontsynonym [SerifItalic]     [Times-Italic]
 \definefontsynonym [SerifBold]       [Times-Bold]        
 \definefontsynonym [SerifBoldItalic] [Times-BoldItalic]  
 \definefontsynonym [SerifSlanted]    [Times-Slanted]     
 \definefontsynonym [SerifBoldSlanted][Times-BoldSlanted] 
 \definefontsynonym [SerifCaps]       [Times-Caps] 
 \definefontsynonym [SerifBoldCaps]   [Times-BoldCaps] 
\stoptypescript
-----------------------------------------------------

and here is the problem child:
-----------------------------------------------------
\setupencoding[default=ec]
\usetypescriptfile[type-tetex]
\usetypescript[tetexnames][ec]
\definetypeface [patrick] [rm] [serif] [tetextimes] [default] [encoding=ec]

\starttext
\switchtobodyfont[patrick]
%typeset in Times-Roman
The quick brown fox ...

\startMPenvironment 
 \switchtobodyfont[patrick]
\stopMPenvironment 

\startMPcode
draw btex Good Morning etex; % this gets typeset in cmr
\stopMPcode

\stoptext
\endinput
-----------------------------------------------------

How can I make the Good Morning appear in 'patrick' aka Times-Roman?!?

-- 
Viele Gr��e, 

    Patrick Gundlach

Reply via email to