summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/koma-script/source/scrkernel-sections.dtx
diff options
context:
space:
mode:
Diffstat (limited to 'macros/latex/contrib/koma-script/source/scrkernel-sections.dtx')
-rw-r--r--macros/latex/contrib/koma-script/source/scrkernel-sections.dtx187
1 files changed, 119 insertions, 68 deletions
diff --git a/macros/latex/contrib/koma-script/source/scrkernel-sections.dtx b/macros/latex/contrib/koma-script/source/scrkernel-sections.dtx
index 3ad243bb9e..154a453927 100644
--- a/macros/latex/contrib/koma-script/source/scrkernel-sections.dtx
+++ b/macros/latex/contrib/koma-script/source/scrkernel-sections.dtx
@@ -1,4 +1,4 @@
-% \CheckSum{4824}
+% \CheckSum{4850}
% \iffalse meta-comment
% ======================================================================
% scrkernel-sections.dtx
@@ -55,7 +55,7 @@
% Right brace \} Tilde \~}
%
% \iffalse
-%%% From File: $Id: scrkernel-sections.dtx 3262 2019-10-10 08:25:29Z kohm $
+%%% From File: $Id: scrkernel-sections.dtx 3400 2019-11-21 10:36:26Z kohm $
% The runs of run-time file generation:
%<preidentify>%%% (run: preidentify)
% - everything that is needed before selfidentification of resulting files
@@ -78,9 +78,9 @@
\ifx\ProvidesFile\undefined\def\ProvidesFile#1[#2]{}\fi
\begingroup
\def\filedate$#1: #2-#3-#4 #5${\gdef\filedate{#2/#3/#4}}
- \filedate$Date: 2019-10-10 10:25:29 +0200 (Thu, 10 Oct 2019) $
+ \filedate$Date: 2019-11-21 11:36:26 +0100 (Thu, 21 Nov 2019) $
\def\filerevision$#1: #2 ${\gdef\filerevision{r#2}}
- \filerevision$Revision: 3262 $
+ \filerevision$Revision: 3400 $
\edef\reserved@a{%
\noexpand\endgroup
\noexpand\ProvidesFile{scrkernel-sections.dtx}%
@@ -343,14 +343,29 @@
%
% \begin{macro}{\ifnumbered}
% \changes{v3.12}{2013/12/16}{new command}%^^A
+% \changes{v3.28}{2019/11/19}{renamed to \cs{Ifnumbered}}%^^A
+% \begin{macro}{\Ifnumbered}
+% \changes{v3.28}{2019/11/19}{renamed from \cs{ifnumbered}}%^^A
% \begin{macro}{\ifunnumbered}
% \changes{v3.12}{2013/12/16}{new command}%^^A
+% \changes{v3.28}{2019/11/19}{renamed to \cs{Ifunnumbered}}%^^A
+% \begin{macro}{\Ifunnumbered}
+% \changes{v3.28}{2019/11/19}{renamed from \cs{ifunnumbered}}%^^A
% Test, ob eine Gliederungsebene (\texttt{\#1}) nummeriert wird. Falls das der
% Fall ist, wird das zweite Argument verwendet, sonst das dritte. Bei
% \cs{ifunnumbered} ist die Logik genau vertauscht.
% \begin{macrocode}
%<*body>
-\newcommand*{\ifnumbered}[1]{%
+\providecommand*{\ifnumbered}{%
+ \ClassWarning{\KOMAClassName}{Usage of deprecated command
+ `\string\ifnumbered'.\MessageBreak
+ The command has been renamed because of a\MessageBreak
+ recommendation of The LaTeX Project Team.\MessageBreak
+ Please replace `\string\ifnumbered' by `\string\Ifnumbered'%
+ }%
+ \Ifnumbered
+}
+\newcommand*{\Ifnumbered}[1]{%
\if@currentusenumber
\scr@ifundefinedorrelax{#1numdepth}{%
\expandafter\@secondoftwo
@@ -365,14 +380,25 @@
\expandafter\@secondoftwo
\fi
}
-\newcommand*{\ifunnumbered}[1]{%
- \ifnumbered{#1}{\@secondoftwo}{\@firstoftwo}%
+\providecommand*{\ifunnumbered}{%
+ \ClassWarning{\KOMAClassName}{Usage of deprecated command
+ `\string\ifunnumbered'.\MessageBreak
+ The command has been renamed because of a\MessageBreak
+ recommendation of The LaTeX Project Team.\MessageBreak
+ Please replace `\string\ifunnumbered' by `\string\Ifunnumbered'%
+ }%
+ \Ifunnumbered
+}
+\newcommand*{\Ifunnumbered}[1]{%
+ \Ifnumbered{#1}{\@secondoftwo}{\@firstoftwo}%
}
%</body>
%</class>
% \end{macrocode}
% \end{macro}
% \end{macro}
+% \end{macro}
+% \end{macro}
%
%
% \subsection{\KOMAScript-eigene Befehle zur Definition von
@@ -713,8 +739,8 @@
\KOMAClassName\space needs it's own definition of
`\string\@startsection'\MessageBreak
to provide extended features for the optional argument\MessageBreak
- of `\string\section` etc.\MessageBreak
- Generally it defines `\string\@startsection` completely new\MessageBreak
+ of `\string\section' etc.\MessageBreak
+ Generally it defines `\string\@startsection' completely new\MessageBreak
to achieve this. Because of the unexpected definition\MessageBreak
an alternative approach will be used.\MessageBreak
If this fails and if there isn't a new release of\MessageBreak
@@ -722,9 +748,9 @@
send a report to the KOMA-Script author.\MessageBreak
Note, that this alternative approach does not\MessageBreak
execute the elements of do-hooks:\MessageBreak
- \space\space- `heading/postinit`,\MessageBreak
- \space\space- `heading/branch/star`,\MessageBreak
- \space\space- `heading/branch/nostar`,\MessageBreak
+ \space\space- `heading/postinit',\MessageBreak
+ \space\space- `heading/branch/star',\MessageBreak
+ \space\space- `heading/branch/nostar',\MessageBreak
and does always use `runin=bysign' and\MessageBreak
`afterindent=bysign'%
}%
@@ -1657,6 +1683,7 @@
% \end{macro}%^^A \DeclareSectionCommandStyleFontOption
% \begin{macro}{\DeclareSectionCommandStyleFuzzyOption}
% \changes{v3.26}{2018/09/18}{neue Anweisung}%^^A
+% \changes{v3.28}{2019/11/18}{\cs{ifstr} umbenannt in \cs{Ifstr}}%^^A
% Definiert für die aktuelle Ebene \cs{scr@dsc@current} eine neue
% Fuzzy-Auswahl. Eine Fuzzy-Auswahl akzeptiert neben den Werten für
% boolsche-Schalter noch einen weiteren Wert. Es wird davon eine Anweisung
@@ -1676,7 +1703,7 @@
####1####2####3{####2}%
\fi
\else
- \ifstr{##1}{#5}{%
+ \Ifstr{##1}{#5}{%
\expandafter\def\csname #3\scr@dsc@current#4\endcsname
####1####2####3{####3}%
\FamilyKeyStateProcessed
@@ -2017,7 +2044,8 @@
% \begin{macro}{\scr@dsc@style@chapter@neededoptionstest}
% \changes{v3.17}{2015/03/24}{Neu (intern)}%^^A
% \changes{v3.24}{2017/04/25}{Voreinstellungen für alle außer auf Ebene
-% \texttt{chapter}}%^^A
+% \texttt{chapter}}%^^A
+% \changes{v3.28}{2019/11/18}{\cs{ifstr} umbenannt in \cs{Ifstr}}%^^A
% Dieses Anweisung überprüft, ob alle notwendigen Eigenschaften für die
% Definition der spezifischen Gliederungsebene im chapter-Stil bekannt
% sind. Sollte das nicht der Fall sein, meldet sie einen Fehler und sorgt sie
@@ -2026,7 +2054,7 @@
%<*book|report>
\newcommand*{\scr@dsc@style@chapter@neededoptionstest}{%
\scr@ifundefinedorrelax{\scr@dsc@current pagestyle}{%
- \ifstr{\scr@dsc@current}{chapter}{%
+ \Ifstr{\scr@dsc@current}{chapter}{%
\scr@declaresectioncommanderror{\scr@dsc@current}%
{initial page style}{pagestyle}%
}{%
@@ -2037,7 +2065,7 @@
}%
}{}%
\scr@ifundefinedorrelax{scr@\scr@dsc@current @innerskip}{%
- \ifstr{\scr@dsc@current}{chapter}{%
+ \Ifstr{\scr@dsc@current}{chapter}{%
\scr@declaresectioncommanderror{\scr@dsc@current}%
{inner chapter skip}{innerskip}%
}{%
@@ -2048,7 +2076,7 @@
}%
}{}%
\scr@ifundefinedorrelax{scr@\scr@dsc@current @beforeskip}{%
- \ifstr{\scr@dsc@current}{chapter}{%
+ \Ifstr{\scr@dsc@current}{chapter}{%
\scr@declaresectioncommanderror{\scr@dsc@current}%
{before chapter skip}{beforeskip}%
}{%
@@ -2059,7 +2087,7 @@
}%
}{}%
\scr@ifundefinedorrelax{scr@\scr@dsc@current @afterskip}{%
- \ifstr{\scr@dsc@current}{chapter}{%
+ \Ifstr{\scr@dsc@current}{chapter}{%
\scr@declaresectioncommanderror{\scr@dsc@current}%
{after chaper skip}{afterskip}%
}{%
@@ -2070,7 +2098,7 @@
}%
}{}%
\IfExistskomafont{\scr@dsc@current}{}{%
- \ifstr{\scr@dsc@current}{chapter}{%
+ \Ifstr{\scr@dsc@current}{chapter}{%
\scr@declaresectioncommanderror{\scr@dsc@current}{font}{font}%
}{%
\scr@declaresectioncommandwarning{\scr@dsc@current}%
@@ -2080,7 +2108,7 @@
}%
}%
\IfExistskomafont{\scr@dsc@current prefix}{}{%
- \ifstr{\scr@dsc@current}{chapter}{%
+ \Ifstr{\scr@dsc@current}{chapter}{%
\scr@declaresectioncommanderror{\scr@dsc@current}%
{prefix line font}{prefixfont}%
}{%
@@ -2107,7 +2135,8 @@
% \begin{macro}{\scr@dsc@style@part@neededoptionstest}
% \changes{v3.17}{2015/03/24}{Neu (intern)}
% \changes{v3.24}{2017/04/25}{Voreinstellungen für alle außer auf Ebene
-% \texttt{part}}%^^A
+% \texttt{part}}%^^A
+% \changes{v3.28}{2019/11/18}{\cs{ifstr} umbenannt in \cs{Ifstr}}%^^A
% Dieses Anweisung überprüft, ob alle notwendigen Eigenschaften für die
% Definition der spezifischen Gliederungsebene im part-Stil bekannt
% sind. Sollte das nicht der Fall sein, meldet sie einen Fehler und sorgt sie
@@ -2116,7 +2145,7 @@
\newcommand*{\scr@dsc@style@part@neededoptionstest}{%
%<*book|report>
\scr@ifundefinedorrelax{\scr@dsc@current pagestyle}{%
- \ifstr{\scr@dsc@current}{part}{%
+ \Ifstr{\scr@dsc@current}{part}{%
\scr@declaresectioncommanderror{\scr@dsc@current}%
{initial page style}{pagestyle}%
}{%
@@ -2127,7 +2156,7 @@
}%
}{}%
\scr@ifundefinedorrelax{scr@\scr@dsc@current @innerskip}{%
- \ifstr{\scr@dsc@current}{part}{%
+ \Ifstr{\scr@dsc@current}{part}{%
\scr@declaresectioncommanderror{\scr@dsc@current}%
{inner part skip}{innerskip}%
}{%
@@ -2139,7 +2168,7 @@
}{}%
%</book|report>
\scr@ifundefinedorrelax{scr@\scr@dsc@current @beforeskip}{%
- \ifstr{\scr@dsc@current}{part}{%
+ \Ifstr{\scr@dsc@current}{part}{%
\scr@declaresectioncommanderror{\scr@dsc@current}%
{before part skip}{beforeskip}%
}{%
@@ -2150,7 +2179,7 @@
}%
}{}%
\scr@ifundefinedorrelax{scr@\scr@dsc@current @afterskip}{%
- \ifstr{\scr@dsc@current}{part}{%
+ \Ifstr{\scr@dsc@current}{part}{%
\scr@declaresectioncommanderror{\scr@dsc@current}%
{after part skip}{afterskip}%
}{%
@@ -2161,7 +2190,7 @@
}%
}{}%
\IfExistskomafont{\scr@dsc@current}{}{%
- \ifstr{\scr@dsc@current}{part}{%
+ \Ifstr{\scr@dsc@current}{part}{%
\scr@declaresectioncommanderror{\scr@dsc@current}{font}{font}%
}{%
\scr@declaresectioncommandwarning{\scr@dsc@current}{font}{font}%
@@ -2170,7 +2199,7 @@
}%
}{}%
\IfExistskomafont{\scr@dsc@current prefix}{}{%
- \ifstr{\scr@dsc@current}{part}{%
+ \Ifstr{\scr@dsc@current}{part}{%
\scr@declaresectioncommanderror{\scr@dsc@current}%
{number font}{prefixfont}%
}{%
@@ -2772,14 +2801,14 @@
\DeclareSectionCommand[{#1}]{#2}%
\else
\ClassError{\KOMAClassName}{%
- command `\reserved@b` already defined%
+ command `\reserved@b' already defined%
}{%
You've tried to define the section command `\expandafter\string\csname
- #2\endcsname` newly.\MessageBreak
+ #2\endcsname' newly.\MessageBreak
Such a section command needs an additional new command
- `\reserved@b`,\MessageBreak
+ `\reserved@b',\MessageBreak
but this already exists. So you cannot define
- `\expandafter\string\csname #2\endcsname` newly.\MessageBreak
+ `\expandafter\string\csname #2\endcsname' newly.\MessageBreak
Maybe you should use one of \string\DeclareSectionCommand,
\string\RedeclareSectionCommand,\MessageBreak
or \string\ProvideSectionCommand.\MessageBreak
@@ -2788,10 +2817,10 @@
\fi
}{%
\ClassError{\KOMAClassName}{%
- command `\expandafter\string\csname #2\endcsname` already defined%
+ command `\expandafter\string\csname #2\endcsname' already defined%
}{%
You've tried to define the section command `\expandafter\string\csname
- #2\endcsname` newly,\MessageBreak
+ #2\endcsname' newly,\MessageBreak
but a command or something else with this name already
exists.\MessageBreak
Maybe you should use one of \string\DeclareSectionCommand,
@@ -2813,10 +2842,10 @@
\newcommand*{\RedeclareSectionCommand}[2][]{%
\@ifundefined{#2}{%
\ClassError{\KOMAClassName}{%
- command `\expandafter\string\csname #2\endcsname` not defined%
+ command `\expandafter\string\csname #2\endcsname' not defined%
}{%
You've tried to re-define the section command `\expandafter\string\csname
- #2\endcsname`,\MessageBreak
+ #2\endcsname',\MessageBreak
but a command with this name does not exists.\MessageBreak
Maybe you should use one of \string\DeclareSectionCommand,
\string\DeclareNewSectionCommand,\MessageBreak
@@ -2894,11 +2923,11 @@
\scr@trim@spaces\reserved@a
\@ifundefined{\reserved@a}{}{%
\ClassError{\KOMAClassName}{%
- command `\expandafter\string\csname\reserved@a\endcsname` already
+ command `\expandafter\string\csname\reserved@a\endcsname' already
defined%
}{%
You've tried to define the section command
- `\expandafter\string\csname\reserved@a\endcsname` newly,\MessageBreak
+ `\expandafter\string\csname\reserved@a\endcsname' newly,\MessageBreak
but a command, token, box or length with this name already
exists.\MessageBreak
Maybe you should use one of \string\DeclareSectionCommand,
@@ -2937,10 +2966,10 @@
\scr@trim@spaces\reserved@a
\@ifundefined{\reserved@a}{%
\ClassError{\KOMAClassName}{%
- command `\expandafter\string\csname\reserved@a\endcsname` not defined%
+ command `\expandafter\string\csname\reserved@a\endcsname' not defined%
}{%
You've tried to re-define the section command
- `\expandafter\string\csname\reserved@a\endcsname`,\MessageBreak
+ `\expandafter\string\csname\reserved@a\endcsname',\MessageBreak
but a command with this name does not exists.\MessageBreak
Maybe you should use one of \string\DeclareSectionCommand,
\string\DeclareNewSectionCommand,\MessageBreak
@@ -3047,7 +3076,7 @@
unknown section command style `#2'%
}{}%
}%
- \ifstr{\@nameuse{scr@#1@style}}{#2}%
+ \Ifstr{\@nameuse{scr@#1@style}}{#2}%
}
%</body>
% \end{macrocode}
@@ -3091,22 +3120,23 @@
}%
}{%
% \end{macrocode}
+% \changes{v3.28}{2019/11/18}{\cs{ifstr} umbenannt in \cs{Ifstr}}%^^A
% Note: \texttt{hpdftex}, \texttt{hluatex}, \texttt{hxetex} and \texttt{hvtex}
% do not need to be translated, because they are autodetected by
% \textsf{bookmark} as well. \texttt{hypertex}, \texttt{hdviwindo},
% \texttt{htex4ht} and \texttt{latex2html} are not known by \textsf{bookmark},
% so we stay with the default (usually \texttt{dvips}).
% \begin{macrocode}
- \ifstr{\Hy@driver}{hdvips}{%
+ \Ifstr{\Hy@driver}{hdvips}{%
\providecommand*{\BookmarkDriverDefault}{dvips}%
}{%
- \ifstr{\Hy@driver}{hdvipdfm}{%
+ \Ifstr{\Hy@driver}{hdvipdfm}{%
\providecommand*{\BookmarkDriverDefault}{dvipdfm}%
}{%
- \ifstr{\Hy@driver}{hdvipson}{%
+ \Ifstr{\Hy@driver}{hdvipson}{%
\providecommand*{\BookmarkDriverDefault}{dvipsone}%
}{%
- \ifstr{\Hy@driver}{htexture}{%
+ \Ifstr{\Hy@driver}{htexture}{%
\providecommand*{\BookmarkDriverDefault}{textures}%
}{%
}%
@@ -3527,6 +3557,7 @@
% \changes{v2.95}{2006/07/04}{Ausführung von \cs{appendixmore}%^^A
% vereinfacht}%^^A
% \changes{v3.20}{2016/12/05}{neue eindeutige Warnung}
+% \changes{v3.28}{2019/11/18}{\cs{ifstr} umbenannt in \cs{Ifstr}}%^^A
% \begin{macro}{\appendixmore}
% \cs{appendixmore} kann als \emph{hook} verwendet werden. Derzeit wird dieser
% allerdings noch recht stiefmütterlich behandelt und lediglich von Option
@@ -3535,7 +3566,7 @@
%<*class>
%<*body>
\newcommand*\appendix{%
- \ifstr{\@currenvir}{appendix}{%
+ \Ifstr{\@currenvir}{appendix}{%
\ClassWarning{\KOMAClassName}{%
You are using
`\string\begin{appendix}...\string\end{appendix}'.\MessageBreak
@@ -3706,6 +3737,7 @@
% \changes{v3.19}{2015/08/25}{Seitenstil nur ändern wenn definiert und nicht
% leer}%^^A
% \changes{v3.26}{2018/10/14}{Option \texttt{afterindent} wird beachtet}%^^A
+% \changes{v3.28}{2019/11/18}{\cs{ifstr} umbenannt in \cs{Ifstr}}%^^A
% Die Anweisung definiert den Gliederungsüberschriften-Stil
% \texttt{part}. Dazu bekommt sie als einziges explizites Argument den
% \meta{Namen} der Gliederungsüberschrift. Weitere Argumente wie ein
@@ -3721,7 +3753,7 @@
%<*book|report>
\if@openright\cleardoublepage\else\clearpage\fi
\scr@ifundefinedorrelax{#1pagestyle}{}{%
- \ifstr{#1pagestyle}{}{}{%
+ \Ifstr{#1pagestyle}{}{}{%
\thispagestyle{\@nameuse{#1pagestyle}}%
}%
}%
@@ -3805,9 +3837,11 @@
% \changes{v2.8e}{2001/07/10}{\cs{@maybeautodot} wird aufgerufen}%^^A
% \changes{v3.08}{2010/11/01}{Verwendung von \cs{addparttocentry}}%^^A
% \changes{v3.18}{2015/05/20}{Verwendung von \cs{add\meta{Name}tocentry} in
-% \cs{typeout}}%^^A
+% \cs{typeout}}%^^A
+% \changes{v3.28}{2019/11/19}{\cs{ifnumbered} umbenannt in
+% \cs{Ifnumbered}}%^^A
% \begin{macrocode}
- \ifnumbered{#1}{%
+ \Ifnumbered{#1}{%
\refstepcounter{#1}%
\@maybeautodot\thepart%
\expandafter\@maybeautodot\csname the#1\endcsname
@@ -3871,9 +3905,11 @@
% \changes{v3.25}{2017/09/07}{Umstellung auf
% \cs{partlineswithprefixformat}}%^^A
% \changes{v3.25}{2018/02/12}{Verwendung des korrekten Font-Elements}%^^A
+% \changes{v3.28}{2019/11/19}{\cs{ifnumbered} umbenannt in
+% \cs{Ifnumbered}}%^^A
% \begin{macrocode}
\begingroup
- \def\IfUseNumber{\ifnumbered{#1}}%
+ \def\IfUseNumber{\Ifnumbered{#1}}%
\ExecuteDoHook{heading/begingroup/#1}%
\setparsizes{\z@}{\z@}{\z@\@plus 1fil}\par@updaterelative
\raggedpart
@@ -4569,7 +4605,7 @@
\ExecuteDoHook{heading/preinit/#1}%
\if@openright\cleardoublepage\else\clearpage\fi
\scr@ifundefinedorrelax{#1pagestyle}{}{%
- \ifstr{#1pagestyle}{}{}{%
+ \Ifstr{#1pagestyle}{}{}{%
\thispagestyle{\@nameuse{#1pagestyle}}%
}%
}%
@@ -4633,9 +4669,11 @@
% \changes{v3.08}{2010/11/01}{Verwendung von \cs{addchaptertocentry}}%^^A
% \changes{v3.18}{2015/05/20}{Verwendung von \cs{add\meta{Name}tocentry}}%^^A
% \changes{v3.18}{2015/05/22}{Verwendung von \meta{Name} statt \cs{@chapapp}
-% in \cs{typeout}}%^^A
+% in \cs{typeout}}%^^A
+% \changes{v3.28}{2019/11/19}{\cs{ifnumbered} umbenannt in
+% \cs{Ifnumbered}}%^^A
% \begin{macrocode}
- \ifnumbered{#1}{%
+ \Ifnumbered{#1}{%
%<book> \if@mainmatter
\@tempswatrue
%<book> \else\@tempswafalse\fi
@@ -4684,14 +4722,16 @@
% \end{macrocode}
% Und die Abstände in die andere Verzeichnisse.
% \changes{v2.8g}{2001/07/18}{per \cs{float@addtolists} wird nun
-% auch ein vertikaler Abstand in Listen des \texttt{float}-Pakets
-% eingebaut}%^^A
+% auch ein vertikaler Abstand in Listen des \texttt{float}-Pakets
+% eingebaut}%^^A
% \changes{v3.00}{2008/07/01}{jetzt auch Kapiteleinträge in andere
-% float-Verzeichnisse mit hyperref}%^^A
+% float-Verzeichnisse mit hyperref}%^^A
+% \changes{v3.28}{2019/11/19}{\cs{iftocfeature} replaced by
+% \cs{Iftocfeature}}%^^A
% \begin{macrocode}
\ifdim \@chapterlistsgap>\z@
\doforeachtocfile{%
- \iftocfeature{\@currext}{chapteratlist}{%
+ \Iftocfeature{\@currext}{chapteratlist}{%
\addtocontents{\@currext}{\protect\addvspace{\@chapterlistsgap}}%
}{}%
}%
@@ -4885,6 +4925,8 @@
% \changes{v3.19a}{2015/10/03}{Bug durch vergessene Definition von
% \cs{IfUseNumber} behoben}%^^A
% \changes{v3.27}{2019/02/02}{\cs{ExecuteDoHook} eingefügt}%^^A
+% \changes{v3.28}{2019/11/19}{\cs{ifnumbered} umbenannt in
+% \cs{Ifnumbered}}%^^A
% Ab Version~3.19 wurde der Code weitgehend umgebaut, um die Befehle
% \cs{chapterlinesformat} für die hängende Version und
% \cs{chapterlinesandprefixformat} für die Version mit Präfixzeile zu
@@ -4893,7 +4935,7 @@
% bezüglich der Kapitelüberschriften nicht mehr funktionieren. Dafür kann man
% diese Hacks nun durch saubere Lösungen ersetzen.
% \begin{macrocode}
- \def\IfUseNumber{\ifnumbered{#1}}%
+ \def\IfUseNumber{\Ifnumbered{#1}}%
%<book> \if@mainmatter\else\let\IfUseNumber\@secondoftwo\fi
\ExecuteDoHook{heading/begingroup/#1}%
\if@chapterprefix
@@ -5113,6 +5155,8 @@
% \changes{v3.08}{2010/11/01}{Neu}%^^A
% \changes{v3.12}{2013/09/24}{Behandlung von \cs{if@chaptertolists} hier}%^^A
% \changes{v3.12}{2013/09/24}{Verwendung von \cs{addxcontentsline}}%^^A
+% \changes{v3.28}{2019/11/19}{\cs{iftocfeature} replaced by
+% \cs{Iftocfeature}}%^^A
% Seit Version~3.08 wird der Eintrag nicht direkt innerhalb von \cs{chapter}
% per \cs{addcontentsline} erzeugt, sondern indirekt über diese Anweisung. Das
% erste Argument ist dabei die (formatierte) Nummer bzw. bei nicht
@@ -5125,7 +5169,7 @@
\addtocentrydefault{chapter}{#1}{#2}%
\if@chaptertolists
\doforeachtocfile{%
- \iftocfeature{\@currext}{chapteratlist}{%
+ \Iftocfeature{\@currext}{chapteratlist}{%
\addxcontentsline{\@currext}{chapteratlist}[{#1}]{#2}%
}{}%
}%
@@ -5289,17 +5333,20 @@
% ergänzt}%^^A
% \changes{v2.7f}{2001/04/17}{fehlendes Klammerpaar ergänzt}%^^A
% \changes{v2.8q}{2001/11/17}{\cs{AfterPackage} zur Überprüfung der
-% \textsf{hyperref}-Version verwendet}
+% \textsf{hyperref}-Version verwendet}%^^A
+% \changes{v3.27a}{2019/11/11}{Meldung korrigiert}%^^A
% \begin{macrocode}
%<*book>
\AfterPackage{hyperref}{%
\@ifpackagelater{hyperref}{2001/02/19}{}{%
\ClassWarningNoLine{\KOMAClassName}{%
- You are using an old version of hyperref package!\MessageBreak%
- This version has a buggy hack at many drivers\MessageBreak%
- causing \string\addchap\space to behave strange.\MessageBreak%
- Please update hyperref to at least version
- 6.71b}}}
+ You are using an old version of the hyperref package!\MessageBreak%
+ This version has a buggy hack in many drivers,\MessageBreak%
+ causing \string\addchap\space to behave strangely.\MessageBreak%
+ Please update hyperref to at least version 6.71b%
+ }%
+ }%
+}
%</book>
%</body>
% \end{macrocode}
@@ -5566,10 +5613,12 @@
%
% \begin{KOMAfont}{chapterentrydots}
% \changes{v3.15}{2014/12/10}{neues Font-Element}%^^A
+% \changes{v3.27}{2019/10/28}{überflüssiges \cs{normalfont} entfernt}%^^A
% Schrift für die optionalen Pünktchen des \cs{chapter}-Eintrags im
-% Inhaltsverzeichnis abweichend von \texttt{chapterentrypagenumber}.
+% Inhaltsverzeichnis abweichend von \texttt{chapterentry} und
+% \cs{normalfont}\cs{normalsize}.
% \begin{macrocode}
-\newkomafont{chapterentrydots}{\normalfont}
+\newkomafont{chapterentrydots}{}
%</body>
%</book|report>
%</class>
@@ -6010,10 +6059,12 @@
%
% \begin{KOMAfont}{sectionentrydots}
% \changes{v3.15}{2014/12/10}{neues Font-Element}%^^A
+% \changes{v3.27}{2019/10/28}{überflüssiges \cs{normalfont} entfernt}%^^A
% Schrift für die optionalen Pünktchen des \cs{section}-Eintrags im
-% Inhaltsverzeichnis abweichend von \texttt{sectionentrypagenumber}.
+% Inhaltsverzeichnis abweichend von \texttt{sectionentry} und
+% \cs{normalfont}\cs{normalsize}.
% \begin{macrocode}
-\newkomafont{sectionentrydots}{\normalfont}
+\newkomafont{sectionentrydots}{}
%</article>
% \end{macrocode}
% \end{KOMAfont}