summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/caption/caption.sty
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2023-08-01 20:06:37 +0000
committerKarl Berry <karl@freefriends.org>2023-08-01 20:06:37 +0000
commitaa4205eda62d389efe98e62be726166b9e574637 (patch)
treef5af8e829d06d5cd387fc6b815a216af1db4e896 /Master/texmf-dist/tex/latex/caption/caption.sty
parent4f1cabae3381cd17b21ca6e7c89156edd09e23d5 (diff)
caption (1aug23)
git-svn-id: svn://tug.org/texlive/trunk@67788 c570f23f-e606-0410-a88d-b1316a301751
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]{%