File: htex4ht.def

package info (click to toggle)
tetex-base 0.9-9
  • links: PTS
  • area: main
  • in suites: hamm
  • size: 63,012 kB
  • ctags: 2,123
  • sloc: sh: 696; perl: 237; makefile: 111; lisp: 29
file content (75 lines) | stat: -rw-r--r-- 1,937 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
%%
%% This is file `htex4ht.def',
%% generated with the docstrip utility.
%%
%% The original source files were:
%%
%% hyperref.dtx  (with options: `check,tex4ht')
%% 
%% File: hyperref.dtx Copyright (C) 1995, 1996, 1997, 1998 Sebastian Rahtz
\ifhy@driverloaded\endinput\fi
\hy@driverloadedtrue
\RequirePackage[htex4ht]{tex4ht}
\def\PDF@SetupDoc{%
 \ifx\@baseurl\@empty\else
  \special{t4ht=<base href="\@baseurl">}%
 \fi
}
\def\hyper@anchor#1{%
   {\let\protect=\string\special{t4ht=<A name=\hyper@quote #1\hyper@quote>}}%
   \hy@activeanchortrue
   \bgroup\colorlink{\@anchorcolor}\anchor@spot\egroup
   \special{t4ht=</A>}%
   \hy@activeanchorfalse
}
\def\hyper@anchorstart#1{%
 {\hyper@chars\special{t4ht=<A name=\hyper@quote#1\hyper@quote>}}%
  \hy@activeanchortrue
}
\def\hyper@anchorend{%
  \special{t4ht=</A>}%
  \hy@activeanchorfalse
}
\def\@urltype{url}
\def\hyper@linkstart#1#2{%
  \colorlink{\csname @#1color\endcsname}%
  \def\@tempa{#1}\ifx\@tempa\@urltype
    \special{t4ht=<A href=\hyper@quote#2\hyper@quote>}%
  \else
   {\hyper@chars\special{t4ht=<A href=\hyper@quote\##2\hyper@quote>}}%
  \fi
}
\def\hyper@linkend{%
  \special{t4ht=</A>}%
  \hyper@resetcolor
}
\def\hyper@linkfile#1#2#3{%
 \hyper@linkurl{#1}{file:#2\ifx\\#3\\\else\##3\fi}%
}
\def\hyper@linkurl#1#2{%
 \ifhy@raiselinks
  \setbox\@tempboxa=\hbox{#1}%
  \@linkdim\dp\@tempboxa
  \leavevmode\lower\@linkdim\hbox{%
      {\hyper@chars\special{t4ht=<A href=\hyper@quote#2\hyper@quote>}}%
   }%
  {\colorlink{\@urlcolor}#1}%
  \@linkdim\ht\@tempboxa
  \advance\@linkdim by -6.5\p@
  \raise\@linkdim\hbox{\special{t4ht=</A>}}%
 \else
  {\hyper@chars
   \special{t4ht=<A href=\hyper@quote#2\hyper@quote>}%
   \colorlink{\@urlcolor}#1}%
   \special{t4ht=</A>}%
 \fi
}
\def\hyper@link#1#2#3{%
  \hyper@linkurl{#3}{\##2}%
}
\def\hyper@image#1#2{%
  {\hyper@chars
   \special{t4ht=<img src=\hyper@quote#1\hyper@quote>}}}
\endinput
%%
%% End of file `htex4ht.def'.