From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/113104 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Denis Maier via ntg-context Newsgroups: gmane.comp.tex.context Subject: Re: setuplocalinterlinespace not affecting the whole group? Date: Wed, 13 Oct 2021 19:07:04 +0000 Message-ID: <63e45561d6a64910be3373ab580a4e8a@unibe.ch> References: <55f70e5db8d04ffe8d4c84fdcd74f0fc@unibe.ch> <5ed22a48-c316-539b-7f1c-a094ca739ebb@gmail.com> Reply-To: mailing list for ConTeXt users Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============2470279333428881553==" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="20988"; mail-complaints-to="usenet@ciao.gmane.io" Cc: denis.maier@unibe.ch To: , , Original-X-From: ntg-context-bounces@ntg.nl Wed Oct 13 21:08:25 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 1majc1-0005Hj-JP for gctc-ntg-context-518@m.gmane-mx.org; Wed, 13 Oct 2021 21:08:25 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 0E4FD2889AA; Wed, 13 Oct 2021 21:07:14 +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 IrdnIUDCfg_F; Wed, 13 Oct 2021 21:07:10 +0200 (CEST) Original-Received: from zapf.ntg.nl (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 143132889BF; Wed, 13 Oct 2021 21:07:10 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 798182889A0 for ; Wed, 13 Oct 2021 21:07:08 +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 5oXNjdoxsnuD for ; Wed, 13 Oct 2021 21:07:06 +0200 (CEST) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=130.92.0.82; helo=mailhub-lb1.unibe.ch; envelope-from=denis.maier@unibe.ch; receiver= Original-Received: from mailhub-lb1.unibe.ch (mailhub-lb1.unibe.ch [130.92.0.82]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by zapf.ntg.nl (Postfix) with ESMTPS id 3D42B288948 for ; Wed, 13 Oct 2021 21:07:06 +0200 (CEST) X-Virus-Scanned: By University of Bern - MGW Original-Received: from mail.campus.unibe.ch (aai-edge-01.campus.unibe.ch [130.92.13.20]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mailhub-lb1.unibe.ch (Postfix) with ESMTPS id DA4E9500073; Wed, 13 Oct 2021 21:07:04 +0200 (CEST) Thread-Topic: [NTG-context] setuplocalinterlinespace not affecting the whole group? Thread-Index: AdfASaStqmfchU7LRRmoRU/gykNCpP//5bcA//+uEeA= In-Reply-To: <5ed22a48-c316-539b-7f1c-a094ca739ebb@gmail.com> Accept-Language: de-CH, en-US Content-Language: de-DE x-originating-ip: [130.92.13.161] 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:113104 Archived-At: --===============2470279333428881553== Content-Language: de-DE Content-Type: multipart/alternative; boundary="_000_63e45561d6a64910be3373ab580a4e8aunibech_" --_000_63e45561d6a64910be3373ab580a4e8aunibech_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Thanks! Von: Wolfgang Schuster Gesendet: Mittwoch, 13. Oktober 2021 18:14 An: mailing list for ConTeXt users ; Denis Maier via nt= g-context Cc: Maier, Denis Christian (UB) Betreff: Re: [NTG-context] setuplocalinterlinespace not affecting the whole= group? Denis Maier via ntg-context schrieb am 13.10.2021 um 17:52: Hi, I have this MWE: %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \definebodyfontenvironment [9bp] [ normal=3D9bp, b=3D24bp, ] \setupbodyfont[9bp] \startTEXpage { \setuplocalinterlinespace[line=3D25.5bp] %\setupinterlinespace[line=3D25.5bp] \tfb One\crlf Two Three } \stopTEXpage %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% For some reason \setuplocalinterlinespace[line=3D25.5bp] seems to affect on= ly the first paragraph in the group, but not the distance between the two p= aragraphs. 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 --_000_63e45561d6a64910be3373ab580a4e8aunibech_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

Thanks!

 

Von: Wolfgang Schuster <wolfgang.schuster= .lists@gmail.com>
Gesendet: Mittwoch, 13. Oktober 2021 18:14
An: mailing list for ConTeXt users <ntg-context@ntg.nl>; Denis= Maier via ntg-context <ntg-context@ntg.nl>
Cc: Maier, Denis Christian (UB) <denis.maier@unibe.ch>
Betreff: Re: [NTG-context] setuplocalinterlinespace not affecting th= e whole group?

 

Denis Maier via ntg-context schrieb am 13.10.2021 um= 17:52:

Hi,

I have this MWE:

 

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

\definebodyfontenvironment

     &= nbsp;          [9bp]

     &= nbsp;          [

     &= nbsp;          normal=3D9bp,

     &= nbsp;          b=3D24bp,

     &= nbsp;          ] <= /o:p>

     &= nbsp;         

\setupbodyfont[9bp]=

 

\startTEXpage=

 

{

\setuplocalinterlinespace[line= =3D25.5bp]

%\setupinterlinespace[line=3D25= .5bp]

\tfb

One\crlf

Two

 

Three

}

\stopTEXpage

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

 

For some reason \setuplocalinterlinespace[line=3D25.= 5bp] seems to affect only the first paragraph in the group, but not the dis= tance between the two paragraphs. Using \setupinterlinespace instead of \se= tuplocalinterlinespace gives the same result.

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

 

Any hints?


Add \par after Three or remove the curly braces.



Wolfgang

--_000_63e45561d6a64910be3373ab580a4e8aunibech_-- --===============2470279333428881553== 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== --===============2470279333428881553==--