summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/koma-script/scrksect.dtx
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/source/latex/koma-script/scrksect.dtx')
-rw-r--r--Master/texmf-dist/source/latex/koma-script/scrksect.dtx16
1 files changed, 13 insertions, 3 deletions
diff --git a/Master/texmf-dist/source/latex/koma-script/scrksect.dtx b/Master/texmf-dist/source/latex/koma-script/scrksect.dtx
index 9c6db67c1d3..feb0314ced6 100644
--- a/Master/texmf-dist/source/latex/koma-script/scrksect.dtx
+++ b/Master/texmf-dist/source/latex/koma-script/scrksect.dtx
@@ -1,4 +1,4 @@
-% \CheckSum{1681}
+% \CheckSum{1690}
% \iffalse meta-comment
% ======================================================================
% scrksect.dtx
@@ -58,7 +58,7 @@
%%% From File: scrksect.dtx
%<*driver>
% \fi
-\ProvidesFile{scrksect.dtx}[2007/07/23 v2.97c KOMA-Script (disposition)]
+\ProvidesFile{scrksect.dtx}[2007/11/23 v2.97e KOMA-Script (disposition)]
% \iffalse
\documentclass[halfparskip-]{scrdoc}
\usepackage[english,ngerman]{babel}
@@ -686,6 +686,7 @@
% \cs{chapappifprefix}}
% \begin{Counter}{section}
% \begin{macro}{\thesection}
+% \changes{v2.97e}{2007/11/23}{Kapitelnummer nur im Hauptteil}
% \begin{macro}{\sectionmarkformat}
% \changes{v2.3a}{1995/07/08}{Leerraum nach der Kapitelnummer
% erhöht}
@@ -721,7 +722,16 @@
\newcommand*\chaptermarkformat{\chapappifchapterprefix{\ }%
\thechapter\autodot\enskip}
\newcounter{section}[chapter]
-\renewcommand*\thesection{\thechapter.\@arabic\c@section}
+\renewcommand*\thesection{%
+%<*book>
+ \ifnum \scr@compatibility>\@nameuse{scr@v@2.97d}\relax
+ \if@mainmatter\thechapter.\fi
+ \else
+%</book>
+ \thechapter.%
+%<book> \fi
+ \@arabic\c@section
+}
\newcommand*\sectionmarkformat{\thesection\autodot\enskip}
%</book|report>
%<*article>