summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/caption/ltcaption.dtx
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/source/latex/caption/ltcaption.dtx')
-rw-r--r--Master/texmf-dist/source/latex/caption/ltcaption.dtx26
1 files changed, 17 insertions, 9 deletions
diff --git a/Master/texmf-dist/source/latex/caption/ltcaption.dtx b/Master/texmf-dist/source/latex/caption/ltcaption.dtx
index 10addccff29..4c4f077a162 100644
--- a/Master/texmf-dist/source/latex/caption/ltcaption.dtx
+++ b/Master/texmf-dist/source/latex/caption/ltcaption.dtx
@@ -25,7 +25,7 @@
% and the user manuals caption-deu.tex, caption-eng.tex, and caption-rus.tex.
%
% \fi
-% \CheckSum{377}
+% \CheckSum{378}
%
% \iffalse
%<*driver>
@@ -460,7 +460,7 @@
%
% \begin{macrocode}
\NeedsTeXFormat{LaTeX2e}[1994/12/01]
-\ProvidesPackage{ltcaption}[2013/06/09 v1.4-94 longtable captions (AR)]
+\ProvidesPackage{ltcaption}[2018/08/26 v1.4-95 longtable captions (AR)]
% \end{macrocode}
%
% \begin{macrocode}
@@ -616,13 +616,7 @@
% \begin{macrocode}
\long\def\LT@c@ption#1[#2]#3{%
\LT@makecaption#1{\csname fnum@\LTcaptype\endcsname}{#3}%
- \def\@tempa{#2}%
- \ifx\@tempa\@empty\else
- {\let\\\space
- \addcontentsline{\csname ext@\LTcaptype\endcsname}{\LTcaptype}%
- {\protect\numberline{\csname the\LTcaptype\endcsname}{#2}}}%
- \fi
- \ignorespaces}
+ \LT@listentry\LTcaptype{#2}}
% \end{macrocode}
% \end{macro}
%
@@ -784,6 +778,20 @@
% \end{macrocode}
% \end{macro}
%
+% \begin{macro}{\LT@listentry}
+% \changes{v1.4}{2018/08/26}{This macro added}
+% \begin{macrocode}
+\newcommand*\LT@listentry[2]{%
+ \def\@tempa{#2}%
+ \ifx\@tempa\@empty\else
+ {\let\\\space
+ \addcontentsline{\csname ext@#1\endcsname}{#1}%
+ {\protect\numberline{\csname the#1\endcsname}{#2}}}%
+ \fi
+ \ignorespaces}
+% \end{macrocode}
+% \end{macro}
+%
% \subsection{The \texttt{longtable*} environment}
% \changes{v1.1}{2007/09/01}{Environment \env{longtable*} added}
%