[latex3-commits] [git/LaTeX3-latex3-latex2e] everymath: 08 also has problems: labels not resolved? and multline dying (d03d3307)
Frank Mittelbach
frank.mittelbach at latex-project.org
Fri Jan 6 00:01:31 CET 2023
Repository : https://github.com/latex3/latex2e
On branch : everymath
Link : https://github.com/latex3/latex2e/commit/d03d330728f84d6f5b36099bc3d71e8b51cce7f3
>---------------------------------------------------------------
commit d03d330728f84d6f5b36099bc3d71e8b51cce7f3
Author: Frank Mittelbach <frank.mittelbach at latex-project.org>
Date: Fri Jan 6 00:01:31 2023 +0100
08 also has problems: labels not resolved? and multline dying
>---------------------------------------------------------------
d03d330728f84d6f5b36099bc3d71e8b51cce7f3
.../testfiles-mathcapture/mathcapture-007.lvt | 13 ++-
.../testfiles-mathcapture/mathcapture-007.tlg | 2 +-
.../testfiles-mathcapture/mathcapture-008.lvt | 116 +++++++++++++++++++++
.../testfiles-mathcapture/mathcapture-008.tlg | 38 +++++++
4 files changed, 167 insertions(+), 2 deletions(-)
diff --git a/required/latex-lab/testfiles-mathcapture/mathcapture-007.lvt b/required/latex-lab/testfiles-mathcapture/mathcapture-007.lvt
index c4b6ba8b..a242be30 100644
--- a/required/latex-lab/testfiles-mathcapture/mathcapture-007.lvt
+++ b/required/latex-lab/testfiles-mathcapture/mathcapture-007.lvt
@@ -36,7 +36,7 @@
\START
-\TYPE{next example dies ....}
+\TYPE{next examples die ....}
11-2-28:
\begin{dmath}
@@ -53,4 +53,15 @@
\end{dmath}
+11-2-28:
+\begin{dgroup*}
+ \begin{dmath} (a+b)^2 = a^2+2ab+b^2 \end{dmath}
+ \begin{dmath} (a-b)^2 = a^2-2ab+b^2 \end{dmath}
+ \begin{dmath*} (a+b)(a-b) = a^2-b^2 \end{dmath*}
+\end{dgroup*}
+\begin{dmath}
+ \frac{1}{x} \condition{for $x\ne 0$}
+\end{dmath}
+
+
\END
diff --git a/required/latex-lab/testfiles-mathcapture/mathcapture-007.tlg b/required/latex-lab/testfiles-mathcapture/mathcapture-007.tlg
index b908fbbf..d7b54bc9 100644
--- a/required/latex-lab/testfiles-mathcapture/mathcapture-007.tlg
+++ b/required/latex-lab/testfiles-mathcapture/mathcapture-007.tlg
@@ -1,6 +1,6 @@
This is a generated file for the l3build validation system.
Don't change this file in any respect.
-next example dies ....
+next examples die ....
)
Runaway argument?
\displaystyle \penalty -\@Mi f_{h, \ve }(x, y) = \ve \bfE _{x, y} \int \ETC.
diff --git a/required/latex-lab/testfiles-mathcapture/mathcapture-008.lvt b/required/latex-lab/testfiles-mathcapture/mathcapture-008.lvt
new file mode 100644
index 00000000..1bfdc22a
--- /dev/null
+++ b/required/latex-lab/testfiles-mathcapture/mathcapture-008.lvt
@@ -0,0 +1,116 @@
+% use leqno
+
+\DocumentMetadata{testphase=phase-II}
+
+\documentclass{article}
+
+\input{regression-test}
+
+\RequirePackage[enable-debug ,check-declarations]{expl3}
+\ExplSyntaxOn
+\debug_on:n { deprecation }
+\ExplSyntaxOff
+
+\usepackage[leqno]{amsmath}
+
+\makeatletter
+\input{latex-lab-mathcapture.ltx}
+\makeatother
+
+
+\ExplSyntaxOn
+\math_processor:n
+ {
+ \TYPE {-----------------------------------}
+ \TYPE {\unexpanded{#1}}
+ }
+\ExplSyntaxOff
+
+
+
+\begin{document}
+
+\START
+
+
+
+11-2-34:
+\begin{align}
+ x^2+y^2 &= z^2 \label{eq:A} \\
+ x^3+y^3 &= z^3 \notag \\
+ x^4+y^4 &= r^4 \tag{$*$} \\
+ x^5+y^5 &= r^5 \tag*{$*$} \\
+ x^6+y^6 &= r^6 \tag{\ref{eq:A}$'$}
+\end{align}
+
+\TYPE{??????????????? why is the label not resolving?}
+
+11-2-40:
+\begin{subequations} \label{eq:1}
+\begin{align} f &= g \label{eq:1A} \\
+ f' &= g' \label{eq:1B} \\
+ \mathcal{L}f &= \mathcal{L}g \label{eq:1C}
+\end{align}
+\end{subequations}
+\begin{subequations} \label{eq:2}
+\renewcommand\theequation
+ {\theparentequation\roman{equation}}
+\begin{align} f &= g \label{eq:2A} \\
+ f' &= g' \label{eq:2B} \\
+ \mathcal{L}f &= \mathcal{L}g + K \label{eq:2C}
+\end{align}
+\end{subequations}
+Note the relationship between~\eqref{eq:1}
+and~\eqref{eq:2}: only~\ref{eq:1C} and~\ref{eq:2C} differ.
+
+\TYPE{??????????????? why is the label not resolving?}
+
+
+11-2-35:
+\begin{align}
+ A_1 &= N_0 (\lambda ; \Omega')
+ - \phi ( \lambda ; \Omega') \\
+ A_2 &= \phi (\lambda ; \Omega')
+ \, \phi (\lambda ; \Omega)
+ \tag*{ALSO (\theequation)} \\
+ A_3 &= \mathcal{N} (\lambda ; \omega)
+\end{align}
+
+11-2-36:
+\begin{equation} \begin{split}
+ \lvert I_2 \rvert &= \left\lvert \int_{0}^T \psi(t)
+ \left\{ u(a, t) - \int_{\gamma(t)}^a \frac{d\theta}{k}
+ (\theta, t) \int_{a}^\theta c (\xi) u_t (\xi, t) \,d\xi
+ \right\} dt \right\rvert \\
+ &\le C_6 \Biggl\lvert
+ \left\lvert f \int_\Omega \left\lvert
+ \widetilde{S}^{-1,0}_{a,-} W_2(\Omega, \Gamma_l)
+ \right\rvert \ \right\rvert
+ \left\lvert \lvert u \rvert
+ \overset{\circ}{\to} W_2^{\widetilde{A}} (\Omega; \Gamma_r,T)
+ \right\rvert \Biggr\rvert
+\end{split} \end{equation}
+
+11-2-39:
+\begin{gather} \raisetag{-10pt}
+ \text{The sign function: \ }
+ \mathcal{S}(x) = \begin{cases}
+ -1 & x < 0 \\
+ 0 & x = 0 \\
+ 1 & x > 0
+ \end{cases} \end{gather}
+
+\TYPE{??????????????? multline is dying}
+
+11-2-5:
+\begin{multline}
+ \text{First line of a multline} \\
+ \text{Centered Middle line} \\
+ \shoveright{\text{A right Middle}} \\
+ \text{Another centered Middle} \\
+ \text{Yet another centered Middle} \\
+ \shoveleft{\text{A left Middle}} \\
+ \text{Last line of the multline}
+\end{multline}
+
+\END
diff --git a/required/latex-lab/testfiles-mathcapture/mathcapture-008.tlg b/required/latex-lab/testfiles-mathcapture/mathcapture-008.tlg
new file mode 100644
index 00000000..b6502212
--- /dev/null
+++ b/required/latex-lab/testfiles-mathcapture/mathcapture-008.tlg
@@ -0,0 +1,38 @@
+This is a generated file for the l3build validation system.
+Don't change this file in any respect.
+-----------------------------------
+x^2+y^2 &= z^2 \label {eq:A} \\ x^3+y^3 &= z^3 \notag \\ x^4+y^4 &= r^4 \tag {$*$} \\ x^5+y^5 &= r^5 \tag *{$*$} \\ x^6+y^6 &= r^6 \tag {\ref {eq:A}$'$}
+LaTeX Warning: Reference `eq:A' on page 1 undefined on input line ....
+LaTeX Warning: Reference `eq:A' on page 1 undefined on input line ....
+??????????????? why is the label not resolving?
+-----------------------------------
+f &= g \label {eq:1A} \\ f' &= g' \label {eq:1B} \\ \mathcal {L}f &= \mathcal {L}g \label {eq:1C}
+-----------------------------------
+f &= g \label {eq:2A} \\ f' &= g' \label {eq:2B} \\ \mathcal {L}f &= \mathcal {L}g + K \label {eq:2C}
+LaTeX Warning: Reference `eq:1' on page 1 undefined on input line ....
+LaTeX Warning: Reference `eq:2' on page 1 undefined on input line ....
+LaTeX Warning: Reference `eq:1C' on page 1 undefined on input line ....
+LaTeX Warning: Reference `eq:2C' on page 1 undefined on input line ....
+??????????????? why is the label not resolving?
+-----------------------------------
+A_1 &= N_0 (\lambda ; \Omega ') - \phi ( \lambda ; \Omega ') \\ A_2 &= \phi (\lambda ; \Omega ') \, \phi (\lambda ; \Omega ) \tag *{ALSO (\theequation )} \\ A_3 &= \mathcal {N} (\lambda ; \omega )
+-----------------------------------
+\begin {split} \lvert I_2 \rvert &= \left \lvert \int _{0}^T \psi (t) \left \{ u(a, t) - \int _{\gamma (t)}^a \frac {d\theta }{k} (\theta , t) \int _{a}^\theta c (\xi ) u_t (\xi , t) \,d\xi \right \} dt \right \rvert \\ &\le C_6 \Biggl \lvert \left \lvert f \int _\Omega \left \lvert \widetilde {S}^{-1,0}_{a,-} W_2(\Omega , \Gamma _l) \right \rvert \ \right \rvert \left \lvert \lvert u \rvert \overset {\circ }{\to } W_2^{\widetilde {A}} (\Omega ; \Gamma _r,T) \right \rvert \Biggr \rvert \end {split}
+-----------------------------------
+\split at tag \begin {split} \lvert I_2 \rvert &= \left \lvert \int _{0}^T \psi (t) \left \{ u(a, t) - \int _{\gamma (t)}^a \frac {d\theta }{k} (\theta , t) \int _{a}^\theta c (\xi ) u_t (\xi , t) \,d\xi \right \} dt \right \rvert \\ &\le C_6 \Biggl \lvert \left \lvert f \int _\Omega \left \lvert \widetilde {S}^{-1,0}_{a,-} W_2(\Omega , \Gamma _l) \right \rvert \ \right \rvert \left \lvert \lvert u \rvert \overset {\circ }{\to } W_2^{\widetilde {A}} (\Omega ; \Gamma _r,T) \right \rvert \Biggr \rvert \end {split}
+-----------------------------------
+\raisetag {-10pt} \text {The sign function: \ } \mathcal {S}(x) = \begin {cases} -1 & x < 0 \\ 0 & x = 0 \\ 1 & x > 0 \end {cases}
+)
+Runaway argument?
+\st at rredfalse \ifst at rred \nonumber \else \global \@eqnswtrue \fi \let \ETC.
+! File ended while scanning use of \__math_grab_dollardollar:w.
+<inserted text>
+ \par
+<*> \input mathcapture-008.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-008.lvt
+*** (job aborted, no legal \end found)
More information about the latex3-commits
mailing list.