summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/changes/changes.dtx
diff options
context:
space:
mode:
Diffstat (limited to 'macros/latex/contrib/changes/changes.dtx')
-rw-r--r--macros/latex/contrib/changes/changes.dtx15
1 files changed, 10 insertions, 5 deletions
diff --git a/macros/latex/contrib/changes/changes.dtx b/macros/latex/contrib/changes/changes.dtx
index f2388c9b4a..fb9131f908 100644
--- a/macros/latex/contrib/changes/changes.dtx
+++ b/macros/latex/contrib/changes/changes.dtx
@@ -1,4 +1,4 @@
-% \CheckSum{1357}
+% \CheckSum{1361}
%
% \iffalse meta-comment
%
@@ -69,6 +69,7 @@
% \changes{v4.0.4}{2021/05/13}{bugfix: added missing regression.dtx to ctan archive; no code change}
% \changes{v4.1.0}{2021/05/30}{clickable list of changes}
% \changes{v4.2.0}{2021/07/07}{new macro for setting anonymous name; french translations}
+% \changes{v4.2.1}{2021/07/15}{bugfix: missing babel package produces error}
% \GetFileInfo{changes.dtx}
% \RecordChanges
%
@@ -108,8 +109,8 @@
% Type some information to the console.
% \begin{macrocode}
\NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{changes}[2021/07/07 v4.2.0 changes package]
-\typeout{*** changes package 2021/07/07 v4.2.0 ***}
+\ProvidesPackage{changes}[2021/07/15 v4.2.1 changes package]
+\typeout{*** changes package 2021/07/15 v4.2.1 ***}
% \end{macrocode}
%
% Package \docpackage{xkeyval} provides options with key-value-pairs.
@@ -1786,7 +1787,9 @@
% \end{macrocode}
% Deactivate semicolon as shorthand in order to avoid problems reading the semicolon separated lines.
% \begin{macrocode}
- \ifbabelshorthand{;}{\shorthandoff{;}}{}
+ \ifdef{\ifbabelshorthand}{%
+ \ifbabelshorthand{;}{\shorthandoff{;}}{}%
+ }{}%
\newread\Changes@InFile%
\openin\Changes@InFile = \jobname.\Changes@socextension%
% \end{macrocode}
@@ -1854,7 +1857,9 @@
% \end{macrocode}
% Reactivate semicolon as shorthand.
% \begin{macrocode}
- \ifbabelshorthand{;}{\shorthandon{;}}{}
+ \ifdef{\ifbabelshorthand}{%
+ \ifbabelshorthand{;}{\shorthandon{;}}{}%
+ }{}%
}{%
\emph{\changesnosoc}%
\PackageWarning{changes}{LaTeX rerun needed for summary of changes}%