*** empty log message ***
[m17n/m17n-docs.git] / styles / hdvipson.def
1 %%
2 %% This is file `hdvipson.def',
3 %% generated with the docstrip utility.
4 %%
5 %% The original source files were:
6 %%
7 %% hyperref.dtx  (with options: `dvipsone')
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{hdvipson.def}
26   [2001/05/26 v6.71g
27   Hyperref driver for dvipsone]
28 \providecommand\@pdfborder{0 0 65781}
29 \input{pdfmark.def}%
30 \def\@pdfproducer{dvipsone + Distiller}
31 \def\literalps@out#1{\special{ps:#1}}%
32 \def\headerps@out#1{\special{! #1}}%
33 \def\PDF@FinishDoc{%
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}%
46 }
47 \def\PDF@SetupDoc{%
48   \pdfmark{%
49     pdfmark=/DOCVIEW,
50     Page=\@pdfstartpage,
51     View=\@pdfstartview,
52     URI={<< /Base (\@baseurl) >>},
53     PageMode=\@pdfpagemode
54   }%
55   \ifx\@pdfpagescrop\@empty
56   \else
57     \pdfmark{pdfmark=/PAGES,CropBox=\@pdfpagescrop}%
58   \fi
59   \pdfmark{%
60     pdfmark=/PUT,%
61     Raw={
62       \string{Catalog\string} <<
63         /ViewerPreferences <<
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
69         >>
70         \ifx\pdf@pagelayout\@empty
71         \else
72           /PageLayout /\pdf@pagelayout\space
73         \fi
74       >>%
75     }%
76   }%
77 }
78 \providecommand\@pdfview{XYZ}
79 \providecommand\@pdfviewparams{ %
80   gsave revscl currentpoint grestore
81   72 add exch pop null exch null
82 }
83 \special{headertext=
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
88   /H.S {
89     currentpoint
90     HyperBorder add /pdf@lly exch def
91     dup   DvipsToPDF /pdf@hoff exch def
92     HyperBorder sub /pdf@llx exch def
93   } def
94   /H.L {
95     2 sub
96     PDFToDvips /HyperBase exch def
97     currentpoint
98     HyperBase sub /pdf@ury exch def
99     /pdf@urx exch def
100   } def
101   /H.A {
102     H.L
103     currentpoint exch pop
104     HyperBase sub % baseline skip
105     DvipsToPDF /pdf@voff exch def
106   } def
107   /H.R {
108     currentpoint
109     HyperBorder sub /pdf@ury exch def
110     HyperBorder add /pdf@urx exch def
111     currentpoint exch pop DvipsToPDF /pdf@voff exch def
112   } def
113   systemdict
114   /pdfmark known not
115   {userdict /pdfmark systemdict /cleartomark get put} if
116 }
117 \endinput
118 %%
119 %% End of file `hdvipson.def'.