diff options
author | Norbert Preining <norbert@preining.info> | 2023-08-01 03:01:19 +0000 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2023-08-01 03:01:19 +0000 |
commit | 84777905249300f2ab97a23141e31f952bceb865 (patch) | |
tree | 5621415ee6ecbcbe62e4c500977af3c41aeebd9c /macros/latex/contrib/caption/caption.dtx | |
parent | 17d547a1effe2cafcdfbf704bdf8cb0484790ef2 (diff) |
CTAN sync 202308010301
Diffstat (limited to 'macros/latex/contrib/caption/caption.dtx')
-rw-r--r-- | macros/latex/contrib/caption/caption.dtx | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/macros/latex/contrib/caption/caption.dtx b/macros/latex/contrib/caption/caption.dtx index 7f48c88b5a..8315f780b3 100644 --- a/macros/latex/contrib/caption/caption.dtx +++ b/macros/latex/contrib/caption/caption.dtx @@ -31,7 +31,7 @@ % % \fi % -% \CheckSum{2922} +% \CheckSum{2923} % % \iffalse %<*driver> @@ -4521,14 +4521,14 @@ % % Identify the current version of the package. % \begin{macrocode} -\ProvidesPackage{caption}[2023/07/28 v3.6m Customizing captions (AR)] +\ProvidesPackage{caption}[2023/07/31 v3.6n Customizing captions (AR)] % \end{macrocode} % % \subsection{Loading the kernel} % % Load a matching version of the \pkg{caption} kernel. % \begin{macrocode} -\RequirePackage{caption3}[2023/07/28] % needs v2.4c or newer +\RequirePackage{caption3}[2023/07/31] % needs v2.4d or newer % \end{macrocode} % % \subsection{Check against unknown document classes} @@ -6082,6 +6082,7 @@ % \begin{macro}{\caption@dblarg} % \changes{v3.1}{2007/02/05}{This macro added} % \changes{v3.3}{2012/03/25}{Support of option \opt{list-entry} added} +% \changes{v3.6n}{2023/07/31}{Only an empty list-entry will expand to \cs{relax}, otherwise it remains unchanged} % A |\relax| was added compared to |\@dblarg| so |\caption{}| will be % expanded to |\caption[\relax]{}| (and not to |\caption[]{}|). % Furthermore support for option \opt{list-entry} was added. @@ -6093,12 +6094,14 @@ % \end{macrocode} % \begin{macrocode} \newcommand\caption@xdblarg[2]{% - #1[{#2\relax}]{#2}} + \caption@iftokens{#2}{#1[{#2}]{#2}}{#1[\relax]{}}} % \end{macrocode} % \begin{macrocode} \long\def\caption@ydblarg#1[#2]#3{% \caption@iflistheading{#1[{#3}]{#3}}{#1[{#2}]{#3}}} % \end{macrocode} +% \begin{macrocode} +% \end{macrocode} % \end{macro} % % \begin{macro}{\caption@begin} |