[latex3-commits] [git/LaTeX3-latex3-latex2e] develop: update longtable from fixdpc8 branch (cb0b3a8e)

David Carlisle d.p.carlisle at gmail.com
Thu Jan 23 00:42:41 CET 2020


Repository : https://github.com/latex3/latex2e
On branch  : develop
Link       : https://github.com/latex3/latex2e/commit/cb0b3a8ead2e1a21f9c4c7940e4e6c62881a02e7

>---------------------------------------------------------------

commit cb0b3a8ead2e1a21f9c4c7940e4e6c62881a02e7
Author: David Carlisle <d.p.carlisle at gmail.com>
Date:   Wed Jan 22 23:42:41 2020 +0000

    update longtable from fixdpc8 branch


>---------------------------------------------------------------

cb0b3a8ead2e1a21f9c4c7940e4e6c62881a02e7
 required/tools/README.md     |  2 +-
 required/tools/changes.txt   |  9 +++++++++
 required/tools/longtable.dtx | 14 ++++++++------
 3 files changed, 18 insertions(+), 7 deletions(-)

diff --git a/required/tools/README.md b/required/tools/README.md
index 5a12d24d..18d7ab76 100644
--- a/required/tools/README.md
+++ b/required/tools/README.md
@@ -1,7 +1,7 @@
 The LaTeX `tools` bundle
 ========================
 
-Release 2020-02-02 pre-release 3
+Release 2020-02-02
 
 Overview
 --------
diff --git a/required/tools/changes.txt b/required/tools/changes.txt
index 441ab974..bc35e02d 100644
--- a/required/tools/changes.txt
+++ b/required/tools/changes.txt
@@ -5,10 +5,19 @@ completeness or accuracy and it contains some references to files that
 are not part of the distribution.
 =======================================================================
 
+#########################
+# 2020-02-02 Release
+#########################
+
 2020-01-15  David Carlisle  <David.Carlisle at latex-project.org>
 
 	* tabularx.dtx: Avoid .. at end of the Target width debug message.
 
+2020-01-07  David Carlisle  <David.Carlisle at latex-project.org>
+
+	* longtable.dtx: additional \endgraf for
+	https://github.com/davidcarlisle/dpctex/issues/8
+
 2020-01-04  David Carlisle  <David.Carlisle at latex-project.org>
 
 	* hhline.dtx: Allow and ignore spaces in the \hhline argument.
diff --git a/required/tools/longtable.dtx b/required/tools/longtable.dtx
index 9a3b5c03..44ce1156 100644
--- a/required/tools/longtable.dtx
+++ b/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 @@
 %<driver> \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>
@@ -1212,6 +1212,8 @@
 % \end{macro}
 %
 % \begin{macro}{\LT at 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 at start{%
   \let\LT at 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.
@@ -2151,4 +2154,3 @@
 %
 % \Finale
 \endinput
-





More information about the latex3-commits mailing list