%% %% This is file `scrkbase.sty', %% generated with the docstrip utility. %% %% The original source files were: %% %% scrkvers.dtx (with options: `package,scrkbase') %% scrkbase.dtx (with options: `package,option,koma') %% scrlfile.dtx (with options: `load') %% scrkbase.dtx (with options: `package,body,koma') %% scrlogo.dtx (with options: `logo') %% %% Copyright (c) 1994-2007 %% Markus Kohm and any individual authors listed elsewhere in this file. %% %% This file was generated from file(s) of the KOMA-Script bundle. %% --------------------------------------------------------------- %% %% It may be distributed under the conditions of the %% LaTeX Project Public License in the version distributed together %% with KOMA-Script, see file `lppl.txt' or `lppl-de.txt'. %% %% This file may only be distributed together with a copy of the %% KOMA-Script bundle. You may however distribute the %% KOMA-Script bundle without all such generated files. See also %% `lppl.txt' or `lppl-de.txt' for additional information. %% %% The list of files belonging to KOMA-Script distribution is given in %% the file `manifest.txt'. See also `lppl.txt' or `lppl-de.txt' for %% additional information. %% %% If this file is a beta version, you are not allowed to distribute it. %% %% English and German manuals are part of KOMA-Script bundle. %% ---------------------------------------------------------- %% %% See `README'. %% %% The KOMA-Script bundle (but maybe not this file) was based upon the %% LaTeX2.09 Script family created by Frank Neukam 1993 and the LaTeX2e %% standard classes created by The LaTeX3 Project 1994-1996. %% %%% From File: scrkvers.dtx \begingroup \makeatletter \ifx\KOMAScriptVersion\undefined \newcommand*{\@CheckKOMAScriptVersion}[1]{% \gdef\KOMAScriptVersion{#1}% }% \else \newcommand*{\@CheckKOMAScriptVersion}[1]{% \def\@tempa{#1}% \ifx\KOMAScriptVersion\@tempa\else \@latex@warning@no@line{% \noexpand\KOMAScriptVersion\space is `\KOMAScriptVersion',\MessageBreak but `#1' was expected!\MessageBreak You should not use classes, packages or files from\MessageBreak different KOMA-Script versions% }% \fi } \fi \@CheckKOMAScriptVersion{2008/12/09 v3.01b KOMA-Script}% \endgroup %%% From File: scrkbase.dtx \ProvidesPackage{% scrkbase% }[% \KOMAScriptVersion\space package (KOMA-Script-dependent basics and keyval usage)] \RequirePackage{scrbase}[\KOMAScriptVersion] \newcommand*{\KOMA@key}[1][.\@currname.\@currext]{% \DefineFamilyMember{KOMA}% \DefineFamilyKey[#1]{KOMA}% } \newcommand*{\KOMAProcessOptions}{\FamilyProcessOptions{KOMA}} \@onlypreamble\KOMAProcessOptions \KOMAProcessOptions\relax %%% From File: scrlfile.dtx \def\scrlfileversion{2008/07/09 v3.00} \edef\@tempa{\noexpand\RequirePackage{scrlfile}[\scrlfileversion]} \@tempa %%% From File: scrkbase.dtx \newcommand*{\KOMAExecuteOptions}{\FamilyExecuteOptions{KOMA}} \@onlypreamble\KOMAExecuteOptions \newcommand*{\KOMAoptions}[1]{% \let\post@kopt@hook\@empty \KOMA@options{#1}{% \PackageError{scrkbase}{% unknown KOMA option `\scr@key@name'% }{% You have used \string\KOMAoptions\space to set `\scr@key@atlist',\MessageBreak but KOMA-Script does not know any option named `\scr@key@name'.\MessageBreak See the KOMA-Script manual for more informations about options and\MessageBreak their values.% }% }% \post@kopt@hook\let\post@kopt@hook\relax } \newcommand*{\KOMA@options}{\Family@Options{KOMA}} \newcommand*{\post@kopt@hook}{} \let\post@kopt@hook\relax \newcommand*{\AfterKOMAoptions}{% \ifx\post@kopt@hook\relax \PackageWarning{scrkbase}{% \string\AfterKOMAoptions\space can only be used inside a\MessageBreak KOMA-Script option that is called using \space\KOMAoptions.\MessageBreak Because if this, command will be ignored% }% \expandafter\@gobbletwo \else \expandafter\l@addto@macro \fi \post@kopt@hook } \newcommand*{\KOMAoption}[2]{% \let\post@kopt@hook\@empty \Family@Option{KOMA}{#1}{#2}{% \PackageError{scrkbase}{% unknown KOMA option `\scr@key@name'% }{% You have used \string\KOMAoption\space to set `\scr@key@name',\MessageBreak but KOMA-Script does not know any option named `\scr@key@name'.\MessageBreak See the KOMA-Script manual for more informations about options and\MessageBreak their values.% }% }% \post@kopt@hook\let\post@kopt@hook\relax } \newcommand*{\KOMA@unknown@keyval}{\FamilyUnknownKeyValue{KOMA}} \newcommand*{\KOMA@ifkey}{\FamilyBoolKey{KOMA}} \newcommand*{\KOMA@set@ifkey}{\FamilySetBool{KOMA}} \newcommand*{\KOMA@ncmdkey}{\FamilyNumericalKey{KOMA}} \newcommand*{\KOMA@set@ncmdkey}{\FamilySetNumerical{KOMA}} \newcommand*{\KOMA@DeclareDeprecatedOption}{% \@ifnextchar [%] {\KOMA@@DeclareDeprecatedOption}% {\KOMA@@@DeclareDeprecatedOption{\ClassWarningNoLine{\KOMAClassName}}}% } \newcommand*{\KOMA@@DeclareDeprecatedOption}[1][]{% \KOMA@@@DeclareDeprecatedOption{\PackageWarningNoLine{#1}}% } \newcommand*{\KOMA@@@DeclareDeprecatedOption}[3]{% \DeclareOption{#2}{\KOMA@UseDeprecatedOption{#1}{#2}{#3}}% } \newcommand*{\KOMA@UseDeprecatedOption}[3]{% \let\scr@sr@co\CurrentOption #1{% You've used obsolete option `#2'.\MessageBreak Usage of this option indicates an old document and\MessageBreak changes compatibility level using\MessageBreak `#3,version=first'.\MessageBreak If you don't want this, you should simply replace\MessageBreak usage of option `#2' by `#3'% }% \KOMAExecuteOptions{#3,version=first}% \let\CurrentOption\scr@sr@co } \newcommand*{\KOMA@DeclareStandardOption}{% \@ifnextchar [%] {\KOMA@@DeclareStandardOption}% {\KOMA@@@DeclareStandardOption{\ClassInfoNoLine{\KOMAClassName}}}% } \newcommand*{\KOMA@@DeclareStandardOption}[1][]{% \KOMA@@@DeclareStandardOption{\PackageInfoNoLine{#1}}% } \newcommand*{\KOMA@@@DeclareStandardOption}[3]{% \DeclareOption{#2}{\KOMA@UseStandardOption{#1}{#2}{#3}}% } \newcommand*{\KOMA@UseStandardOption}[3]{% \let\scr@sr@co\CurrentOption #1{% You've used standard option `#2'.\MessageBreak This is correct!\MessageBreak Internaly I'm using `#3'.\MessageBreak If you'd like to set the option with \string\KOMAoptions,\MessageBreak you'd have to use `#3' there\MessageBreak instead of `#2', too% }% \KOMAExecuteOptions{#3}% \let\CurrentOption\scr@sr@co } \newcommand*{\KOMA@DeclareObsoleteOption}{% \@ifnextchar [%] {\KOMA@@DeclareObsoleteOption}% {\KOMA@@DeclareObsoleteOption[\@gobbletwo]}% } \newcommand*{\KOMA@@DeclareObsoleteOption}{} \def\KOMA@@DeclareObsoleteOption[#1]{% \@ifnextchar [%] {\KOMA@@@DeclareObsoleteOption{#1}}% {\KOMA@@@DeclareObsoleteOption{#1}[]}% } \newcommand*{\KOMA@@@DeclareObsoleteOption}{} \def\KOMA@@@DeclareObsoleteOption#1[#2]#3#4{% \ifstr{#2}{}{% \KOMA@iv@DeclareObsoleteOption{#1}{\@currname}{#3}{#4}% }{% \KOMA@UseObsoleteOption{#1}{#2}{#3}{#4}% }% } \newcommand*{\KOMA@iv@DeclareObsoleteOption}[4]{% \DeclareOption{#3}{\KOMA@UseObsoleteOption{#1{#2}}{#3}{#4}}% } \newcommand*{\KOMA@UseObsoleteOption}[3]{% \let\scr@sr@co\CurrentOption #1{% You've used obsolete option `#2'.\MessageBreak \protect\KOMAExecuteOptions{#3} will be\MessageBreak used instead.\MessageBreak You may simply replace `#2'\MessageBreak by `#3'% }% \KOMAExecuteOptions{#3}% \let\CurrentOption\scr@sr@co } \newcommand*{\scr@sr@co}{} \newcommand*{\KOMA@newobsoletecommand}[3][\@gobbletwo]{% \newcommand*{#2}{\KOMA@UseObsoleteCommand{#1}{\string#2}{#3}}% } \newcommand*{\KOMA@UseObsoleteCommand}[3]{% #1{% scrkbase% }{% You've used the obsolete command `#2'.\MessageBreak \protect\KOMAoptions{#3} will be used instead.\MessageBreak You should also replace `#2' by `\protect\KOMAoptions{#3}'% }% \KOMAoptions{#3}% } %%% From File: scrlogo.dtx \@ifundefined{KOMAScript}{% \DeclareRobustCommand{\KOMAScript}{\textsf{K\kern.05em O\kern.05em% M\kern.05em A\kern.1em-\kern.1em Script}}}{} \endinput %% %% End of file `scrkbase.sty'.