[latex3-commits] [git/LaTeX3-latex3-latex2e] longtable4.14: \global removed (thanks to Martin Wilhelm Leidig) (7d30cf38)

David Carlisle d.p.carlisle at gmail.com
Sun Mar 8 10:46:40 CET 2020


Repository : https://github.com/latex3/latex2e
On branch  : longtable4.14
Link       : https://github.com/latex3/latex2e/commit/7d30cf3839b4ea9b151f027b711284bbe35f5c5f

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

commit 7d30cf3839b4ea9b151f027b711284bbe35f5c5f
Author: David Carlisle <d.p.carlisle at gmail.com>
Date:   Fri Feb 7 16:38:33 2020 +0000

    \global removed (thanks to Martin Wilhelm Leidig)


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

7d30cf3839b4ea9b151f027b711284bbe35f5c5f
 required/tools/longtable.dtx | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/required/tools/longtable.dtx b/required/tools/longtable.dtx
index 0d597b79..078c5e7e 100644
--- a/required/tools/longtable.dtx
+++ b/required/tools/longtable.dtx
@@ -1460,6 +1460,8 @@
 % \begin{macro}{\LT at setprevdepth}
 % \changes{v4.05}{1996/11/12}
 %      {Macro added}
+% \changes{v4.14}{2020/02/07}
+%      {spurious \cs{global} removed}
 % This will be redefined to set the "\prevdepth"
 %  at the start of a chunk.
 %    \begin{macrocode}
@@ -1479,7 +1481,7 @@
   \global\advance\LT at rows\@ne
   \ifnum\LT at rows=\LTchunksize
     \gdef\LT at setprevdepth{%
-      \prevdepth\z@\global
+      \prevdepth\z@
       \global\let\LT at setprevdepth\relax}%
     \expandafter\LT at xtabularcr
   \else





More information about the latex3-commits mailing list.