[latex3-commits] [git/LaTeX3-latex3-latex2e] everymath: starting a second test file contains broken material (b15508a9)

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


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

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

commit b15508a90d566cea55227b0d8b313eecc7dd7c91
Author: Frank Mittelbach <frank.mittelbach at latex-project.org>
Date:   Thu Jan 5 15:19:01 2023 +0100

    starting a second test file contains broken material


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

b15508a90d566cea55227b0d8b313eecc7dd7c91
 required/latex-lab/testfiles/mathcapture-002.lvt | 73 ++++++++++++++++++++++++
 required/latex-lab/testfiles/mathcapture-002.tlg | 11 ++++
 2 files changed, 84 insertions(+)

diff --git a/required/latex-lab/testfiles/mathcapture-002.lvt b/required/latex-lab/testfiles/mathcapture-002.lvt
new file mode 100644
index 00000000..fa086a33
--- /dev/null
+++ b/required/latex-lab/testfiles/mathcapture-002.lvt
@@ -0,0 +1,73 @@
+\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
+  {
+    \TYPE {-----------------------------------}
+    \TYPE {#1}
+  }
+\ExplSyntaxOff
+
+\begin{document}
+
+\START
+
+What about $\alpha \neq \beta \pmod x$?
+
+\TYPE{I would say broken!}
+
+Some examples from TLC3:
+
+10-1-1:
+%Catch\textsubscript{22} in Room\textsuperscript{13}
+
+\TYPE{Definitely broken!}
+
+11-2-1:
+\begin{equation} (a+b)^2 = a^2+2ab+b^2 \end{equation}
+\[  \sin^2\eta+\cos^2\eta = 1  \]
+
+11-2-10:
+\begin{gather}
+  (a + b)^2 = a^2 + 2ab + b^2          \\
+  (a + b) \cdot (a - b) = a^2 - b^2
+\end{gather}
+
+\TYPE{??????????????????????? nothing else shows}
+
+11-2-11:
+\begin{gather}
+  D(a,r) \equiv \{ z \in \mathbf{C}
+         \colon |z - a| < r \}    \notag \\
+  \operatorname{seg} (a, r) \equiv
+    \{ z \in \mathbf{C} \colon
+      \Im z < \Im a, \ |z - a| < r \}    \\
+    C (E, \theta, r) \equiv
+    \bigcup_{e \in E} c (e, \theta, r)
+\end{gather}
+
+11-2-12:
+\begin{align}
+  (a + b)^3  &= (a + b) (a + b)^2        \\
+             &= (a + b)(a^2 + 2ab + b^2) \\
+             &= a^3 + 3a^2b + 3ab^2 + b^3
+\end{align}
+\begin{align}
+  x^2  + y^2 & = 1                       \\
+  x          & = \sqrt{1-y^2}
+\end{align}
+
+
+\END
diff --git a/required/latex-lab/testfiles/mathcapture-002.tlg b/required/latex-lab/testfiles/mathcapture-002.tlg
new file mode 100644
index 00000000..75eeb228
--- /dev/null
+++ b/required/latex-lab/testfiles/mathcapture-002.tlg
@@ -0,0 +1,11 @@
+This is a generated file for the l3build validation system.
+Don't change this file in any respect.
+-----------------------------------
+\alpha \protect \not =\beta \protect \protect \protect \penalty \z@ \mkern 8mu({\mathgroup \symoperators mod}\mkern 6mux)
+I would say broken!
+Definitely broken!
+-----------------------------------
+(a+b)^2 = a^2+2ab+b^2
+-----------------------------------
+\sin ^2\eta +\cos ^2\eta = 1
+??????????????????????? nothing else shows





More information about the latex3-commits mailing list.