From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/21277 Path: news.gmane.org!not-for-mail From: "Adam Lindsay" Newsgroups: gmane.comp.tex.context Subject: Re: How to override a font in a typescript Date: Fri, 8 Jul 2005 14:51:14 +0100 Message-ID: <20050708135114.7320@mail.comp.lancs.ac.uk> References: <1589849886.20050708105123@iol.it> <42CE4810.9020203@wxs.nl> <2810454257.20050708133750@iol.it> <42CE7347.1020804@wxs.nl> <1016414046.20050708152410@iol.it> 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 1120830878 27161 80.91.229.2 (8 Jul 2005 13:54:38 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 8 Jul 2005 13:54:38 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Fri Jul 08 15:54:36 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 1DqtI5-0001zX-Uq for gctc-ntg-context-518@m.gmane.org; Fri, 08 Jul 2005 15:53:18 +0200 Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id AA0DC12860; Fri, 8 Jul 2005 15:53:17 +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 12671-09; Fri, 8 Jul 2005 15:53:17 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id ADA5012856; Fri, 8 Jul 2005 15:51:18 +0200 (CEST) Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 0DC0E12856 for ; Fri, 8 Jul 2005 15:51:17 +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 12671-08 for ; Fri, 8 Jul 2005 15:51:16 +0200 (CEST) Original-Received: from mail.comp.lancs.ac.uk (mail.comp.lancs.ac.uk [148.88.3.45]) by ronja.ntg.nl (Postfix) with ESMTP id 29C421279A for ; Fri, 8 Jul 2005 15:51:16 +0200 (CEST) Original-Received: from [194.80.37.193] (localhost [127.0.0.1]) by mail.comp.lancs.ac.uk (8.12.10/8.12.10) with ESMTP id j68DpF4X005926 for ; Fri, 8 Jul 2005 14:51:15 +0100 (BST) Original-To: "mailing list for ConTeXt users" In-Reply-To: <1016414046.20050708152410@iol.it> X-Mailer: CTM PowerMail version 5.2.1 build 4397 English 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:21277 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:21277 Giuseppe Bilotta said this at Fri, 8 Jul 2005 15:24:10 +0200: >Ok so far, but having to rewrite all of it just to override a >single value seems excessive, to me. Isn't there a simple >way to only override only some things? > >I had tried a \definetypeface line on its own, but it didn't >seem to work ... Hmm. How about: \definetypescriptsynonym[modern][courier] % and test with: \usetypescript[adobekb][ec] \usetypescript[palatino][ec] \setupbodyfont[palatino] \starttext \showfontstrip \stoptext (It'll screw up the relative sizing put in place, and URW's Courier is singularly ugly, and I would endorse what Hans said: you should be using Latin Modern anyway, but I think it achieves what you want...) -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Adam T. Lindsay, Computing Dept. atl@comp.lancs.ac.uk Lancaster University, InfoLab21 +44(0)1524/510.514 Lancaster, LA1 4WA, UK Fax:+44(0)1524/510.492 -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-