[latex3-commits] [git/LaTeX3-latex3-latex2e] everymath: more broken tests (60eacd79)

Frank Mittelbach frank.mittelbach at latex-project.org
Thu Jan 5 15:36:52 CET 2023


Repository : https://github.com/latex3/latex2e
On branch  : everymath
Link       : https://github.com/latex3/latex2e/commit/60eacd79b6b9ae2cfdaa5f63391b039718eb56ce

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

commit 60eacd79b6b9ae2cfdaa5f63391b039718eb56ce
Author: Frank Mittelbach <frank.mittelbach at latex-project.org>
Date:   Thu Jan 5 15:36:52 2023 +0100

    more broken tests


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

60eacd79b6b9ae2cfdaa5f63391b039718eb56ce
 required/latex-lab/testfiles/mathcapture-003.lvt   |  48 ++++++
 .../latex-lab/testfiles/mathcapture-003.tlg        |   2 +-
 .../{mathcapture-001.lvt => mathcapture-004.lvt}   |  49 +++----
 required/latex-lab/testfiles/mathcapture-004.tlg   | 162 +++++++++++++++++++++
 4 files changed, 229 insertions(+), 32 deletions(-)

diff --git a/required/latex-lab/testfiles/mathcapture-003.lvt b/required/latex-lab/testfiles/mathcapture-003.lvt
new file mode 100644
index 00000000..3976e945
--- /dev/null
+++ b/required/latex-lab/testfiles/mathcapture-003.lvt
@@ -0,0 +1,48 @@
+\DocumentMetadata{testphase=phase-II}
+
+\documentclass{article}
+
+\input{regression-test}
+
+\RequirePackage[enable-debug ,check-declarations]{expl3}
+\ExplSyntaxOn
+\debug_on:n { deprecation }
+\ExplSyntaxOff
+
+\makeatletter
+\input{latex-lab-mathcapture.ltx}
+\makeatother
+\ExplSyntaxOn
+\math_processor:n
+  {
+    \XXX
+    \TYPE {-----------------------------------}
+    \TYPE {#1}
+  }
+\ExplSyntaxOff
+
+\begin{document}
+
+\START
+
+This example has two column-pairs.
+\begin{align}    \text{Compare }
+  x^2 + y^2 &= 1               &
+  x^3 + y^3 &= 1               \\
+  x         &= \sqrt   {1-y^2} &
+  x         &= \sqrt[3]{1-y^3}
+\end{align}
+This example has three column-pairs.
+\begin{align}
+    x    &= y      & X  &= Y  &
+      a  &= b+c               \\
+    x'   &= y'     & X' &= Y' &
+      a' &= b                 \\
+  x + x' &= y + y'            &
+  X + X' &= Y + Y' & a'b &= c'b
+\end{align}
+
+\TYPE{??????????????????????? nothing shows at all}
+
+
+\END
diff --git a/base/testfiles-doc/tlb-dox013.tlg b/required/latex-lab/testfiles/mathcapture-003.tlg
similarity index 68%
copy from base/testfiles-doc/tlb-dox013.tlg
copy to required/latex-lab/testfiles/mathcapture-003.tlg
index 0762c44d..4e5b2a57 100644
--- a/base/testfiles-doc/tlb-dox013.tlg
+++ b/required/latex-lab/testfiles/mathcapture-003.tlg
@@ -1,3 +1,3 @@
 This is a generated file for the l3build validation system.
 Don't change this file in any respect.
----- Start of checking ----
+??????????????????????? nothing shows at all
diff --git a/required/latex-lab/testfiles/mathcapture-001.lvt b/required/latex-lab/testfiles/mathcapture-004.lvt
similarity index 52%
copy from required/latex-lab/testfiles/mathcapture-001.lvt
copy to required/latex-lab/testfiles/mathcapture-004.lvt
index b9e11536..1a140e0e 100644
--- a/required/latex-lab/testfiles/mathcapture-001.lvt
+++ b/required/latex-lab/testfiles/mathcapture-004.lvt
@@ -12,49 +12,36 @@
 \makeatletter
 \input{latex-lab-mathcapture.ltx}
 \makeatother
+
 \ExplSyntaxOn
 \math_processor:n
   {
-    \TIMO
+    \TYPE {-----------------------------------}
     \TYPE {#1}
-    \OMIT
   }
 \ExplSyntaxOff
 
 \begin{document}
 
 \START
-\OMIT
 
-Is
-$$ y = mx + c$$
-or
+11-2-17:
 \begin{equation}
-y = mx + c
+\begin{aligned}
+  x^2 + y^2  &= 1             \\
+          x  &= \sqrt{1-y^2}  \\
+ \text{and also }
+          y  &= \sqrt{1-x^2}
+\end{aligned}
+\qquad
+\begin{gathered}
+  (a + b)^2 = a^2 + 2ab + b^2 \\
+  (a + b) \cdot (a - b)
+           = a^2 - b^2
+\end{gathered}
 \end{equation}
-or 
-\[y = mx + c \quad \hbox{for all $c$}\]
-cool?
-
-So
-\begin{align}
-  a + b &= c \\
-  d + e &= f \\
-\end{align}
-
-Try $g_{\hbox{foo$b$}}$
-
-\begin{tabular}{lcr} 
-  a & b & c \\
-\end{tabular}
-
-Some text \ensuremath{\alpha}.
-
-Oh no!
-\begin{eqnarray}
-  a = b \\
-  c = d
-\end{eqnarray}
-Argh.
+
+\TYPE{??????????????????????? badly broken}
+
 
 \END
diff --git a/required/latex-lab/testfiles/mathcapture-004.tlg b/required/latex-lab/testfiles/mathcapture-004.tlg
new file mode 100644
index 00000000..791d6c49
--- /dev/null
+++ b/required/latex-lab/testfiles/mathcapture-004.tlg
@@ -0,0 +1,162 @@
+This is a generated file for the l3build validation system.
+Don't change this file in any respect.
+-----------------------------------
+! Argument of \alignsafe at testopt has an extra }.
+<inserted text> 
+                \par 
+l. ...\end
+         {equation}
+I've run across a `}' that doesn't seem to match anything.
+For example, `\def\a#1{...}' and `\a}' would produce
+this error. If you simply proceed now, the `\par' that
+I've just inserted will cause me to report a runaway
+argument that might be the root of the problem. But if
+your `}' was spurious, just type `2' and it will go away.
+Runaway argument?
+! Paragraph ended before \alignsafe at testopt was complete.
+<to be read again> 
+                   \par 
+l. ...\end
+         {equation}
+I suspect you've forgotten a `}', causing me to apply this
+control sequence to too much text. How can we recover?
+My plan is to forget the whole thing and hope for the best.
+! Use of \\aligned at a doesn't match its definition.
+\kernel at ifnextchar ...d at d =#1\def \reserved at a {#2}
+                                                  \def \reserved at b {#3}\futu...
+l. ...\end
+         {equation}
+If you say, e.g., `\def\a1{...}', then you must always
+put `1' after `\a', since control sequence names are
+made up of letters only. The macro here has not been
+followed by the required stuff, so I'm ignoring it.
+! Undefined control sequence.
+\GenericError  ...                                
+                                                    #4  \errhelp \@err@     ...
+l. ...\end
+         {equation}
+The control sequence at the end of the top line
+of your error message was never \def'ed. If you have
+misspelled it (e.g., `\hobx'), type `I' and the correct
+spelling (e.g., `I\hbox'). Otherwise just continue,
+and I'll forget about whatever was undefined.
+! Undefined control sequence.
+\GenericError  ...                                
+                                                  \let \@err@               ...
+l. ...\end
+         {equation}
+The control sequence at the end of the top line
+of your error message was never \def'ed. If you have
+misspelled it (e.g., `\hobx'), type `I' and the correct
+spelling (e.g., `I\hbox'). Otherwise just continue,
+and I'll forget about whatever was undefined.
+! Undefined control sequence.
+\GenericError  ...                                
+                                                  \@empty \def \MessageBreak...
+l. ...\end
+         {equation}
+The control sequence at the end of the top line
+of your error message was never \def'ed. If you have
+misspelled it (e.g., `\hobx'), type `I' and the correct
+spelling (e.g., `I\hbox'). Otherwise just continue,
+and I'll forget about whatever was undefined.
+! Incomplete \iffalse; all text was ignored after line 42.
+<inserted text> 
+                \fi 
+l. ...\end
+         {equation}
+A forbidden control sequence occurred in skipped text.
+This kind of error happens when you say `\if...' and forget
+the matching `\fi'. I've inserted a `\fi'; this might work.
+Runaway text?
+\protect \def \def equation{equation}\edef  on input line ...{ on inpu\ETC.
+! Forbidden control sequence found while scanning text of \write.
+<inserted text> 
+                }
+l. ...\end
+         {equation}
+I suspect you have forgotten a `}', causing me
+to read past where you wanted me to stop.
+I'll try to recover; but if the error is serious,
+you'd better type `E' or `X' now and fix your file.
+Runaway text?
+\protect \def \def equation{equation}\edef  on input line ...{ on inpu\ETC.
+! Forbidden control sequence found while scanning text of \write.
+<inserted text> 
+                }
+l. ...\end
+         {equation}
+I suspect you have forgotten a `}', causing me
+to read past where you wanted me to stop.
+I'll try to recover; but if the error is serious,
+you'd better type `E' or `X' now and fix your file.
+Runaway text?
+\protect \def \def equation{equation}\edef  on input line ...{ on inpu\ETC.
+! Forbidden control sequence found while scanning text of \write.
+<inserted text> 
+                }
+l. ...\end
+         {equation}
+I suspect you have forgotten a `}', causing me
+to read past where you wanted me to stop.
+I'll try to recover; but if the error is serious,
+you'd better type `E' or `X' now and fix your file.
+Runaway text?
+\protect \def \def equation{equation}\edef  on input line ...{ on inpu\ETC.
+! Forbidden control sequence found while scanning text of \write.
+<inserted text> 
+                }
+l. ...\end
+         {equation}
+I suspect you have forgotten a `}', causing me
+to read past where you wanted me to stop.
+I'll try to recover; but if the error is serious,
+you'd better type `E' or `X' now and fix your file.
+Runaway text?
+\protect \def \def equation{equation}\edef  on input line ...{ on inpu\ETC.
+! Forbidden control sequence found while scanning text of \write.
+<inserted text> 
+                }
+l. ...\end
+         {equation}
+I suspect you have forgotten a `}', causing me
+to read past where you wanted me to stop.
+I'll try to recover; but if the error is serious,
+you'd better type `E' or `X' now and fix your file.
+Runaway text?
+\protect \def \def equation{equation}\edef  on input line ...{ on inpu\ETC.
+! Forbidden control sequence found while scanning text of \write.
+<inserted text> 
+                }
+l. ...\end
+         {equation}
+I suspect you have forgotten a `}', causing me
+to read past where you wanted me to stop.
+I'll try to recover; but if the error is serious,
+you'd better type `E' or `X' now and fix your file.
+Runaway text?
+\protect \def \def equation{equation}\edef  on input line ...{ on inpu\ETC.
+! Forbidden control sequence found while scanning text of \write.
+<inserted text> 
+                }
+l. ...\end
+         {equation}
+I suspect you have forgotten a `}', causing me
+to read past where you wanted me to stop.
+I'll try to recover; but if the error is serious,
+you'd better type `E' or `X' now and fix your file.
+Runaway text?
+\protect \def \def equation{equation}\edef  on input line ...{ on inpu\ETC.
+! Forbidden control sequence found while scanning text of \write.
+<inserted text> 
+                }
+l. ...\end
+         {equation}
+I suspect you have forgotten a `}', causing me
+to read past where you wanted me to stop.
+I'll try to recover; but if the error is serious,
+you'd better type `E' or `X' now and fix your file.
+\protect \def \def equation{equation}\edef  on input line ...{ on input line ...}\equation {\def equation{aligned}\edef  on input line ...{ on input line ...}\bool_set_true:N \l__math_collected_bool \let \let \reserved at d =[\def \def equation{equation}\edef  on input line ...{ on input line ...}\equation {\par }\def \underleftrightarrow {\relax \let \reserved at d =[\def \def equation{equation}\edef  on input line ...{ on input line ...}\equation {\let \@let at token \relax [}\def \underleftrightarrow {\let \@let at token \relax [[\let \reserved at d =[\def \def equation{equation}\edef  on input line ...{ on input line ...}\equation {\def \underleftrightarrow {\relax \protect \begingroup \immediate \write \@unused   \def \MessageBreak  
+ \let \protect \edef  You're in trouble here.  Try typing  <return>  to proceed.\MessageBreak If that doesn't work, type  X <return>  to quit.  \errhelp \let \def \MessageBreak  
+(amsmath)                 \def   \errmessage  Package amsmath Error: \protect \protect \def \def equation{equation}\edef  on input line ...{ on input line ...}\equation {\def equation{equation}\edef  on input line ...{ on input line ...}\equation }\global \let  } } } } } } } 
+??????????????????????? badly broken





More information about the latex3-commits mailing list.