summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/hyperref/hyperref.dtx
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/source/latex/hyperref/hyperref.dtx')
-rw-r--r--Master/texmf-dist/source/latex/hyperref/hyperref.dtx25
1 files changed, 20 insertions, 5 deletions
diff --git a/Master/texmf-dist/source/latex/hyperref/hyperref.dtx b/Master/texmf-dist/source/latex/hyperref/hyperref.dtx
index dd0a946c1a0..8fc76233697 100644
--- a/Master/texmf-dist/source/latex/hyperref/hyperref.dtx
+++ b/Master/texmf-dist/source/latex/hyperref/hyperref.dtx
@@ -39,7 +39,7 @@
%<puenc>\ProvidesFile{puenc.def}
%<puvnenc>\ProvidesFile{puvnenc.def}
%<puarenc>\ProvidesFile{puarenc.def}
-%<!none> [2010/01/11 v6.80b
+%<!none> [2010/01/16 v6.80c
%<package> Hypertext links for LaTeX]
%<nohyperref> Dummy hyperref (SR)]
%<driver> Hyperref documentation driver file]
@@ -119,7 +119,7 @@
\end{document}
%</driver>
% \fi
-% \CheckSum{25445}
+% \CheckSum{25474}
%
% \MakeShortVerb{|}
% \StopEventually{}
@@ -8819,12 +8819,27 @@
\def\ttl@Hy@steplink#1{%
\Hy@GlobalStepCount\Hy@linkcounter
\xdef\@currentHref{#1*.\the\Hy@linkcounter}%
- \def\ttl@Hy@saveanchor{%
- \Hy@raisedlink{%
- \hyper@anchorstart{\@currentHref}\hyper@anchorend
+ \edef\ttl@Hy@saveanchor{%
+ \noexpand\Hy@raisedlink{%
+ \noexpand\hyper@anchorstart{\@currentHref}%
+ \noexpand\hyper@anchorend
+ \def\noexpand\ttl@Hy@SavedCurrentHref{\@currentHref}%
+ \noexpand\ttl@Hy@PatchSaveWrite
}%
}%
}%
+ \def\ttl@Hy@PatchSaveWrite{%
+ \begingroup
+ \toks@\expandafter{\ttl@savewrite}%
+ \edef\x{\endgroup
+ \def\noexpand\ttl@savewrite{%
+ \let\noexpand\@currentHref
+ \noexpand\ttl@Hy@SavedCurrentHref
+ \the\toks@
+ }%
+ }%
+ \x
+ }%
\def\ttl@Hy@refstepcounter#1{%
\let\ttl@b\Hy@raisedlink
\def\Hy@raisedlink##1{%