summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/hyperref/hyperref.sty
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2010-01-17 23:32:39 +0000
committerKarl Berry <karl@freefriends.org>2010-01-17 23:32:39 +0000
commit141203d77d129a6f04915541e9d0506493bdeab3 (patch)
tree65874c1b68a1a72829a638c8b650953b99193371 /Master/texmf-dist/tex/latex/hyperref/hyperref.sty
parentf54d59c4fcbb03552550891dca04939761a8d37a (diff)
hyperref update (17jan10)
git-svn-id: svn://tug.org/texlive/trunk@16758 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/hyperref/hyperref.sty')
-rw-r--r--Master/texmf-dist/tex/latex/hyperref/hyperref.sty23
1 files changed, 19 insertions, 4 deletions
diff --git a/Master/texmf-dist/tex/latex/hyperref/hyperref.sty b/Master/texmf-dist/tex/latex/hyperref/hyperref.sty
index c3d610e6172..fcae5b8021c 100644
--- a/Master/texmf-dist/tex/latex/hyperref/hyperref.sty
+++ b/Master/texmf-dist/tex/latex/hyperref/hyperref.sty
@@ -25,7 +25,7 @@
%%
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{hyperref}
- [2010/01/11 v6.80b
+ [2010/01/16 v6.80c
Hypertext links for LaTeX]
\begingroup
\@makeother\`%
@@ -5308,12 +5308,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{%