The following should work with the stable ConTeXt from January:

\usetypescript [adobekb][\defaultencoding]
\setupbodyfont[pos]

\usetypescript[times][\defaultencoding]
\setupbodyfont[times,12pt]

\starttext
\input knuth
\bigskip

\stoptext


If not, please post the error message together with version information of your system.

Matthias


On Mar 18, 2005, at 10:41 PM, Xue Ruini wrote:

Hello everyone,

I am a newbie to ConTeXt. I have no idea how to use the Times Roman font
in ConTeXt. (in Latex, just \usepackage{times})


I found something like this: (http://home.salamander.com/~wmcclain/context-help.html)

   % Times font
   \usetypescript[berry][ec] % or [8r]
   \setupbodyfont[pos]

   \starttext
   hellow, world
   \stoptext

   but an error occours:
---------------------------------------------
kpathsea: Running mktexmf utmr8t
! I can't find file `utmr8t'.
<*> ...:=ljfour; mag:=1; nonstopmode; input utmr8t

Please type another input file name
! Emergency stop.
<*> ...:=ljfour; mag:=1; nonstopmode; input utmr8t

Transcript written on mfput.log.
mktextfm: `mf-nowin -progname=mf \mode:=ljfour; mag:=1; nonstopmode; input utmr8t' failed.
kpathsea: Appending font creation commands to missfont.log.


! Font \*12ptrmtf*=utmr8t at 12.0pt not loadable: Metric (TFM) file not found.
<to be read again>
\relax
\xxdododefinefont ...tspec {#4}\newfontidentifier
\let \localrelativefontsiz...


\fontstrategy ...ame #1\csname #2#3#4#5\endcsname
\tryingfontfalse \fi
<inserted text> ...yle \fontalternative \fontsize
\fi \iftryingfont \fontstr...


\synchronizefont ...strategy \the \fontstrategies
\relax \fi \ifskipfontchar...
<argument> \getvalue [EMAIL PROTECTED]@ \fontstyle }
\edef \fontstyle {\fontstyle }\if...
...
l.2 \setupbodyfont[pos]


?

----------------------------------------------

I want to know what I can do with it. Thanks!


Leo





_______________________________________________
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context



_______________________________________________ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context

Reply via email to