From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/67554 Path: news.gmane.org!not-for-mail From: Steffen Wolfrum Newsgroups: gmane.comp.tex.context Subject: Re: rscale (only for integers?) Date: Fri, 1 Apr 2011 11:00:13 +0200 Message-ID: <021D7BE9-2C5C-443A-A073-D0E5963A1557@st.estfiles.de> 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="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1301648429 28745 80.91.229.12 (1 Apr 2011 09:00:29 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 1 Apr 2011 09:00:29 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Fri Apr 01 11:00:25 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 1Q5aDQ-0005Uu-R3 for gctc-ntg-context-518@m.gmane.org; Fri, 01 Apr 2011 11:00:24 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 7E143CAB62; Fri, 1 Apr 2011 10:59:56 +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 p1wtW5Z6sEr9; Fri, 1 Apr 2011 10:59:52 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 8E7CCCAB55; Fri, 1 Apr 2011 10:59:52 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 7DF0ACAB55 for ; Fri, 1 Apr 2011 10:59:51 +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 yNbokuU81K5G for ; Fri, 1 Apr 2011 10:59:49 +0200 (CEST) Original-Received: from filter2-til.mf.surf.net (filter2-til.mf.surf.net [194.171.167.218]) by balder.ntg.nl (Postfix) with ESMTP id 98FD9CAB4B for ; Fri, 1 Apr 2011 10:59:49 +0200 (CEST) Original-Received: from smtprelay02.ispgateway.de (smtprelay02.ispgateway.de [80.67.31.36]) by filter2-til.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id p3190Fu3007137 for ; Fri, 1 Apr 2011 11:00:16 +0200 Original-Received: from [89.247.97.105] (helo=[192.168.1.4]) by smtprelay02.ispgateway.de with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.68) (envelope-from ) id 1Q5aDG-0002mV-Tr for ntg-context@ntg.nl; Fri, 01 Apr 2011 11:00:15 +0200 In-Reply-To: X-Mailer: Apple Mail (2.1084) X-Df-Sender: 698580 X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=80.67.31.36; country=DE; latitude=51.0000; longitude=9.0000; http://maps.google.com/maps?q=51.0000,9.0000&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0bEq90fHP - 3401e433e00f - 20110401 X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.218 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:67554 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 serif font. >> Using "rscale"? >> As far as I have seen this only works when integers are used for bodyfont: >> >> \starttypescript [times] >> \definetypeface [times] [ss] [sans] [helvetica] [default] [rscale=10.2] >> \stoptypescript >> >> \usetypescript[times] >> %\setupbodyfont[times,10pt] % <- try this ... >> \setupbodyfont[times,10.5pt] % <- ... and then this >> >> \starttext >> >> Test \ss{text} >> >> \stoptext >> >> >> >> Unfortunately the sizes for bodyfont and footnotes are specified by publisher (10.5pt and 8.5pt). >> >> Is there a chance to get rscale working even for theses decimal fractions? >> >> Steffen > > You need: > > \starttypescript [serif] [default] [size] > \definebodyfont [10.5pt] [rm] [default] > \stoptypescript > > \definebodyfontenvironment[10.5pt] Ok, but something still is missing .... The bodyfont doesn't get bigger here: \starttypescript [times] \definetypeface [times] [ss] [sans] [helvetica] [default] [rscale=10.2] \stoptypescript \starttypescript [serif] [default] [size] \definebodyfont [10.5pt] [rm] [default] \stoptypescript \definebodyfontenvironment[10.5pt] \usetypescript[times] \setupbodyfont[times,10.5pt] \setupfootnotes[bodyfont={rm,8.5pt}] \definestartstop[quote] [before={\setupnarrower[left=10pt,right=0pt]\startnarrower[left,right]\switchtobodyfont[8.5pt]\setupinterlinespace[line=10.5pt]},after={\stopnarrower}] \starttext Test {\ss text} test\footnote{text {\ss text} test} test. \startquote test {\ss text} \input ward \par \stopquote \stoptext ------- Steffen ___________________________________________________________________________________ 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________