summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/koma-script/scrreprt.cls
diff options
context:
space:
mode:
authorDr. Clea F. Rees <cfrees@imapmail.org>2008-12-03 00:37:19 +0000
committerDr. Clea F. Rees <cfrees@imapmail.org>2008-12-03 00:37:19 +0000
commit345df745f9c4bb7fe8030e4605141267e59a8a03 (patch)
treec8186f8a2a7831641099dc5b15aa16019e21eeff /Master/texmf-dist/tex/latex/koma-script/scrreprt.cls
parent0af99b8d02ea723532ea219c1a18eccb9c0c48fb (diff)
koma-script 3.01a
git-svn-id: svn://tug.org/texlive/trunk@11504 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/koma-script/scrreprt.cls')
-rw-r--r--Master/texmf-dist/tex/latex/koma-script/scrreprt.cls117
1 files changed, 52 insertions, 65 deletions
diff --git a/Master/texmf-dist/tex/latex/koma-script/scrreprt.cls b/Master/texmf-dist/tex/latex/koma-script/scrreprt.cls
index 303b0d0c715..63ec8309b54 100644
--- a/Master/texmf-dist/tex/latex/koma-script/scrreprt.cls
+++ b/Master/texmf-dist/tex/latex/koma-script/scrreprt.cls
@@ -92,7 +92,7 @@
\fi
}
\fi
- \@CheckKOMAScriptVersion{2008/11/14 v3.01 KOMA-Script}%
+ \@CheckKOMAScriptVersion{2008/11/23 v3.01a KOMA-Script}%
\endgroup
\newcommand*{\KOMAClassName}{%
scrreprt%
@@ -115,7 +115,7 @@
\addtotoclist[float]{lof}
\addtotoclist[float]{lot}
%%% From File: scrkcomp.dtx
-\newcommand*{\scr@compatibility}{0}
+\newcommand*{\scr@compatibility}{\scr@v@last}
\KOMA@key{version}[last]{%
\scr@ifundefinedorrelax{scr@v@#1}{%
\def\scr@compatibility{0}%
@@ -125,6 +125,9 @@
Because of this, version was set to `first'%
}%
}{%
+ \ClassInfoNoLine{\KOMAClassName}{%
+ Switching compatibility level to `#1'%
+ }%
\edef\scr@compatibility{\@nameuse{scr@v@#1}}%
}%
}
@@ -160,6 +163,7 @@
\@namedef{scr@v@2.98c}{7}
\@namedef{scr@v@3.00}{8}
\@namedef{scr@v@3.01}{8}
+\@namedef{scr@v@3.01a}{8}
\@namedef{scr@v@last}{8}
%%% From File: scrkmisc.dtx
\KOMA@key{draft}[true]{%
@@ -170,7 +174,7 @@
\setlength{\overfullrule}{\z@}%
\fi
}
-\KOMA@DeclareObsoleteOption[\PackageInfoNoLine]{final}{draft=false}
+\KOMA@DeclareStandardOption{final}{draft=false}
\DeclareOption{leqno}{\input{leqno.clo}}
\DeclareOption{fleqn}{\input{fleqn.clo}}
%%% From File: scrklang.dtx
@@ -283,11 +287,13 @@
\KOMA@key{twoside}[true]{%
\if@atdocument\else\PassOptionsToPackage{twoside=#1}{typearea}\fi%
}
-\KOMA@DeclareObsoleteOption[\PackageInfoNoLine]{oneside}{twoside=false}
+\KOMA@DeclareStandardOption%
+ {oneside}{twoside=false}
\KOMA@key{twocolumn}[true]{%
\if@atdocument\else\PassOptionsToPackage{twocolumn=#1}{typearea}\fi%
}
-\KOMA@DeclareObsoleteOption[\PackageInfoNoLine]{onecolumn}{twocolumn=false}
+\KOMA@DeclareStandardOption%
+ {onecolumn}{twocolumn=false}
\DeclareOption*{%
\x@paper}
%%% From File: scrkpar.dtx
@@ -395,25 +401,24 @@
\endgroup
\fi
}
-\KOMA@DeclareObsoleteOption[\PackageWarningNoLine]{parskip-}{parskip=full-}
-\KOMA@DeclareObsoleteOption[\PackageWarningNoLine]{parskip+}{parskip=full+}
-\KOMA@DeclareObsoleteOption[\PackageWarningNoLine]{parskip*}{parskip=full*}
-\KOMA@DeclareObsoleteOption[\PackageWarningNoLine]{halfparskip}{parskip=half}
-\KOMA@DeclareObsoleteOption[\PackageWarningNoLine]{halfparskip-}{parskip=half-}
-\KOMA@DeclareObsoleteOption[\PackageWarningNoLine]{halfparskip+}{parskip=half+}
-\KOMA@DeclareObsoleteOption[\PackageWarningNoLine]{halfparskip*}{parskip=half*}
-\KOMA@DeclareObsoleteOption[\PackageWarningNoLine]{parindent}{parskip=false}
+\KOMA@DeclareDeprecatedOption{parskip-}{parskip=full-}
+\KOMA@DeclareDeprecatedOption{parskip+}{parskip=full+}
+\KOMA@DeclareDeprecatedOption{parskip*}{parskip=full*}
+\KOMA@DeclareDeprecatedOption{halfparskip}{parskip=half}
+\KOMA@DeclareDeprecatedOption{halfparskip-}{parskip=half-}
+\KOMA@DeclareDeprecatedOption{halfparskip+}{parskip=half+}
+\KOMA@DeclareDeprecatedOption{halfparskip*}{parskip=half*}
+\KOMA@DeclareDeprecatedOption{parindent}{parskip=false}
%%% From File: scrktitl.dtx
\newif\if@titlepage
\@titlepagetrue
\KOMA@ifkey{titlepage}{@titlepage}%
-\KOMA@DeclareObsoleteOption%
- [\PackageInfoNoLine]%
+\KOMA@DeclareStandardOption%
{notitlepage}{titlepage=false}
\newif\if@abstrt\@abstrtfalse
\KOMA@ifkey{abstract}{@abstrt}
-\KOMA@DeclareObsoleteOption[\PackageInfoNoLine]{abstracton}{abstract=true}
-\KOMA@DeclareObsoleteOption[\PackageInfoNoLine]{abstractoff}{abstract=false}
+\KOMA@DeclareStandardOption{abstracton}{abstract=true}
+\KOMA@DeclareStandardOption{abstractoff}{abstract=false}
%%% From File: scrksect.dtx
\newif\if@openright
\@openrightfalse
@@ -434,8 +439,8 @@
\renewcommand*{\cleardoublestandardpage}{\cleardoubleevenstandardpage}%
\fi
}
-\KOMA@DeclareObsoleteOption[\PackageInfoNoLine]{openright}{open=right}
-\KOMA@DeclareObsoleteOption[\PackageInfoNoLine]{openany}{open=any}
+\KOMA@DeclareStandardOption{openright}{open=right}
+\KOMA@DeclareStandardOption{openany}{open=any}
%% \fi
\newcommand*{\scr@dotchangeatdocument}[1]{%
\ClassError{\KOMAClassName}{%
@@ -476,14 +481,11 @@
\newcommand*{\scr@altsecnumhookfalse}{%
\@altsecnumformatfalse\global\let\@altsecnumformattrue\@altsecnumformatfalse
}
-\KOMA@DeclareObsoleteOption[\PackageWarningNoLine]{pointednumbers}%
- {numbers=enddot}
-\KOMA@DeclareObsoleteOption[\PackageWarningNoLine]{pointlessnumbers}%
- {numbers=noenddot}
+\KOMA@DeclareDeprecatedOption{pointednumbers}{numbers=enddot}
+\KOMA@DeclareDeprecatedOption{pointlessnumbers}{numbers=noenddot}
\newif\if@chapterprefix\@chapterprefixfalse
\KOMA@ifkey{chapterprefix}{@chapterprefix}
-\KOMA@DeclareObsoleteOption[\PackageWarningNoLine]{nochapterprefix}%
- {chapterprefix=false}
+\KOMA@DeclareDeprecatedOption{nochapterprefix}{chapterprefix=false}
\KOMA@key{appendixprefix}[true]{%
\KOMA@set@ifkey{appendixprefix}{@tempswa}{#1}%
\if@tempswa
@@ -492,8 +494,7 @@
\def\appendixmore{\@chapterprefixfalse}%
\fi
}
-\KOMA@DeclareObsoleteOption[\PackageWarningNoLine]{noappendixprefix}%
- {appendixprefix=false}
+\KOMA@DeclareDeprecatedOption{noappendixprefix}{appendixprefix=false}
\newcommand*{\size@part}{}
\newcommand*{\size@partnumber}{}
\newcommand*{\size@chapter}{}
@@ -586,27 +587,22 @@
\KOMA@options{appendixprefix=false}{}%
\fi
}
-\KOMA@DeclareObsoleteOption[\PackageWarningNoLine]{bigheadings}%
- {headings=big}
-\KOMA@DeclareObsoleteOption[\PackageWarningNoLine]{normalheadings}%
- {headings=normal}
-\KOMA@DeclareObsoleteOption[\PackageWarningNoLine]{smallheadings}%
- {headings=small}
+\KOMA@DeclareDeprecatedOption{bigheadings}{headings=big}
+\KOMA@DeclareDeprecatedOption{normalheadings}{headings=normal}
+\KOMA@DeclareDeprecatedOption{smallheadings}{headings=small}
%%% From File: scrkpage.dtx
\newif\if@hsl
\KOMA@key{headsepline}[true]{%
\KOMA@set@ifkey{headsepline}{@hsl}{#1}%
\KOMA@options{headinclude=#1}{}%
}
-\KOMA@DeclareObsoleteOption[\PackageWarningNoLine]{headnosepline}{%
- headsepline=false}
+\KOMA@DeclareDeprecatedOption{headnosepline}{headsepline=false}
\newif\if@fsl
\KOMA@key{footsepline}[true]{%
\KOMA@set@ifkey{footsepline}{@fsl}{#1}%
\KOMA@options{footinclude=#1}{}%
}
-\KOMA@DeclareObsoleteOption[\PackageWarningNoLine]{footnosepline}{%
- footsepline=false}
+\KOMA@DeclareDeprecatedOption{footnosepline}{footsepline=false}
\@twosidefalse
\KOMA@key{cleardoublepage}{%
\begingroup%
@@ -662,12 +658,9 @@
{\thispagestyle{#1}\cleardoublestandardpage}}
\newcommand*{\cleardoubleemptypage}{\cleardoublepageusingstyle{empty}}
\newcommand*{\cleardoubleplainpage}{\cleardoublepageusingstyle{plain}}
-\KOMA@DeclareObsoleteOption[\PackageWarningNoLine]{cleardoubleempty}%
- {cleardoublepage=empty}
-\KOMA@DeclareObsoleteOption[\PackageWarningNoLine]{cleardoubleplain}%
- {cleardoublepage=plain}
-\KOMA@DeclareObsoleteOption[\PackageWarningNoLine]{cleardoublestandard}%
- {cleardoublepage=current}
+\KOMA@DeclareDeprecatedOption{cleardoubleempty}{cleardoublepage=empty}
+\KOMA@DeclareDeprecatedOption{cleardoubleplain}{cleardoublepage=plain}
+\KOMA@DeclareDeprecatedOption{cleardoublestandard}{cleardoublepage=current}
%%% From File: scrkfloa.dtx
\newif\if@tablecaptionabove\@tablecaptionabovefalse
\newif\ifonelinecaptions\onelinecaptionstrue
@@ -714,16 +707,12 @@
\renewcommand*{\scap@valign}{b}%
\fi
}
-\KOMA@DeclareObsoleteOption[\PackageWarningNoLine]{tablecaptionabove}%
- {captions=tableheading}
-\KOMA@DeclareObsoleteOption[\PackageWarningNoLine]{tablecaptionbelow}%
- {captions=tablesignature}
+\KOMA@DeclareDeprecatedOption{tablecaptionabove}{captions=tableheading}
+\KOMA@DeclareDeprecatedOption{tablecaptionbelow}{captions=tablesignature}
\newif\if@komalongtable\@komalongtabletrue
\DeclareOption{origlongtable}{\@komalongtablefalse}
-\KOMA@DeclareObsoleteOption[\PackageWarningNoLine]{onelinecaption}
- {captions=oneline}
-\KOMA@DeclareObsoleteOption[\PackageWarningNoLine]{noonelinecaption}
- {captions=nooneline}
+\KOMA@DeclareDeprecatedOption{onelinecaption}{captions=oneline}
+\KOMA@DeclareDeprecatedOption{noonelinecaption}{captions=nooneline}
%%% From File: scrkftn.dtx
\KOMA@key{footnotes}{%
\ifx\@footnotemark\scr@saved@footnotemark
@@ -807,8 +796,8 @@
\@tocleftfalse
\fi
}
-\KOMA@DeclareObsoleteOption[\ClassWarningNoLine]{tocleft}{toc=flat}
-\KOMA@DeclareObsoleteOption[\ClassWarningNoLine]{tocindent}{toc=graduated}
+\KOMA@DeclareDeprecatedOption{tocleft}{toc=flat}
+\KOMA@DeclareDeprecatedOption{tocindent}{toc=graduated}
\newcommand*{\float@@listhead}{%
\chapter*
}
@@ -869,11 +858,10 @@
\KOMA@options{chapteratlists=\baselineskip}{}%
\fi
}
-\KOMA@DeclareObsoleteOption[\ClassWarningNoLine]{liststotoc}{listof=totoc}
-\KOMA@DeclareObsoleteOption[\ClassWarningNoLine]{liststotocnumbered}
- {listof=numbered}
-\KOMA@DeclareObsoleteOption[\ClassWarningNoLine]{listsleft}{listof=flat}
-\KOMA@DeclareObsoleteOption[\ClassWarningNoLine]{listsindent}{listof=graduated}
+\KOMA@DeclareDeprecatedOption{liststotoc}{listof=totoc}
+\KOMA@DeclareDeprecatedOption{liststotocnumbered}{listof=numbered}
+\KOMA@DeclareDeprecatedOption{listsleft}{listof=flat}
+\KOMA@DeclareDeprecatedOption{listsindent}{listof=graduated}
\newcommand*{\@chapterlistsgap}{10\p@}
\newif\if@chaptertolists\@chaptertolistsfalse
\KOMA@key{chapteratlists}[entry]{%
@@ -968,10 +956,9 @@
\csname scr@bibstyle@#1\endcsname
}%
}
-\KOMA@DeclareObsoleteOption[\ClassInfoNoLine]{openbib}{bibliography=openstyle}
-\KOMA@DeclareObsoleteOption[\ClassWarningNoLine]{bibtotoc}{bibliography=totoc}
-\KOMA@DeclareObsoleteOption[\ClassWarningNoLine]{bibtotocnumbered}{%
- bibliography=totocnumbered}
+\KOMA@DeclareStandardOption{openbib}{bibliography=openstyle}
+\KOMA@DeclareDeprecatedOption{bibtotoc}{bibliography=totoc}
+\KOMA@DeclareDeprecatedOption{bibtotocnumbered}{bibliography=totocnumbered}
%%% From File: scrkidx.dtx
\newcommand*{\idx@@heading}{%
\chapter*
@@ -991,7 +978,7 @@
}%
\fi
}
-\KOMA@DeclareObsoleteOption[\ClassWarningNoLine]{idxtotoc}{index=totoc}
+\KOMA@DeclareDeprecatedOption{idxtotoc}{index=totoc}
%%% From File: scrklist.dtx
%%% From File: scrkmisc.dtx
\KOMAExecuteOptions{%
@@ -3202,9 +3189,9 @@
\kern\multiplefootnotemarker\relax
}
\@ifundefined{FN@mf@prepare}{}{}
-\newcommand*{\scr@saved@footnotetext}{}
+\newcommand{\scr@saved@footnotetext}{}
\let\scr@saved@footnotetext\@footnotetext
-\renewcommand*{\@footnotetext}[1]{%
+\renewcommand{\@footnotetext}[1]{%
\scr@saved@footnotetext{#1}%
\csname FN@mf@prepare\endcsname
}