Re: [NTG-context] Fwd: Re: Spurious newlines at beginning of startstop pair
On 11/29/2019 11:05 AM, Denis Maier wrote: Am 29.11.2019 um 10:38 schrieb Hans Hagen: Second: For some reasons I have not received your message. It wasn't in the Spam folder and I usually receive mails from the list. Any ideas? Are there some known problems? Your mailbox host does some strange address checking (we run a mail server here and then go to the provider and it checks the internal server with a local address) ... there are some more on this list that bounce that way, like gmx, and i';ve given up bothering about it. hans Ok, what do you suggest? Change to a different mailserver for the list? Which hosts aren't prone to this problem? Or is there something I can change on my side? as long as you get messages from the list it's ok, but i normally hit reply so it also can to you then in which case it bounces Hans - 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] Fwd: Re: Spurious newlines at beginning of startstop pair
Am 29.11.2019 um 10:38 schrieb Hans Hagen: Second: For some reasons I have not received your message. It wasn't in the Spam folder and I usually receive mails from the list. Any ideas? Are there some known problems? Your mailbox host does some strange address checking (we run a mail server here and then go to the provider and it checks the internal server with a local address) ... there are some more on this list that bounce that way, like gmx, and i';ve given up bothering about it. hans Ok, what do you suggest? Change to a different mailserver for the list? Which hosts aren't prone to this problem? Or is there something I can change on my side? Denis ___ 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] Fwd: Re: Spurious newlines at beginning of startstop pair
On 11/28/2019 11:26 PM, denis.maier.li...@mailbox.org wrote: Hans, thanks for your answer. But two questions: First: Am I right to assume that the important part is `\GetPar`. The rest is syntactic sugar to make to code more ConTeXt-like, right? what you do is something: \def\foo{something that introduces a node) \foo rest of test so you have: rest of text so: \startwhatever some text \stopwhatever versus: \startwhatever some text \stopwhatever Second: For some reasons I have not received your message. It wasn't in the Spam folder and I usually receive mails from the list. Any ideas? Are there some known problems? Your mailbox host does some strange address checking (we run a mail server here and then go to the provider and it checks the internal server with a local address) ... there are some more on this list that bounce that way, like gmx, and i';ve given up bothering about it. hans - 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 ___
[NTG-context] Fwd: Re: Spurious newlines at beginning of startstop pair
Hans, thanks for your answer. But two questions: First: Am I right to assume that the important part is `\GetPar`. The rest is syntactic sugar to make to code more ConTeXt-like, right? Second: For some reasons I have not received your message. It wasn't in the Spam folder and I usually receive mails from the list. Any ideas? Are there some known problems? Best, Denis On 11/27/2019 2:17 PM, Denis Maier wrote: > Hi, > I have this file: > > -- > \newdimen\cslhangindent > \cslhangindent=1.5em > \definestartstop [cslreferences] [ > before={% > \setupnarrower[left=\cslhangindent] > \startnarrower[left]% > \setupindenting[-\leftskip,yes,first]% > \indentation% >}, >after=\stopnarrower, > ] > > \starttext > > \section{Some title} > > \input ward > > \section{References} > > \startcslreferences > > \dorecurse{10}{\dorecurse{10}{This is a Test. }\par} > > \stopcslreferences > > \stoptext > -- > > The skip after the `\section{References}` is bigger than after > `\section{Some title}`. Why is that? If I delete the empty line after > `\startcslreferences`, the skips are identical. > > Is there a way to take care of this through `\definestartstop`? you need to get rid of the empty line \definenarrower[whatever][left=1.5em] \definestartstop [cslreferences] [before={% \startwhatever[left] \setupindenting[-\leftskip,yes,first] \indentation \GetPar }, after=\stopwhatever] \showframe \starttext \section{Some title} \input ward \section{References} \startcslreferences \dorecurse{10}{\dorecurse{10}{This is a Test. }\par} \stopcslreferences \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 ___