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.dtx24
1 files changed, 14 insertions, 10 deletions
diff --git a/macros/latex/contrib/koma-script/source/scrkernel-sections.dtx b/macros/latex/contrib/koma-script/source/scrkernel-sections.dtx
index 61fb004f67..35ffefe9de 100644
--- a/macros/latex/contrib/koma-script/source/scrkernel-sections.dtx
+++ b/macros/latex/contrib/koma-script/source/scrkernel-sections.dtx
@@ -54,7 +54,7 @@
% Right brace \} Tilde \~}
%
% \iffalse
-%%% From File: $Id: scrkernel-sections.dtx 3594 2021-04-30 08:45:15Z kohm $
+%%% From File: $Id: scrkernel-sections.dtx 3621 2021-10-15 10:20:41Z kohm $
% The runs of run-time file generation:
%<preidentify>%%% (run: preidentify)
% - everything that is needed before selfidentification of resulting files
@@ -77,9 +77,9 @@
\ifx\ProvidesFile\undefined\def\ProvidesFile#1[#2]{}\fi
\begingroup
\def\filedate$#1: #2-#3-#4 #5${\gdef\filedate{#2/#3/#4}}
- \filedate$Date: 2021-04-30 10:45:15 +0200 (Fri, 30 Apr 2021) $
+ \filedate$Date: 2021-10-15 12:20:41 +0200 (Fri, 15 Oct 2021) $
\def\filerevision$#1: #2 ${\gdef\filerevision{r#2}}
- \filerevision$Revision: 3594 $
+ \filerevision$Revision: 3621 $
\edef\reserved@a{%
\noexpand\endgroup
\noexpand\ProvidesFile{scrkernel-sections.dtx}%
@@ -851,21 +851,23 @@
% \end{macro}%^^A \scr@doonlyifstyleofargis
% \end{macro}%^^A \At@startsection
% \begin{macro}{\Before@ssect}
-% \changes{v3.14}{2014/09/11}{Neue Anweisung für Paketautoren}%^^A
-% \changes{v3.27}{2019/02/04}{Umgestellt auf \cs{AddtoDoHook}}%^^A
-% \changes{v3.27}{2019/02/04}{deprecated}%^^A
+% \changes{v3.14}{2014/09/11}{Neue Anweisung für Paketautoren}
+% \changes{v3.27}{2019/02/04}{Umgestellt auf \cs{AddtoDoHook}}
+% \changes{v3.27}{2019/02/04}{deprecated}
+% \changes{v3.35}{2021/10/15}{\cs{ClassWarning} instead of \cs{ClassInfo}}
+% \changes{v3.35}{2021/10/15}{Usage of \cs{scr@doonlyifstyleofargis} fixed}
% Mit Hilfe dieser Anweisung kann Code in die Ausführung von \KOMAScript's
% eigenem \cs{scr@startsection} unmittelbar vor dem Aufruf von \cs{@ssect}
% eingefügt werden.
% \begin{macrocode}
\newcommand*{\Before@ssect}[1]{%
- \ClassInfo{\KOMAClassName}{%
+ \ClassWarning{\KOMAClassName}{%
Usage of deprecated command `\string\Before@ssect'
mapped to\MessageBreak
`\string\AddtoDoHook{heading/branch/star}%
{...\string\@gobble}'%
}%
- \AddtoDoHook{heading/branch/star}{\scr@onlyifstyleofargis{#1}{section}}%
+ \AddtoDoHook{heading/branch/star}{\scr@doonlyifstyleofargis{#1}{section}}%
}
% \end{macrocode}
% \end{macro}%^^A \Before@ssect
@@ -876,15 +878,17 @@
% Mit Hilfe dieser Anweisung kann Code in die Ausführung von \KOMAScript's
% eigenem \cs{scr@startsection} unmittelbar vor dem Aufruf von \cs{@sect}
% eingefügt werden.
+% \changes{v3.35}{2021/10/15}{\cs{ClassWarning} instead of \cs{ClassInfo}}
+% \changes{v3.35}{2021/10/15}{Usage of \cs{scr@doonlyifstyleofargis} fixed}
% \begin{macrocode}
\newcommand*{\Before@sect}[1]{%
- \ClassInfo{\KOMAClassName}{%
+ \ClassWarning{\KOMAClassName}{%
Usage of deprecated command `\string\Before@sect'
mapped to\MessageBreak
`\string\AddtoDoHook{heading/branch/nostar}%
{...\string\@gobble}'%
}%
- \AddtoDoHook{heading/branch/nostar}{\scr@onlyifstyleofargis{#1}{section}}%
+ \AddtoDoHook{heading/branch/nostar}{\scr@doonlyifstyleofargis{#1}{section}}%
}
% \end{macrocode}
% \end{macro}%^^A \Before@sect