[tex-eplain] old patches to eplain
Stepan Kasal
kasal at ucw.cz
Tue Jul 27 10:57:50 CEST 2004
Hello Dorai,
I've noticed that there are still three patches in the queue for eplain.
I think I have submitted them.
I apologize that I have found this only after the release...
Have a nice day,
Stepan
-------------- next part --------------
2003-12-16 Stepan Kasal <kasal at ucw.cz>
* xeplain.tex: Fix indentation.
--- xeplain.tex.a1 2003-12-16 00:52:15.000000000 +0100
+++ xeplain.tex.a2 2003-12-16 00:53:38.000000000 +0100
@@ -2725,12 +2725,12 @@
%
% If we are in an end-column mode and we need extra vertical space
% in the last column, advance \dimen at .
- \if at forceextraline
- \advance\dimen@ by \baselineskip
- \fi
- %
- % Split the long scroll into columns.
- \begingroup
+ \if at forceextraline
+ \advance\dimen@ by \baselineskip
+ \fi
+ %
+ % Split the long scroll into columns.
+ \begingroup
% We do not want to see underfull \vbox messages unless the final
% page is underfull.
\vbadness = 10000
@@ -2869,25 +2869,25 @@
\let\@recoverclubpenalty\relax
\newdimen\temp at dimen
\def\columnfill{%
- \par
- \dimen@=\pagetotal % The height of the text set so far.
- \temp at dimen = \vsize % = \@numcolumns * columnheight
- \divide\temp at dimen by \@numcolumns % find out column height
- \loop
- \ifdim \dimen@ > \temp at dimen
- \advance \dimen@ by -\temp at dimen
- \advance \dimen@ by \topskip % fudge factor
- \repeat
- \advance \temp at dimen by -\dimen@
- \advance \temp at dimen by -\prevdepth
- \@saveclubpenalty
- \clubpenalty=10000\relax
- \hrule height\temp at dimen width0pt depth0pt\relax
- \nointerlineskip
- \par
- \nointerlineskip
- \penalty0\vfil % To allow a page break here.
- \relax
+ \par
+ \dimen@=\pagetotal % The height of the text set so far.
+ \temp at dimen = \vsize % = \@numcolumns * columnheight
+ \divide\temp at dimen by \@numcolumns % find out column height
+ \loop
+ \ifdim \dimen@ > \temp at dimen
+ \advance \dimen@ by -\temp at dimen
+ \advance \dimen@ by \topskip % fudge factor
+ \repeat
+ \advance \temp at dimen by -\dimen@
+ \advance \temp at dimen by -\prevdepth
+ \@saveclubpenalty
+ \clubpenalty=10000\relax
+ \hrule height\temp at dimen width0pt depth0pt\relax
+ \nointerlineskip
+ \par
+ \nointerlineskip
+ \penalty0\vfil % To allow a page break here.
+ \relax
}%
%
\let\wlog = \@plainwlog
-------------- next part --------------
2003-12-16 Stepan Kasal <kasal at ucw.cz>
* xeplain.tex: Don't \let\endcolumns=\singlecolumn when
\singlecolumn is not defined yet; use \def instead.
--- xeplain.tex.a0 2003-07-16 03:06:19.000000000 +0200
+++ xeplain.tex.a1 2003-12-16 00:52:15.000000000 +0100
@@ -2615,7 +2615,7 @@
\def\doublecolumns{\@columns2}%
\def\begincolumns#1{\ifcase#1\relax \or \singlecolumn \or \@columns2 \or
\@columns3 \or \@columns4 \else \relax \fi}%
-\let\endcolumns = \singlecolumn
+\def\endcolumns{\singlecolumn}%
\let\@ndcolumns = \relax
%
% Set this by default so \vfootnote can unconditionally inspect it.
-------------- next part --------------
2003-12-16 Stepan Kasal <kasal at ucw.cz>
* xeplain.tex: Make the computation how many entries goes to each
column and its documentation more clear.
--- xeplain.tex.a2 2003-12-16 00:53:38.000000000 +0100
+++ xeplain.tex.a3 2003-12-16 00:57:43.000000000 +0100
@@ -2361,11 +2361,11 @@
%
\def\makecolumns#1/#2: {\par \begingroup
% Set \@columndepth to the number of items we will put in a column:
- % (N - 1) / K.
+ % \lceil N/K \rceil, ie. (N - 1) / K + 1.
\@columndepth = #1
- \advance\@columndepth by #2
\advance\@columndepth by -1
\divide \@columndepth by #2
+ \advance\@columndepth by 1
\@linestogoincolumn = \@columndepth
\@linestogo = #1
%
More information about the tex-eplain
mailing list