summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/generic/tex4ht/hyperref.4ht
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2011-02-02 15:45:16 +0000
committerKarl Berry <karl@freefriends.org>2011-02-02 15:45:16 +0000
commiteff34dbbe91326f5baa533dbd0a123cf21811867 (patch)
tree3f94e35f606f5e73fe85dbcc1720a828bfa6c5fd /Master/texmf-dist/tex/generic/tex4ht/hyperref.4ht
parent5d5f7f928955587b09082c7fcb25251a105d48ab (diff)
fixes from cvr, r81
git-svn-id: svn://tug.org/texlive/trunk@21272 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/generic/tex4ht/hyperref.4ht')
-rw-r--r--Master/texmf-dist/tex/generic/tex4ht/hyperref.4ht31
1 files changed, 26 insertions, 5 deletions
diff --git a/Master/texmf-dist/tex/generic/tex4ht/hyperref.4ht b/Master/texmf-dist/tex/generic/tex4ht/hyperref.4ht
index e0ab5a05c7e..959b3cd8285 100644
--- a/Master/texmf-dist/tex/generic/tex4ht/hyperref.4ht
+++ b/Master/texmf-dist/tex/generic/tex4ht/hyperref.4ht
@@ -1,6 +1,7 @@
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-% hyperref.4ht 2009-05-21-09:32 %
+% hyperref.4ht 2011-01-30-16:01 %
% Copyright (C) 1999--2009 Eitan M. Gurari %
+% 2009--2011 TeX Users Group %
% %
% This work may be distributed and/or modified under the %
% conditions of the LaTeX Project Public License, either %
@@ -14,17 +15,17 @@
% This work has the LPPL maintenance status "maintained".%
% %
% This Current Maintainer of this work %
-% is Eitan M. Gurari. %
+% is the TeX4ht Project <tex4ht@tug.org>. %
% %
% If you modify this program your changing its signature %
% with a directive of the following form will be %
% appreciated. %
% \message{signature} %
% %
-% gurari@cse.ohio-state.edu %
-% http://www.cse.ohio-state.edu/~gurari %
+% tex4ht@tug.org %
+% http://www.tug.org/tex4ht %
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\immediate\write-1{version 2009-05-21-09:32}
+\immediate\write-1{version 2011-01-30-16:01}
\csname end:hyperref\endcsname
\@ifpackageloaded{nameref}{}
@@ -297,6 +298,26 @@
\expandafter\:tempa
\fi}
+\def\Hy@MakeCurrentHref#1{%
+ \edef\HyperLocalCurrentHref{#1}%
+ \@onelevel@sanitize\HyperLocalCurrentHref
+ \global\let\HyperGlobalCurrentHref\HyperLocalCurrentHref
+ \let\HyperLocalCurrentHref\HyperGlobalCurrentHref
+ \ifHy@localanchorname
+ \let\@currentHref\HyperLocalCurrentHref
+ \else
+ \global\let\@currentHref\HyperGlobalCurrentHref
+ \fi
+}
+
+\let\Hy@SectionAnchorHref\@gobble
+\newlength\Hy@SectionHShift
+
+\def\Hy@MakeCurrentHrefAuto#1{%
+ \Hy@GlobalStepCount\Hy@linkcounter
+ \Hy@MakeCurrentHref{#1.\the\Hy@linkcounter}%
+}
+
\def\hyper@makecurrent#1{%
\begingroup
\edef\Hy@param{#1}%