summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/koma-script/scrkernel-miscellaneous.dtx
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/source/latex/koma-script/scrkernel-miscellaneous.dtx')
-rw-r--r--Master/texmf-dist/source/latex/koma-script/scrkernel-miscellaneous.dtx22
1 files changed, 14 insertions, 8 deletions
diff --git a/Master/texmf-dist/source/latex/koma-script/scrkernel-miscellaneous.dtx b/Master/texmf-dist/source/latex/koma-script/scrkernel-miscellaneous.dtx
index aeac05df999..54bde0d193a 100644
--- a/Master/texmf-dist/source/latex/koma-script/scrkernel-miscellaneous.dtx
+++ b/Master/texmf-dist/source/latex/koma-script/scrkernel-miscellaneous.dtx
@@ -16,9 +16,9 @@
%
% The Current Maintainer and author of this work is Markus Kohm.
%
-% This work consists of all files listed in manifest.txt.
+% This work consists of all files listed in MANIFEST.md.
% ======================================================================
-%%% From File: $Id: scrkernel-miscellaneous.dtx 3743 2022-03-04 16:27:15Z kohm $
+%%% From File: $Id: scrkernel-miscellaneous.dtx 3874 2022-06-05 10:38:02Z kohm $
%<init>%%% (run: init)
%<option>%%% (run: option)
%<execoption>%%% (run: execoption)
@@ -27,9 +27,9 @@
\ifx\ProvidesFile\undefined\def\ProvidesFile#1[#2]{}\fi
\begingroup
\def\filedate$#1: #2-#3-#4 #5${\gdef\filedate{#2/#3/#4}}
- \filedate$Date: 2022-03-04 17:27:15 +0100 (Fr, 04. Mär 2022) $
+ \filedate$Date: 2022-06-05 12:38:02 +0200 (So, 05. Jun 2022) $
\def\filerevision$#1: #2 ${\gdef\filerevision{r#2}}
- \filerevision$Revision: 3743 $
+ \filerevision$Revision: 3874 $
\edef\reserved@a{%
\noexpand\endgroup
\noexpand\ProvidesFile{scrkernel-miscellaneous.dtx}%
@@ -267,6 +267,9 @@
% \end{macrocode}
% \end{option}
%
+% \begin{counter}{equation}
+% \changes{v3.37}{2022/08/24}{accidentally removed \cs{@addtoreset} added
+% again}
% \begin{command}{\theequation}
% \changes{v2.97e}{2007/11/23}{chapter numbers only in main matter}
% \changes{v3.27}{2022/03/01}{\cs{relax} replaced by percent because of
@@ -276,15 +279,16 @@
% on the chapter number. But for \cls*{scrbook} it also depends on the active
% matter.
% \begin{description}
-% \item[ToDo:] With \cs{counterwidth} the \cls*{scrreprt} code could be very
-% simple. But currently we still support old \LaTeX{} kernels without
-% \cs{counterwithin}.
+% \item[ToDo:] With \cs{counterwidth} instead of \cs{@addtoreset} the
+% \cls*{scrreprt} code could be very simple. But currently we still support
+% old \LaTeX{} kernels without \cs{counterwithin}.
% \item[ToDo:] Should we also add a definition for \cls*{scrartcl} as done for
% \cls*{article}, though the same definition is already the default of the
% \LaTeX{} kernel?
% \end{description}
% \begin{macrocode}
%<*(book|report)&body>
+\@addtoreset{equation}{chapter}
\renewcommand*{\theequation}{%
%<*book>
\expandafter\ifnum\scr@v@is@gt{2.97d}%
@@ -295,9 +299,11 @@
%<book> \fi
\@arabic\c@equation
}
+
%</(book|report)&body>
% \end{macrocode}
-% \end{command}
+% \end{command}^^A \theequation
+% \end{counter}^^A equation
%
% \section{Implementation of Special Handling of Sans-Serif Defaults}
%