2 %% This is file `htexture.def',
3 %% generated with the docstrip utility.
5 %% The original source files were:
7 %% hyperref.dtx (with options: `textures')
9 %% File: hyperref.dtx Copyright 1995-2001 Sebastian Rahtz,
10 %% RCS: $Id: hyperref.dtx 6.71 2000/10/04 rahtz Exp rahtz $
12 %% This file is part of the `Hyperref Bundle'.
13 %% -------------------------------------------
15 %% It may be distributed under the conditions of the LaTeX Project Public
16 %% License, either version 1.2 of this license or (at your option) any
17 %% later version. The latest version of this license is in
18 %% http://www.latex-project.org/lppl.txt
19 %% and version 1.2 or later is part of all distributions of LaTeX
20 %% version 1999/12/01 or later.
22 %% The list of all files belonging to the `Hyperref Bundle' is
23 %% given in the file `manifest.txt'.
25 \ProvidesFile{htexture.def}
27 Hyperref driver for Textures]
29 \def\@pdfproducer{Textures + Distiller}%
30 \def\literalps@out#1{\special{rawpostscript #1}}%
31 \def\headerps@out#1{\special{prepostscript #1}}%
32 \providecommand\@pdfborder{0 0 1}
33 \providecommand\@pdfview{XYZ}
34 \providecommand\@pdfviewparams{ H.V}
36 /vsize {\Hy@pageheight} def
39 /HyperBorder { 1 PDFToDvips } def
40 /H.V {pdf@hoff pdf@voff null} def
41 /H.B {/Rect[pdf@llx pdf@lly pdf@urx pdf@ury]} def
44 HyperBorder add /pdf@lly exch def
45 dup DvipsToPDF /pdf@hoff exch def
46 HyperBorder sub /pdf@llx exch def
50 PDFToDvips /HyperBase exch def
52 HyperBase sub /pdf@ury exch def
58 vsize 72 sub exch DvipsToPDF
59 HyperBase sub % baseline skip
60 sub /pdf@voff exch def
64 HyperBorder sub /pdf@ury exch def
65 HyperBorder add /pdf@urx exch def
66 currentpoint exch pop vsize 72 sub
67 exch DvipsToPDF sub /pdf@voff exch def
71 {userdict /pdfmark systemdict /cleartomark get put} if
77 /PDFBorder{/Border [0 0 0]}def^^J%
82 \expandafter\let\expandafter\keepPDF@SetupDoc
83 \csname PDF@SetupDoc\endcsname
85 \ifx\@baseurl\@empty\else
86 \special{html:<base href="\@baseurl">}%
94 \special{html:<a name=\hyper@quote #1\hyper@quote>}%
97 \Hy@colorlink{\@anchorcolor}\anchor@spot\Hy@endcolorlink
102 \def\hyper@anchorstart#1{%
106 \special{html:<a name=\hyper@quote#1\hyper@quote>}%
110 \def\hyper@anchorend{%
112 \Hy@activeanchorfalse
116 \def\hyper@linkstart#1#2{%
117 \Hy@colorlink{\csname @#1color\endcsname}%
119 \ifx\Hy@tempa\@urltype
120 \special{html:<a href=\hyper@quote#2\hyper@quote>}%
124 \special{html:<a href=\hyper@quote\##2\hyper@quote>}%
132 \def\hyper@linkfile#1#2#3{%
133 \hyper@linkurl{#1}{file:#2\ifx\\#3\\\else\##3\fi}%
135 \def\hyper@linkurl#1#2{%
138 \setbox\@tempboxa=\color@hbox #1\color@endbox
139 \@linkdim\dp\@tempboxa
140 \lower\@linkdim\hbox{%
142 \special{html:<a href=\hyper@quote#2\hyper@quote>}%
144 \Hy@colorlink{\@urlcolor}#1%
145 \@linkdim\ht\@tempboxa
146 \advance\@linkdim by -6.5\p@
147 \raise\@linkdim\hbox{\special{html:</a>}}%
152 \special{html:<a href=\hyper@quote#2\hyper@quote>}%
153 \Hy@colorlink{\@urlcolor}#1%
159 \def\hyper@link#1#2#3{%
160 \hyper@linkurl{#3}{\##2}%
162 \def\hyper@image#1#2{%
165 \special{html:<img src=\hyper@quote#1\hyper@quote>}%
170 %% End of file `htexture.def'.