Aditya Mahajan <mailto:adit...@umich.edu>
9. September 2015 16:19
On Wed, 9 Sep 2015, Hans Hagen wrote:
How does this differ from \blank[2*line] etc? vertical glue?
1. When the empty lines are inserted at a line break they are kept with
\emptylines but when you use \blank the glue disa
\spac_lines_empty[#1]%
{\endgraf
\begingroup
%\forgetall % debatable
\ifhmode
\crlf % finish the current line
\fi
\dorecurse{\iffirstargument#1\else3\fi}{\strut\crlf}%
\endgroup}
\starttext
x1 \emptylines[0] x1
x2 \emptylines[1] x2
x3 \emptylines[2] x3
x4 \emptylines[3] x4
x1 \par
%\forgetall % debatable
\ifhmode
\crlf % finish the current line
\fi
\dorecurse{\iffirstargument#1\else3\fi}{\strut\crlf}%
\endgroup}
\starttext
x1 \emptylines[0] x1
x2 \emptylines[1] x2
x3 \emptylines[2] x3
x4 \emptylines[3] x4
x1 \par \emptylines[0] x1
x2 \par \emptylines[1
On 2015-09-08 17:52, Hans Hagen wrote:
\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}
Hmmm. I thi
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
\emptylines is not producing empty lines. Here is the example from the
wiki <http://wiki.contextgarden.net/Command/emptylines>:
\setuppapersize[A5]
\startcolumns[n=3]
With non-empty lines\crlf
asdf\crlf
asdf\crlf
asdf\crlf
asdf
\column
With\tex{emptyl