From 34897eebd22c3de968b64f09bb4a371d96cb0b89 Mon Sep 17 00:00:00 2001 From: Norbert Preining Date: Mon, 3 Feb 2020 03:02:01 +0000 Subject: CTAN sync 202002030302 --- macros/latex/required/tools/longtable.dtx | 22 ++++++++++++---------- 1 file changed, 12 insertions(+), 10 deletions(-) (limited to 'macros/latex/required/tools/longtable.dtx') diff --git a/macros/latex/required/tools/longtable.dtx b/macros/latex/required/tools/longtable.dtx index 9a3b5c03b8..004d630fce 100644 --- a/macros/latex/required/tools/longtable.dtx +++ b/macros/latex/required/tools/longtable.dtx @@ -1,6 +1,6 @@ % \iffalse meta-comment % -% Copyright (C) 1993-2019 +% Copyright (C) 1993-2020 % % The LaTeX3 Project and any individual authors listed elsewhere % in this file. @@ -21,7 +21,7 @@ % % \fi % \iffalse -%% File: longtable.dtx Copyright (C) 1990-2019 David Carlisle +%% File: longtable.dtx Copyright (C) 1990-2020 David Carlisle % %<*dtx> \ProvidesFile{longtable.dtx} @@ -31,7 +31,7 @@ % \ProvidesFile{longtable.drv} % \fi % \ProvidesFile{longtable.dtx} - [2019/02/06 v4.12 Multi-page Table package (DPC)] + [2020/01/07 v4.13 Multi-page Table package (DPC)] % % \iffalse %<*driver> @@ -635,9 +635,9 @@ % "\LTright"& % Glue to the right of the table. \hfill("\fill")\\ % "\LTpre"& -% Glue before the the table. \hfill("\bigskipamount")\\ +% Glue before the table. \hfill("\bigskipamount")\\ % "\LTpost"& -% Glue after the the table. \hfill("\bigskipamount")\\ +% Glue after the table. \hfill("\bigskipamount")\\ % "\LTcapwidth"& % The width of a parbox containing the caption.\hfill(4in)\\ % "LTchunksize"& @@ -1212,6 +1212,8 @@ % \end{macro} % % \begin{macro}{\LT@start} +% % \changes{v4.13}{2020/01/07} +% {fix issue https://github.com/davidcarlisle/dpctex/issues/8} % This macro starts the process of putting the table on the current % page. It is not called until either a "\\" or "\endlongtable" command % ends a chunk, as we do not know until that point which of the four @@ -1219,11 +1221,12 @@ % % It begins by redefining itself, so that the table is only started % once! Until V3.04, was redefined to "\relax", now use "\endgraf" to -% force the page-breaker to wake up. +% force the page-breaker to wake up. The second "\endgraf" is there so +% that "\pagetotal" is updated and so takes "\LTpre" into account. % \begin{macrocode} \def\LT@start{% \let\LT@start\endgraf - \endgraf\penalty\z@\vskip\LTpre + \endgraf\penalty\z@\vskip\LTpre\endgraf % \end{macrocode} % Start a new page if there is not enough room for the table head, foot, % and one extra line. @@ -2031,7 +2034,7 @@ % \end{macrocode} % \end{macro} % -% \subsection{Commands for the the table head and foot} +% \subsection{Commands for the table head and foot} % % \begin{macro}{\LT@end@hd@ft} % The core of "\endhead" and friends. Store the current chunk in the @@ -2127,7 +2130,7 @@ % \end{macrocode} % \changes{v4.12}{2019/02/06}{Color group to match array package} % \begin{macrocode} - \color@endgroup + \color@endgroup \egroup \the\LT@p@ftn \global\LT@p@ftn{}% @@ -2151,4 +2154,3 @@ % % \Finale \endinput - -- cgit v1.2.3