diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/hyperref/nameref.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/hyperref/nameref.sty | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/Master/texmf-dist/tex/latex/hyperref/nameref.sty b/Master/texmf-dist/tex/latex/hyperref/nameref.sty index 041c17d9a07..57eb9464ec9 100644 --- a/Master/texmf-dist/tex/latex/hyperref/nameref.sty +++ b/Master/texmf-dist/tex/latex/hyperref/nameref.sty @@ -30,7 +30,7 @@ %% given in the file `manifest.txt'. \NeedsTeXFormat{LaTeX2e} \ProvidesPackage{nameref} - [2010/04/17 v2.39 Cross-referencing by name of section]% + [2010/04/30 v2.40 Cross-referencing by name of section]% \RequirePackage{refcount}[2006/02/12] \RequirePackage{gettitlestring}[2009/12/18] \RequirePackage{ltxcmds}[2009/12/12] @@ -213,8 +213,6 @@ \NR@@caption{#1}[{#2}]% }% }% -} -\AtBeginDocument{% \@ifpackageloaded{longtable}{% \let\NRorg@LT@c@ption\LT@c@ption \def\LT@c@ption#1[#2]#3{% @@ -226,6 +224,14 @@ \fi }% }{}% + \ltx@IfUndefined{descriptionlabel}{% + }{% + \let\NRorg@descriptionlabel\descriptionlabel + \def\descriptionlabel#1{% + \NR@gettitle{#1}% + \NRorg@descriptionlabel{#1}% + }% + }% } \AtBeginDocument{% \@ifpackageloaded{titlesec}{% |