summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/tools/longtable.dtx
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/source/latex/tools/longtable.dtx')
-rw-r--r--Master/texmf-dist/source/latex/tools/longtable.dtx13
1 files changed, 12 insertions, 1 deletions
diff --git a/Master/texmf-dist/source/latex/tools/longtable.dtx b/Master/texmf-dist/source/latex/tools/longtable.dtx
index 457891dac72..b66aef075eb 100644
--- a/Master/texmf-dist/source/latex/tools/longtable.dtx
+++ b/Master/texmf-dist/source/latex/tools/longtable.dtx
@@ -37,7 +37,7 @@
%<driver> \ProvidesFile{longtable.drv}
% \fi
% \ProvidesFile{longtable.dtx}
- [2021-05-07 v4.16 Multi-page Table package (DPC)]
+ [2021-09-01 v4.17 Multi-page Table package (DPC)]
%
% \iffalse
%<*driver>
@@ -973,6 +973,9 @@
% \begin{macro}{\c@table}
% \begin{macro}{\fnum@table}
% \begin{macro}{\tablename}
+% \begin{macro}{\ext@table}
+% \changes{v4.17}{2021/09/01}
+% {ensure \cs{ext@table} is defined gh/637}
% If the "table" counter is not defined (eg in "letter" style), define
% it. (Added in V3.06.)
% \begin{macrocode}
@@ -983,10 +986,14 @@
\ifx\tablename\undefined
\def\tablename{Table}
\fi
+\ifx\ext@table\undefined
+ \def\ext@table{lot}
+\fi
% \end{macrocode}
% \end{macro}
% \end{macro}
% \end{macro}
+% \end{macro}
%
% \begin{macro}{\LT@out}
% In a normal style, "longtable" uses the ".aux" file to record the
@@ -1023,11 +1030,15 @@
% \subsection{The \env{longtable} environment}
%
% \begin{macro}{\longtable}
+% \changes{v4.17}{2021/09/01}
+% {\cs{@nobreakfalse} gh/173 \cs{ifnoskipsec} test for gh/131}
% Called by "\begin{longtable}". This implementation does not work in
% multiple column formats. "\par" added at V3.04.
% \begin{macrocode}
\def\longtable{%
\par
+ \if@noskipsec\mbox{}\par\fi
+ \@nobreakfalse
\ifx\multicols\@undefined
\else
\ifnum\col@number>\@ne