2 %% This is file `hdvipson.def',
3 %% generated with the docstrip utility.
5 %% The original source files were:
7 %% hyperref.dtx (with options: `dvipsone')
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{hdvipson.def}
27 Hyperref driver for dvipsone]
28 \providecommand\@pdfborder{0 0 65781}
30 \def\@pdfproducer{dvipsone + Distiller}
31 \def\literalps@out#1{\special{ps:#1}}%
32 \def\headerps@out#1{\special{! #1}}%
34 \special{PDF: Keywords \@pdfkeywords}%
35 \special{PDF: Title \@pdftitle}%
36 \special{PDF: Creator \@pdfcreator}%
37 \special{PDF: Author \@pdfauthor}%
38 \special{PDF: Producer \@pdfproducer}%
39 \special{PDF: Subject \@pdfsubject}%
40 \Hy@DisableOption{pdfauthor}%
41 \Hy@DisableOption{pdftitle}%
42 \Hy@DisableOption{pdfsubject}%
43 \Hy@DisableOption{pdfcreator}%
44 \Hy@DisableOption{pdfproducer}%
45 \Hy@DisableOption{pdfkeywords}%
52 URI={<< /Base (\@baseurl) >>},
53 PageMode=\@pdfpagemode
55 \ifx\@pdfpagescrop\@empty
57 \pdfmark{pdfmark=/PAGES,CropBox=\@pdfpagescrop}%
62 \string{Catalog\string} <<
64 \ifHy@toolbar\else /HideToolbar true \fi
65 \ifHy@menubar\else /HideMenubar true \fi
66 \ifHy@windowui\else /HideWindowUI true \fi
67 \ifHy@fitwindow /FitWindow true \fi
68 \ifHy@centerwindow /CenterWindow true \fi
70 \ifx\pdf@pagelayout\@empty
72 /PageLayout /\pdf@pagelayout\space
78 \providecommand\@pdfview{XYZ}
79 \providecommand\@pdfviewparams{ %
80 gsave revscl currentpoint grestore
81 72 add exch pop null exch null
84 /DvipsToPDF { 65781 div } def
85 /PDFToDvips { 65781 mul } def
86 /HyperBorder { 1 PDFToDvips } def
87 /H.B {/Rect[pdf@llx pdf@lly pdf@urx pdf@ury]} def
90 HyperBorder add /pdf@lly exch def
91 dup DvipsToPDF /pdf@hoff exch def
92 HyperBorder sub /pdf@llx exch def
96 PDFToDvips /HyperBase exch def
98 HyperBase sub /pdf@ury exch def
103 currentpoint exch pop
104 HyperBase sub % baseline skip
105 DvipsToPDF /pdf@voff exch def
109 HyperBorder sub /pdf@ury exch def
110 HyperBorder add /pdf@urx exch def
111 currentpoint exch pop DvipsToPDF /pdf@voff exch def
115 {userdict /pdfmark systemdict /cleartomark get put} if
119 %% End of file `hdvipson.def'.