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 the whole group?

 

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