From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/50189 Path: news.gmane.org!not-for-mail From: "Thomas A. Schmitz" Newsgroups: gmane.comp.tex.context Subject: Re: rscale in latest beta Date: Sun, 10 May 2009 23:17:42 +0200 Message-ID: References: <4A057CA6.3000508@wxs.nl> <6214AD4F-554E-4576-B774-EE851891409B@uni-bonn.de> <4A072D25.9080408@wxs.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v930.3) Content-Type: text/plain; charset="us-ascii"; Format="flowed"; DelSp="yes" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1241990348 17463 80.91.229.12 (10 May 2009 21:19:08 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 10 May 2009 21:19:08 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sun May 10 23:18:58 2009 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by lo.gmane.org with esmtp (Exim 4.50) id 1M3GQD-0001GD-FP for gctc-ntg-context-518@m.gmane.org; Sun, 10 May 2009 23:18:57 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id AE2101FDFA; Sun, 10 May 2009 23: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 21391-02; Sun, 10 May 2009 23:18:13 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 914B81FDFD; Sun, 10 May 2009 23:18:11 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 31A541FDFD for ; Sun, 10 May 2009 23:18:09 +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 21385-01 for ; Sun, 10 May 2009 23:17:59 +0200 (CEST) Original-Received: from filter1-nij.mf.surf.net (filter1-nij.mf.surf.net [195.169.124.152]) by ronja.ntg.nl (Postfix) with ESMTP id 42BBF1FDFA for ; Sun, 10 May 2009 23:17:59 +0200 (CEST) Original-Received: from uni-bonn.de (mail.uni-bonn.de [131.220.15.113]) by filter1-nij.mf.surf.net (8.13.8/8.13.8/Debian-3) with ESMTP id n4ALHwAi015085 for ; Sun, 10 May 2009 23:17:58 +0200 Original-Received: from [87.178.91.211] (account tschmit1@uni-bonn.de HELO [192.168.0.2]) by fe2.uni-bonn.de (CommuniGate Pro SMTP 5.2.12) with ESMTPA id 16584880 for ntg-context@ntg.nl; Sun, 10 May 2009 23:17:57 +0200 In-Reply-To: <4A072D25.9080408@wxs.nl> X-Mailer: Apple Mail (2.930.3) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=131.220.15.113; country=DE; region=07; city=Bonn; latitude=50.7333; longitude=7.1000; http://maps.google.com/maps?q=50.7333,7.1000&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 222573373 - 6431511d2133 - 20090510 X-Scanned-By: CanIt (www . roaringpenguin . com) on 195.169.124.152 X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.11 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:50189 Archived-At: On May 10, 2009, at 9:38 PM, Hans Hagen wrote: > how do you use rscale? > > \definetypeface [xxxx] [rm] [serif] [times] [default] > \definetypeface [xxxx] [ss] [sans] [helvetica] [default] [rscale=5] > > \starttext > \setupbodyfont[xxxx] \rm test \ss test > \stoptext > > works ok I think I have found the problem and a test file: the problem occurs when I define two fonts with different rscales. In this case, only the last defined rscale is taken into account, the other one is discarded. Here's the file: \usetypescript[times] \setupbodyfont[times,12pt] \definetypeface [one] [rm] [serif] [palatino] [default] [rscale=2] \definetypeface [two] [rm] [serif] [schoolbook] [default] [rscale=0.5] \starttext Hello world! \switchtobodyfont[one] One \switchtobodyfont[two] Two \stoptext If you switch the two \definetypeface lines, you'll see what I mean. And since my module defines both a font "greek" and "altgreek," each with its own rscale, that's why I was seeing it in my files and couldn't reproduce the error at first. Not easy to find... All best Thomas ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________