From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/21269 Path: news.gmane.org!not-for-mail From: Giuseppe Bilotta Newsgroups: gmane.comp.tex.context Subject: Re[2]: How to override a font in a typescript Date: Fri, 8 Jul 2005 13:37:50 +0200 Message-ID: <2810454257.20050708133750@iol.it> References: <1589849886.20050708105123@iol.it> <42CE4810.9020203@wxs.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1120825174 8810 80.91.229.2 (8 Jul 2005 12:19:34 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 8 Jul 2005 12:19:34 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Fri Jul 08 14:19:32 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 1Dqrov-0005nu-QQ for gctc-ntg-context-518@m.gmane.org; Fri, 08 Jul 2005 14:19:05 +0200 Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id D24D91284E; Fri, 8 Jul 2005 14:19:04 +0200 (CEST) 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 11234-03-2; Fri, 8 Jul 2005 14:18:59 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 4F96212855; Fri, 8 Jul 2005 14:18:59 +0200 (CEST) Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 706D812855 for ; Fri, 8 Jul 2005 14:18:56 +0200 (CEST) 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 11234-03 for ; Fri, 8 Jul 2005 14:18:55 +0200 (CEST) Original-Received: from smtp2.libero.it (smtp2.libero.it [193.70.192.52]) by ronja.ntg.nl (Postfix) with ESMTP id BA2171284E for ; Fri, 8 Jul 2005 13:39:47 +0200 (CEST) Original-Received: from localhost (172.16.1.80) by smtp2.libero.it (7.0.027-DD01) id 42C48C810019077A for ntg-context@ntg.nl; Fri, 8 Jul 2005 13:39:47 +0200 Original-Received: from OBLOMOV (151.44.118.126) by smtp1.libero.it (7.0.027-DD01) id 42C16E57004A919F for ntg-context@ntg.nl; Fri, 8 Jul 2005 13:39:46 +0200 X-Mailer: The Bat! (v3.5.25) Professional X-Priority: 3 (Normal) Original-To: mailing list for ConTeXt users In-Reply-To: <42CE4810.9020203@wxs.nl> X-Virus-Scanned: by amavisd-new at libero.it serv2 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-Spam-Checker-Version: SpamAssassin 3.0.3 (2005-04-27) on smtp.ntg.nl X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:21269 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:21269 Friday, July 8, 2005 Hans Hagen wrote: > Giuseppe Bilotta wrote: >> Practical example: when I set up palatino, the typescript >> file set 'modern' as the typeface (which again tries to load >> the lm files :)) >> >> Assume now that I want to overrule that choice, and only >> that choice. Can I do this from within my source file? > one problem is that a typescript not always defines rm, ss tt mm so that leaves > you with holes in your font system; one option is to nil the preloader in for > instance the palatino typescript; put this in your local copy of cont-sys.tex: > \let\preloadfonts\relax > \usetypescript[palatino][\defaultencoding] > \setupbodyfont[palatino,rm,12pt] I already nihiled preloadfonts in my cont-loc. Otherwise, I wouldn't have been able to compile anything so far :) The problem is that the Palatino typescript *explictily* mentions 'modern' as its tt font (scaled by 1.75). I would like to override that in my source file. Is this possible? -- Giuseppe "Oblomov" Bilotta