summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/oberdiek/bkm-dvipsone.def
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/oberdiek/bkm-dvipsone.def')
-rw-r--r--Master/texmf-dist/tex/latex/oberdiek/bkm-dvipsone.def12
1 files changed, 5 insertions, 7 deletions
diff --git a/Master/texmf-dist/tex/latex/oberdiek/bkm-dvipsone.def b/Master/texmf-dist/tex/latex/oberdiek/bkm-dvipsone.def
index cf49d8fb76b..e964509ce26 100644
--- a/Master/texmf-dist/tex/latex/oberdiek/bkm-dvipsone.def
+++ b/Master/texmf-dist/tex/latex/oberdiek/bkm-dvipsone.def
@@ -31,13 +31,14 @@
%%
\NeedsTeXFormat{LaTeX2e}
\ProvidesFile{bkm-dvipsone.def}%
- [2009/08/13 v1.5 bookmark driver for dvipsone (HO)]%
+ [2009/12/07 v1.7 bookmark driver for dvipsone (HO)]%
\def\BKM@PSHeaderFile#1{%
\special{header=#1}%
}
\def\BKM@filename{\jobname.out.ps}
\BKM@PSHeaderFile\BKM@filename
-\AtEndDocument{\BKM@pdfmark@out}
+\RequirePackage{atveryend}[2009/12/07]
+\AfterLastShipout{\BKM@pdfmark@out}
\def\BKM@pdfmark@out{%
\if@filesw
\newwrite\BKM@file
@@ -277,11 +278,8 @@
\let\BKM@entry\BKM@DO@entry
}
\ifBKM@atend
- \AtBeginDocument{%
- \AtEndDocument{%
- \clearpage
- \BKM@EndHook
- }%
+ \AfterLastShipout{%
+ \BKM@EndHook
}%
\fi
\endinput