diff options
Diffstat (limited to 'Master/texmf-dist/source/latex/koma-script/tocbasic.dtx')
-rw-r--r-- | Master/texmf-dist/source/latex/koma-script/tocbasic.dtx | 12 |
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{% |