Grid and setupparagraphs problem, LMTX and MkIV

Hello experts, I am stumped trying to eliminate the extra vertical space in the following example. Can anybody point out where it is coming from and, more importantly, how to eliminate it. All lines should be on the grid, but the paragraphs environment clearly is introducing extra space (or removing it). I do note that the problem exists with MkIV and LMTX not giving the same result, but with neither setting on the grid. \setuplayout [grid=on] \showgrid \defineparagraphs[TwoCols] [n=2] \setupparagraphs[TwoCols] [each] [before=\blank[line],after=\blank[line], ] \setupparagraphs[TwoCols] [2] [width=.6\textwidth] \starttext \input dawkins\par \input dawkins\par \startTwoCols abc\nextTwoCols abc\stopTwoCols \startTwoCols abc\nextTwoCols abc\stopTwoCols \startTwoCols abc\nextTwoCols abc\stopTwoCols \input dawkins \stoptext -- Rik

Am 08.03.2025 um 00:07 schrieb Rik Kabel:
Hello experts,
I am stumped trying to eliminate the extra vertical space in the following example. Can anybody point out where it is coming from and, more importantly, how to eliminate it. All lines should be on the grid, but the paragraphs environment clearly is introducing extra space (or removing it). I do note that the problem exists with MkIV and LMTX not giving the same result, but with neither setting on the grid.
[...]
The paragraphs environment is something like a light version of natural tables or extreme tables rather than a column variant. The environment existed long before extreme tables had been added and natural tables worked different under the hood. Wolfgang

On 7 Mar 2025, at 23:07, Rik Kabel
wrote: I am stumped trying to eliminate the extra vertical space in the following example. Can anybody point out where it is coming from and, more importantly, how to eliminate it. All lines should be on the grid, but the paragraphs environment clearly is introducing extra space (or removing it).
\setuplayout[grid=top] seems to fix both the vertical spacing and the subsequent alignment in your MWE. Regards, — Bruce Horrocks Hampshire, UK

On 2025-03-09 08:12, Bruce Horrocks wrote:
On 7 Mar 2025, at 23:07, Rik Kabel
wrote: I am stumped trying to eliminate the extra vertical space in the following example. Can anybody point out where it is coming from and, more importantly, how to eliminate it. All lines should be on the grid, but the paragraphs environment clearly is introducing extra space (or removing it). \setuplayout[grid=top] seems to fix both the vertical spacing and the subsequent alignment in your MWE.
Thank you, Bruce. I ended up going to a different mechanism completely since I only need text in the second column, and that simplified things elsewhere as well. -- Rik
participants (3)
-
Bruce Horrocks
-
Rik Kabel
-
Wolfgang Schuster