%%
%% This is file `htex4ht.def',
%% generated with the docstrip utility.
%%
%% The original source files were:
%%
%% hyperref.dtx (with options: `tex4ht')
%%
%% File: hyperref.dtx Copyright 1995-2001 Sebastian Rahtz,
%% with portions written by David Carlisle and Heiko Oberdiek,
%% 2001-2008 Heiko Oberdiek.
%%
%% This file is part of the `Hyperref Bundle'.
%% -------------------------------------------
%%
%% It may be distributed under the conditions of the LaTeX Project Public
%% License, either version 1.2 of this license or (at your option) any
%% later version. The latest version of this license is in
%% http://www.latex-project.org/lppl.txt
%% and version 1.2 or later is part of all distributions of LaTeX
%% version 1999/12/01 or later.
%%
%% The list of all files belonging to the `Hyperref Bundle' is
%% given in the file `manifest.txt'.
%%
\ProvidesFile{htex4ht.def}
[2008/09/29 v6.78l
Hyperref driver for TeX4ht]
\providecommand*{\XR@ext}{html}
\def\Hy@raisedlink{}
\@ifpackageloaded{tex4ht}{%
\typeout{hyperref tex4ht: tex4ht already loaded}%
}{%
\RequirePackage[htex4ht]{tex4ht}%
}
\hyperlinkfileprefix{}
\def\PDF@FinishDoc{}
\def\PDF@SetupDoc{%
\ifx\@baseurl\@empty
\else
\special{t4ht=}%
\fi
}
\def\hyper@anchor#1{%
\Hy@SaveLastskip
\begingroup
\let\protect=\string
\special{t4ht=}%
\endgroup
\Hy@activeanchortrue
\Hy@colorlink\@anchorcolor\anchor@spot\Hy@endcolorlink
\special{t4ht=}%
\Hy@activeanchorfalse
\Hy@RestoreLastskip
}
\def\hyper@anchorstart#1{%
\Hy@SaveLastskip
\begingroup
\hyper@chars\special{t4ht=}%
\endgroup
\Hy@activeanchortrue
}
\def\hyper@anchorend{%
\special{t4ht=}%
\Hy@activeanchorfalse
\Hy@RestoreLastskip
}
\def\@urltype{url}
\def\hyper@linkstart#1#2{%
\expandafter\Hy@colorlink\csname @#1color\endcsname
\def\Hy@tempa{#1}%
\ifx\Hy@tempa\@urltype
\special{t4ht=}%
\else
\begingroup
\hyper@chars
\special{t4ht=}%
\endgroup
\fi
}
\def\hyper@linkend{%
\special{t4ht=}%
\Hy@endcolorlink
}
\def\hyper@linkfile#1#2#3{%
\hyper@linkurl{#1}{\Hy@linkfileprefix#2\ifx\\#3\\\else\##3\fi}%
}
\def\hyper@linkurl#1#2{%
\leavevmode
\ifHy@raiselinks
\setbox\@tempboxa=\color@hbox #1\color@endbox
\@linkdim\dp\@tempboxa
\lower\@linkdim\hbox{%
\begingroup
\hyper@chars\special{t4ht=}%
\endgroup
}%
\Hy@colorlink\@urlcolor#1\Hy@endcolorlink
\@linkdim\ht\@tempboxa
\advance\@linkdim by -6.5\p@
\raise\@linkdim\hbox{\special{t4ht=}}%
\else
\begingroup
\hyper@chars
\special{t4ht=}%
\Hy@colorlink\@urlcolor#1\Hy@endcolorlink
\special{t4ht=}%
\endgroup
\fi
}
\def\hyper@link#1#2#3{%
\hyper@linkurl{#3}{\#\HyperDestNameFilter{#2}}%
}
\def\hyper@image#1#2{%
\begingroup
\hyper@chars
\special{t4ht=}%
\endgroup
}
\let\autoref\ref
\ifx \rEfLiNK \UnDef
\def\rEfLiNK #1#2{#2}%
\fi
\def\backref#1{}
\def\@Form[#1]{%
\setkeys{Form}{#1}%
\HCode{