Hi,

one other question:

why do I have to say  \switchtobodyfont [rm] in order to switch to the new 
font? The  \showbodyfont looks ok but everything is typeset in the old \rm 
(cmr)

by the way: what is the preferred method to switch the \rm style only? I 
would like to be able to say \usetypescript[times] and have the \rm 
changed, but leave the \ss and \tt alone. So it would stay at cmss and 
cmtt, unless I issue a changing command.


file a.tex:

\enableregime [il1]
\setupencoding[default=ec]
\usetypescriptfile[type-tetex]
\usetypescript[tetex]
\starttext
\switchtobodyfont [rm]%  <----------------- this line
The quick brown fox jumps over the 1234567890 lazy dog ��� � ���
\showcharacters
\showbodyfont
\stoptext



file type-tetex.tex:
%% do not use :) except for experiments
%% Patrick Gundlach
%% Last Change: Thu Apr  4 23:00:30 2002

% 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

\starttypescript [tetex]
  \usetypescript[tetexnames][ec]
  \usetypescript[serif][tetextimes][name]% mapping Serif-> Times-Roman
  \usetypescript[serif][default][size]% type-siz.tex
\stoptypescript


-- 
Viele Gr��e, 

    Patrick Gundlach

Reply via email to