[latex3-commits] [git/LaTeX3-latex3-latex2e] robustcrs: raw change of \\ (in tabular settings) to see what the test suite thinks (760f3f8c)

Frank Mittelbach frank.mittelbach at latex-project.org
Tue Apr 20 14:04:42 CEST 2021


Repository : https://github.com/latex3/latex2e
On branch  : robustcrs
Link       : https://github.com/latex3/latex2e/commit/760f3f8c03e3fa3000c77b467ae3bcc87416f641

>---------------------------------------------------------------

commit 760f3f8c03e3fa3000c77b467ae3bcc87416f641
Author: Frank Mittelbach <frank.mittelbach at latex-project.org>
Date:   Tue Apr 20 14:04:42 2021 +0200

    raw change of \\ (in tabular settings) to see what the test suite thinks


>---------------------------------------------------------------

760f3f8c03e3fa3000c77b467ae3bcc87416f641
 base/ltmath.dtx              | 2 +-
 base/ltpictur.dtx            | 2 +-
 base/lttab.dtx               | 6 +++---
 required/amsmath/amsmath.dtx | 2 +-
 required/tools/array.dtx     | 2 +-
 5 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/base/ltmath.dtx b/base/ltmath.dtx
index ca90e198..a18b895e 100644
--- a/base/ltmath.dtx
+++ b/base/ltmath.dtx
@@ -965,7 +965,7 @@
 % \begin{macro}{\@yeqncr}
 % \changes{v1.0y}{1995/10/16}{(DPC) Use \cs{@testopt} /1911}
 %    \begin{macrocode}
-\def\@eqncr{%
+\protected\def\@eqncr{%
    {\ifnum0=`}\fi
    \@ifstar{%
       \global\@eqpen\@M\@yeqncr
diff --git a/base/ltpictur.dtx b/base/ltpictur.dtx
index b958d437..e54e14ce 100644
--- a/base/ltpictur.dtx
+++ b/base/ltpictur.dtx
@@ -456,7 +456,7 @@
 % \begin{macro}{\@stackcr}
 % \begin{macro}{\@ixstackcr}
 %    \begin{macrocode}
-\def\@stackcr{\@ifstar\@ixstackcr\@ixstackcr}
+\protected\def\@stackcr{\@ifstar\@ixstackcr\@ixstackcr}
 \def\@ixstackcr{\@ifnextchar[\@istackcr{\cr\ignorespaces}}
 %    \end{macrocode}
 % \end{macro}
diff --git a/base/lttab.dtx b/base/lttab.dtx
index a964b365..52cf28fd 100644
--- a/base/lttab.dtx
+++ b/base/lttab.dtx
@@ -464,7 +464,7 @@
 %
 % \begin{macro}{\@tabcr}
 %    \begin{macrocode}
-\def\@tabcr{\@stopline \@ifstar{\penalty \@M \@xtabcr}\@xtabcr}
+\protected\def\@tabcr{\@stopline \@ifstar{\penalty \@M \@xtabcr}\@xtabcr}
 %    \end{macrocode}
 % \end{macro}
 %
@@ -965,7 +965,7 @@
 %  \begin{macro}{\@arraycr}
 % Array version of |\\|.
 %    \begin{macrocode}
-\def\@arraycr{%
+\protected\def\@arraycr{%
   ${\ifnum0=`}\fi\@ifstar\@xarraycr\@xarraycr}
 %    \end{macrocode}
 % \end{macro}
@@ -995,7 +995,7 @@
 %
 %  \begin{macro}{\@tabularcr}
 %    \begin{macrocode}
-\def\@tabularcr{%
+\protected\def\@tabularcr{%
   {\ifnum0=`}\fi\@ifstar\@xtabularcr\@xtabularcr}
 %    \end{macrocode}
 % \end{macro}
diff --git a/required/amsmath/amsmath.dtx b/required/amsmath/amsmath.dtx
index 10465c9d..4918ab4e 100644
--- a/required/amsmath/amsmath.dtx
+++ b/required/amsmath/amsmath.dtx
@@ -2753,7 +2753,7 @@ ill-advised in LaTeX.%
 %    current row with an empty column (i.e., the mathcr was immediately
 %    preceded by an ampersand).
 %    \begin{macrocode}
-\def\math at cr{\relax\iffalse{\fi\ifnum0=`}\fi
+\protected\def\math at cr{\relax\iffalse{\fi\ifnum0=`}\fi
 %    \end{macrocode}
 %    The first step is now to check whether an asterisk follows.
 %    \cs{@eqpen} is used to hold the penalty value to be put on
diff --git a/required/tools/array.dtx b/required/tools/array.dtx
index 1ca08036..ee9c3416 100644
--- a/required/tools/array.dtx
+++ b/required/tools/array.dtx
@@ -2194,7 +2194,7 @@
 %    \cite[Appendix D]{bk:knuth}.
 % \changes{v2.3c}{1995/04/23}{Avoid adding an ord atom in math}
 %    \begin{macrocode}
-\def\@arraycr{\relax\iffalse{\fi\ifnum 0=`}\fi
+\protected\def\@arraycr{\relax\iffalse{\fi\ifnum 0=`}\fi
 %    \end{macrocode}
 %    Then we test whether the user is using the star form and ignore
 %    a possible star (I also disagree with this procedure, because a





More information about the latex3-commits mailing list.