[latex3-commits] [git/LaTeX3-latex3-mathtools] master: no longer robustifying \(\) or \[\], thus fixing Issue #30 (24f041e)
daleif
daleif at math.au.dk
Fri Dec 31 16:44:08 CET 2021
Repository : https://github.com/latex3/mathtools
On branch : master
Link : https://github.com/latex3/mathtools/commit/24f041e1fa1c342384a880aec3d8c4bc42a550d3
>---------------------------------------------------------------
commit 24f041e1fa1c342384a880aec3d8c4bc42a550d3
Author: daleif <daleif at math.au.dk>
Date: Fri Dec 31 16:44:08 2021 +0100
no longer robustifying \(\) or \[\], thus fixing Issue #30
>---------------------------------------------------------------
24f041e1fa1c342384a880aec3d8c4bc42a550d3
mathtools.dtx | 31 ++++++++++++++++++-------------
1 file changed, 18 insertions(+), 13 deletions(-)
diff --git a/mathtools.dtx b/mathtools.dtx
index d7c5da6..87ba14a 100644
--- a/mathtools.dtx
+++ b/mathtools.dtx
@@ -322,7 +322,7 @@ colorlinks,
%
% \GetFileInfo{mathtools.drv}
%
-% \CheckSum{3529}
+% \CheckSum{3520}
%
% \title{The \pkg{mathtools} package\thanks{This file has version number
% \fileversion, last revised \filedate.}}
@@ -2996,6 +2996,9 @@ colorlinks,
% We'd like to make \cs{(}\cs{)} and \cs{[}\cs{]} robust. This can
% easily be done via the \pkg{fixltx2e} package, but auto loading that
% package may cause problems for some. We make copies instead.
+% Update 2021: We have removed robustifying \cs{(}\cs{)}\cs{[}\cs{]}
+% as this is now in the \LaTeX\ kernel. We still use
+% \verb|\EQ_MakeRobust| elsewhere though.
% \begin{macro}{\EQ_MakeRobust}
% \begin{macro}{\forced_EQ_MakeRobust}
% \begin{macrocode}
@@ -3129,18 +3132,20 @@ colorlinks,
}
% \end{macrocode}
% \end{macro}
-% \changes{v1.13}{2013/02/11}{Make \cs{(}\cs{)} and \cs{[}\cs{]}
-% robust}
-% We start of with making \cs{(}\cs{)} and \cs{[}\cs{]} robust,
-% unless the user explicitly asked us not to.
-% \begin{macrocode}
-\MH_if_boolean:nT {robustify}{
- \EQ_MakeRobust\(
- \EQ_MakeRobust\)
- \EQ_MakeRobust\[
- \EQ_MakeRobust\]
-}
-% \end{macrocode}
+% ^^A \changes{v1.13}{2013/02/11}{Make \cs{(}\cs{)} and \cs{[}\cs{]}
+% ^^A robust}
+% ^^A We start of with making \cs{(}\cs{)} and \cs{[}\cs{]} robust,
+% ^^A unless the user explicitly asked us not to.
+% ^^A \changes{v1.28}{2021/12/31}{Removed robustifying \cs{(}\cs{)} and
+% ^^A \cs{[}\cs{]} as this is now in the \LaTeX{} kernel.}
+% ^^A % \begin{macrocode}
+% ^^A \MH_if_boolean:nT {robustify}{
+% ^^A \EQ_MakeRobust\(
+% ^^A \EQ_MakeRobust\)
+% ^^A \EQ_MakeRobust\[
+% ^^A \EQ_MakeRobust\]
+% ^^A }
+% ^^A % \end{macrocode}
%
%
% \section{Macros I got ideas for myself}
More information about the latex3-commits
mailing list.