From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/21260 Path: news.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: How to override a font in a typescript Date: Fri, 08 Jul 2005 11:32:00 +0200 Message-ID: <42CE4810.9020203@wxs.nl> References: <1589849886.20050708105123@iol.it> 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; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1120815140 13209 80.91.229.2 (8 Jul 2005 09:32:20 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 8 Jul 2005 09:32:20 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Fri Jul 08 11:32:05 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 1DqpCw-0002Kf-Ai for gctc-ntg-context-518@m.gmane.org; Fri, 08 Jul 2005 11:31:42 +0200 Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 3DB601286B; Fri, 8 Jul 2005 11:31:41 +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 02544-02-8; Fri, 8 Jul 2005 11:31:36 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id C35601285F; Fri, 8 Jul 2005 11:31:36 +0200 (CEST) Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 376521285F for ; Fri, 8 Jul 2005 11:31:35 +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 02544-02-7 for ; Fri, 8 Jul 2005 11:31:34 +0200 (CEST) Original-Received: from mailrelay02.solcon.nl (maillb.solcon.nl [212.45.32.200]) by ronja.ntg.nl (Postfix) with ESMTP id 6FAB412844 for ; Fri, 8 Jul 2005 11:31:34 +0200 (CEST) Original-Received: from server-1.pragma-net.nl (dsl-212-84-128-085.solcon.nl [212.84.128.85]) by mailrelay02.solcon.nl (8.12.11/SQL-8.12.11-5/8.12.11) with ESMTP id j689VWlf018190 for ; Fri, 8 Jul 2005 11:31:32 +0200 Original-Received: by server-1.pragma-net.nl (Postfix, from userid 65534) id BD49531216; Fri, 8 Jul 2005 10:55:35 +0200 (CEST) Original-Received: from [10.100.1.53] (unknown [10.100.1.53]) by server-1.pragma-net.nl (Postfix) with ESMTP id 9166431212 for ; Fri, 8 Jul 2005 08:55:34 +0000 (UTC) User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317) X-Accept-Language: en-us, en Original-To: mailing list for ConTeXt users In-Reply-To: <1589849886.20050708105123@iol.it> X-Virus-Scanned: ClamAV version 0.85.1, clamav-milter version 0.85 on mailrelay02 X-Virus-Status: Clean 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:21260 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:21260 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] Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------