summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/hyperref
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2006-12-29 00:56:13 +0000
committerKarl Berry <karl@freefriends.org>2006-12-29 00:56:13 +0000
commit76e439039464d8b132be4800bb4d1d0d2ccddcc0 (patch)
treee5fd403cdfc8fb14949ef7aa9411af0a6a6f875a /Master/texmf-dist/source/latex/hyperref
parent95e7adbdb6ef9e7564f42b9afd537afdc64f80f2 (diff)
hyperref update (28dec06)
git-svn-id: svn://tug.org/texlive/trunk@3002 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/latex/hyperref')
-rw-r--r--Master/texmf-dist/source/latex/hyperref/nameref.dtx23
1 files changed, 10 insertions, 13 deletions
diff --git a/Master/texmf-dist/source/latex/hyperref/nameref.dtx b/Master/texmf-dist/source/latex/hyperref/nameref.dtx
index 212de866f7f..bb61b32ee3b 100644
--- a/Master/texmf-dist/source/latex/hyperref/nameref.dtx
+++ b/Master/texmf-dist/source/latex/hyperref/nameref.dtx
@@ -24,9 +24,9 @@
%<driver>\ProvidesFile{nameref.drv}
% \fi
% \ProvidesFile{nameref.dtx}
- [2006/12/21 v2.27 Cross-referencing by name of section]
+ [2006/12/27 v2.28 Cross-referencing by name of section]
%
-% \CheckSum{493}
+% \CheckSum{473}
%
% \iffalse
%<*driver>
@@ -116,9 +116,6 @@
\def\label#1{%
\@bsphack
\begingroup
- \let\label\@gobble
- \def\ref{\protect\ref}%
- \protected@edef\@currentlabelname{\@currentlabelname}%
\@onelevel@sanitize\@currentlabelname
\edef\@currentlabelname{%
\expandafter\strip@period\@currentlabelname\relax.\relax\@@@%
@@ -139,9 +136,6 @@
\@bsphack
\SK@\SK@@label{#1}%
\begingroup
- \let\label\@gobble
- \def\ref{\protect\ref}%
- \protected@edef\@currentlabelname{\@currentlabelname}%
\@onelevel@sanitize\@currentlabelname
\edef\@currentlabelname{%
\expandafter\strip@period\@currentlabelname\relax.\relax\@@@%
@@ -169,9 +163,6 @@
\@bsphack
\if@filesw
{%
- \let\label\@gobble
- \def\ref{\protect\ref}%
- \protected@edef\@currentlabelname{\@currentlabelname}%
\@onelevel@sanitize\@currentlabelname
\edef\@currentlabelname{%
\expandafter\strip@period\@currentlabelname\relax.\relax\@@@%
@@ -363,7 +354,10 @@
% Access the (third) name part with |\nameref|;
% \begin{macrocode}
\def\T@nameref#1{%
- \NR@setref{#1}\@thirdoffive{#1}%
+ \begingroup
+ \let\label\@gobble
+ \NR@setref{#1}\@thirdoffive{#1}%
+ \endgroup
}%
\ifNR@showkeys
\ifx\SK@ref\@empty
@@ -372,7 +366,10 @@
\@safe@activestrue
\SK@\SK@@ref{#1}%
\@safe@activesfalse
- \NR@setref{#1}\@thirdoffive{#1}%
+ \begingroup
+ \let\label\@gobble
+ \NR@setref{#1}\@thirdoffive{#1}%
+ \endgroup
}%
\fi
\fi