From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/67564 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 19:46:49 +0200 Message-ID: References: <18B1CD95-5775-49CC-976E-B66471417C15@st.estfiles.de> <9DCBC1E9-62EE-425E-AA32-3A8B2CF4BF31@st.estfiles.de> <10169C18-5DC6-467C-A286-BCBCECEE104B@googlemail.com> 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 1301680033 24621 80.91.229.12 (1 Apr 2011 17:47:13 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 1 Apr 2011 17:47:13 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Fri Apr 01 19:47:09 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 1Q5iR7-0002Uh-CG for gctc-ntg-context-518@m.gmane.org; Fri, 01 Apr 2011 19:47:05 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id C0F82CAB60; Fri, 1 Apr 2011 19:46:35 +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 9h0n1gkWdOnj; Fri, 1 Apr 2011 19:46:33 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 1D0DFCAB58; Fri, 1 Apr 2011 19:46:33 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id F2E61CAB58 for ; Fri, 1 Apr 2011 19:46:31 +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 N59+-Wp7GMmU for ; Fri, 1 Apr 2011 19:46:29 +0200 (CEST) Original-Received: from filter3-til.mf.surf.net (filter3-til.mf.surf.net [194.171.167.219]) by balder.ntg.nl (Postfix) with ESMTP id 39657CAB4B for ; Fri, 1 Apr 2011 19:46:29 +0200 (CEST) Original-Received: from mail-fx0-f41.google.com (mail-fx0-f41.google.com [209.85.161.41]) by filter3-til.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id p31Hkr27004479 for ; Fri, 1 Apr 2011 19:46:57 +0200 Original-Received: by fxm18 with SMTP id 18so3882518fxm.14 for ; Fri, 01 Apr 2011 10:46:53 -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=1qaTgn/UkTV+8DsB9dbCMA43Ce5cvlpPBLtdcKE5HoU=; b=Ueq3pnaP270/gnSffyWtNkW0kQNirNTbXZlTCOQr5NO3PV9Mww2O8Q78N42ThcHocp ptKlJUY1WxhZ1MqhKhAAPxosMIs12PNb/FhI6r59CEMzb0Xpz3spzucOQ8Je+0eBwWw6 1osPwuvPNdvr4MSpmtg+iXVrDQslsTvawInqI= 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=nl55HWOTzMJNNR2mwF5fZiqhpnz5JJtUUIJY8C/wsF4oTZldwi8lyov71qQou4rfaE Ml6VX6qIoiDVbSsUOG2SMmARbN7BiKcuV8xhuDFPCyEfbGJC1gAXd5WjUmC9hc001kiB kVF+KesgCe59UCYxBLgpAKGE6SmrGbqgeO5Jo= Original-Received: by 10.223.85.196 with SMTP id p4mr3679139fal.5.1301680013781; Fri, 01 Apr 2011 10:46:53 -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 n9sm851698fax.27.2011.04.01.10.46.51 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 01 Apr 2011 10:46:52 -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: 0eEqhKShw - 31727ccbaacc - 20110401 X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.219 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:67564 Archived-At: Am 01.04.2011 um 19:28 schrieb Steffen Wolfrum: > My aim was to find one solution that fits in both cases (once running only a component, then running the entire product). You can set the font before \starttext where the typeface and the size are set with two separate \setupbodyfont commands: \definetypeface [times] [rm] [serif] [times] [default] \definetypeface [times] [ss] [sans] [helvetica] [default] [rscale=2] \setupbodyfont[times] \setupbodyfont[10.1pt] \starttext text {\ss text} \stoptext or you use Thomas solution which works even when you set the font after \starttext (which is the case with products/components): \definetypeface [times] [rm] [serif] [times] [default] \definetypeface [times] [ss] [sans] [helvetica] [default] [rscale=2] \setupbodyfont[times] \setupbodyfont[10.1pt] \starttext text {\ss text} \stoptext > That's why I assumed the project file could serve for both. No because the project is loaded too late. Wolfgang ___________________________________________________________________________________ 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 ___________________________________________________________________________________