summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/oberdiek/bkm-dvips.def
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2009-12-11 01:07:09 +0000
committerKarl Berry <karl@freefriends.org>2009-12-11 01:07:09 +0000
commitc6ddbfa56ffeb39f08fef67b1f9fc97778cd70bd (patch)
treec3312443c40388c8eeb3f515454f9a2e666c15de /Master/texmf-dist/tex/latex/oberdiek/bkm-dvips.def
parent01aade3322bbb50b565fbb94ed1bade7a0726478 (diff)
oberdiek update (10dec09)
git-svn-id: svn://tug.org/texlive/trunk@16352 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/oberdiek/bkm-dvips.def')
-rw-r--r--Master/texmf-dist/tex/latex/oberdiek/bkm-dvips.def12
1 files changed, 5 insertions, 7 deletions
diff --git a/Master/texmf-dist/tex/latex/oberdiek/bkm-dvips.def b/Master/texmf-dist/tex/latex/oberdiek/bkm-dvips.def
index 4bd0b1beb07..c7afca77a6d 100644
--- a/Master/texmf-dist/tex/latex/oberdiek/bkm-dvips.def
+++ b/Master/texmf-dist/tex/latex/oberdiek/bkm-dvips.def
@@ -31,13 +31,14 @@
%%
\NeedsTeXFormat{LaTeX2e}
\ProvidesFile{bkm-dvips.def}%
- [2009/08/13 v1.5 bookmark driver for dvips (HO)]%
+ [2009/12/07 v1.7 bookmark driver for dvips (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