summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/sttools/flushend.dtx
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/source/latex/sttools/flushend.dtx')
-rw-r--r--Master/texmf-dist/source/latex/sttools/flushend.dtx19
1 files changed, 9 insertions, 10 deletions
diff --git a/Master/texmf-dist/source/latex/sttools/flushend.dtx b/Master/texmf-dist/source/latex/sttools/flushend.dtx
index 8bcf181d193..e050787f857 100644
--- a/Master/texmf-dist/source/latex/sttools/flushend.dtx
+++ b/Master/texmf-dist/source/latex/sttools/flushend.dtx
@@ -42,12 +42,12 @@
%<package>\NeedsTeXFormat{LaTeX2e}[1999/12/01]
%<package>\ProvidesPackage{flushend}
%<*package>
- [2015/04/08 v3.0 Balancing columns in twocolumn mode]
+ [2015/04/14 v3.1 Balancing columns in twocolumn mode]
%</package>
%
%<*driver>
\documentclass{ltxdoc}
-\usepackage{flushend}[2015/04/08]
+\usepackage{flushend}[2015/04/14]
\EnableCrossrefs
\CodelineIndex
%%\RecordChanges
@@ -59,7 +59,7 @@
%</driver>
% \fi
%
-% \CheckSum{1739}
+% \CheckSum{1737}
%
% \CharacterTable
% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
@@ -89,6 +89,7 @@
% ancient/modern,
% spread/nospread,
% removelastbox/keeplastbox}
+% \changes{v3.1}{2015/04/14}{set debug option off by default; keeplastbox modified;}
%
% \DoNotIndex{\newcommand,\newenvironment}
%
@@ -215,7 +216,7 @@
\newif\if@ancient@balance@version \@ancient@balance@versionfalse
\newif\if@right@column@spread \@right@column@spreadtrue
\newif\if@remove@lastbox@at@balancing \@remove@lastbox@at@balancingtrue
-\newif\if@balance@debug \@balance@debugtrue
+\newif\if@balance@debug \@balance@debugfalse
\DeclareOption{autobase}{\global\@auto@baselineskiptrue}
\DeclareOption{noautobase}{\global\@auto@baselineskipfalse}
\DeclareOption{ancient}{\global\@ancient@balance@versiontrue}
@@ -280,6 +281,10 @@
}
\gdef\remove@lastbox@at@balancing{%
\unskip@three@kern@penalty
+ \if@remove@lastbox@at@balancing
+ \else
+ \expandafter\null
+ \fi
\bgroup
\setbox\z@\lastbox
\ifdim\wd\z@>\z@
@@ -289,12 +294,6 @@
\fi
\egroup
}
-\AtBeginDocument{%
- \if@remove@lastbox@at@balancing
- \else
- \let\remove@lastbox@at@balancing\relax
- \fi
- }
% \end{macrocode}
% \end{macro}
%