[latex3-commits] [git/LaTeX3-latex3-latex2e] everymath: moved all tests to their own dir (so that we can load external packages) added a few more tests (2808a0dc)

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


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

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

commit 2808a0dc926ee4677b03f03b5a532002bbdd45f6
Author: Frank Mittelbach <frank.mittelbach at latex-project.org>
Date:   Thu Jan 5 18:45:36 2023 +0100

    moved all tests to their own dir (so that we can load external packages)
    added a few more tests


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

2808a0dc926ee4677b03f03b5a532002bbdd45f6
 .../mathcapture-001.lvt                            |  0
 .../mathcapture-001.tlg                            |  0
 .../mathcapture-002.lvt                            |  0
 .../mathcapture-002.tlg                            |  0
 .../mathcapture-003.lvt                            |  0
 .../mathcapture-003.tlg                            |  0
 .../mathcapture-004.lvt                            |  0
 .../mathcapture-004.tlg                            |  0
 .../mathcapture-005.lvt                            | 11 ++++
 .../testfiles-mathcapture/mathcapture-005.tlg      | 63 ++++++++++++++++++++++
 .../testfiles-mathcapture/mathcapture-006.lvt      | 57 ++++++++++++++++++++
 .../testfiles-mathcapture/mathcapture-006.tlg      |  5 ++
 .../testfiles-mathcapture/mathcapture-007.lvt      | 56 +++++++++++++++++++
 .../testfiles-mathcapture/mathcapture-007.tlg      | 17 ++++++
 required/latex-lab/testfiles/mathcapture-005.tlg   |  6 ---
 required/latex-lab/testfiles/mathcapture-006.lvt   | 31 -----------
 required/latex-lab/testfiles/mathcapture-006.tlg   |  2 -
 17 files changed, 209 insertions(+), 39 deletions(-)

diff --git a/required/latex-lab/testfiles/mathcapture-001.lvt b/required/latex-lab/testfiles-mathcapture/mathcapture-001.lvt
similarity index 100%
rename from required/latex-lab/testfiles/mathcapture-001.lvt
rename to required/latex-lab/testfiles-mathcapture/mathcapture-001.lvt
diff --git a/required/latex-lab/testfiles/mathcapture-001.tlg b/required/latex-lab/testfiles-mathcapture/mathcapture-001.tlg
similarity index 100%
rename from required/latex-lab/testfiles/mathcapture-001.tlg
rename to required/latex-lab/testfiles-mathcapture/mathcapture-001.tlg
diff --git a/required/latex-lab/testfiles/mathcapture-002.lvt b/required/latex-lab/testfiles-mathcapture/mathcapture-002.lvt
similarity index 100%
rename from required/latex-lab/testfiles/mathcapture-002.lvt
rename to required/latex-lab/testfiles-mathcapture/mathcapture-002.lvt
diff --git a/required/latex-lab/testfiles/mathcapture-002.tlg b/required/latex-lab/testfiles-mathcapture/mathcapture-002.tlg
similarity index 100%
rename from required/latex-lab/testfiles/mathcapture-002.tlg
rename to required/latex-lab/testfiles-mathcapture/mathcapture-002.tlg
diff --git a/required/latex-lab/testfiles/mathcapture-003.lvt b/required/latex-lab/testfiles-mathcapture/mathcapture-003.lvt
similarity index 100%
rename from required/latex-lab/testfiles/mathcapture-003.lvt
rename to required/latex-lab/testfiles-mathcapture/mathcapture-003.lvt
diff --git a/required/latex-lab/testfiles/mathcapture-003.tlg b/required/latex-lab/testfiles-mathcapture/mathcapture-003.tlg
similarity index 100%
rename from required/latex-lab/testfiles/mathcapture-003.tlg
rename to required/latex-lab/testfiles-mathcapture/mathcapture-003.tlg
diff --git a/required/latex-lab/testfiles/mathcapture-004.lvt b/required/latex-lab/testfiles-mathcapture/mathcapture-004.lvt
similarity index 100%
rename from required/latex-lab/testfiles/mathcapture-004.lvt
rename to required/latex-lab/testfiles-mathcapture/mathcapture-004.lvt
diff --git a/required/latex-lab/testfiles/mathcapture-004.tlg b/required/latex-lab/testfiles-mathcapture/mathcapture-004.tlg
similarity index 100%
rename from required/latex-lab/testfiles/mathcapture-004.tlg
rename to required/latex-lab/testfiles-mathcapture/mathcapture-004.tlg
diff --git a/required/latex-lab/testfiles/mathcapture-005.lvt b/required/latex-lab/testfiles-mathcapture/mathcapture-005.lvt
similarity index 76%
rename from required/latex-lab/testfiles/mathcapture-005.lvt
rename to required/latex-lab/testfiles-mathcapture/mathcapture-005.lvt
index ee2855c0..8b3e42d8 100644
--- a/required/latex-lab/testfiles/mathcapture-005.lvt
+++ b/required/latex-lab/testfiles-mathcapture/mathcapture-005.lvt
@@ -52,4 +52,15 @@
   U_i &= u_i
 \end{aligned} \end{equation}
 
+11-2-23:
+\begin{align}
+  A_1 &= N_0 (\lambda ; \Omega') -
+          \phi ( \lambda ; \Omega')  \\
+  A_2 &= \phi (\lambda ; \Omega')
+          \phi (\lambda ; \Omega)    \\
+\intertext{and finally}
+  A_3 &= \mathcal{N} (\lambda ; \omega)
+\end{align}
+
+\TYPE{this fails, probably because intertext interrupts due to tagging}
 \END
diff --git a/required/latex-lab/testfiles-mathcapture/mathcapture-005.tlg b/required/latex-lab/testfiles-mathcapture/mathcapture-005.tlg
new file mode 100644
index 00000000..bc476567
--- /dev/null
+++ b/required/latex-lab/testfiles-mathcapture/mathcapture-005.tlg
@@ -0,0 +1,63 @@
+This is a generated file for the l3build validation system.
+Don't change this file in any respect.
+-----------------------------------
+\begin {rcases} \bm {B}' &=-c\nabla \times \bm {E} \\ \bm {E}' &=c\nabla \times \bm {B} - 4\pi \bm {J}\, \end {rcases} \quad \text {Maxwell's equations}
+-----------------------------------
+\begin {aligned} V_j &= v_j & X_i &= x_i - q_i x_j & &= u_j + \sum _{i\ne j} q_i \\ V_i &= v_i - q_i v_j & X_j &= x_j & U_i &= u_i \end {aligned}
+-----------------------------------
+A_1 &= N_0 (\lambda ; \Omega ') - \phi ( \lambda ; \Omega ') \\ A_2 &= \phi (\lambda ; \Omega ') \phi (\lambda ; \Omega ) \\ \intertext {and finally} A_3 &= \mathcal {N} (\lambda ; \omega )
+Package tagpdf Warning: nested marked content found - mcid 3
+! LaTeX Error: Control sequence \g__tag_struct_5_prop already defined.
+For immediate help type H <return>.
+ ...                                              
+l. ...\end{align}
+This is a coding error.
+LaTeX has been asked to create a new control sequence '\g__tag_struct_5_prop'
+but this name has already been used elsewhere.
+The current meaning is:
+  macro:->\s__prop \__prop_pair:wn Type\s__prop {/StructElem}\__prop_pair:wn
+S\s__prop {/P}\__prop_pair:wn P\s__prop {15 0 R}
+! LaTeX Error: Control sequence \__tag_struct_output_prop_5:n already defined.
+For immediate help type H <return>.
+ ...                                              
+l. ...\end{align}
+This is a coding error.
+LaTeX has been asked to create a new control sequence
+'\__tag_struct_output_prop_5:n' but this name has already been used elsewhere.
+The current meaning is:
+  \long macro:#1->\__tag_struct_output_prop_aux:nn {\int_eval:n
+{\c at g__tag_struct_abs_int }}{#1}
+! LaTeX Error: Control sequence \g__tag_struct_kids_5_seq already defined.
+For immediate help type H <return>.
+ ...                                              
+l. ...\end{align}
+This is a coding error.
+LaTeX has been asked to create a new control sequence
+'\g__tag_struct_kids_5_seq' but this name has already been used elsewhere.
+The current meaning is:
+  macro:->\s__seq \__seq_item:n {<</Type /MCR /Pg 12 0 R/MCID
+1>>}\__seq_item:n {\prop_item:Nn \g__tag_struct_cont_mc_prop {4}}
+! LaTeX Error: Control sequence \c__pdf_object___tag/struct/5_int already
+(LaTeX)        defined.
+For immediate help type H <return>.
+ ...                                              
+l. ...\end{align}
+This is a coding error.
+LaTeX has been asked to create a new control sequence
+'\c__pdf_object___tag/struct/5_int' but this name has already been used
+elsewhere.
+The current meaning is:
+  \mathchar"11
+! LaTeX Error: Control sequence \c__pdf_backend_object___tag/struct/5_int
+(LaTeX)        already defined.
+For immediate help type H <return>.
+ ...                                              
+l. ...\end{align}
+This is a coding error.
+LaTeX has been asked to create a new control sequence
+'\c__pdf_backend_object___tag/struct/5_int' but this name has already been
+used elsewhere.
+The current meaning is:
+  \mathchar"11
+Package tagpdf Warning: there is no mc to end at 4
+this fails, probably because intertext interrupts due to tagging
diff --git a/required/latex-lab/testfiles-mathcapture/mathcapture-006.lvt b/required/latex-lab/testfiles-mathcapture/mathcapture-006.lvt
new file mode 100644
index 00000000..978f495f
--- /dev/null
+++ b/required/latex-lab/testfiles-mathcapture/mathcapture-006.lvt
@@ -0,0 +1,57 @@
+% mathtool examples ...
+
+\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 {\unexpanded{#1}}
+  }
+\ExplSyntaxOff
+
+
+
+\usepackage{mathtools}
+
+\newcounter{xgnum}
+\newcommand\xgnum{\stepcounter{xgnum}%
+                       \textbf{\arabic{xgnum}*}}
+\newgathered{xgathered}
+  {\xgnum\qquad\hfil}{\hfil}{\setcounter{xgnum}{0}}
+
+
+\begin{document}
+
+\START
+
+11-2-21:
+\begin{gather}
+  \begin{xgathered} x_0=1,\quad x_1=2 \\
+                    x_3=3         \end{xgathered}
+\end{gather}
+
+\TYPE{????????????????????? output missing for 11-2-21}
+
+11-2-22:
+\[ \left|
+  \begin{multlined}[c]
+    (a+b)^2 = \\ (a+b)(a+b) \\ = a^2 + 2ab + b^2
+  \end{multlined}                           \right| \]
+
+
+\END
diff --git a/required/latex-lab/testfiles-mathcapture/mathcapture-006.tlg b/required/latex-lab/testfiles-mathcapture/mathcapture-006.tlg
new file mode 100644
index 00000000..3f582ce2
--- /dev/null
+++ b/required/latex-lab/testfiles-mathcapture/mathcapture-006.tlg
@@ -0,0 +1,5 @@
+This is a generated file for the l3build validation system.
+Don't change this file in any respect.
+????????????????????? output missing for 11-2-21
+-----------------------------------
+\left | \begin {multlined}[c] (a+b)^2 = \\ (a+b)(a+b) \\ = a^2 + 2ab + b^2 \end {multlined} \right |
diff --git a/required/latex-lab/testfiles-mathcapture/mathcapture-007.lvt b/required/latex-lab/testfiles-mathcapture/mathcapture-007.lvt
new file mode 100644
index 00000000..c4b6ba8b
--- /dev/null
+++ b/required/latex-lab/testfiles-mathcapture/mathcapture-007.lvt
@@ -0,0 +1,56 @@
+% breqn examples ...
+
+\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 {\unexpanded{#1}}
+  }
+\ExplSyntaxOff
+
+
+
+\usepackage{breqn}
+\newcommand\ve{\varepsilon}  \newcommand\tve{t_{\varepsilon}}
+\newcommand\vf{\varphi}      \newcommand\yvf{y_{\varphi}}
+\newcommand\bfE{\mathbf{E}}
+
+\begin{document}
+
+\START
+
+
+\TYPE{next example dies ....}
+
+11-2-28:
+  \begin{dmath}
+    f_{h, \ve}(x, y)
+    = \ve \bfE_{x, y} \int_0^{\tve} L_{x, \yvf(\ve u)} \vf(x) \,du
+    = h \int L_{x, z} \vf(x) \rho_x(dz) + h
+    \biggl[ \frac{1}{\tve}
+      \biggl( \bfE_{y} \int_0^{\tve}  L_{x, y^x(s)} \vf(x) \,ds
+      - \tve \int L_{x, z} \vf(x) \rho_x(dz)      \biggr)
+      + \frac{1}{\tve}
+      \biggl( \bfE_{y} \int_0^{\tve}  L_{x, y^x(s)} \vf(x) \,ds
+      - \bfE_{x, y} \int_0^{\tve} L_{x, \yvf(\ve s)}
+      \vf(x) \,ds    \biggr) \biggr]
+  \end{dmath}
+
+
+\END
diff --git a/required/latex-lab/testfiles-mathcapture/mathcapture-007.tlg b/required/latex-lab/testfiles-mathcapture/mathcapture-007.tlg
new file mode 100644
index 00000000..b908fbbf
--- /dev/null
+++ b/required/latex-lab/testfiles-mathcapture/mathcapture-007.tlg
@@ -0,0 +1,17 @@
+This is a generated file for the l3build validation system.
+Don't change this file in any respect.
+next example dies ....
+)
+Runaway argument?
+\displaystyle \penalty -\@Mi  f_{h, \ve }(x, y) = \ve \bfE _{x, y} \int \ETC.
+! File ended while scanning use of \__math_grab_dollar:w.
+<inserted text> 
+                \par 
+<*> \input mathcapture-007.lvt
+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.
+! Emergency stop.
+<*> \input mathcapture-007.lvt
+*** (job aborted, no legal \end found)
diff --git a/required/latex-lab/testfiles/mathcapture-005.tlg b/required/latex-lab/testfiles/mathcapture-005.tlg
deleted file mode 100644
index 76c945bb..00000000
--- a/required/latex-lab/testfiles/mathcapture-005.tlg
+++ /dev/null
@@ -1,6 +0,0 @@
-This is a generated file for the l3build validation system.
-Don't change this file in any respect.
------------------------------------
-\begin {rcases} \bm {B}' &=-c\nabla \times \bm {E} \\ \bm {E}' &=c\nabla \times \bm {B} - 4\pi \bm {J}\, \end {rcases} \quad \text {Maxwell's equations}
------------------------------------
-\begin {aligned} V_j &= v_j & X_i &= x_i - q_i x_j & &= u_j + \sum _{i\ne j} q_i \\ V_i &= v_i - q_i v_j & X_j &= x_j & U_i &= u_i \end {aligned}
diff --git a/required/latex-lab/testfiles/mathcapture-006.lvt b/required/latex-lab/testfiles/mathcapture-006.lvt
deleted file mode 100644
index 6a4cf10e..00000000
--- a/required/latex-lab/testfiles/mathcapture-006.lvt
+++ /dev/null
@@ -1,31 +0,0 @@
-\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 {\unexpanded{#1}}
-  }
-\ExplSyntaxOff
-
-
-
-\begin{document}
-
-\START
-
-
-\END
diff --git a/required/latex-lab/testfiles/mathcapture-006.tlg b/required/latex-lab/testfiles/mathcapture-006.tlg
deleted file mode 100644
index bfbef442..00000000
--- a/required/latex-lab/testfiles/mathcapture-006.tlg
+++ /dev/null
@@ -1,2 +0,0 @@
-This is a generated file for the l3build validation system.
-Don't change this file in any respect.





More information about the latex3-commits mailing list.