diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/hyperref/hdvipdfm.def')
-rw-r--r-- | Master/texmf-dist/tex/latex/hyperref/hdvipdfm.def | 21 |
1 files changed, 13 insertions, 8 deletions
diff --git a/Master/texmf-dist/tex/latex/hyperref/hdvipdfm.def b/Master/texmf-dist/tex/latex/hyperref/hdvipdfm.def index 3dec217ced8..f3ca10e67a8 100644 --- a/Master/texmf-dist/tex/latex/hyperref/hdvipdfm.def +++ b/Master/texmf-dist/tex/latex/hyperref/hdvipdfm.def @@ -24,7 +24,7 @@ %% given in the file `manifest.txt'. %% \ProvidesFile{hdvipdfm.def} - [2008/09/29 v6.78l + [2008/11/18 v6.78m Hyperref driver for dvipdfm] \def\Hy@PutCatalog#1{\@pdfm@mark{docview << #1 >>}} \ifHy@pagelabels @@ -252,13 +252,18 @@ >>% >>% }% - \@pdfm@mark{% - put @resources <<% - /Properties<<% - /OCView \OBJ@OCG@view - /OCPrint \OBJ@OCG@print - >>% - >>% + \AtBeginShipout{% + \setbox\AtBeginShipoutBox=\hbox{% + \copy\AtBeginShipoutBox + \@pdfm@mark{% + put @resources <<% + /Properties<<% + /OCView \OBJ@OCG@view + /OCPrint \OBJ@OCG@print + >>% + >>% + }% + }% }% \AtBeginDocument{% \def\Hy@colorlink#1{% |