From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/113098 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Wolfgang Schuster via ntg-context Newsgroups: gmane.comp.tex.context Subject: Re: setuplocalinterlinespace not affecting the whole group? Date: Wed, 13 Oct 2021 18:13:32 +0200 Message-ID: <5ed22a48-c316-539b-7f1c-a094ca739ebb@gmail.com> References: <55f70e5db8d04ffe8d4c84fdcd74f0fc@unibe.ch> Reply-To: mailing list for ConTeXt users Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============2682607670842138574==" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="3436"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 PostboxApp/7.0.49 Cc: Wolfgang Schuster To: mailing list for ConTeXt users , Denis Maier via ntg-context Original-X-From: ntg-context-bounces@ntg.nl Wed Oct 13 18:14:36 2021 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane-mx.org Original-Received: from zapf.boekplan.nl ([5.39.185.232] helo=zapf.ntg.nl) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1magtm-0000cB-PG for gctc-ntg-context-518@m.gmane-mx.org; Wed, 13 Oct 2021 18:14:34 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 0F870288A5E; Wed, 13 Oct 2021 18:13:40 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id lvc3ZtwwKB0n; Wed, 13 Oct 2021 18:13:37 +0200 (CEST) Original-Received: from zapf.ntg.nl (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 960A6288A53; Wed, 13 Oct 2021 18:13:37 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 5A082288A49 for ; Wed, 13 Oct 2021 18:13:35 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id h7giKTLdJ-PJ for ; Wed, 13 Oct 2021 18:13:34 +0200 (CEST) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=209.85.221.41; helo=mail-wr1-f41.google.com; envelope-from=wolfgang.schuster.lists@gmail.com; receiver= Original-Received: from mail-wr1-f41.google.com (mail-wr1-f41.google.com [209.85.221.41]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by zapf.ntg.nl (Postfix) with ESMTPS id 3ED67288A1D for ; Wed, 13 Oct 2021 18:13:34 +0200 (CEST) Original-Received: by mail-wr1-f41.google.com with SMTP id m22so10317834wrb.0 for ; Wed, 13 Oct 2021 09:13:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language; bh=Hajtivr6F+vvPwWVBKj0cIozeEAzwAHraflgV9qqkWI=; b=foIluqjLFfJpLOMx3f0KNoH9tTJramU3JeNdaECp23omn6KYn6Ja3aSX5xNoR0fYTL PpTRqeZcltXN2OVbJUt2km9GyWuXR96/HSglFmOU6movjwmYw998Wlz/YaE8IlC8k+RJ rv2zionsihnSJiLK66wXn2he2MXQy8upkCL25lr15E+nnNqXJjXyj7EW+jBQiAgj0v3A RfmqHKYbGekYJLpvVGhQv0ffoFoKhjmzeEjtPq0y+Mb8rtjNRgvO4pxupvvMRRx24zYy gAAjOgA4GF+dyiIqDzCjgfxtANjMDKW3XjXtdyCBdlkv46GVL6S8wV53fPY94QK+2rG9 cYuA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language; bh=Hajtivr6F+vvPwWVBKj0cIozeEAzwAHraflgV9qqkWI=; b=6FpFnC99BGlgXTE4PNgz59P7ExLXpPgEPZAFWy1Cm0RoctYpPZbrmToIQZqbNhTbxg hozsnqvFCZMSqeXq/DNq+jx39f9i5GcgCW8MMctWXdJ0ysZM3lrzLk4mpkPUJiySeUJ5 VhrrfiqF47e3+aCRtNCsVg4w8qjvt0U3qj9i6aOWiwXn0N86TNR+HVyTo9caHEix+NTc CbycKtmAi5DdQl7TsVek59gJu9zodmu2Woe3SwXozCCsumx9ir5USRUgJzolUk9hcZ8C UzIeLR4ZyjXqPLxqUGYwTXe9L3sfmKpzK3fCWBesJ505DyjUjHx+1Dbm113a0GsIM5jt tG/g== X-Gm-Message-State: AOAM532X8FmJb1FUwHOnrmgpo/uqiG/S++pKA6g61hdand14qwlu8Srv eVajDRlbD1m0lcED3zZ2xl0= X-Google-Smtp-Source: ABdhPJwdaGZuRNqneercDDNyq0uc4d+si2xYQS8SKeCmkTqaJdXg5hnC7dWKXIf+OkGvxqQrWuKY3w== X-Received: by 2002:adf:a350:: with SMTP id d16mr102433wrb.136.1634141613756; Wed, 13 Oct 2021 09:13:33 -0700 (PDT) Original-Received: from ?IPv6:2a02:810d:a8bf:f874:d84a:5170:8df1:c23? ([2a02:810d:a8bf:f874:d84a:5170:8df1:c23]) by smtp.gmail.com with ESMTPSA id c7sm8288559wmq.13.2021.10.13.09.13.32 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Wed, 13 Oct 2021 09:13:33 -0700 (PDT) In-Reply-To: <55f70e5db8d04ffe8d4c84fdcd74f0fc@unibe.ch> Content-Language: en-US X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.26 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" Xref: news.gmane.io gmane.comp.tex.context:113098 Archived-At: This is a multi-part message in MIME format. --===============2682607670842138574== Content-Type: multipart/alternative; boundary="------------E1CDC2ABFCFA45E7CB7BDDC6" Content-Language: en-US This is a multi-part message in MIME format. --------------E1CDC2ABFCFA45E7CB7BDDC6 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 8bit Denis Maier via ntg-context schrieb am 13.10.2021 um 17:52: > > Hi, > > I have this MWE: > > %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% > > \definebodyfontenvironment > >                 [9bp] > >                 [ > >                 normal=9bp, > >                 b=24bp, > >                 ] > > \setupbodyfont[9bp] > > \startTEXpage > > { > > \setuplocalinterlinespace[line=25.5bp] > > %\setupinterlinespace[line=25.5bp] > > \tfb > > One\crlf > > Two > > Three > > } > > \stopTEXpage > > %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% > > For some reason \setuplocalinterlinespace[line=25.5bp] seems to affect > only the first paragraph in the group, but not the distance between > the two paragraphs. Using \setupinterlinespace instead of > \setuplocalinterlinespace gives the same result. > > (Adding a \crlf between Two and Three gives the correct visual > appearance. But that’s an ugly hack of course...) > > Any hints? > Add \par after Three or remove the curly braces. Wolfgang --------------E1CDC2ABFCFA45E7CB7BDDC6 Content-Type: text/html; charset=windows-1252 Content-Transfer-Encoding: 8bit Denis Maier via ntg-context schrieb am 13.10.2021 um 17:52:

Hi,

I have this MWE:

 

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\definebodyfontenvironment

                [9bp]

                [

                normal=9bp,

                b=24bp,

                ]

               

\setupbodyfont[9bp]

 

\startTEXpage

 

{

\setuplocalinterlinespace[line=25.5bp]

%\setupinterlinespace[line=25.5bp]

\tfb

One\crlf

Two

 

Three

}

\stopTEXpage

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

 

For some reason \setuplocalinterlinespace[line=25.5bp] seems to affect only the first paragraph in the group, but not the distance between the two paragraphs. Using \setupinterlinespace instead of \setuplocalinterlinespace gives the same result.

(Adding a \crlf between Two and Three gives the correct visual appearance. But that’s an ugly hack of course...)

 

Any hints?


Add \par after Three or remove the curly braces.

Wolfgang

--------------E1CDC2ABFCFA45E7CB7BDDC6-- --===============2682607670842138574== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX18KSWYgeW91ciBxdWVzdGlvbiBpcyBvZiBpbnRlcmVz dCB0byBvdGhlcnMgYXMgd2VsbCwgcGxlYXNlIGFkZCBhbiBlbnRyeSB0byB0aGUgV2lraSEKCm1h aWxsaXN0IDogbnRnLWNvbnRleHRAbnRnLm5sIC8gaHR0cDovL3d3dy5udGcubmwvbWFpbG1hbi9s aXN0aW5mby9udGctY29udGV4dAp3ZWJwYWdlICA6IGh0dHA6Ly93d3cucHJhZ21hLWFkZS5ubCAv IGh0dHA6Ly9jb250ZXh0LmFhbmhldC5uZXQKYXJjaGl2ZSAgOiBodHRwczovL2JpdGJ1Y2tldC5v cmcvcGhnL2NvbnRleHQtbWlycm9yL2NvbW1pdHMvCndpa2kgICAgIDogaHR0cDovL2NvbnRleHRn YXJkZW4ubmV0Cl9fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fCg== --===============2682607670842138574==--