summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/source/latex')
-rw-r--r--Master/texmf-dist/source/latex/changes/changes.drv4
-rw-r--r--Master/texmf-dist/source/latex/changes/changes.dtx13
-rw-r--r--Master/texmf-dist/source/latex/changes/changes.ins2
3 files changed, 13 insertions, 6 deletions
diff --git a/Master/texmf-dist/source/latex/changes/changes.drv b/Master/texmf-dist/source/latex/changes/changes.drv
index dc9bc65432a..22ee08eb908 100644
--- a/Master/texmf-dist/source/latex/changes/changes.drv
+++ b/Master/texmf-dist/source/latex/changes/changes.drv
@@ -259,11 +259,11 @@
% document title
\ifENGLISH
\title{The \docpackage{changes}-package}
- \subtitle{Manual change markup --- version 4.0.0}
+ \subtitle{Manual change markup --- version 4.0.1}
\fi
\ifGERMAN
\title{Das \docpackage{changes}-Paket}
- \subtitle{Manuelle Änderungsmarkierung -- Version 4.0.0}
+ \subtitle{Manuelle Änderungsmarkierung -- Version 4.0.1}
\fi
\author{Ekkart Kleinod}
diff --git a/Master/texmf-dist/source/latex/changes/changes.dtx b/Master/texmf-dist/source/latex/changes/changes.dtx
index 8206f28c5ef..c5f18a6d61e 100644
--- a/Master/texmf-dist/source/latex/changes/changes.dtx
+++ b/Master/texmf-dist/source/latex/changes/changes.dtx
@@ -1,4 +1,4 @@
-% \CheckSum{1258}
+% \CheckSum{1262}
%
% \iffalse meta-comment
%
@@ -63,6 +63,7 @@
% \changes{v3.2.1}{2019/11/17}{removed obsolete package pdfcolmk}
% \changes{v3.2.2}{2020/06/16}{Merge changes script (pyMergeChanges): Correctly handle multiple different macros in the same line}
% \changes{v4.0.0}{2021/01/28}{new: convenience macros, setlocextension, option commandnameprefix, defaultcolor; removed: xifthen, remark}
+% \changes{v4.0.1}{2021/02/14}{bugfix: Command do undefined}
% \GetFileInfo{changes.dtx}
% \RecordChanges
%
@@ -103,8 +104,8 @@
% \begin{macrocode}
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{changes}
-[2021/01/28 v4.0.0 changes package]
-\typeout{*** changes package 2021/01/28 v4.0.0 ***}
+[2021/02/14 v4.0.1 changes package]
+\typeout{*** changes package 2021/02/14 v4.0.1 ***}
% \end{macrocode}
%
% Package \docpackage{xkeyval} provides options with key-value-pairs.
@@ -153,7 +154,10 @@
% to work if \#2 is a macro, so I used the code below.
%
% Thanks to Ulrike Fischer for the fix of the macro call of \doccommand{dopsvlist} with \doccommand{expandafter}.
+%
+% To make sure \doccommand{do} can be renewed, we define it first, some macros, such as \doccommand{chapter} undefine it.
% \begin{macrocode}
+ \def\do{}%
\renewcommand*{\do}[1]{%
\listadd{\Changes@tmplist}{##1}%
}%
@@ -1699,8 +1703,11 @@
}\\%
% \end{macrocode}
% Compute the relevant sum of changes in order to print "no changes" correctly.
+%
+% To make sure \doccommand{do} can be renewed, we define it first, some macros, such as \doccommand{chapter} undefine it.
% \begin{macrocode}
\numdef{\Changes@InSum}{0}%
+ \def\do{}%
\renewcommand*{\do}[1]{%
\numdef{\Changes@InSum}{\Changes@InSum + \csuse{Changes@In########1}}%
}%
diff --git a/Master/texmf-dist/source/latex/changes/changes.ins b/Master/texmf-dist/source/latex/changes/changes.ins
index f29e4e4417c..489d804e35b 100644
--- a/Master/texmf-dist/source/latex/changes/changes.ins
+++ b/Master/texmf-dist/source/latex/changes/changes.ins
@@ -1,6 +1,6 @@
%% This file creates the needed files from changes.dtx
%%
-\def\filedate{2021/01/28}
+\def\filedate{2021/02/14}
\def\batchfile{changes.ins}
\input docstrip