summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/hyperref/hdviwind.def
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/hyperref/hdviwind.def')
-rw-r--r--Master/texmf-dist/tex/latex/hyperref/hdviwind.def18
1 files changed, 17 insertions, 1 deletions
diff --git a/Master/texmf-dist/tex/latex/hyperref/hdviwind.def b/Master/texmf-dist/tex/latex/hyperref/hdviwind.def
index b4513608c1f..7212b6074cd 100644
--- a/Master/texmf-dist/tex/latex/hyperref/hdviwind.def
+++ b/Master/texmf-dist/tex/latex/hyperref/hdviwind.def
@@ -24,8 +24,24 @@
%% given in the file `manifest.txt'.
%%
\ProvidesFile{hdviwind.def}
- [2008/04/20 v6.77s
+ [2008/04/22 v6.77t
Hyperref driver for dviwindo]
+\begingroup
+ \toks@\expandafter{\Hy@FirstPageHook}%
+ \xdef\Hy@FirstPageHook{%
+ \noexpand\headerps@out{%
+ systemdict /pdfmark known%
+ {%
+ userdict /?pdfmark systemdict /exec get put%
+ }{%
+ userdict /?pdfmark systemdict /pop get put %
+ userdict /pdfmark systemdict /cleartomark get put%
+ }%
+ ifelse%
+ }%
+ \the\toks@
+ }%
+\endgroup
\def\Hy@PutCatalog#1{%
\pdfmark{pdfmark=/PUT,Raw={\string{Catalog\string} << #1 >>}}%
}