summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/hyperref/hvtexmrk.def
blob: 0211fc08eea4cf10915c5ad1fd02a8e3ab7f2160 (plain)
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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
%%
%% This is file `hvtexmrk.def',
%% generated with the docstrip utility.
%%
%% The original source files were:
%%
%% hyperref.dtx  (with options: `vtexpdfmark')
%% 
%% File: hyperref.dtx Copyright 1995-2001 Sebastian Rahtz,
%%
%% 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{hvtexmrk.def}
  [2007/02/07 v6.75r
 Hyperref driver for VTeX in PDF/PS mode (pdfmark specials)]
\input{pdfmark.def}%
\ifx\@pdfproducer\relax
  \ifnum\OpMode=\@ne
    \def\@pdfproducer{VTeX}
  \else
    \def\@pdfproducer{VTeX + Distiller}
  \fi
\fi
\def\literalps@out#1{\special{pS:#1}}%
\def\headerps@out#1{\immediate\special{pS:#1}}%
\providecommand*\@pdfborder{0 0 1}
\providecommand*\@pdfborderstyle{}
\providecommand*\@pdfview{XYZ}
\providecommand*\@pdfviewparams{ H.V}
\AtBeginDvi{%
  \headerps@out{%
    /vsize {\Hy@pageheight} def
    /HyperBorder {1} def
    /H.V {pdf@hoff pdf@voff null} def
    /H.B {/Rect[pdf@llx pdf@lly pdf@urx pdf@ury]} def
    /H.S {
      currentpoint
      HyperBorder sub
      /pdf@lly exch def
      dup 72 add /pdf@hoff exch def
      HyperBorder sub
      /pdf@llx exch def
    } def
    /H.L {
      2 sub
      /HyperBasePt exch def
      currentpoint
      HyperBasePt add HyperBorder add
      /pdf@ury exch def
      HyperBorder add
      /pdf@urx exch def
    } def
    /H.A {
      H.L
      currentpoint exch pop
      vsize 72 sub exch
      HyperBasePt add add
      /pdf@voff exch def
    } def
    /H.R {
      currentpoint
      HyperBorder add
      /pdf@ury exch def
      HyperBorder add
      /pdf@urx exch def
      currentpoint exch pop vsize 72 sub add
      /pdf@voff exch def
    } def
    systemdict /pdfmark known
    {
      userdict /?pdfmark systemdict /exec get put
    }{
      userdict /?pdfmark systemdict /pop get put
      userdict /pdfmark systemdict /cleartomark get put
    }
    ifelse
  }%
}
\endinput
%%
%% End of file `hvtexmrk.def'.