summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/hyperref/nameref.dtx
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2010-05-01 23:12:09 +0000
committerKarl Berry <karl@freefriends.org>2010-05-01 23:12:09 +0000
commit578c49451ae7c084a1f0e78893798cd090e8e8b6 (patch)
tree633721f7a3b0325f3eeda42c6af62eb7dae8a7d2 /Master/texmf-dist/source/latex/hyperref/nameref.dtx
parent8c9a52b7b8592707848504ed69b7ba02f703ca8a (diff)
hyperref update (1may10)
git-svn-id: svn://tug.org/texlive/trunk@18073 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/latex/hyperref/nameref.dtx')
-rw-r--r--Master/texmf-dist/source/latex/hyperref/nameref.dtx18
1 files changed, 14 insertions, 4 deletions
diff --git a/Master/texmf-dist/source/latex/hyperref/nameref.dtx b/Master/texmf-dist/source/latex/hyperref/nameref.dtx
index c8e9eb72bb6..df0f7049fc6 100644
--- a/Master/texmf-dist/source/latex/hyperref/nameref.dtx
+++ b/Master/texmf-dist/source/latex/hyperref/nameref.dtx
@@ -30,9 +30,9 @@
%<driver>\ProvidesFile{nameref.drv}
% \fi
% \ProvidesFile{nameref.dtx}
- [2010/04/17 v2.39 Cross-referencing by name of section]%
+ [2010/04/30 v2.40 Cross-referencing by name of section]%
%
-% \CheckSum{691}
+% \CheckSum{698}
%
% \iffalse
%<*driver>
@@ -356,11 +356,9 @@
\NR@@caption{#1}[{#2}]%
}%
}%
-}
% \end{macrocode}
%
% \begin{macrocode}
-\AtBeginDocument{%
\@ifpackageloaded{longtable}{%
\let\NRorg@LT@c@ption\LT@c@ption
\def\LT@c@ption#1[#2]#3{%
@@ -372,6 +370,18 @@
\fi
}%
}{}%
+% \end{macrocode}
+%
+% Environment `description'.
+% \begin{macrocode}
+ \ltx@IfUndefined{descriptionlabel}{%
+ }{%
+ \let\NRorg@descriptionlabel\descriptionlabel
+ \def\descriptionlabel#1{%
+ \NR@gettitle{#1}%
+ \NRorg@descriptionlabel{#1}%
+ }%
+ }%
}
% \end{macrocode}
%