diff options
author | Karl Berry <karl@freefriends.org> | 2010-09-11 22:56:04 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2010-09-11 22:56:04 +0000 |
commit | eb1e0a22fee869ae52e26bf9cd370da5a15358f3 (patch) | |
tree | 87cb97ca719386815056c272aecf23a871e54773 /Master/texmf-dist/tex/latex/hyperref/htex4ht.def | |
parent | 1c41710dabbde19fb39689af8b04bc5cb0ab4007 (diff) |
hyperref update (11sep10)
git-svn-id: svn://tug.org/texlive/trunk@19658 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/hyperref/htex4ht.def')
-rw-r--r-- | Master/texmf-dist/tex/latex/hyperref/htex4ht.def | 30 |
1 files changed, 27 insertions, 3 deletions
diff --git a/Master/texmf-dist/tex/latex/hyperref/htex4ht.def b/Master/texmf-dist/tex/latex/hyperref/htex4ht.def index ec044058cfc..dd6a0058c35 100644 --- a/Master/texmf-dist/tex/latex/hyperref/htex4ht.def +++ b/Master/texmf-dist/tex/latex/hyperref/htex4ht.def @@ -29,7 +29,7 @@ %% given in the file `manifest.txt'. %% \ProvidesFile{htex4ht.def} - [2010/06/18 v6.81g + [2010/09/11 v6.81m Hyperref driver for TeX4ht] \providecommand*{\XR@ext}{html} \def\Hy@raisedlink{} @@ -99,7 +99,10 @@ \def\hyper@linkurl#1#2{% \leavevmode \ifHy@raiselinks - \setbox\@tempboxa=\color@hbox #1\color@endbox + \Hy@SaveSpaceFactor + \Hy@SaveSavedSpaceFactor + \sbox\@tempboxa{\Hy@RestoreSpaceFactor#1}% + \Hy@RestoreSavedSpaceFactor \@linkdim\dp\@tempboxa \lower\@linkdim\hbox{% \begingroup @@ -109,10 +112,15 @@ }% \endgroup }% - \Hy@colorlink\@urlcolor#1\Hy@endcolorlink + \Hy@colorlink\@urlcolor + \Hy@RestoreSpaceFactor + #1% + \Hy@SaveSpaceFactor + \Hy@endcolorlink \@linkdim\ht\@tempboxa \advance\@linkdim by -6.5\p@ \raise\@linkdim\hbox{\special{t4ht=</a>}}% + \Hy@RestoreSpaceFactor \else \begingroup \hyper@chars @@ -137,6 +145,22 @@ \def\rEfLiNK #1#2{#2}% \fi \def\backref#1{} +\AtBeginDocument{% + \expandafter\let\expandafter\Hy@OrgMakeLabel\csname Make:Label\endcsname + \expandafter\def\csname Make:Label\endcsname#1#2{% + \ifhmode + \Hy@SaveSpaceFactor + \else + \global\Hy@SavedSpaceFactor=1000 % + \fi + \Hy@OrgMakeLabel{#1}{% + \Hy@RestoreSpaceFactor + #2% + \Hy@SaveSpaceFactor + }% + \Hy@RestoreSpaceFactor + }% +} \def\@Form[#1]{% \kvsetkeys{Form}{#1}% \HCode{<form action="\Form@action" method="\Form@method">}% |