[NTG-context] additional space with sidebar and narrower

Henning Hraban Ramm texml at fiee.net
Mon Apr 8 07:59:06 CEST 2019

Am 2019-04-07 um 21:32 schrieb Hans Hagen <j.hagen at xs4all.nl>:

> On 4/7/2019 8:44 PM, Henning Hraban Ramm wrote:
>> Am 2019-03-27 um 00:06 schrieb Henning Hraban Ramm <texml at fiee.net>:
>>> Am 2019-03-26 um 17:22 schrieb Wolfgang Schuster <wolfgang.schuster.lists at gmail.com>:
>>>> Henning Hraban Ramm schrieb am 26.03.19 um 16:04:
>>>>> Thank you, I found that myself (could have written).
>>>>> But the problem is that there’s space introduced if I use both environments, but not if I use only one. And I didn’t find how I can avoid that.
>>>> Change the order of both environment and put sidebar in the narrower block.
>>>> The reason for the extra line is that \startsidebar begins a new paragraph but \startnarrower end the lest paragraph which results in a single empty line.
>>> Thank you, that works in my MWE, but not in my real life book. (I was sure I tested that approach already...) I’ll investigate further.
>> I finally found out what’s the problem:
>> \starttext
>> \input tufte
>> \startnarrower
>> \startsidebar
>> \startparagraph
>> \input knuth
>> \stopparagraph
>> \stopsidebar
>> \stopnarrower
>> \input tufte
>> \stoptext
>> As soon as I use \start/stopparagraph within narrower and sidebar, there’s additional space introduced. How can I avoid that?
> swap 'm
> \startnarrower
> \startparagraph
> \startsidebar
> \input knuth
> \stopsidebar
> \stopparagraph
> \stopnarrower

Thank you, but I need the sidebar over several paragraphs. (And I wrapped narrower and sidebar in its own startstop.)

Greetlings, Hraban

More information about the ntg-context mailing list