summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/hyperref/hdvips.def
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/hyperref/hdvips.def')
-rw-r--r--Master/texmf-dist/tex/latex/hyperref/hdvips.def19
1 files changed, 13 insertions, 6 deletions
diff --git a/Master/texmf-dist/tex/latex/hyperref/hdvips.def b/Master/texmf-dist/tex/latex/hyperref/hdvips.def
index 54f74594b7a..1087c38d970 100644
--- a/Master/texmf-dist/tex/latex/hyperref/hdvips.def
+++ b/Master/texmf-dist/tex/latex/hyperref/hdvips.def
@@ -7,7 +7,6 @@
%% hyperref.dtx (with options: `dvips')
%%
%% File: hyperref.dtx Copyright 1995-2001 Sebastian Rahtz,
-%% RCS: $Id: hyperref.dtx 6.71 2000/10/04 rahtz Exp rahtz $
%%
%% This file is part of the `Hyperref Bundle'.
%% -------------------------------------------
@@ -23,13 +22,16 @@
%% given in the file `manifest.txt'.
%%
\ProvidesFile{hdvips.def}
- [2003/11/30 v6.74m
+ [2006/08/16 v6.75c
Hyperref driver for dvips]
\input{pdfmark.def}%
-\def\@pdfproducer{dvips + Distiller}
+\ifx\@pdfproducer\relax
+ \def\@pdfproducer{dvips + Distiller}
+\fi
\def\literalps@out#1{\special{ps:SDict begin #1 end}}%
\def\headerps@out#1{\special{! #1}}%
\providecommand\@pdfborder{0 0 12}
+\providecommand*\@pdfborderstyle{}
\providecommand\@pdfview{XYZ}
\providecommand\@pdfviewparams{ H.V}
\AtBeginDvi{%
@@ -67,9 +69,14 @@
currentpoint exch pop vsize 72 sub
exch DvipsToPDF sub /pdf@voff exch def
} def
- systemdict
- /pdfmark known not
- {userdict /pdfmark systemdict /cleartomark get put} if
+ systemdict /pdfmark known
+ {
+ userdict /?pdfmark systemdict /exec get put
+ }{
+ userdict /?pdfmark systemdict /pop get put
+ userdict /pdfmark systemdict /cleartomark get put
+ }
+ ifelse
}%
}
\AfterBeginDocument{%