summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/oberdiek/hypbmsec.sty
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2007-03-07 18:06:13 +0000
committerKarl Berry <karl@freefriends.org>2007-03-07 18:06:13 +0000
commit985a9d981dc301403c0a79353e78499c3365a629 (patch)
treeb220929a73b76bf5c6ab97117985a45bc2ec9d9b /Master/texmf-dist/tex/latex/oberdiek/hypbmsec.sty
parent1c15eb0bc227a081215bf372a3756aadc4d19d09 (diff)
oberdiek update: bookmark0.6, hypbmsec2.3 (5mar07)
git-svn-id: svn://tug.org/texlive/trunk@4010 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/oberdiek/hypbmsec.sty')
-rw-r--r--Master/texmf-dist/tex/latex/oberdiek/hypbmsec.sty25
1 files changed, 20 insertions, 5 deletions
diff --git a/Master/texmf-dist/tex/latex/oberdiek/hypbmsec.sty b/Master/texmf-dist/tex/latex/oberdiek/hypbmsec.sty
index f5d1ca01c1e..e82e65ba7ab 100644
--- a/Master/texmf-dist/tex/latex/oberdiek/hypbmsec.sty
+++ b/Master/texmf-dist/tex/latex/oberdiek/hypbmsec.sty
@@ -8,7 +8,7 @@
%%
%% This is a generated file.
%%
-%% Copyright (C) 1998-2000, 2006 by
+%% Copyright (C) 1998-2000, 2006, 2007 by
%% Heiko Oberdiek <oberdiek@uni-freiburg.de>
%%
%% This work may be distributed and/or modified under the
@@ -29,7 +29,7 @@
%%
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{hypbmsec}%
- [2006/02/20 v2.2 Bookmarks in sectioning commands (HO)]
+ [2006/03/05 v2.3 Bookmarks in sectioning commands (HO)]
\@ifundefined{hbs@do}{}{%
\PackageInfo{hypbmsec}{Package 'hypbmsec' is already loaded}
\endinput
@@ -75,13 +75,28 @@
\ifx\hbs@bmstring\relax
\hbs@seccmd{#1}%
\else
- \hbs@seccmd{\texorpdfstring{#1}\hbs@bmstring}%
+ \begingroup
+ \def\x##1{\endgroup
+ \hbs@seccmd{\texorpdfstring{#1}{##1}}%
+ }%
+ \expandafter\x\expandafter{\hbs@bmstring}%
\fi
\else
\ifx\hbs@bmstring\relax
- \hbs@seccmd[\hbs@tocstring]{#1}%
+ \expandafter\hbs@seccmd\expandafter[%
+ \expandafter{\hbs@tocstring}%
+ ]{#1}%
\else
- \hbs@seccmd[\texorpdfstring\hbs@tocstring\hbs@bmstring]{#1}%
+ \expandafter\expandafter\expandafter
+ \hbs@seccmd\expandafter\expandafter\expandafter[%
+ \expandafter\expandafter\expandafter
+ \texorpdfstring
+ \expandafter\expandafter\expandafter{%
+ \expandafter\hbs@tocstring\expandafter
+ }\expandafter{%
+ \hbs@bmstring
+ }%
+ ]{#1}%
\fi
\fi
}