From d892fc1b7f46275b1e5c291db0305eac83abe9e3 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Wed, 26 Dec 2007 22:26:13 +0000 Subject: koma-script update (25dec07) git-svn-id: svn://tug.org/texlive/trunk@5924 c570f23f-e606-0410-a88d-b1316a301751 --- .../texmf-dist/tex/latex/koma-script/scrreprt.cls | 29 ++++++++++++++++------ 1 file changed, 21 insertions(+), 8 deletions(-) (limited to 'Master/texmf-dist/tex/latex/koma-script/scrreprt.cls') diff --git a/Master/texmf-dist/tex/latex/koma-script/scrreprt.cls b/Master/texmf-dist/tex/latex/koma-script/scrreprt.cls index d971141d9f4..77f91c54c57 100644 --- a/Master/texmf-dist/tex/latex/koma-script/scrreprt.cls +++ b/Master/texmf-dist/tex/latex/koma-script/scrreprt.cls @@ -91,7 +91,7 @@ \fi } \fi - \@CheckKOMAScriptVersion{2007/10/12 v2.97d KOMA-Script}% + \@CheckKOMAScriptVersion{2007/12/24 v2.98 KOMA-Script}% \endgroup \newcommand*{\KOMAClassName}{% scrreprt% @@ -142,7 +142,9 @@ \@namedef{scr@v@2.97b}{3} \@namedef{scr@v@2.97c}{4} \@namedef{scr@v@2.97d}{5} -\@namedef{scr@v@last}{5} +\@namedef{scr@v@2.97e}{6} +\@namedef{scr@v@2.98}{6} +\@namedef{scr@v@last}{6} %%% From File: scrkmisc.dtx \KOMA@key{draft}[true]{% \KOMA@set@ifkey{draft}{@tempswa}{#1}% @@ -215,16 +217,16 @@ \ifstr{#3}{paper}{% \ifnumber{#2}{% \ifstr{#1}{a}{% - \PassOptionsToPackage{#1#2#3}{typearea}% + \PassOptionsToPackage{#3=#1#2}{typearea}% }{% \ifstr{#1}{b}{% - \PassOptionsToPackage{#1#2#3}{typearea}% + \PassOptionsToPackage{#3=#1#2}{typearea}% }{% \ifstr{#1}{c}{% - \PassOptionsToPackage{#1#2#3}{typearea}% + \PassOptionsToPackage{#3=#1#2}{typearea}% }{% \ifstr{#1}{d}{% - \PassOptionsToPackage{#1#2#3}{typearea}% + \PassOptionsToPackage{#3=#1#2}{typearea}% }{\scr@pti@nerr@r}% }% }% @@ -237,6 +239,14 @@ \newcommand*{\scr@pti@nerr@r}{ \OptionNotUsed } +\KOMA@key{twoside}[true]{% + \if@atdocument\else\PassOptionsToPackage{twoside=#1}{typearea}\fi% +} +\KOMA@DeclareObsoleteOption[\PackageInfoNoLine]{oneside}{twoside=false} +\KOMA@key{twocolumn}[true]{% + \if@atdocument\else\PassOptionsToPackage{twoside=#1}{typearea}\fi% +} +\KOMA@DeclareObsoleteOption[\PackageInfoNoLine]{onecolumn}{twocolumn=false} \DeclareOption*{% \x@paper} %%% From File: scrkpar.dtx @@ -1591,7 +1601,10 @@ \newcommand*\chaptermarkformat{\chapappifchapterprefix{\ }% \thechapter\autodot\enskip} \newcounter{section}[chapter] -\renewcommand*\thesection{\thechapter.\@arabic\c@section} +\renewcommand*\thesection{% + \thechapter.% + \@arabic\c@section +} \newcommand*\sectionmarkformat{\thesection\autodot\enskip} \newcounter{subsection}[section] \renewcommand*{\thesubsection}{\thesection.\@arabic\c@subsection} @@ -2256,7 +2269,7 @@ \aliaskomafont{pagination}{pagenumber} \newcommand*{\scr@fnt@pagehead}{\headfont} \newcommand*{\scr@fnt@wrn@pagehead}[1]{% - `pagehead' and `pagefoot' are aliases for the same^^b8\MessageBreak + `pagehead' and `pagefoot' are aliases for the same\MessageBreak font element, changed% } \aliaskomafont{pagefoot}{pagehead} -- cgit v1.2.3