From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/67556 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: rscale (only for integers?) Date: Fri, 1 Apr 2011 11:36:44 +0200 Message-ID: References: <18B1CD95-5775-49CC-976E-B66471417C15@st.estfiles.de> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1301650624 8791 80.91.229.12 (1 Apr 2011 09:37:04 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 1 Apr 2011 09:37:04 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Fri Apr 01 11:36:58 2011 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Q5amn-0007DL-Hy for gctc-ntg-context-518@m.gmane.org; Fri, 01 Apr 2011 11:36:57 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 3C106CAB62; Fri, 1 Apr 2011 11:36:29 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id zHHkbiP5zhlp; Fri, 1 Apr 2011 11:36:25 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 5209ECAB55; Fri, 1 Apr 2011 11:36:25 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id D6F0ECAB55 for ; Fri, 1 Apr 2011 11:36:23 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id r682orHZ3H5L for ; Fri, 1 Apr 2011 11:36:21 +0200 (CEST) Original-Received: from filter5-til.mf.surf.net (filter5-til.mf.surf.net [194.171.167.221]) by balder.ntg.nl (Postfix) with ESMTP id E05FDCAB4B for ; Fri, 1 Apr 2011 11:36:21 +0200 (CEST) Original-Received: from mail-fx0-f41.google.com (mail-fx0-f41.google.com [209.85.161.41]) by filter5-til.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id p319amGd008809 for ; Fri, 1 Apr 2011 11:36:49 +0200 Original-Received: by fxm18 with SMTP id 18so3442664fxm.14 for ; Fri, 01 Apr 2011 02:36:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:content-type:mime-version:subject:from :in-reply-to:date:content-transfer-encoding:message-id:references:to :x-mailer; bh=HObQiI/0vG18JFkqodbCWPbcNecvre2IKUuxnx6cZZ0=; b=TmGS7IKdiyFfS370c636H+VLx9avemsAISvITrkWBUa7cju05ejwytOPyNp6+9F3y7 tUEGIkY7XWi2gYWeLa1tPI21sTfBXzRsgz8oKnLs8KRod+CIjL9BVEvb+pf80F74aBKA if+b6lmn+DKM0dKPyHPUYna3dpgaNn70WMtUQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=content-type:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to:x-mailer; b=g+9ucu5/pkeC0jgCWHAh09zT2Afa02sMYMyE8Otjr7w2jL3lj5YQO7ZVxE1Zk0L/oz 2FIcUHfl0XboXY6oQyviZfI4rvN4s3ql0OzXynOXplYmuLFDQkVCytwOiPjkbAZ7O46d Ml+SBqyjV0NmEKp7WzpP6G6D2b+jC0XsgwUSc= Original-Received: by 10.223.78.138 with SMTP id l10mr391214fak.106.1301650608697; Fri, 01 Apr 2011 02:36:48 -0700 (PDT) Original-Received: from [192.168.2.31] (p5B29494E.dip.t-dialin.net [91.41.73.78]) by mx.google.com with ESMTPS id e17sm709444fak.24.2011.04.01.02.36.46 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 01 Apr 2011 02:36:47 -0700 (PDT) In-Reply-To: X-Mailer: Apple Mail (2.1084) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.161.41; country=US; region=CA; city=Mountain View; postalcode=94043; latitude=37.4192; longitude=-122.0574; metrocode=807; areacode=650; http://maps.google.com/maps?q=37.4192,-122.0574&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0xEq9ANNF - 75b073dcd92e - 20110401 X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.221 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.12 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 Xref: news.gmane.org gmane.comp.tex.context:67556 Archived-At: Am 01.04.2011 um 00:09 schrieb Thomas A. Schmitz: > = > On Mar 31, 2011, at 5:22 PM, Steffen Wolfrum wrote: > = >> Hi, >> = >> in a typescript I need to set sansserif font proportional bigger than se= rif font. = >> Using "rscale"? >> As far as I have seen this only works when integers are used for bodyfon= t: >> = >> \starttypescript [times] >> \definetypeface [times] [ss] [sans] [helvetica] [default] [rsca= le=3D10.2] >> \stoptypescript >> = >> \usetypescript[times] >> %\setupbodyfont[times,10pt] % <- try this ... >> \setupbodyfont[times,10.1pt] % <- ... and then this >> = >> \starttext >> = >> Test \ss{text} >> = >> \stoptext >> = >> = >> = >> Unfortunately the sizes for bodyfont and footnotes are specified by publ= isher (10.1pt and 8.5pt). >> = >> Is there a chance to get rscale working even for theses decimal fraction= s? >> = >> Steffen > = > You need: > = > \starttypescript [serif] [default] [size] = > \definebodyfont [10.1pt] [rm] [default] = > \stoptypescript > = > \definebodyfontenvironment[10.1pt] > = > But I doubt that there is any visible difference between 10pt and 10.1pt = (and due to rounding errors, there may be no difference at all). It does also work when you switch to the =93times=94 typeface *before* \sta= rttext and change the size *after* \starttext: \definetypeface [times] [rm] [serif] [times] [default] \definetypeface [times] [ss] [sans] [helvetica] [default] [rscale=3D2] \setupbodyfont[times] %\setupbodyfont[times,10.5pt] % fails \starttext %text {\ss text} \setupbodyfont[10.5pt] text {\ss text} \switchtobodyfont[8.5pt] text {\ss text} \stoptext Wolfgang ___________________________________________________________________________= ________ If your question is of interest to others as well, please add an entry to t= he Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-cont= ext webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________= ________