*** empty log message ***
[m17n/m17n-docs.git] / styles / hdvips.def
1 %%
2 %% This is file `hdvips.def',
3 %% generated with the docstrip utility.
4 %%
5 %% The original source files were:
6 %%
7 %% hyperref.dtx  (with options: `dvips')
8 %% 
9 %% File: hyperref.dtx Copyright 1995-2001 Sebastian Rahtz,
10 %% RCS: $Id: hyperref.dtx 6.71 2000/10/04 rahtz Exp rahtz $
11 %%
12 %% This file is part of the `Hyperref Bundle'.
13 %% -------------------------------------------
14 %%
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.
21 %%
22 %% The list of all files belonging to the `Hyperref Bundle' is
23 %% given in the file `manifest.txt'.
24 %%
25 \ProvidesFile{hdvips.def}
26   [2001/05/26 v6.71g
27   Hyperref driver for dvips]
28 \input{pdfmark.def}%
29 \def\@pdfproducer{dvips + Distiller}
30 \def\literalps@out#1{\special{ps:SDict begin #1 end}}%
31 \def\headerps@out#1{\special{! #1}}%
32 \providecommand\@pdfborder{0 0 12}
33 \providecommand\@pdfview{XYZ}
34 \providecommand\@pdfviewparams{ H.V}
35 \AtBeginDvi{%
36   \headerps@out{%
37     /DvipsToPDF { 72.27 mul Resolution div } def
38     /PDFToDvips { 72.27 div Resolution mul } 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
42     /H.S {
43       currentpoint
44       HyperBorder add /pdf@lly exch def
45       dup DvipsToPDF  /pdf@hoff exch def
46       HyperBorder sub /pdf@llx exch def
47     } def
48     /H.L {
49       2 sub dup
50       /HyperBasePt exch def
51       PDFToDvips /HyperBaseDvips exch def
52       currentpoint
53       HyperBaseDvips sub /pdf@ury exch def
54       /pdf@urx exch def
55     } def
56     /H.A {
57       H.L
58       currentpoint exch pop
59       vsize 72 sub exch DvipsToPDF
60       HyperBasePt sub % baseline skip
61       sub /pdf@voff exch def
62     } def
63     /H.R {
64       currentpoint
65       HyperBorder sub /pdf@ury exch def
66       HyperBorder add /pdf@urx exch def
67       currentpoint exch pop vsize 72 sub
68       exch DvipsToPDF sub /pdf@voff exch def
69     } def
70     systemdict
71     /pdfmark known not
72     {userdict /pdfmark systemdict /cleartomark get put} if
73   }%
74 }
75 \AfterBeginDocument{%
76   \ifx\special@paper\@empty\else
77     \special{papersize=\special@paper}%
78   \fi
79 }
80 \endinput
81 %%
82 %% End of file `hdvips.def'.