summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/caption/ltcaption.sty
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/caption/ltcaption.sty')
-rw-r--r--Master/texmf-dist/tex/latex/caption/ltcaption.sty18
1 files changed, 10 insertions, 8 deletions
diff --git a/Master/texmf-dist/tex/latex/caption/ltcaption.sty b/Master/texmf-dist/tex/latex/caption/ltcaption.sty
index 95b94ade609..662eb7dfeee 100644
--- a/Master/texmf-dist/tex/latex/caption/ltcaption.sty
+++ b/Master/texmf-dist/tex/latex/caption/ltcaption.sty
@@ -37,7 +37,7 @@
%% caption-deu.tex, caption-eng.tex, and caption-rus.tex.
%%
\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)]
\@ifpackageloaded{longtable}{}{%
\PackageError{ltcaption}{longtable package not loaded, aborting}{RTFM}}
\providecommand*\LTcaptype{table}
@@ -80,13 +80,7 @@
\newcommand*\caption@LT@table{table}%
\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}}
\renewcommand\LT@makecaption[3]{%
\LT@@makecaption{%
\sbox\@tempboxa{%
@@ -157,6 +151,14 @@
\def\next{\caption@LT@parse@ @}%
\fi\fi\fi
\next}
+\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}
\newenvironment{longtable*}{%
\let\caption@LT@type\@gobble
\let\caption@LT@raisedlink\Hy@raisedlink