From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/24217 Path: news.gmane.org!not-for-mail From: Aditya Mahajan Newsgroups: gmane.comp.tex.context Subject: Re: Font Question Date: Wed, 7 Dec 2005 19:05:16 -0500 (EST) Message-ID: References: <43977410.9080004@comp.lancs.ac.uk> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Trace: sea.gmane.org 1134000477 23663 80.91.229.2 (8 Dec 2005 00:07:57 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 8 Dec 2005 00:07:57 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Thu Dec 08 01:07:51 2005 Return-path: 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 1Ek9IL-0004Y9-TS for gctc-ntg-context-518@m.gmane.org; Thu, 08 Dec 2005 01:05:57 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 6116B1280F; Thu, 8 Dec 2005 01:05:57 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 22163-07-2; Thu, 8 Dec 2005 01:05:51 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 9E55C127D2; Thu, 8 Dec 2005 01:05:50 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 3BCF912806 for ; Thu, 8 Dec 2005 01:05:47 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 22163-07 for ; Thu, 8 Dec 2005 01:05:23 +0100 (CET) Original-Received: from playinggod.mr.itd.umich.edu (playinggod.mr.itd.umich.edu [141.211.14.79]) by ronja.ntg.nl (Postfix) with ESMTP id 46AEA12799 for ; Thu, 8 Dec 2005 01:05:22 +0100 (CET) Original-Received: from aditya.annarb01.mi.comcast.net (bgp996717bgs.nanarb01.mi.comcast.net [68.40.50.205]) by playinggod.mr.itd.umich.edu (smtp) with ESMTP id jB805GnZ002399 for ; Wed, 7 Dec 2005 19:05:21 -0500 Original-To: mailing list for ConTeXt users In-Reply-To: <43977410.9080004@comp.lancs.ac.uk> X-Virus-Scanned: 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: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:24217 Archived-At: Hi Adam, <--- On Dec 7, Adam Lindsay wrote ---> > Aditya Mahajan wrote: >> I want to use palatino text with euler math in my document. This is how >> I proceed. >> >> 1. I downloaded latest mswincontext environment from pragma website. >> 2. To test if palatino works correctly, I tested the simple document. >> >> %--------- >> \usetypescript[palatino][texnansi] >> \switchtobodyfont[palatino,11pt] >> \starttext >> This is a test . >> \stoptext >> %--------------- >> >> Everything works fine, and the text is in pallatino (the urw clone). >> However, when I look at fonts included in the document, Latin Modern is >> also there. I am just curious as how LM got into the document, and can >> I get rid of it. > > You'll find that the page number is latin modern. You can expunge that by > saying: > \setupbodyfont[palatino,11pt] % instead of \switchtobodyfont > > (setupbodyfont is document-wide) Thanks, that did the trick. > Okay. Time to dust off the web pages and insert disclaimers. That's an > old article. Euler support got (improved and) included into the ConTeXt > core. That is great. > Current usage looks something like: > > \definetypeface [pal] [rm] [serif] [palatino] > [default] [encoding=texnansi] > \definetypeface [pal] [tt] [mono] [modern] > [default] [encoding=texnansi,rscale=1.1] > \definetypeface [pal] [mm] [math] [euler] > [euler] [rscale=1.03] > > \loadmapfile[original-ams-euler] % This needs to be added! > > \setupbodyfont [pal,11pt] > \starttext > This is a test $a \neq \frac{b}{c}$. > \stoptext > > Lengthy explanations aren't on offer tonight, sorry. > I hope this sets you in the right direction, though. > The above setup works perfectly. Thanks a lot. Aditya -- Aditya Mahajan, EECS Systems, University of Michigan http://www.eecs.umich.edu/~adityam || Ph: 7342624008