summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/oberdiek/hypbmsec.dtx
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/source/latex/oberdiek/hypbmsec.dtx
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/source/latex/oberdiek/hypbmsec.dtx')
-rw-r--r--Master/texmf-dist/source/latex/oberdiek/hypbmsec.dtx40
1 files changed, 30 insertions, 10 deletions
diff --git a/Master/texmf-dist/source/latex/oberdiek/hypbmsec.dtx b/Master/texmf-dist/source/latex/oberdiek/hypbmsec.dtx
index 46c7698a182..cd24b09ef30 100644
--- a/Master/texmf-dist/source/latex/oberdiek/hypbmsec.dtx
+++ b/Master/texmf-dist/source/latex/oberdiek/hypbmsec.dtx
@@ -1,6 +1,6 @@
% \iffalse meta-comment
%
-% 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
@@ -67,7 +67,7 @@
\input docstrip.tex
\Msg{************************************************************************}
\Msg{* Installation}
-\Msg{* Package: hypbmsec 2006/02/20 v2.2 Bookmarks in sectioning commands (HO)}
+\Msg{* Package: hypbmsec 2006/03/05 v2.3 Bookmarks in sectioning commands (HO)}
\Msg{************************************************************************}
\keepsilent
@@ -77,7 +77,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
@@ -128,7 +128,7 @@ and the derived files
%<*driver>
\NeedsTeXFormat{LaTeX2e}
\ProvidesFile{hypbmsec.drv}%
- [2006/02/20 v2.2 Bookmarks in sectioning commands (HO)]
+ [2006/03/05 v2.3 Bookmarks in sectioning commands (HO)]
\documentclass{ltxdoc}
\usepackage{holtxdoc}
\begin{document}
@@ -137,7 +137,7 @@ and the derived files
%</driver>
% \fi
%
-% \CheckSum{161}
+% \CheckSum{186}
%
% \CharacterTable
% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
@@ -158,7 +158,7 @@ and the derived files
% \GetFileInfo{hypbmsec.drv}
%
% \title{The \xpackage{hypbmsec} package}
-% \date{2006/02/20 v2.2}
+% \date{2006/03/05 v2.3}
% \author{Heiko Oberdiek\\\xemail{oberdiek@uni-freiburg.de}}
%
% \maketitle
@@ -363,7 +363,7 @@ and the derived files
% \begin{macrocode}
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{hypbmsec}%
- [2006/02/20 v2.2 Bookmarks in sectioning commands (HO)]
+ [2006/03/05 v2.3 Bookmarks in sectioning commands (HO)]
% \end{macrocode}
%
% Because of redifining the sectioning commands, it is dangerous
@@ -475,13 +475,28 @@ and the derived files
\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
}
@@ -683,6 +698,11 @@ and the derived files
% \item
% LPPL 1.3
% \end{Version}
+% \begin{Version}{2007/03/05 v2.3}
+% \item
+% Bug fix: Expand \cs{hbs@tocstring} and \cs{hbs@bmstring} before
+% calling \cs{hbs@seccmd}.
+% \end{Version}
% \end{History}
%
% \PrintIndex