From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/84408 Path: news.gmane.org!not-for-mail From: Lars Huttar Newsgroups: gmane.comp.tex.context Subject: Re: question about linespace adjustment Date: Tue, 24 Sep 2013 17:07:13 -0400 Message-ID: <5241FF01.1020604@sil.org> References: <5241A380.8050608@sil.org> <5241B74E.3030403@sil.org> <5241CFD3.4020008@sil.org> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1380056840 17238 80.91.229.3 (24 Sep 2013 21:07:20 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 24 Sep 2013 21:07:20 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Tue Sep 24 23:07:24 2013 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([5.39.185.229]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1VOZpM-0008Ic-KA for gctc-ntg-context-518@m.gmane.org; Tue, 24 Sep 2013 23:07:24 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 548DF101DE; Tue, 24 Sep 2013 23:05:17 +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 4yi+u1d4RLM7; Tue, 24 Sep 2013 23:05:15 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id D6282101E5; Tue, 24 Sep 2013 23:05:14 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id C4D9B101E5 for ; Tue, 24 Sep 2013 23:05:13 +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 x0ZEtXd47FGm for ; Tue, 24 Sep 2013 23:05:12 +0200 (CEST) Original-Received: from filter3-utr.mf.surf.net (filter3-utr.mf.surf.net [195.169.124.154]) by balder.ntg.nl (Postfix) with ESMTP id E8818101DE for ; Tue, 24 Sep 2013 23:05:11 +0200 (CEST) Original-Received: from mail-yh0-f43.google.com (mail-yh0-f43.google.com [209.85.213.43]) by filter3-utr.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id r8OL7FPU005419 for ; Tue, 24 Sep 2013 23:07:17 +0200 Original-Received: by mail-yh0-f43.google.com with SMTP id b6so2295447yha.30 for ; Tue, 24 Sep 2013 14:07:15 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:message-id:date:from:user-agent:mime-version:to :cc:subject:references:in-reply-to:content-type :content-transfer-encoding; bh=fTBzpYp8dVkW3uw43S2paZyHpRdA943GklEgD1dlL5M=; b=S2br23gOmD3RwOnH/5iDl76vyn6kvpE+BUdAXJtTc6w0wNJGEXZhShgh9mO1M4M9hI SHoXxAcqLK5FQTvP23bc8TFoYCVCtAlvep+MMbxtBxl3/WDxkAYRhFmjQJVrB9dPBOOE 4hYkWpP7Gg8eX5EWkQldAY7q/LjxsgLdZNrhWKG1S/nCgx5S+f2dFXzYjkeYDVyPA+ZV jUQuh8eHFPWl2gNb9eJnLYjZwlaid2KDwvh138ZLPVI01i5rag5NnEl68U29CwiL/eiG WJqSklhbQHUjIru29FqT8RY2PXs/7FTltD7RyWspQKE2w0I2H5CqWaamLuxM4PMkm3qm 02Dw== X-Gm-Message-State: ALoCoQkfBa75faoFFONpc8FoeFLs1330Ip6jJ0ytkSs9uqdP9oz4jbYrcFOuVSijLsAFiB08FquG X-Received: by 10.236.148.138 with SMTP id v10mr2761408yhj.27.1380056835168; Tue, 24 Sep 2013 14:07:15 -0700 (PDT) Original-Received: from [172.22.6.6] ([162.40.29.3]) by mx.google.com with ESMTPSA id q9sm47644894yhk.16.1969.12.31.16.00.00 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 24 Sep 2013 14:07:14 -0700 (PDT) User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:17.0) Gecko/20130801 Thunderbird/17.0.8 In-Reply-To: X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.213.43; 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: 08Kt97ftJ - bd12479e7a8b - 20130924 X-Scanned-By: CanIt (www . roaringpenguin . com) on 195.169.124.154 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.14 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:84408 Archived-At: Luigi, Thanks for your reply. On 9/24/2013 2:18 PM, luigi scarso wrote: > > On Tue, Sep 24, 2013 at 7:45 PM, Lars Huttar > wrote: > > > Is it that \switchdobodyfont changes the *body* font, which > engages the > associated bodyfont environment... > whereas \tfc changes the *font*, not the *body* font? > > Lars > > You can look into > font-pre.mkiv OK. I'm looking at it, http://repo.or.cz/w/context.git/blob/HEAD:/tex/context/base/font-pre.mkiv Is there anything in particular you had in mind that I can learn from it? I found some aliases, e.g. \smaller, which are handy to know. But I don't know how much I can rely on the undocumented ones to continue to do what they do now. > \tfc augment the fontsize of a factor of 1.728 > It's relative to the default fount size not to the current fontsize: > {\tfc foo {\tfc foo}} both foo have the same size Thank you, this is an important nugget that I didn't understand when reading the documentation. \setsmallbodyfont and \setbigbodyfont, in contrast, change the font size relative to the current size. > > But interlinespace is not modified, so we need to reset > \starttext > OK: \input knuth\blank{\tfx WRONG: \input knuth\blank \tfc WRONG: > \input knuth\relax} \page > OK: \input knuth\blank{\tfx\setupinterlinespace OK: \input knuth\blank > \tfc WRONG: \input knuth\blank} \page > OK: \input knuth\blank{\tfx\setupinterlinespace OK: \input knuth\blank > \tfc\setupinterlinespace OK: \input knuth\blank} > \stoptext Ok. This confirms what Aditya said, and what the manual says: that you have to use \setupinterlinespace after \tfx or \tfc if you want the interlinespace to be adjusted. But I would really like to understand the categories involved here. So we have one category of font size selector commands, which includes \setsmallbodyfont and \setbigbodyfont, that cause interlinespace to be adjusted automatically. Then we have another category, including \tfc, \tfx, \ita, and others, that do not cause interlinespace to be adjusted. What is the rhyme or reason behind these categories? And that would help me know, which other commands belong to which category? E.g. would \serif cause interlinespace to be adjusted? An experiment would reveal the answer, at least in the circumstances that I think of testing, but I'd like to understand the conceptual model. Maybe the concept is that the first category affects the "body font" (and therefore interacts with the properties of the body font environment), and the second category only affects the "font" (and I'm still not clear on how the "body font" differs from the current font). Thanks for your help, Lars ___________________________________________________________________________________ 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 ___________________________________________________________________________________