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


-----------------------------------------------------------------
                                          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
___________________________________________________________________________________

Reply via email to