summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/caption/caption.sty
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/caption/caption.sty')
-rw-r--r--Master/texmf-dist/tex/latex/caption/caption.sty6
1 files changed, 3 insertions, 3 deletions
diff --git a/Master/texmf-dist/tex/latex/caption/caption.sty b/Master/texmf-dist/tex/latex/caption/caption.sty
index 09cc1b6bf98..d1b54cae5e0 100644
--- a/Master/texmf-dist/tex/latex/caption/caption.sty
+++ b/Master/texmf-dist/tex/latex/caption/caption.sty
@@ -46,8 +46,8 @@
\DeclareRelease{v3.4}{2019-11-24}{caption_2020-07-29.sty}
\DeclareRelease{v3.5}{2020-08-30}{caption_2020-10-26.sty}
\DeclareCurrentRelease{v3.6}{2022-02-20}
-\ProvidesPackage{caption}[2023/07/28 v3.6m Customizing captions (AR)]
-\RequirePackage{caption3}[2023/07/28] % needs v2.4c or newer
+\ProvidesPackage{caption}[2023/07/31 v3.6n Customizing captions (AR)]
+\RequirePackage{caption3}[2023/07/31] % needs v2.4d or newer
\caption@ifdocumentclass{unknown}%
{\caption@WarningNoLine{%
Unknown document class (or package),\MessageBreak
@@ -602,7 +602,7 @@
{\caption@ydblarg{#1}}%
{\caption@xdblarg{#1}}}
\newcommand\caption@xdblarg[2]{%
- #1[{#2\relax}]{#2}}
+ \caption@iftokens{#2}{#1[{#2}]{#2}}{#1[\relax]{}}}
\long\def\caption@ydblarg#1[#2]#3{%
\caption@iflistheading{#1[{#3}]{#3}}{#1[{#2}]{#3}}}
\newcommand*\caption@begin[1]{%