From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/5186 Path: main.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: Font Question Date: Fri, 03 Aug 2001 16:01:11 +0200 Sender: owner-ntg-context@let.uu.nl Message-ID: <5.1.0.14.1.20010803155122.024fa988@server-1> References: <20010802190125.A6731@localhost> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-Trace: main.gmane.org 1035395791 31925 80.91.224.250 (23 Oct 2002 17:56:31 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 23 Oct 2002 17:56:31 +0000 (UTC) Cc: ConTeXt ML Original-To: Marco Kuhlmann In-Reply-To: <20010802190125.A6731@localhost> Xref: main.gmane.org gmane.comp.tex.context:5186 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:5186 At 07:01 PM 8/2/2001 +0200, Marco Kuhlmann wrote: > Hi there! > >For my first ConTeXt document, I wanted to use Palatino >together with the pxfonts. This seems to be supported by >ConTeXt; at least I found some font synonyms in the files. > >Here is what I tried (I want to prepare the document in German, >so I use win to input umlauts directly): > > \useencoding [win] > \usetypescript [math] [px] [ec] > \setupbodyfont [ber,ppl,12pt] > >Whereas with this setup, ConTeXt is using the Palatino fonts, >math is still be done with CM. I guess I just did not >understand the mechanism, though I skimmed the fonts manual. > >If there was someone who could send me the lines of code that I >need and try to explain what they mean, I would really >appreciate it. Sorry if this is a trivial question, but I did >not found anything in the archives about it. > > Cheers, > Marco > >PS: I am running a fresh TeXlive 5 installation. Here I can say: \definetypeface[palatino][rm][serif][palatino][default][encoding=ec] \definetypeface[palatino][mm][math] [palatino][default][encoding=ec] \definetypeface[times] [rm][serif][times] [default][encoding=ec] \definetypeface[times] [mm][math] [times] [default][encoding=ec] \setupbodyfont[palatino,12pt] \starttext Some $m=a+t+h$! \switchtobodyfont[times,12pt] Some $m=a+t+h$! \stoptext I wonder it it works at your site since i adapted typescripts. There will be new ones soon, including an adapted texfont.pl script that you can use to install fonts in the encodings you like most. The most fuzzy part is getting the map files right. Hans ------------------------------------------------------------------------- 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 -------------------------------------------------------------------------