[latex3-commits] [git/LaTeX3-latex3-latex2e] everymath: minor cleanup to mark remaining issues (3f2b2b22)
Frank Mittelbach
frank.mittelbach at latex-project.org
Fri Jan 6 16:40:49 CET 2023
Repository : https://github.com/latex3/latex2e
On branch : everymath
Link : https://github.com/latex3/latex2e/commit/3f2b2b22ce5e76236f0df71ddba4c94dc53474b7
>---------------------------------------------------------------
commit 3f2b2b22ce5e76236f0df71ddba4c94dc53474b7
Author: Frank Mittelbach <frank.mittelbach at latex-project.org>
Date: Fri Jan 6 16:40:49 2023 +0100
minor cleanup to mark remaining issues
>---------------------------------------------------------------
3f2b2b22ce5e76236f0df71ddba4c94dc53474b7
.../latex-lab/testfiles-mathcapture/mathcapture-002.lvt | 4 ++--
.../latex-lab/testfiles-mathcapture/mathcapture-002.tlg | 1 -
.../latex-lab/testfiles-mathcapture/mathcapture-005.lvt | 4 +++-
.../latex-lab/testfiles-mathcapture/mathcapture-005.tlg | 3 ++-
.../latex-lab/testfiles-mathcapture/mathcapture-007.lvt | 2 --
.../latex-lab/testfiles-mathcapture/mathcapture-007.tlg | 1 -
.../latex-lab/testfiles-mathcapture/mathcapture-008.lvt | 3 +++
.../latex-lab/testfiles-mathcapture/mathcapture-008.tlg | 1 +
.../latex-lab/testfiles-mathcapture/mathcapture-009.lvt | 1 -
.../latex-lab/testfiles-mathcapture/mathcapture-009.tlg | 1 -
.../latex-lab/testfiles-mathcapture/mathcapture-010.lvt | 2 +-
.../latex-lab/testfiles-mathcapture/mathcapture-010.tlg | 2 +-
.../latex-lab/testfiles-mathcapture/mathcapture-011.lvt | 13 +++++++------
.../latex-lab/testfiles-mathcapture/mathcapture-011.tlg | 6 +++++-
.../latex-lab/testfiles-mathcapture/mathcapture-012.lvt | 8 +++++---
.../latex-lab/testfiles-mathcapture/mathcapture-012.tlg | 5 +++--
16 files changed, 33 insertions(+), 24 deletions(-)
diff --git a/required/latex-lab/testfiles-mathcapture/mathcapture-002.lvt b/required/latex-lab/testfiles-mathcapture/mathcapture-002.lvt
index 5c8f3857..368bd90a 100644
--- a/required/latex-lab/testfiles-mathcapture/mathcapture-002.lvt
+++ b/required/latex-lab/testfiles-mathcapture/mathcapture-002.lvt
@@ -31,8 +31,8 @@ What about $\alpha \neq \beta \pmod x$?
\renewcommand\labelitemi{$\m at th\ast$} % old style
\makeatother
-And what about \labelitemi ?
-\TYPE{Definitely broken because it should not capture math!}
+And what about \labelitemi ? That should not generate a capture.
+
Some examples from TLC3:
diff --git a/required/latex-lab/testfiles-mathcapture/mathcapture-002.tlg b/required/latex-lab/testfiles-mathcapture/mathcapture-002.tlg
index b7cf786f..31eefed7 100644
--- a/required/latex-lab/testfiles-mathcapture/mathcapture-002.tlg
+++ b/required/latex-lab/testfiles-mathcapture/mathcapture-002.tlg
@@ -3,7 +3,6 @@ Don't change this file in any respect.
-----------------------------------
Math env $
\alpha \neq \beta \pmod x
-Definitely broken because it should not capture math!
-----------------------------------
Math env equation
(a+b)^2 = a^2+2ab+b^2
diff --git a/required/latex-lab/testfiles-mathcapture/mathcapture-005.lvt b/required/latex-lab/testfiles-mathcapture/mathcapture-005.lvt
index 3cab571b..36d568f1 100644
--- a/required/latex-lab/testfiles-mathcapture/mathcapture-005.lvt
+++ b/required/latex-lab/testfiles-mathcapture/mathcapture-005.lvt
@@ -53,6 +53,9 @@
U_i &= u_i
\end{aligned} \end{equation}
+\TYPE {-----------------------------------}
+\TYPE{==> now a tagpdf issue with \string\intertext}
+
11-2-23:
\begin{align}
A_1 &= N_0 (\lambda ; \Omega') -
@@ -63,5 +66,4 @@
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
index e97f5265..ac996f91 100644
--- a/required/latex-lab/testfiles-mathcapture/mathcapture-005.tlg
+++ b/required/latex-lab/testfiles-mathcapture/mathcapture-005.tlg
@@ -7,6 +7,8 @@ Math env equation*
Math env equation
\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}
-----------------------------------
+==> now a tagpdf issue with \intertext
+-----------------------------------
Math env 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 )
Package tagpdf Warning: nested marked content found - mcid 3
@@ -63,4 +65,3 @@ 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-007.lvt b/required/latex-lab/testfiles-mathcapture/mathcapture-007.lvt
index b7e3dd53..d0e69c13 100644
--- a/required/latex-lab/testfiles-mathcapture/mathcapture-007.lvt
+++ b/required/latex-lab/testfiles-mathcapture/mathcapture-007.lvt
@@ -37,8 +37,6 @@
\START
-\TYPE{next examples die ....}
-
\RegisterMathEnvironment{dmath}
11-2-28:
diff --git a/required/latex-lab/testfiles-mathcapture/mathcapture-007.tlg b/required/latex-lab/testfiles-mathcapture/mathcapture-007.tlg
index 77da8909..fd6fb9e7 100644
--- a/required/latex-lab/testfiles-mathcapture/mathcapture-007.tlg
+++ b/required/latex-lab/testfiles-mathcapture/mathcapture-007.tlg
@@ -1,6 +1,5 @@
This is a generated file for the l3build validation system.
Don't change this file in any respect.
-next examples die ....
-----------------------------------
Math env 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 ]
diff --git a/required/latex-lab/testfiles-mathcapture/mathcapture-008.lvt b/required/latex-lab/testfiles-mathcapture/mathcapture-008.lvt
index 064c6cff..28227a60 100644
--- a/required/latex-lab/testfiles-mathcapture/mathcapture-008.lvt
+++ b/required/latex-lab/testfiles-mathcapture/mathcapture-008.lvt
@@ -90,6 +90,9 @@ and~\eqref{eq:2}: only~\ref{eq:1C} and~\ref{eq:2C} differ.
\right\rvert \Biggr\rvert
\end{split} \end{equation}
+\TYPE{==> \string\split at tag\space looks a bit odd and may not be helpful for later processing}
+
+
11-2-39:
\begin{gather} \raisetag{-10pt}
\text{The sign function: \ }
diff --git a/required/latex-lab/testfiles-mathcapture/mathcapture-008.tlg b/required/latex-lab/testfiles-mathcapture/mathcapture-008.tlg
index efebeebe..adeb45ee 100644
--- a/required/latex-lab/testfiles-mathcapture/mathcapture-008.tlg
+++ b/required/latex-lab/testfiles-mathcapture/mathcapture-008.tlg
@@ -18,6 +18,7 @@ Math env equation
-----------------------------------
Math env equation
\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}
+==> \split at tag looks a bit odd and may not be helpful for later processing
-----------------------------------
Math env gather
\raisetag {-10pt} \text {The sign function: \ } \mathcal {S}(x) = \begin {cases} -1 & x < 0 \\ 0 & x = 0 \\ 1 & x > 0 \end {cases}
diff --git a/required/latex-lab/testfiles-mathcapture/mathcapture-009.lvt b/required/latex-lab/testfiles-mathcapture/mathcapture-009.lvt
index 72186788..43d8096f 100644
--- a/required/latex-lab/testfiles-mathcapture/mathcapture-009.lvt
+++ b/required/latex-lab/testfiles-mathcapture/mathcapture-009.lvt
@@ -44,6 +44,5 @@
(S\otimes T)/I & = & (Z\otimes T)/J
\end{array}\]
-\TYPE{???????????????????????? strange extra}
\end{document}
diff --git a/required/latex-lab/testfiles-mathcapture/mathcapture-009.tlg b/required/latex-lab/testfiles-mathcapture/mathcapture-009.tlg
index 0571473a..7d8c9f34 100644
--- a/required/latex-lab/testfiles-mathcapture/mathcapture-009.tlg
+++ b/required/latex-lab/testfiles-mathcapture/mathcapture-009.tlg
@@ -6,6 +6,5 @@ Math env equation*
-----------------------------------
Math env $
\bool_set_false:N \l__math_collected_bool \scriptstyle {\mathrm {End}}\,P
-???????????????????????? strange extra
[1
] (mathcapture-009.aux)
diff --git a/required/latex-lab/testfiles-mathcapture/mathcapture-010.lvt b/required/latex-lab/testfiles-mathcapture/mathcapture-010.lvt
index d86fc5b9..e5709cc2 100644
--- a/required/latex-lab/testfiles-mathcapture/mathcapture-010.lvt
+++ b/required/latex-lab/testfiles-mathcapture/mathcapture-010.lvt
@@ -34,7 +34,7 @@
\START
-\TYPE{???????????????????????? another case for "I'm a math display" interface}
+\TYPE{==> another case for "I'm a math display" interface}
11-3-13:
\begin{tikzcd}
diff --git a/required/latex-lab/testfiles-mathcapture/mathcapture-010.tlg b/required/latex-lab/testfiles-mathcapture/mathcapture-010.tlg
index 6d2a9b24..6419af07 100644
--- a/required/latex-lab/testfiles-mathcapture/mathcapture-010.tlg
+++ b/required/latex-lab/testfiles-mathcapture/mathcapture-010.tlg
@@ -1,6 +1,6 @@
This is a generated file for the l3build validation system.
Don't change this file in any respect.
-???????????????????????? another case for "I'm a math display" interface
+==> another case for "I'm a math display" interface
)
Runaway argument?
\bgroup \aftergroup \unskip \ifx \tikz at textcolor \pgfutil at empty \else \ETC.
diff --git a/required/latex-lab/testfiles-mathcapture/mathcapture-011.lvt b/required/latex-lab/testfiles-mathcapture/mathcapture-011.lvt
index 236baf95..d5bedab0 100644
--- a/required/latex-lab/testfiles-mathcapture/mathcapture-011.lvt
+++ b/required/latex-lab/testfiles-mathcapture/mathcapture-011.lvt
@@ -25,18 +25,19 @@
}
\ExplSyntaxOff
+\START
+
%\usepackage{amsmath,cases} % no already defined error if amsmath,cases is loaded explicitly
\usepackage{cases} % but error if only cases is loaded explicitly
-
-\begin{document}
-
-\START
-
\TYPE {-----------------------------------}
-\TYPE{????? just loading cases but not amsmath now gives an error}
+\TYPE{==> just loading cases but not amsmath now gives an error}
\TYPE {-----------------------------------}
+\OMIT
+\begin{document}
+\TIMO
+
\RegisterMathEnvironment{smallmatrix}
11-3-3:
diff --git a/required/latex-lab/testfiles-mathcapture/mathcapture-011.tlg b/required/latex-lab/testfiles-mathcapture/mathcapture-011.tlg
index 1679a593..e263c507 100644
--- a/required/latex-lab/testfiles-mathcapture/mathcapture-011.tlg
+++ b/required/latex-lab/testfiles-mathcapture/mathcapture-011.tlg
@@ -1,7 +1,11 @@
This is a generated file for the l3build validation system.
Don't change this file in any respect.
+(../cases.sty
+Package: cases ....-..-.. ver 3.2
+\numc at numwid=\dimen...
+)
-----------------------------------
-????? just loading cases but not amsmath now gives an error
+==> just loading cases but not amsmath now gives an error
-----------------------------------
-----------------------------------
Math env $
diff --git a/required/latex-lab/testfiles-mathcapture/mathcapture-012.lvt b/required/latex-lab/testfiles-mathcapture/mathcapture-012.lvt
index 3b96f6cc..595746d2 100644
--- a/required/latex-lab/testfiles-mathcapture/mathcapture-012.lvt
+++ b/required/latex-lab/testfiles-mathcapture/mathcapture-012.lvt
@@ -43,8 +43,6 @@
\[ 0 \xleftarrow[\zeta]{} F \times \Delta (n - 1)
\xrightarrow{\partial_0 \alpha(b)} E^{\partial_0 b} \]
-\TYPE{???????????????????????? again spurious extra captures}
-
11-4-19:
\begin{align*}
u & \equiv v + 1 \mod{n^2} \\
@@ -64,7 +62,8 @@ The in-text layout: $ u = v + 1 \pmod{n^2} $
\xmapsto{x>0} A \xleftrightarrow[\text{letters}]{} Z
\end{gather}
-\TYPE{???????????????????????? again spurious extra captures}
+\TYPE{==> again spurious extra captures below}
+
11-4-22:
\begin{gather*}
@@ -78,6 +77,9 @@ The in-text layout: $ u = v + 1 \pmod{n^2} $
\interval[open left]{b}{c} + \interval[open]{c}{e}
- \interval[open right]{d}{e} \]
+\TYPE {-----------------------------------}
+\TYPE{==> again now a tagpdf issue with \string\shortintertext}
+
11-4-25:
\begin{gather*}
\ket{\psi}\bra{\phi} : \ket{\xi}
diff --git a/required/latex-lab/testfiles-mathcapture/mathcapture-012.tlg b/required/latex-lab/testfiles-mathcapture/mathcapture-012.tlg
index f8adff26..ecd85062 100644
--- a/required/latex-lab/testfiles-mathcapture/mathcapture-012.tlg
+++ b/required/latex-lab/testfiles-mathcapture/mathcapture-012.tlg
@@ -3,7 +3,6 @@ Don't change this file in any respect.
-----------------------------------
Math env equation*
0 \xleftarrow [\zeta ]{} F \times \Delta (n - 1) \xrightarrow {\partial _0 \alpha (b)} E^{\partial _0 b}
-???????????????????????? again spurious extra captures
-----------------------------------
Math env align*
u & \equiv v + 1 \mod {n^2} \\ u & \equiv v + 1 \bmod {n^2} \\ u & = v + 1 \pmod {n^2} \\ u & = v + 1 \pod {n^2}
@@ -25,7 +24,7 @@ Math env $
-----------------------------------
Math env $
\bool_set_false:N \l__math_collected_bool \m at th \thickmuskip 0mu\medmuskip \thickmuskip \thinmuskip \thickmuskip \relax \displaystyle \leftharpoondown \mkern -7mu\cleaders \hbox {$\displaystyle \mkern -2mu\relbar \mkern -2mu$}\hfill \mkern -7mu\relbar
-???????????????????????? again spurious extra captures
+==> again spurious extra captures below
-----------------------------------
Math env gather*
\ropen {a,d}=\closed {a,b} + \lopen {b,c} + \dotsb \\[3pt] \open {\frac {a}{b}} \approx \open *{\frac {a}{b}} \neq \closed [\Bigg ]{x}
@@ -33,6 +32,8 @@ Math env gather*
Math env equation*
\interval [open right]{a}{d} = \interval {a}{b} + \interval [open left]{b}{c} + \interval [open]{c}{e} - \interval [open right]{d}{e}
-----------------------------------
+==> again now a tagpdf issue with \shortintertext
+-----------------------------------
Math env gather*
\ket {\psi }\bra {\phi } : \ket {\xi } \mapsto \ket {\psi } \braket {\psi |\xi } \\ \Braket { \phi | \frac {\partial ^2}{\partial t^2} | \psi } \\ \shortintertext {Also:} \Set { x\in \Re ^2 | 0 < |x| < 5 }
Package tagpdf Warning: nested marked content found - mcid 6
More information about the latex3-commits
mailing list.