diff options
author | Karl Berry <karl@freefriends.org> | 2007-04-11 23:02:14 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2007-04-11 23:02:14 +0000 |
commit | 6858df01ea6ebb32f4be0f68e4b2e03d8713f38f (patch) | |
tree | d0466192a4c6ae7f99e95d2e6e9b613ebcb73d3d /Master/texmf-dist/tex/latex/oberdiek/bkm-dvipsone.def | |
parent | 59314283a9039be6cceb0bbee8600837477c9058 (diff) |
oberdiek: accsupp, atenddvi, hycolor, iflang (11apr07)
git-svn-id: svn://tug.org/texlive/trunk@4149 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/oberdiek/bkm-dvipsone.def')
-rw-r--r-- | Master/texmf-dist/tex/latex/oberdiek/bkm-dvipsone.def | 19 |
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'. |