diff options
author | Norbert Preining <norbert@preining.info> | 2021-02-16 03:01:00 +0000 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2021-02-16 03:01:00 +0000 |
commit | 6893799c8c61ef6b96a867686642fc0d813adab1 (patch) | |
tree | 52b02c7dadffbded19a10c564d430eb4406100cd /macros/latex/contrib/changes/changes.dtx | |
parent | 8fb1cfd3d240ef62d78c2320bd90f8f07b7916fa (diff) |
CTAN sync 202102160300
Diffstat (limited to 'macros/latex/contrib/changes/changes.dtx')
-rw-r--r-- | macros/latex/contrib/changes/changes.dtx | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/macros/latex/contrib/changes/changes.dtx b/macros/latex/contrib/changes/changes.dtx index 8206f28c5e..c5f18a6d61 100644 --- a/macros/latex/contrib/changes/changes.dtx +++ b/macros/latex/contrib/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}}% }% |