diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/oberdiek/bkm-dvipdfm.def')
-rw-r--r-- | Master/texmf-dist/tex/latex/oberdiek/bkm-dvipdfm.def | 21 |
1 files changed, 16 insertions, 5 deletions
diff --git a/Master/texmf-dist/tex/latex/oberdiek/bkm-dvipdfm.def b/Master/texmf-dist/tex/latex/oberdiek/bkm-dvipdfm.def index 073e3319b3a..3a8abe1a4a0 100644 --- a/Master/texmf-dist/tex/latex/oberdiek/bkm-dvipdfm.def +++ b/Master/texmf-dist/tex/latex/oberdiek/bkm-dvipdfm.def @@ -31,7 +31,7 @@ %% \NeedsTeXFormat{LaTeX2e} \ProvidesFile{bkm-dvipdfm.def}% - [2007/03/03 v0.6 bookmark driver for dvipdfm (HO)] + [2007/04/09 v0.8 bookmark driver for dvipdfm (HO)]% \newcount\BKM@id \BKM@id=\z@ \def\BKM@0{000} @@ -59,7 +59,7 @@ \expandafter\expandafter\expandafter\BKM@getx \csname BKM@\BKM@prev\endcsname \ifnum\BKM@level>\BKM@x@level\relax - \edef\BKM@abslevel{\the\numexpr\BKM@x@abslevel+1\relax}% + \BKM@CalcExpr\BKM@abslevel\BKM@x@abslevel+1% \expandafter\xdef\csname BKM@\the\BKM@id\endcsname{% {\BKM@prev}{\BKM@level}\BKM@abslevel }% @@ -70,7 +70,7 @@ \fi }% \pdfstringdef\BKM@title{#2}% - \edef\BKM@FLAGS{\printflags{BKM@style}}% + \edef\BKM@FLAGS{\BKM@PrintStyle}% \let\BKM@action\@empty \ifx\BKM@gotor\@empty \ifx\BKM@dest\@empty @@ -118,7 +118,7 @@ \ifx\BKM@page\@empty \def\BKM@page{0}% \else - \edef\BKM@page{\the\numexpr\BKM@page-1\relax}% + \BKM@CalcExpr\BKM@page\BKM@page-1% \fi \ifx\BKM@view\@empty \def\BKM@view{Fit}% @@ -138,7 +138,14 @@ }% \fi \special{pdf:% - out \BKM@abslevel + out \ifBKM@DvipdfmxOutlineOpen + \ifBKM@open + \ifnum\BKM@level<\BKM@openlevel + -% + \fi + \fi + \fi + \BKM@abslevel <<% /Title(\BKM@title)% \ifx\BKM@color\@empty @@ -159,6 +166,10 @@ \def\BKM@x@level{#2}% \def\BKM@x@abslevel{#3}% } +\ifBKM@atend + \RequirePackage{atenddvi}% + \AtEndDvi{\BKM@EndHook}% +\fi \endinput %% %% End of file `bkm-dvipdfm.def'. |