[NTG-context] Spurious newlines at beginning of startstop pair

Denis Maier denis.maier.lists at mailbox.org
Wed Nov 27 14:17:44 CET 2019


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`?

Best,
Denis


More information about the ntg-context mailing list