From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/7549 Path: main.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: fonts/tetex Date: Fri, 05 Apr 2002 19:42:03 +0200 Sender: owner-ntg-context@let.uu.nl Message-ID: <5.1.0.14.1.20020405193622.038dea00@server-1> References: <02033010453601.00368@levana> <02033010453601.00368@levana> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1"; format=flowed Content-Transfer-Encoding: 8bit X-Trace: main.gmane.org 1035398003 20121 80.91.224.250 (23 Oct 2002 18:33:23 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 23 Oct 2002 18:33:23 +0000 (UTC) Cc: ntg-context@ntg.nl Original-To: Patrick Gundlach In-Reply-To: <02040423111500.08183@levana> Xref: main.gmane.org gmane.comp.tex.context:7549 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:7549 At 11:11 PM 4/4/2002 +0200, Patrick Gundlach wrote: >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] or [serif][tetextimes][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 not needed: >\starttypescript [tetex] > \usetypescript[tetexnames][ec] > \usetypescript[serif][tetextimes][name]% mapping Serif-> Times-Roman > \usetypescript[serif][default][size]% type-siz.tex >\stoptypescript better: \usetypescript[tetexnames][ec] \definetypeface[patrick][rm][serif][tetextimes][default][encoding=ec] \setupbodyfont[patrick,10pt] (untested) ------------------------------------------------------------------------- Hans Hagen | PRAGMA ADE | pragma@wxs.nl Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com ------------------------------------------------------------------------- fall-back web server: www.pragma-ade.nl -------------------------------------------------------------------------