summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/hyperref/hdvipson.def
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/hyperref/hdvipson.def')
-rw-r--r--Master/texmf-dist/tex/latex/hyperref/hdvipson.def104
1 files changed, 56 insertions, 48 deletions
diff --git a/Master/texmf-dist/tex/latex/hyperref/hdvipson.def b/Master/texmf-dist/tex/latex/hyperref/hdvipson.def
index 960cff7b647..26c40d254fc 100644
--- a/Master/texmf-dist/tex/latex/hyperref/hdvipson.def
+++ b/Master/texmf-dist/tex/latex/hyperref/hdvipson.def
@@ -22,13 +22,13 @@
%% given in the file `manifest.txt'.
%%
\ProvidesFile{hdvipson.def}
- [2007/02/27 v6.75t
+ [2007/05/29 v6.76g
Hyperref driver for dvipsone]
-\providecommand*\@pdfborder{0 0 65781}
+\providecommand*\@pdfborder{0 0 1}
\providecommand*\@pdfborderstyle{}
\input{pdfmark.def}%
\ifx\@pdfproducer\relax
- \def\@pdfproducer{dvipsone + Distiller}
+ \def\@pdfproducer{dvipsone + Distiller}%
\fi
\def\literalps@out#1{\special{ps:#1}}%
\def\headerps@out#1{\special{! #1}}%
@@ -62,9 +62,9 @@
}
\def\PDF@SetupDoc{%
\pdfmark{%
- pdfmark=/DOCVIEW,
- Page=\@pdfstartpage,
- View=\@pdfstartview,
+ pdfmark=/DOCVIEW,%
+ Page=\@pdfstartpage,%
+ View=\@pdfstartview,%
PageMode=/\@pdfpagemode
}%
\ifx\@pdfpagescrop\@empty
@@ -103,7 +103,7 @@
\pdfmark{%
pdfmark=/PUT,%
Raw={%
- \string{Catalog\string} <<
+ \string{Catalog\string}<<%
\ifx\Hy@temp\@empty
\else
/ViewerPreferences<<\Hy@temp>>%
@@ -115,7 +115,7 @@
\fi
\ifx\@baseurl\@empty
\else
- /URI << /Base (\Hy@pstringB) >>%
+ /URI<</Base(\Hy@pstringB)>>%
\fi
>>%
}%
@@ -123,48 +123,56 @@
}
\providecommand*\@pdfview{XYZ}
\providecommand*\@pdfviewparams{ %
- gsave revscl currentpoint grestore
- 72 add exch pop null exch null
+ gsave revscl currentpoint grestore %
+ 72 add exch pop null exch null%
}
-\special{headertext=
- /DvipsToPDF { 65781 div } def
- /PDFToDvips { 65781 mul } def
- /HyperBorder { 1 PDFToDvips } def
- /H.B {/Rect[pdf@llx pdf@lly pdf@urx pdf@ury]} def
- /H.S {
- currentpoint
- HyperBorder add /pdf@lly exch def
- dup DvipsToPDF /pdf@hoff exch def
- HyperBorder sub /pdf@llx exch def
- } def
- /H.L {
- 2 sub
- PDFToDvips /HyperBase exch def
- currentpoint
- HyperBase sub /pdf@ury exch def
- /pdf@urx exch def
- } def
- /H.A {
- H.L
- currentpoint exch pop
+\def\Hy@BorderArrayPatch{BorderArrayPatch}
+\special{headertext=%
+ /DvipsToPDF { 65781 div } def%
+ /PDFToDvips { 65781 mul } def%
+ /BPToDvips{65781 mul}def%
+ /HyperBorder { 1 PDFToDvips } def%
+ /H.B {/Rect[pdf@llx pdf@lly pdf@urx pdf@ury]} def%
+ /BorderArrayPatch{%
+ [exch{%
+ dup dup type/integertype eq exch type/realtype eq or%
+ {BPToDvips}if%
+ }forall]%
+ }def%
+ /H.S {%
+ currentpoint %
+ HyperBorder add /pdf@lly exch def %
+ dup DvipsToPDF 72 add /pdf@hoff exch def %
+ HyperBorder sub /pdf@llx exch def%
+ } def%
+ /H.L {%
+ 2 sub %
+ PDFToDvips /HyperBase exch def %
+ currentpoint %
+ HyperBase sub /pdf@ury exch def%
+ /pdf@urx exch def%
+ } def%
+ /H.A {%
+ H.L %
+ currentpoint exch pop %
HyperBase sub % baseline skip
- DvipsToPDF /pdf@voff exch def
- } def
- /H.R {
- currentpoint
- HyperBorder sub /pdf@ury exch def
- HyperBorder add /pdf@urx exch def
- currentpoint exch pop DvipsToPDF /pdf@voff exch def
- } def
- systemdict
- /pdfmark known
- {
- userdict /?pdfmark /exec load put
- }{
- userdict /?pdfmark /pop load put
- userdict /pdfmark systemdict /cleartomark get put
- }
- ifelse
+ DvipsToPDF /pdf@voff exch def%
+ } def%
+ /H.R {%
+ currentpoint %
+ HyperBorder sub /pdf@ury exch def %
+ HyperBorder add /pdf@urx exch def %
+ currentpoint exch pop DvipsToPDF /pdf@voff exch def%
+ } def %
+ systemdict%
+ /pdfmark known%
+ {%
+ userdict /?pdfmark /exec load put%
+ }{%
+ userdict /?pdfmark /pop load put %
+ userdict /pdfmark systemdict /cleartomark get put%
+ }%
+ ifelse%
}
\endinput
%%