From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/84500 Path: news.gmane.org!not-for-mail From: Lars Huttar Newsgroups: gmane.comp.tex.context Subject: Re: question about linespace adjustment Date: Mon, 30 Sep 2013 16:22:54 -0400 Message-ID: <5249DD9E.2050305@sil.org> References: <5241A380.8050608@sil.org> <5241B74E.3030403@sil.org> <5241CFD3.4020008@sil.org> <5241FF01.1020604@sil.org> <52433F76.30905@sil.org> <52435995.1000706@sil.org> <09C77DBA-53B8-4040-971E-B649D2545473@gmail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1380572918 9982 80.91.229.3 (30 Sep 2013 20:28:38 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 30 Sep 2013 20:28:38 +0000 (UTC) Cc: mailing list for ConTeXt users To: Wolfgang Schuster Original-X-From: ntg-context-bounces@ntg.nl Mon Sep 30 22:28:43 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 1VQk5B-0007CR-HP for gctc-ntg-context-518@m.gmane.org; Mon, 30 Sep 2013 22:28:41 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 84637101EE; Mon, 30 Sep 2013 22:26:24 +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 VumhI3jIhn0L; Mon, 30 Sep 2013 22:26:18 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 153B7101E6; Mon, 30 Sep 2013 22:26:18 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id F015B101E6 for ; Mon, 30 Sep 2013 22:26:15 +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 h53PDePBe-mn for ; Mon, 30 Sep 2013 22:26:14 +0200 (CEST) Original-Received: from filter2-utr.mf.surf.net (filter2-utr.mf.surf.net [195.169.124.153]) by balder.ntg.nl (Postfix) with ESMTP id 20FAE10193 for ; Mon, 30 Sep 2013 22:26:13 +0200 (CEST) Original-Received: from mail-yh0-f43.google.com (mail-yh0-f43.google.com [209.85.213.43]) by filter2-utr.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id r8UKVMf4031987 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=NOT) for ; Mon, 30 Sep 2013 22:31:23 +0200 Original-Received: by mail-yh0-f43.google.com with SMTP id b6so2202815yha.30 for ; Mon, 30 Sep 2013 13:28:28 -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=7e/wgH9HZr665f3H/5QuZmtWvUKSAdSwiEE514B71Lo=; b=epjXypaphn9ZgeBpQZL1UEhTWGCPL4+j0qu9ylASxjgN0IdMe23OuLzpduv73FTvqj tKFnOuQYK0b2trw5nS4sIUFNmBwGxiZlL45tfcxGZZeXMQ8REfV7mhL8jLxyJtKI6ZKN XdPuWPRSboNQiI6NHX8pQQkfykrszTZN/S9vUjicAi2ys6L7WI7VeiZD4ulNvZnOiNgL SmeRNmWP129Aq9cmyWyGtHtSP7O498bq5r4w+5zsgQinf4UxBTRLF5t3nO7cVsfU4HO7 VBPgDFQqMAaIDbWcCLpnHc8ZZEGLBVh7BsqZiKnMZBXHzuXaNjkHjEou36TzYDPMGFgJ IkNQ== X-Gm-Message-State: ALoCoQmEJi6xyyadXwjKU8vGLFRdKLbk80yiyHYrNg6RQBcG+QVGSL5kS3ngBFuISCgPzxy4keZz X-Received: by 10.236.148.138 with SMTP id v10mr25258940yhj.27.1380572575950; Mon, 30 Sep 2013 13:22:55 -0700 (PDT) Original-Received: from [172.22.6.6] ([162.40.29.3]) by mx.google.com with ESMTPSA id q9sm3686134yhk.16.1969.12.31.16.00.00 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 30 Sep 2013 13:22:55 -0700 (PDT) User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:17.0) Gecko/20130801 Thunderbird/17.0.8 In-Reply-To: <09C77DBA-53B8-4040-971E-B649D2545473@gmail.com> 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: 04KvwvmxV - cc7738d710d8 - 20130930 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 195.169.124.153 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:84500 Archived-At: On 9/26/2013 3:47 PM, Wolfgang Schuster wrote: > You can use \switchtobodyfont to change the size for certain parts of a t= ext > but it=92s best to keep this to a minimum because \tfa etc. are a lot fa= ster. > > The reason why you don=92t need \setupinterlinespace when you use > \switchtobodyfont is that \setupinterlinespace is already called by > \switchtobodyfont. > > Another thing which shouldn=92t be forgotten is that \switchtobodyfont > controls and changes the sizes for \tfa etc. > > Wolfgang To summarize this, and what I've learned from others on this list over the last week or two, I've updated the wiki page http://wiki.contextgarden.net/Font_Switching It's a pretty substantial change, so I hope someone knowledgeable will look at it and make sure it's right. I'm trying to find ways to express the fact that, as I understand it, there are two distinct concepts of "current font" in effect at any given time: 1) the bodyfont, which is set by \setupbodyfont or \switchtobodyfont 2) the "effective" font (is there a more standard term for this?) which is changed by \tfa, \ss, etc. \tfa etc. change the effective font based on what the bodyfont is. Anything that changes the bodyfont, such as \switchtobodyfont, also affects the linespacing. Just changing the effective font does not affect the linespacing. Changing the bodyfont changes the effective font. Does that give an accurate picture? Thanks, Lars ___________________________________________________________________________= ________ 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 ___________________________________________________________________________= ________