summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/caption/caption_2010-01-09.sty
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2023-10-01 20:11:11 +0000
committerKarl Berry <karl@freefriends.org>2023-10-01 20:11:11 +0000
commitd4f1baaa0628bf1f27ff54687e54707424ebba7b (patch)
tree68e586893d523dfc50179c5063a0fe9c7409ede8 /Master/texmf-dist/tex/latex/caption/caption_2010-01-09.sty
parentf23e2c912dde2844552bcce852da26d62d527b04 (diff)
caption (1oct23)
git-svn-id: svn://tug.org/texlive/trunk@68425 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/caption/caption_2010-01-09.sty')
-rw-r--r--Master/texmf-dist/tex/latex/caption/caption_2010-01-09.sty8
1 files changed, 4 insertions, 4 deletions
diff --git a/Master/texmf-dist/tex/latex/caption/caption_2010-01-09.sty b/Master/texmf-dist/tex/latex/caption/caption_2010-01-09.sty
index 04f6b589bec..9559fadb740 100644
--- a/Master/texmf-dist/tex/latex/caption/caption_2010-01-09.sty
+++ b/Master/texmf-dist/tex/latex/caption/caption_2010-01-09.sty
@@ -6,7 +6,7 @@
%%
%% fallback/v3.1/caption.dtx (with options: `package')
%%
-%% Copyright (C) 1994-2022 Axel Sommerfeldt (axel.sommerfeldt@f-m.fm)
+%% Copyright (C) 1994-2023 Axel Sommerfeldt (axel.sommerfeldt@f-m.fm)
%%
%% https://gitlab.com/axelsommerfeldt/caption
%%
@@ -36,7 +36,7 @@
%% caption-thesis.sto, bicaption.sty, ltcaption.sty, subcaption.sty.
%%
\NeedsTeXFormat{LaTeX2e}[1994/12/01]
-\ProvidesPackage{caption}[2022/07/10 v3.1n Customizing captions (AR)]
+\ProvidesPackage{caption}[2023/08/05 v3.1o Customizing captions (AR)]
\newcommand*\caption@Info[1]{\PackageInfo{caption}{#1\@gobble}}
\@onlypreamble\caption@Info
\RequirePackage{caption3}[=2008/08/24] % needs v1.1j or newer
@@ -435,8 +435,8 @@
\let\caption@defrostHref\relax
\newcommand\caption@gettitle[1]{%
\@ifundefined{NR@gettitle}%
- {\def\@currentlabelname{#1}}%
- {\NR@gettitle{#1}}}
+ {\@ifundefined{NR@sect}{}{\def\@currentlabelname{#1}}}% support for older versions of nameref package
+ {\NR@gettitle{#1}}} % support for recent versions of nameref package
\def\caption@caption{%
\caption@iftype
{\caption@checkgrouplevel\@empty\caption