diff options
Diffstat (limited to 'Master/texmf-dist/source/latex/hyperref/hyperref.dtx')
-rw-r--r-- | Master/texmf-dist/source/latex/hyperref/hyperref.dtx | 30 |
1 files changed, 26 insertions, 4 deletions
diff --git a/Master/texmf-dist/source/latex/hyperref/hyperref.dtx b/Master/texmf-dist/source/latex/hyperref/hyperref.dtx index 4d442b0954e..cb876aacf9e 100644 --- a/Master/texmf-dist/source/latex/hyperref/hyperref.dtx +++ b/Master/texmf-dist/source/latex/hyperref/hyperref.dtx @@ -44,7 +44,7 @@ %<puenc>\ProvidesFile{puenc.def} %<puvnenc>\ProvidesFile{puvnenc.def} %<puarenc>\ProvidesFile{puarenc.def} -%<!none> [2010/03/30 v6.80u +%<!none> [2010/04/17 v6.80x %<package> Hypertext links for LaTeX] %<nohyperref> Dummy hyperref (SR)] %<driver> Hyperref documentation driver file] @@ -126,7 +126,7 @@ \end{document} %</driver> % \fi -% \CheckSum{26960} +% \CheckSum{26980} % % \MakeShortVerb{|} % \StopEventually{} @@ -6526,10 +6526,26 @@ }% \fi \fi - \DeclareRobustCommand\ref{\@ifstar\@refstar\T@ref}% + \DeclareRobustCommand\ref{% + \@ifstar\@refstar\T@ref + }% \DeclareRobustCommand\pageref{% \@ifstar\@pagerefstar\T@pageref }% +% \@ifclassloaded{memoir}{% +% \ltx@IfUndefined{@mem@titlerefnolink}\ltx@secondoftwo{% +% \ltx@IfUndefined{@mem@titleref}\ltx@secondoftwo\ltx@firstoftwo +% }% +% }\ltx@secondoftwo +% {% +% \DeclareRobustCommand*{\nameref}{% +% \@ifstar\@mem@titlerefnolink\@mem@titleref +% }% +% }{% + \DeclareRobustCommand*{\nameref}{% + \@ifstar\@namerefstar\T@nameref + }% +% }% } \Hy@AtBeginDocument{% \ifHy@texht @@ -8065,7 +8081,10 @@ \edef\hyper@hash{\string#} \edef\hyper@tilde{\string~} \edef\hyper@quote{\string"} -\let\@currentHref\@empty +% \end{macrocode} +% Support \cs{label} before |\begin{document}|. +% \begin{macrocode} +\def\@currentHref{Doc-Start} \let\Hy@footnote@currentHref\@empty % \end{macrocode} % We give the start of document a special label; this is used @@ -11199,6 +11218,9 @@ \def\@pagerefstar#1{% \HyRef@StarSetRef{#1}\@secondoffive } +\def\@namerefstar#1{% + \HyRef@StarSetRef{#1}\@thirdoffive +} \Hy@AtBeginDocument{% \@ifpackageloaded{varioref}{% \def\@Refstar#1{% |