[NTG-context] \emptylines non-functional

Hans Hagen pragma at wxs.nl
Tue Sep 8 23:52:01 CEST 2015


On 9/8/2015 10:49 PM, Rik wrote:
> \setuppapersize[A5]
> \startcolumns[n=3]
>      With non-empty lines\crlf
>      asdf\crlf
>      asdf\crlf
>      asdf\crlf
>      asdf
> \column
>      With\tex{emptylines[2]}
>      \emptylines[2]
>      asdf\crlf
>      asdf
> \column
>      With\tex{blank[2*big]}
>      \blank[2*big]
>      asdf\crlf
>      asdf
> \stopcolumns

you can experiment with this in cont-new.mkiv:

\unprotect

\def\spac_lines_empty[#1]%
   {\endgraf
    \begingroup
    \forgetall
    \scratchcounter\iffirstargument#1\else3\fi\relax
    \ifhmode
       \crlf
       \advance\scratchcounter\minusone
    \fi
    \dorecurse\scratchcounter{\strut\crlf}%
    \endgroup}

\protect



-- 

-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
     tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
                                              | www.pragma-pod.nl
-----------------------------------------------------------------


More information about the ntg-context mailing list