diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/oberdiek/bkm-pdftex.def')
-rw-r--r-- | Master/texmf-dist/tex/latex/oberdiek/bkm-pdftex.def | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/Master/texmf-dist/tex/latex/oberdiek/bkm-pdftex.def b/Master/texmf-dist/tex/latex/oberdiek/bkm-pdftex.def index 46068c0697f..8a7ead70a8c 100644 --- a/Master/texmf-dist/tex/latex/oberdiek/bkm-pdftex.def +++ b/Master/texmf-dist/tex/latex/oberdiek/bkm-pdftex.def @@ -8,7 +8,7 @@ %% %% This is a generated file. %% -%% Copyright (C) 2007-2009 by +%% Copyright (C) 2007-2010 by %% Heiko Oberdiek <heiko.oberdiek at googlemail.com> %% %% This work may be distributed and/or modified under the @@ -34,7 +34,7 @@ %% \NeedsTeXFormat{LaTeX2e} \ProvidesFile{bkm-pdftex.def}% - [2009/12/17 v1.8 bookmark driver for pdfTeX (HO)]% + [2010/04/03 v1.10 bookmark driver for pdfTeX (HO)]% \def\BKM@DO@entry#1#2{% \begingroup \setkeys{BKM@DO}{#1}% @@ -143,11 +143,8 @@ \newcommand*{\bookmark}[2][]{% \if@filesw \begingroup - \bookmarksetup{#1}% - \ifBKM@keeplevel - \else - \xdef\BKM@currentlevel{\BKM@level}% - \fi + \def\bookmark@text{#2}% + \BKM@setup{#1}% \edef\BKM@prev{\the\BKM@id}% \global\advance\BKM@id\@ne \BKM@swtrue @@ -177,7 +174,7 @@ \fi \fi }% - \pdfstringdef\BKM@title{#2}% + \pdfstringdef\BKM@title{\bookmark@text}% \edef\BKM@FLAGS{\BKM@PrintStyle}% \csname BKM@HypDestOptHook\endcsname \BKM@EscapeHex\BKM@dest |