Re: [NTG-context] additional space with sidebar and narrower
Am 2019-04-07 um 21:32 schrieb Hans Hagen : > On 4/7/2019 8:44 PM, Henning Hraban Ramm wrote: >> Am 2019-03-27 um 00:06 schrieb Henning Hraban Ramm : >>> Am 2019-03-26 um 17:22 schrieb Wolfgang Schuster >>> : >>> 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 --- https://www.fiee.net http://wiki.contextgarden.net https://www.dreiviertelhaus.de GPG Key ID 1C9B22FD ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] additional space with sidebar and narrower
On 4/7/2019 8:44 PM, Henning Hraban Ramm wrote: Am 2019-03-27 um 00:06 schrieb Henning Hraban Ramm : Am 2019-03-26 um 17:22 schrieb Wolfgang Schuster : 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 - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl - ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] additional space with sidebar and narrower
Am 2019-03-27 um 00:06 schrieb Henning Hraban Ramm : > Am 2019-03-26 um 17:22 schrieb Wolfgang Schuster > : > >> 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? Greetlings, Hraban --- https://www.fiee.net http://wiki.contextgarden.net https://www.dreiviertelhaus.de GPG Key ID 1C9B22FD ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] additional space with sidebar and narrower
Am 2019-03-26 um 17:22 schrieb Wolfgang Schuster : > 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. Greetlings, Hraban --- https://www.fiee.net http://wiki.contextgarden.net https://www.dreiviertelhaus.de GPG Key ID 1C9B22FD ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] additional space with sidebar and narrower
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 lien is that \startsidebar begins a new paragraph but \startnarrower end the lest paragraph which results in a single empty line. Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] additional space with sidebar and narrower
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. Greetlings, Hraban --- https://www.fiee.net http://wiki.contextgarden.net https://www.dreiviertelhaus.de GPG Key ID 1C9B22FD Am 2019-03-26 um 15:22 schrieb Otared Kavian : > Hi, > > If the issue is the size of the sidebar, I think if you add something like > > \setupsidebar[topoffset=-5mm,bottomoffset=-5mm] > > you can get rid of the spurious length of the sidebar. Indeed here 5mm should > be replaced with what looks better with your setting of interlinespace. > > Best regards: OK > >> On 26 Mar 2019, at 11:16, Henning Hraban Ramm wrote: >> >> Ahoi, >> I’m trying to mark examples in a book with indent (\startnarrower) and a >> rule in the margin (\startsidebar). >> Each of those works on its own as it should, but combined there’s an >> additional empty line before and after introduced that I can’t get rid of. >> Any hints? >> >> \starttext >> >> \input tufte >> >> \startsidebar >> \startnarrower >> \input knuth >> \stopnarrower >> \stopsidebar >> >> \input tufte >> >> \stoptext >> ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] additional space with sidebar and narrower
Hi, If the issue is the size of the sidebar, I think if you add something like \setupsidebar[topoffset=-5mm,bottomoffset=-5mm] you can get rid of the spurious length of the sidebar. Indeed here 5mm should be replaced with what looks better with your setting of interlinespace. Best regards: OK > On 26 Mar 2019, at 11:16, Henning Hraban Ramm wrote: > > Ahoi, > I’m trying to mark examples in a book with indent (\startnarrower) and a rule > in the margin (\startsidebar). > Each of those works on its own as it should, but combined there’s an > additional empty line before and after introduced that I can’t get rid of. > Any hints? > > \starttext > > \input tufte > > \startsidebar > \startnarrower > \input knuth > \stopnarrower > \stopsidebar > > \input tufte > > \stoptext > > > Greetlings, Hraban > --- > https://www.fiee.net > http://wiki.contextgarden.net > https://www.dreiviertelhaus.de > GPG Key ID 1C9B22FD > > ___ > If your question is of interest to others as well, please add an entry to the > Wiki! > > maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context > webpage : http://www.pragma-ade.nl / http://context.aanhet.net > archive : https://bitbucket.org/phg/context-mirror/commits/ > wiki : http://contextgarden.net > ___ ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
[NTG-context] additional space with sidebar and narrower
Ahoi, I’m trying to mark examples in a book with indent (\startnarrower) and a rule in the margin (\startsidebar). Each of those works on its own as it should, but combined there’s an additional empty line before and after introduced that I can’t get rid of. Any hints? \starttext \input tufte \startsidebar \startnarrower \input knuth \stopnarrower \stopsidebar \input tufte \stoptext Greetlings, Hraban --- https://www.fiee.net http://wiki.contextgarden.net https://www.dreiviertelhaus.de GPG Key ID 1C9B22FD ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___