diff options
author | Karl Berry <karl@freefriends.org> | 2008-11-19 02:08:50 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2008-11-19 02:08:50 +0000 |
commit | d169595175488e9e35570df5f4b22214627896e0 (patch) | |
tree | 7c972ee007fdc28424facd99165f9db6845f3bf2 /Master/texmf-dist/tex/latex/koma-script/scrbook.cls | |
parent | 6b554ff2c8bc10e886bb75e7db3c1abbc2731019 (diff) |
koma-script update
git-svn-id: svn://tug.org/texlive/trunk@11355 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/koma-script/scrbook.cls')
-rw-r--r-- | Master/texmf-dist/tex/latex/koma-script/scrbook.cls | 91 |
1 files changed, 33 insertions, 58 deletions
diff --git a/Master/texmf-dist/tex/latex/koma-script/scrbook.cls b/Master/texmf-dist/tex/latex/koma-script/scrbook.cls index 732ea3e7b4e..83417dde5e0 100644 --- a/Master/texmf-dist/tex/latex/koma-script/scrbook.cls +++ b/Master/texmf-dist/tex/latex/koma-script/scrbook.cls @@ -6,7 +6,7 @@ %% %% scrkvers.dtx (with options: `class,book') %% scrkbase.dtx (with options: `load') -%% tocbasic.dtx (with options: `load') +%% tocbasic.dtx (with options: `load,chapter') %% scrkcomp.dtx (with options: `class,book,option') %% scrkmisc.dtx (with options: `class,book,option') %% scrklang.dtx (with options: `class,book,option') @@ -92,7 +92,7 @@ \fi } \fi - \@CheckKOMAScriptVersion{2008/11/03 v3.00 KOMA-Script}% + \@CheckKOMAScriptVersion{2008/11/14 v3.01 KOMA-Script}% \endgroup \newcommand*{\KOMAClassName}{% scrbook% @@ -106,9 +106,11 @@ %%% From File: scrkbase.dtx \RequirePackage{scrkbase}[\KOMAScriptVersion] %%% From File: tocbasic.dtx -\def\tocbasicversion{2008/10/06 v1.0} +\def\tocbasicversion{2008/11/13 v3.01} \edef\@tempa{\noexpand\RequirePackage{tocbasic}[\tocbasicversion]} \@tempa +\AtAddToTocList[\@currname.\@currext]{\setuptoc{\@currext}{onecolumn}}% +\AtAddToTocList[float]{\setuptoc{\@currext}{onecolumn}}% \addtotoclist{toc} \addtotoclist[float]{lof} \addtotoclist[float]{lot} @@ -157,6 +159,7 @@ \@namedef{scr@v@2.98b}{6} \@namedef{scr@v@2.98c}{7} \@namedef{scr@v@3.00}{8} +\@namedef{scr@v@3.01}{8} \@namedef{scr@v@last}{8} %%% From File: scrkmisc.dtx \KOMA@key{draft}[true]{% @@ -1997,14 +2000,7 @@ }{}% }% \@ifundefined{float@addtolists}{}{% - \ClassWarning{\KOMAClassName}{% - Usage of deprecated \string\float@addtolists!\MessageBreak - You should use the features of package `tocbasic'\MessageBreak - instead of \string\float@addtolists.\MessageBreak - Definition of \string\float@addtolists\space may be removed - from\MessageBreak - KOMA-Script soon, so it should not be used - }% + \scr@float@addtolists@warning \scr@ifundefinedorrelax{@currentHref}{% \float@addtolists{% \protect\contentsline{chapteratlist}{% @@ -2027,14 +2023,7 @@ }{}% }% \@ifundefined{float@addtolists}{}{% - \ClassWarning{\KOMAClassName}{% - Usage of deprecated \string\float@addtolists!\MessageBreak - You should use the features of package `tocbasic'\MessageBreak - instead of \string\float@addtolists.\MessageBreak - Definition of \string\float@addtolists\space may be removed - from\MessageBreak - KOMA-Script soon, so it should not be used - }% + \scr@float@addtolists@warning \scr@ifundefinedorrelax{@currentHref}{% \float@addtolists{% \protect\contentsline{chapteratlist}{#1}{\thepage}% @@ -2056,14 +2045,7 @@ }{}% }% \@ifundefined{float@addtolists}{}{% - \ClassWarning{\KOMAClassName}{% - Usage of deprecated \string\float@addtolists!\MessageBreak - You should use the features of package `tocbasic'\MessageBreak - instead of \string\float@addtolists.\MessageBreak - Definition of \string\float@addtolists\space may be removed - from\MessageBreak - KOMA-Script soon, so it should not be used - }% + \scr@float@addtolists@warning \scr@ifundefinedorrelax{@currentHref}{% \float@addtolists{% \protect\contentsline{chapteratlist}{#1}{\thepage}% @@ -2084,14 +2066,7 @@ }{}% }% \@ifundefined{float@addtolists}{}{% - \ClassWarning{\KOMAClassName}{% - Usage of deprecated \string\float@addtolists!\MessageBreak - You should use the features of package `tocbasic'\MessageBreak - instead of \string\float@addtolists.\MessageBreak - Definition of \string\float@addtolists\space may be removed - from\MessageBreak - KOMA-Script soon, so it should not be used - }% + \scr@float@addtolists@warning \float@addtolists{\protect\addvspace{\@chapterlistsgap}}% }% \fi @@ -2177,14 +2152,7 @@ }{}% }% \@ifundefined{float@addtolists}{}{% - \ClassWarning{\KOMAClassName}{% - Usage of deprecated \string\float@addtolists!\MessageBreak - You should use the features of package `tocbasic'\MessageBreak - instead of \string\float@addtolists.\MessageBreak - Definition of \string\float@addtolists\space may be removed - from\MessageBreak - KOMA-Script soon, so it should not be used - }% + \scr@float@addtolists@warning \scr@ifundefinedorrelax{@currentHref}{% \float@addtolists{% \protect\contentsline{chapteratlist}{#1}{\thepage}% @@ -2204,14 +2172,7 @@ }{}% }% \@ifundefined{float@addtolists}{}{% - \ClassWarning{\KOMAClassName}{% - Usage of deprecated \string\float@addtolists!\MessageBreak - You should use the features of package `tocbasic'\MessageBreak - instead of \string\float@addtolists.\MessageBreak - Definition of \string\float@addtolists\space may be removed - from\MessageBreak - KOMA-Script soon, so it should not be used - }% + \scr@float@addtolists@warning \float@addtolists{\protect\addvspace{\@chapterlistsgap}}% }% \fi @@ -3365,13 +3326,7 @@ \begingroup\let\if@dynlist\if@tocleft\listoftoc{toc}\endgroup } \newcommand*{\float@listhead}[1]{% - \ClassWarning{\KOMAClassName}{% - usage of deprecated \string\float@listhead!\MessageBreak - You should use the features of package `tocbasic'\MessageBreak - instead of \string\float@listhead.\MessageBreak - Definition of \string\float@listhead\space my be removed from\MessageBreak - KOMA-Script soon, so it should not be used - }% + \scr@float@listhead@warning \float@@listhead{#1}% \@mkboth{#1}{#1}% \if@dynlist% @@ -3382,6 +3337,26 @@ }% \fi } +\newcommand*{\scr@float@listhead@warning}{% + \ClassWarning{\KOMAClassName}{% + Usage of deprecated \string\float@listhead!\MessageBreak + You should use the features of package `tocbasic'\MessageBreak + instead of \string\float@listhead.\MessageBreak + Definition of \string\float@listhead\space my be removed from\MessageBreak + `\KOMAClassName' soon, so it should not be used + }% +} +\newcommand*{\scr@float@addtolists@warning}{% + \ClassWarningNoLine{\KOMAClassName}{% + \string\float@addtolists\space detected!\MessageBreak + You should use the features of package `tocbasic'\MessageBreak + instead of \string\float@addtolists.\MessageBreak + Support for \string\float@addtolists\space may be removed + from\MessageBreak + `\KOMAClassName' soon + }% + \global\let\scr@float@addtolists@warning\relax +} \newcommand*\listfigurename{List of Figures} \newcommand*\listoflofname{\listfigurename} \newcommand*\listtablename{List of Tables} |