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.def19
1 files changed, 13 insertions, 6 deletions
diff --git a/Master/texmf-dist/tex/latex/oberdiek/bkm-dvipsone.def b/Master/texmf-dist/tex/latex/oberdiek/bkm-dvipsone.def
index 6a24a44847d..7dd8a7f4397 100644
--- a/Master/texmf-dist/tex/latex/oberdiek/bkm-dvipsone.def
+++ b/Master/texmf-dist/tex/latex/oberdiek/bkm-dvipsone.def
@@ -31,7 +31,7 @@
%%
\NeedsTeXFormat{LaTeX2e}
\ProvidesFile{bkm-dvipsone.def}%
- [2007/03/03 v0.6 bookmark driver for dvipsone (HO)]
+ [2007/04/09 v0.8 bookmark driver for dvipsone (HO)]%
\def\BKM@PSHeaderFile#1{%
\special{header=#1}%
}
@@ -49,7 +49,7 @@
/pdfmark/cleartomark load put%
}%
}%
- \BKM@write{ifelse}
+ \BKM@write{ifelse}%
}
\def\BKM@write#{%
\immediate\write\BKM@file
@@ -202,10 +202,9 @@
{\BKM@prev}{\BKM@level}0%
}%
\ifnum\BKM@prev>\z@
+ \BKM@CalcExpr\BKM@CalcResult\BKM@x@childs+1%
\expandafter\xdef\csname BKM@\BKM@prev\endcsname{%
- {\BKM@x@parent}{\BKM@x@level}{%
- \the\numexpr\BKM@x@childs+1\relax
- }%
+ {\BKM@x@parent}{\BKM@x@level}{\BKM@CalcResult}%
}%
\fi
\BKM@swfalse
@@ -215,7 +214,7 @@
\fi
}%
\pdfstringdef\BKM@title{#2}%
- \edef\BKM@FLAGS{\printflags{BKM@style}}%
+ \edef\BKM@FLAGS{\BKM@PrintStyle}%
\BKM@EscapeHex\BKM@dest
\BKM@EscapeHex\BKM@uri
\BKM@EscapeHex\BKM@gotor
@@ -271,6 +270,14 @@
\AtBeginDocument{%
\let\BKM@entry\BKM@DO@entry
}
+\ifBKM@atend
+ \AtBeginDocument{%
+ \AtEndDocument{%
+ \clearpage
+ \BKM@EndHook
+ }%
+ }%
+\fi
\endinput
%%
%% End of file `bkm-dvipsone.def'.