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.def14
1 files changed, 3 insertions, 11 deletions
diff --git a/Master/texmf-dist/tex/latex/hyperref/hdvips.def b/Master/texmf-dist/tex/latex/hyperref/hdvips.def
index e911cd83d8e..4ea76ba8fa4 100644
--- a/Master/texmf-dist/tex/latex/hyperref/hdvips.def
+++ b/Master/texmf-dist/tex/latex/hyperref/hdvips.def
@@ -24,7 +24,7 @@
%% given in the file `manifest.txt'.
%%
\ProvidesFile{hdvips.def}
- [2008/04/20 v6.77s
+ [2008/04/22 v6.77t
Hyperref driver for dvips]
\def\literalps@out#1{\special{ps:SDict begin #1 end}}%
\def\headerps@out#1{\special{! #1}}%
@@ -37,7 +37,7 @@
\providecommand*\@pdfview{XYZ}
\providecommand*\@pdfviewparams{ H.V}
\def\Hy@BorderArrayPatch{BorderArrayPatch}
-\AtBeginShipoutFirst{%
+\g@addto@macro\Hy@FirstPageHook{%
\headerps@out{%
/DvipsToPDF{72.27 mul Resolution div} def%
/PDFToDvips{72.27 div Resolution mul} def%
@@ -78,15 +78,7 @@
HyperBorder add /pdf@urx exch def %
currentpoint exch pop vsize 72 sub %
exch DvipsToPDF sub /pdf@voff exch def%
- } def %
- systemdict /pdfmark known%
- {%
- userdict /?pdfmark systemdict /exec get put%
- }{%
- userdict /?pdfmark systemdict /pop get put %
- userdict /pdfmark systemdict /cleartomark get put%
- }%
- ifelse%
+ } def%
}%
}
\AfterBeginDocument{%