summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/koma-script/tocbasic.dtx
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2010-09-18 22:37:13 +0000
committerKarl Berry <karl@freefriends.org>2010-09-18 22:37:13 +0000
commit8ca247e8fef4aa88e0f850179e7a9b0e82aa4d98 (patch)
tree2b49000766648ca46492f458676445e4a92e720d /Master/texmf-dist/source/latex/koma-script/tocbasic.dtx
parent732f3ec949d484fffd271e5341aad609013aeeca (diff)
koma-script (18sep10)
git-svn-id: svn://tug.org/texlive/trunk@19797 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/latex/koma-script/tocbasic.dtx')
-rw-r--r--Master/texmf-dist/source/latex/koma-script/tocbasic.dtx12
1 files changed, 9 insertions, 3 deletions
diff --git a/Master/texmf-dist/source/latex/koma-script/tocbasic.dtx b/Master/texmf-dist/source/latex/koma-script/tocbasic.dtx
index 6503535e09d..68b7c96d79f 100644
--- a/Master/texmf-dist/source/latex/koma-script/tocbasic.dtx
+++ b/Master/texmf-dist/source/latex/koma-script/tocbasic.dtx
@@ -1,4 +1,4 @@
-% \CheckSum{1138}
+% \CheckSum{1146}
% \iffalse meta-comment
% ======================================================================
% tocbasic.dtx
@@ -66,7 +66,7 @@
%%% From File: tocbasic.dtx
%<*dtx|package|driver|doc|load>
% \fi
-\def\tocbasicversion{2010/06/09 v3.06}
+\def\tocbasicversion{2010/09/14 v3.06a}
% \iffalse
%</dtx|package|driver|doc|load>
%<*dtx>
@@ -1301,6 +1301,8 @@ be defined and used in \Macro{tocbasic@listhead}.
% \cs{scr@addtotoclist} because of package \textsf{floatfram}}.%
% \changes{v1.0a}{2008/11/11}{internal \cs{@@addtotoclist} renamed to
% \cs{scr@@addtotoclist} because of package \textsf{floatfram}}.%
+% \changes{v3.06a}{2010/09/14}{expand the arguments while adding them to the
+% internal list}
% This command adds an extension to the list of toc-files. The first,
% optional argument is the class or package name with the corresponding
% extension of class or package files. If this argument was omitted
@@ -1335,7 +1337,11 @@ be defined and used in \Macro{tocbasic@listhead}.
or a mistake by the user.\MessageBreak
}%
}{%
- \g@addto@macro\tb@listoftocs{\do{#2}{#1}}%
+ \begingroup
+ \protected@edef\reserved@a{%
+ \noexpand\g@addto@macro\noexpand\tb@listoftocs{%
+ \noexpand\do{#2}{#1}}}\reserved@a
+ \endgroup
\ifx\relax #1\relax\else
\@ifundefined{tb@#1@add@hook}{}{%
\edef\reserved@a{%