From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/19229 Path: news.gmane.org!not-for-mail From: ishamid Newsgroups: gmane.comp.tex.context Subject: RE: how to use Times Roman font Date: Sun, 20 Mar 2005 16:40:37 -0700 Message-ID: <42472942@webmail.colostate.edu> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1111361927 24463 80.91.229.2 (20 Mar 2005 23:38:47 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 20 Mar 2005 23:38:47 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Mon Mar 21 00:38:47 2005 Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by ciao.gmane.org with esmtp (Exim 4.43) id 1DDA0H-000491-F9 for gctc-ntg-context-518@m.gmane.org; Mon, 21 Mar 2005 00:38:41 +0100 Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 7DCC81293F; Mon, 21 Mar 2005 00:40:43 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (ronja.vet.uu.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 31973-04-3; Mon, 21 Mar 2005 00:40:40 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id E9502128B6; Mon, 21 Mar 2005 00:40:40 +0100 (CET) Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 2B5A8128B6 for ; Mon, 21 Mar 2005 00:40:40 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (ronja.vet.uu.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 31973-04-2 for ; Mon, 21 Mar 2005 00:40:39 +0100 (CET) Original-Received: from eagle.colostate.edu (eagle.acns.colostate.edu [129.82.100.90]) by ronja.ntg.nl (Postfix) with ESMTP id C5FF112890 for ; Mon, 21 Mar 2005 00:40:38 +0100 (CET) Original-Received: from lamar.colostate.edu (lamar.acns.colostate.edu [129.82.100.75]) by eagle.colostate.edu (AIX5.1/8.11.6p2/8.11.0) with ESMTP id j2KNecS1401782 for ; Sun, 20 Mar 2005 16:40:38 -0700 Original-Received: from webmail.colostate.edu (csunts4.acns.colostate.edu [129.82.100.135]) by lamar.colostate.edu (AIX5.1/8.11.6p2/8.11.0) with ESMTP id j2KNebH740708 for ; Sun, 20 Mar 2005 16:40:37 -0700 X-WebMail-UserID: ishamid Original-To: mailing list for ConTeXt users X-EXP32-SerialNo: 00002247, 00002264 X-Mailer: Infinite Mobile Delivery (Hydra) SMTP v3.62.01 X-Virus-Scanned: by amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.5 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl X-Virus-Scanned: by amavisd-new at ntg.nl X-MailScanner-From: ntg-context-bounces@ntg.nl X-MailScanner-To: gctc-ntg-context-518@m.gmane.org Xref: news.gmane.org gmane.comp.tex.context:19229 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:19229 >===== Original Message From Matthias Weber ===== >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 On my system, using the above, the following happens (why??): ============================================ This is pdfeTeX, Version 3.141592-1.20a-2.2 (Web2c 7.5.3) (format=cont-en 2005.3.18) 20 MAR 2005 16:52 entering extended mode \write18 enabled. (c:\CONTEXT\texmf-local/web2c/natural.tcx) **&pdfetex/cont-en times.tex (./times.tex (c:\CONTEXT\texmf-local/tex/context/base/type-akb.tex)) ! Font \*12ptrmtf*=ptmr8t at 12.0pt not loadable: Metric (TFM) file not found. \relax \xxdododefinefont ...tspec {#4}\newfontidentifier \let \localrelativefontsiz... \fontstrategy ...ame #1\csname #2#3#4#5\endcsname \tryingfontfalse \fi ...yle \fontalternative \fontsize \fi \iftryingfont \fontstr... \synchronizefont ...strategy \the \fontstrategies \relax \fi \ifskipfontchar... \getvalue {\@style@ \fontstyle } \edef \fontstyle {\fontstyle }\if... ... l.4 \setupbodyfont[pos] ? ============================================ But if I comment the first two lines, it works: ============================================ %\usetypescript[adobekb][\defaultencoding] %\setupbodyfont[pos] \usetypescript[times][\defaultencoding] \setupbodyfont[times,12pt] \starttext \input knuth \stoptext ============================================ Another way: ============================================ \definetypeface [times] [rm] [serif] [times] [default] [encoding=ec] \switchtotypeface [times] [12pt,rm] \starttext \input knuth \stoptext =========================================== BTW, what are the lines \usetypescript[adobekb][\defaultencoding] \setupbodyfont[pos] for? Best Idris ============================ Professor Idris Samawi Hamid Department of Philosophy Colorado State University Fort Collins, CO 80523