From e20ac72552b2412459373e4e7be505028cf1ab36 Mon Sep 17 00:00:00 2001
From: Karl Berry <karl@freefriends.org>
Date: Fri, 5 Oct 2018 20:50:33 +0000
Subject: caption (5oct18)

git-svn-id: svn://tug.org/texlive/trunk@48835 c570f23f-e606-0410-a88d-b1316a301751
---
 Master/texmf-dist/tex/latex/caption/caption.sty | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

(limited to 'Master/texmf-dist/tex/latex/caption/caption.sty')

diff --git a/Master/texmf-dist/tex/latex/caption/caption.sty b/Master/texmf-dist/tex/latex/caption/caption.sty
index 0636ca6d7e5..47e5522ebc4 100644
--- a/Master/texmf-dist/tex/latex/caption/caption.sty
+++ b/Master/texmf-dist/tex/latex/caption/caption.sty
@@ -37,7 +37,7 @@
 %%   caption-deu.tex, caption-eng.tex, and caption-rus.tex.
 %% 
 \NeedsTeXFormat{LaTeX2e}[1994/12/01]
-\ProvidesPackage{caption}[2018/09/12 v3.3-152 Customizing captions (AR)]
+\ProvidesPackage{caption}[2018/10/05 v3.3-153 Customizing captions (AR)]
 \RequirePackage{caption3}[2018/09/12] % needs v1.8c or newer
 \caption@ifbool{documentclass}{}{%
   \caption@WarningNoLine{%
@@ -1582,8 +1582,8 @@
       \def\@captionabovefalse{\LT@captionsetup{position=b}}%
       \def\captionlistentry{%
         \noalign\bgroup
-        \@ifstar{\egroup\LT@listentry}% gobble *
-                {\egroup\LT@listentry}}%
+        \@ifstar{\egroup\LT@listentry\LTcaptype}% gobble *
+                {\egroup\LT@listentry\LTcaptype}}%
 %%        \let\Hy@LT@currentHlabel\@currentHlabel
 %%          \let\@currentHlabel\Hy@LT@currentHlabel
       \def\ContinuedFloat{\noalign{%
@@ -1593,7 +1593,7 @@
   \def\LT@capti@n{%
     \@ifstar
       {\egroup\LT@c@ption\@gobble[]}%
-      {\egroup\caption@xdblarg{\LT@c@ption\@firstofone}}}
+      {\egroup\caption@xdblarg{\LT@c@ption\@firstofone}}}%
   \renewcommand\LT@makecaption[3]{%
     \caption@LT@make{%
       \caption@LT@settype\LTcaptype
@@ -1612,14 +1612,14 @@
     \begingroup
       \caption@LT@settype{#1}%
       \caption@listentry\@firstoftwo[#1]{#2}%
-    \endgroup}%
+    \endgroup\ignorespaces}%
   \newcommand*\caption@LT@settype[1]{%
-    \caption@settype*\LTcaptype
+    \caption@settype*{#1}%
     \ifdim\LTcapwidth=4in \else
       \setcaptionwidth\LTcapwidth
     \fi
     \caption@setoptions{longtable}%
-    \caption@setoptions{@longtable}}
+    \caption@setoptions{@longtable}}%
 }{}
 \providecommand*\caption@LT@setup{}
 \caption@IfPackageLoaded{picinpar}{%
-- 
cgit v1.2.3

