diff options
Diffstat (limited to 'macros/latex/contrib/caption/fallback/v3.5/caption.dtx')
-rw-r--r-- | macros/latex/contrib/caption/fallback/v3.5/caption.dtx | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/macros/latex/contrib/caption/fallback/v3.5/caption.dtx b/macros/latex/contrib/caption/fallback/v3.5/caption.dtx index f5d5569ed8..3d16ea5647 100644 --- a/macros/latex/contrib/caption/fallback/v3.5/caption.dtx +++ b/macros/latex/contrib/caption/fallback/v3.5/caption.dtx @@ -2,7 +2,7 @@ % % This is file `caption.dtx'. % -% Copyright (C) 1994-2022 Axel Sommerfeldt (axel.sommerfeldt@f-m.fm) +% Copyright (C) 1994-2023 Axel Sommerfeldt (axel.sommerfeldt@f-m.fm) % % -------------------------------------------------------------------------- % @@ -32,7 +32,7 @@ % caption-deu.tex, caption-eng.tex, caption-rus.tex. % % \fi -% \CheckSum{2703} +% \CheckSum{2705} % % \iffalse %<*driver> @@ -241,7 +241,7 @@ % % \begin{macrocode} \NeedsTeXFormat{LaTeX2e}[1994/12/01] -\ProvidesPackage{caption}[2022/07/10 v3.5i Customizing captions (AR)] +\ProvidesPackage{caption}[2023/08/05 v3.5j Customizing captions (AR)] % \end{macrocode} % % \section{Loading the kernel} @@ -1708,13 +1708,14 @@ % \end{macro} % % \begin{macro}{\caption@gettitle} -% \changes{v3.1}{2007/05/05}{This macro and its usage added} +% \changes{v3.1l}{2010/01/09}{This macro and its usage added to adapt the definition of \cs{@currentlabelname} to recent versions of \package{nameref}} +% \changes{v3.5j}{2023/08/05}{Support for older versions of \package{nameref} revised to make it compatible with \LaTeX\ 2023-06-01} % This one is needed for support of the \package{nameref} package. % \begin{macrocode} \newcommand\caption@gettitle[1]{% \caption@ifdefined\NR@gettitle - {\NR@gettitle{#1}}% - {\def\@currentlabelname{#1}}} + {\NR@gettitle{#1}}% % support for recent versions of nameref package + {\caption@ifdefined\NR@sect{\def\@currentlabelname{#1}}{}}} % support for older versions of nameref package % \end{macrocode} % \end{macro} % |