Debian Codegraph @

texmf-dist/tex/latex/hyperref/hvtexhtm.def

raw
1 %%
2 %% This is file `hvtexhtm.def',
3 %% generated with the docstrip utility.
4 %%
5 %% The original source files were:
6 %%
7 %% hyperref.dtx (with options: `vtexhtml')
8 %%
9 %% Copyright
10 %% 1995-2001 Sebastian Rahtz, with portions written by David Carlisle and Heiko Oberdiek
11 %% 2001-2015 Heiko Oberdiek
12 %% 2016-2019 Oberdiek Package Support Group
13 %% 2019-2026 LaTeX Project
14 %% https://github.com/latex3/hyperref/issues
15 %%
16 %% This file is part of the `Hyperref Bundle'.
17 %% -------------------------------------------
18 %%
19 %% This work may be distributed and/or modified under the
20 %% conditions of the LaTeX Project Public License, either version 1.3
21 %% of this license or (at your option) any later version.
22 %% The latest version of this license is in
23 %% http://www.latex-project.org/lppl.txt
24 %% and version 1.3 or later is part of all distributions of LaTeX
25 %% version 2005/12/01 or later.
26 %%
27 %% This work has the LPPL maintenance status `maintained'.
28 %%
29 %% The Current Maintainer of this work is the LaTeX Project.
30 %%
31 %% The list of all files belonging to the `Hyperref Bundle' is
32 %% given in the file `manifest.txt'.
33 %%
34 %% File: hyperref.dtx
35 \ProvidesFile{hvtexhtml.def}
36 [2026-04-24 v7.01q %
37 Hyperref driver for VTeX in HTML mode]
38 \Hy@VersionCheck{hvtexhtm.def}
39 \providecommand*{\XR@ext}{htm}
40 \RequirePackage{vtexhtml}
41 \newif\if@Localurl
42 \let\PDF@FinishDoc\@empty
43 \def\PDF@SetupDoc{%
44 \ifx\@baseurl\@empty
45 \else
46 \special{!direct <base href="\@baseurl">}%
47 \fi
48 }
49 \def\@urltype{url}
50 \def\hyper@link#1#2#3{%
51 \Hy@VerboseLinkStart{#1}{#2}%
52 \leavevmode
53 \special{!direct <a href=%
54 \hyper@quote\hyper@hash\HyperDestNameFilter{#2}\hyper@quote>}%
55 #3\Hy@xspace@end
56 \special{!direct </a>}%
57 }
58 \def\hyper@linkurl#1#2{%
59 \begingroup
60 \hyper@chars
61 \leavevmode
62 \MathBSuppress=1\relax
63 \special{!direct <a href=%
64 \hyper@quote\HyperDestNameFilter{#2}\hyper@quote>}%
65 #1\Hy@xspace@end
66 \MathBSuppress=0\relax
67 \special{!direct </a>}%
68 \endgroup
69 }
70 \def\hyper@linkfile#1#2#3{%
71 \hyper@linkurl{#1}{\Hy@linkfileprefix#2\ifx\\#3\\\else\##3\fi}%
72 }
73 \def\hyper@linkstart#1#2{%
74 \Hy@VerboseLinkStart{#1}{#2}%
75 \def\Hy@tempa{#1}\ifx\Hy@tempa\@urltype
76 \@Localurltrue
77 \special{!direct <a href=\hyper@quote#2\hyper@quote>}%
78 \else
79 \@Localurlfalse
80 \begingroup
81 \hyper@chars
82 \special{!aref \HyperDestNameFilter{#2}}%
83 \endgroup
84 \fi
85 }
86 \def\hyper@linkend{%
87 \if@Localurl
88 \special{!endaref}%
89 \else
90 \special{!direct </a>}%
91 \fi
92 }
93 \Hy@WrapperDef\hyper@anchorstart#1{%
94 \Hy@SaveLastskip
95 \Hy@VerboseAnchor{#1}%
96 \begingroup
97 \hyper@chars
98 \special{!aname #1}%
99 \special{!direct <a name=%
100 \hyper@quote\HyperDestNameFilter{#1}\hyper@quote>}%
101 \endgroup
102 \Hy@activeanchortrue
103 }
104 \def\hyper@anchorend{%
105 \special{!direct </a>}%
106 \Hy@activeanchorfalse
107 \Hy@RestoreLastskip
108 }
109 \Hy@WrapperDef\hyper@anchor#1{%
110 \Hy@SaveLastskip
111 \Hy@VerboseAnchor{#1}%
112 \begingroup
113 \let\protect=\string
114 \hyper@chars
115 \leavevmode
116 \special{!aname #1}%
117 \special{!direct <a name=%
118 \hyper@quote\HyperDestNameFilter{#1}\hyper@quote>}%
119 \endgroup
120 \Hy@activeanchortrue
121 \bgroup\anchor@spot\egroup
122 \special{!direct </a>}%
123 \Hy@activeanchorfalse
124 \Hy@RestoreLastskip
125 }
126 \def\@Form[#1]{%
127 \Hy@Message{Sorry, TeXpider does not yet support FORMs}%
128 }
129 \let\@endForm\@empty
130 \def\@Gauge[#1]#2#3#4{% parameters, label, minimum, maximum
131 \Hy@Message{Sorry, TeXpider does not yet support FORM gauges}%
132 }
133 \def\@TextField[#1]#2{% parameters, label
134 \Hy@Message{Sorry, TeXpider does not yet support FORM text fields}%
135 }
136 \def\@CheckBox[#1]#2{% parameters, label
137 \Hy@Message{Sorry, TeXpider does not yet support FORM checkboxes}%
138 }
139 \def\@ChoiceMenu[#1]#2#3{% parameters, label, choices
140 \Hy@Message{Sorry, TeXpider does not yet support FORM choice menus}%
141 }
142 \def\@PushButton[#1]#2{% parameters, label
143 \Hy@Message{Sorry, TeXpider does not yet support FORM pushbuttons}%
144 }
145 \def\@Reset[#1]#2{%
146 \Hy@Message{Sorry, TeXpider does not yet support FORMs}%
147 }
148 \def\@Submit[#1]#2{%
149 \Hy@Message{Sorry, TeXpider does not yet support FORMs}%
150 }
151 \endinput
152 %%
153 %% End of file `hvtexhtm.def'.