[latex3-commits] [git/LaTeX3-latex3-latex2e] everymath: test -012 has issues (660f6b1b)

Frank Mittelbach frank.mittelbach at latex-project.org
Fri Jan 6 14:15:29 CET 2023


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

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

commit 660f6b1bac94c05eff117791493ebf65f7812c42
Author: Frank Mittelbach <frank.mittelbach at latex-project.org>
Date:   Fri Jan 6 14:15:29 2023 +0100

    test -012 has issues


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

660f6b1bac94c05eff117791493ebf65f7812c42
 .../testfiles-mathcapture/mathcapture-011.lvt      |   2 +-
 .../testfiles-mathcapture/mathcapture-012.lvt      |  89 +++++++
 .../testfiles-mathcapture/mathcapture-012.tlg      | 259 +++++++++++++++++++++
 3 files changed, 349 insertions(+), 1 deletion(-)

diff --git a/required/latex-lab/testfiles-mathcapture/mathcapture-011.lvt b/required/latex-lab/testfiles-mathcapture/mathcapture-011.lvt
index f901f340..147b0862 100644
--- a/required/latex-lab/testfiles-mathcapture/mathcapture-011.lvt
+++ b/required/latex-lab/testfiles-mathcapture/mathcapture-011.lvt
@@ -1,4 +1,4 @@
-% tikz math
+%
 
 \DocumentMetadata{testphase=phase-II}
 
diff --git a/required/latex-lab/testfiles-mathcapture/mathcapture-012.lvt b/required/latex-lab/testfiles-mathcapture/mathcapture-012.lvt
new file mode 100644
index 00000000..12fbdf39
--- /dev/null
+++ b/required/latex-lab/testfiles-mathcapture/mathcapture-012.lvt
@@ -0,0 +1,89 @@
+%
+
+\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}
+
+\DeclarePairedDelimiter\closed{[}{]}
+\DeclarePairedDelimiter\open{]}{[}\DeclarePairedDelimiter\ropen{[}{[}
+\DeclarePairedDelimiter\lopen{]}{]}
+
+
+\usepackage{interval,braket}
+
+\begin{document}
+
+\START
+
+
+11-4-1:
+\[ 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}      \\
+   u & \equiv v + 1 \bmod{n^2}     \\
+   u &   =    v + 1 \pmod{n^2}     \\
+   u &   =    v + 1 \pod{n^2}  \end{align*}
+The in-text layout: $ u = v + 1 \pmod{n^2} $
+
+11-4-2:
+\begin{gather}
+  A \xLeftarrow{\ x} B \xRightarrow[y\ ]{}
+                   C \xLeftrightarrow[y]{\ x\ } D    \\
+  A \xhookleftarrow{x} B \xhookrightarrow[bbb]{a} C  \\
+  \xleftharpoondown{} \xleftharpoonup{}
+  \xleftrightharpoons{xxx} \xrightleftharpoons[yy]{}
+  \xrightharpoondown{} \xrightharpoonup{}            \\
+  \xmapsto{x>0} A \xleftrightarrow[\text{letters}]{} Z
+\end{gather}
+
+\TYPE{???????????????????????? again spurious extra captures}
+
+11-4-22:
+\begin{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}
+\end{gather*}
+
+11-4-23:
+\[ \interval[open right]{a}{d} = \interval{a}{b} +
+   \interval[open left]{b}{c} + \interval[open]{c}{e}
+      - \interval[open right]{d}{e}                \]
+
+11-4-25:
+\begin{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 }
+\end{gather*}
+
+
+\end{document}
diff --git a/required/latex-lab/testfiles-mathcapture/mathcapture-012.tlg b/required/latex-lab/testfiles-mathcapture/mathcapture-012.tlg
new file mode 100644
index 00000000..7bf3719d
--- /dev/null
+++ b/required/latex-lab/testfiles-mathcapture/mathcapture-012.tlg
@@ -0,0 +1,259 @@
+This is a generated file for the l3build validation system.
+Don't change this file in any respect.
+-----------------------------------
+0 \xleftarrow [\zeta ]{} F \times \Delta (n - 1) \xrightarrow {\partial _0 \alpha (b)} E^{\partial _0 b}
+-----------------------------------
+\bool_set_false:N \l__math_collected_bool \m at th \displaystyle {\std at minus }
+-----------------------------------
+\bool_set_false:N \l__math_collected_bool \m at th \textstyle {\std at minus }
+-----------------------------------
+\bool_set_false:N \l__math_collected_bool \m at th \scriptstyle {\std at minus }
+-----------------------------------
+\bool_set_false:N \l__math_collected_bool \m at th \scriptscriptstyle {\std at minus }
+-----------------------------------
+\bool_set_false:N \l__math_collected_bool \m at th \displaystyle {\std at minus }
+-----------------------------------
+\bool_set_false:N \l__math_collected_bool \m at th \textstyle {\std at minus }
+-----------------------------------
+\bool_set_false:N \l__math_collected_bool \m at th \scriptstyle {\std at minus }
+-----------------------------------
+\bool_set_false:N \l__math_collected_bool \m at th \scriptscriptstyle {\std at minus }
+???????????????????????? again spurious extra captures
+-----------------------------------
+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}
+-----------------------------------
+u = v + 1 \pmod {n^2}
+-----------------------------------
+A \xLeftarrow {\ x} B \xRightarrow [y\ ]{} C \xLeftrightarrow [y]{\ x\ } D \\ A \xhookleftarrow {x} B \xhookrightarrow [bbb]{a} C \\ \xleftharpoondown {} \xleftharpoonup {} \xleftrightharpoons {xxx} \xrightleftharpoons [yy]{} \xrightharpoondown {} \xrightharpoonup {} \\ \xmapsto {x>0} A \xleftrightarrow [\text {letters}]{} Z
+-----------------------------------
+\bool_set_false:N \l__math_collected_bool \bool_set_false:N \l__math_collected_bool \m at th \displaystyle {\std at minus }
+-----------------------------------
+\bool_set_false:N \l__math_collected_bool \bool_set_false:N \l__math_collected_bool \m at th \textstyle {\std at minus }
+-----------------------------------
+\bool_set_false:N \l__math_collected_bool \bool_set_false:N \l__math_collected_bool \m at th \scriptstyle {\std at minus }
+-----------------------------------
+\bool_set_false:N \l__math_collected_bool \bool_set_false:N \l__math_collected_bool \m at th \scriptscriptstyle {\std at minus }
+-----------------------------------
+\bool_set_false:N \l__math_collected_bool \bool_set_false:N \l__math_collected_bool \m at th \displaystyle {\std at minus }
+-----------------------------------
+\bool_set_false:N \l__math_collected_bool \bool_set_false:N \l__math_collected_bool \m at th \textstyle {\std at minus }
+-----------------------------------
+\bool_set_false:N \l__math_collected_bool \bool_set_false:N \l__math_collected_bool \m at th \scriptstyle {\std at minus }
+-----------------------------------
+\bool_set_false:N \l__math_collected_bool \bool_set_false:N \l__math_collected_bool \m at th \scriptscriptstyle {\std at minus }
+-----------------------------------
+\bool_set_false:N \l__math_collected_bool \bool_set_false:N \l__math_collected_bool \m at th \displaystyle {\std at minus }
+-----------------------------------
+\bool_set_false:N \l__math_collected_bool \bool_set_false:N \l__math_collected_bool \m at th \textstyle {\std at minus }
+-----------------------------------
+\bool_set_false:N \l__math_collected_bool \bool_set_false:N \l__math_collected_bool \m at th \scriptstyle {\std at minus }
+-----------------------------------
+\bool_set_false:N \l__math_collected_bool \bool_set_false:N \l__math_collected_bool \m at th \scriptscriptstyle {\std at minus }
+-----------------------------------
+\bool_set_false:N \l__math_collected_bool \bool_set_false:N \l__math_collected_bool \m at th \displaystyle {\std at minus }
+-----------------------------------
+\bool_set_false:N \l__math_collected_bool \bool_set_false:N \l__math_collected_bool \m at th \textstyle {\std at minus }
+-----------------------------------
+\bool_set_false:N \l__math_collected_bool \bool_set_false:N \l__math_collected_bool \m at th \scriptstyle {\std at minus }
+-----------------------------------
+\bool_set_false:N \l__math_collected_bool \bool_set_false:N \l__math_collected_bool \m at th \scriptscriptstyle {\std at minus }
+-----------------------------------
+\bool_set_false:N \l__math_collected_bool \m at th \thickmuskip 0mu\medmuskip \thickmuskip \thinmuskip \thickmuskip \relax \displaystyle \leftharpoonup \mkern -7mu\cleaders \hbox {$\displaystyle \mkern -2mu\relbar \mkern -2mu$}\hfill \mkern -7mu\relbar 
+-----------------------------------
+\bool_set_false:N \l__math_collected_bool \bool_set_false:N \l__math_collected_bool \m at th \displaystyle {\std at minus }
+-----------------------------------
+\bool_set_false:N \l__math_collected_bool \bool_set_false:N \l__math_collected_bool \m at th \textstyle {\std at minus }
+-----------------------------------
+\bool_set_false:N \l__math_collected_bool \bool_set_false:N \l__math_collected_bool \m at th \scriptstyle {\std at minus }
+-----------------------------------
+\bool_set_false:N \l__math_collected_bool \bool_set_false:N \l__math_collected_bool \m at th \scriptscriptstyle {\std at minus }
+-----------------------------------
+\bool_set_false:N \l__math_collected_bool \bool_set_false:N \l__math_collected_bool \m at th \displaystyle {}
+-----------------------------------
+\bool_set_false:N \l__math_collected_bool \bool_set_false:N \l__math_collected_bool \m at th \textstyle {}
+-----------------------------------
+\bool_set_false:N \l__math_collected_bool \bool_set_false:N \l__math_collected_bool \m at th \scriptstyle {}
+-----------------------------------
+\bool_set_false:N \l__math_collected_bool \bool_set_false:N \l__math_collected_bool \m at th \scriptscriptstyle {}
+-----------------------------------
+\bool_set_false:N \l__math_collected_bool \m at th \displaystyle {}
+-----------------------------------
+\bool_set_false:N \l__math_collected_bool \m at th \textstyle {}
+-----------------------------------
+\bool_set_false:N \l__math_collected_bool \m at th \scriptstyle {}
+-----------------------------------
+\bool_set_false:N \l__math_collected_bool \m at th \scriptscriptstyle {}
+-----------------------------------
+\bool_set_false:N \l__math_collected_bool \m at th \thickmuskip 0mu\medmuskip \thickmuskip \thinmuskip \thickmuskip \relax \displaystyle \relbar \mkern -7mu\cleaders \hbox {$\displaystyle \mkern -2mu\relbar \mkern -2mu$}\hfill \mkern -7mu\rightharpoondown 
+-----------------------------------
+\bool_set_false:N \l__math_collected_bool \bool_set_false:N \l__math_collected_bool \m at th \displaystyle {\std at minus }
+-----------------------------------
+\bool_set_false:N \l__math_collected_bool \bool_set_false:N \l__math_collected_bool \m at th \textstyle {\std at minus }
+-----------------------------------
+\bool_set_false:N \l__math_collected_bool \bool_set_false:N \l__math_collected_bool \m at th \scriptstyle {\std at minus }
+-----------------------------------
+\bool_set_false:N \l__math_collected_bool \bool_set_false:N \l__math_collected_bool \m at th \scriptscriptstyle {\std at minus }
+-----------------------------------
+\bool_set_false:N \l__math_collected_bool \bool_set_false:N \l__math_collected_bool \m at th \displaystyle {xxx}
+-----------------------------------
+\bool_set_false:N \l__math_collected_bool \bool_set_false:N \l__math_collected_bool \m at th \textstyle {xxx}
+-----------------------------------
+\bool_set_false:N \l__math_collected_bool \bool_set_false:N \l__math_collected_bool \m at th \scriptstyle {xxx}
+-----------------------------------
+\bool_set_false:N \l__math_collected_bool \bool_set_false:N \l__math_collected_bool \m at th \scriptscriptstyle {xxx}
+-----------------------------------
+\bool_set_false:N \l__math_collected_bool \m at th \displaystyle {xxx}
+-----------------------------------
+\bool_set_false:N \l__math_collected_bool \m at th \textstyle {xxx}
+-----------------------------------
+\bool_set_false:N \l__math_collected_bool \m at th \scriptstyle {xxx}
+-----------------------------------
+\bool_set_false:N \l__math_collected_bool \m at th \scriptscriptstyle {xxx}
+-----------------------------------
+\bool_set_false:N \l__math_collected_bool \m at th \thickmuskip 0mu\medmuskip \thickmuskip \thinmuskip \thickmuskip \relax \displaystyle \relbar \mkern -7mu\cleaders \hbox {$\displaystyle \mkern -2mu\relbar \mkern -2mu$}\hfill \mkern -7mu\rightharpoonup 
+-----------------------------------
+\bool_set_false:N \l__math_collected_bool \bool_set_false:N \l__math_collected_bool \m at th \displaystyle {\std at minus }
+-----------------------------------
+\bool_set_false:N \l__math_collected_bool \bool_set_false:N \l__math_collected_bool \m at th \textstyle {\std at minus }
+-----------------------------------
+\bool_set_false:N \l__math_collected_bool \bool_set_false:N \l__math_collected_bool \m at th \scriptstyle {\std at minus }
+-----------------------------------
+\bool_set_false:N \l__math_collected_bool \bool_set_false:N \l__math_collected_bool \m at th \scriptscriptstyle {\std at minus }
+-----------------------------------
+\bool_set_false:N \l__math_collected_bool \bool_set_false:N \l__math_collected_bool \m at th \displaystyle {yy}
+-----------------------------------
+\bool_set_false:N \l__math_collected_bool \bool_set_false:N \l__math_collected_bool \m at th \textstyle {yy}
+-----------------------------------
+\bool_set_false:N \l__math_collected_bool \bool_set_false:N \l__math_collected_bool \m at th \scriptstyle {yy}
+-----------------------------------
+\bool_set_false:N \l__math_collected_bool \bool_set_false:N \l__math_collected_bool \m at th \scriptscriptstyle {yy}
+-----------------------------------
+\bool_set_false:N \l__math_collected_bool \m at th \displaystyle {yy}
+-----------------------------------
+\bool_set_false:N \l__math_collected_bool \m at th \textstyle {yy}
+-----------------------------------
+\bool_set_false:N \l__math_collected_bool \m at th \scriptstyle {yy}
+-----------------------------------
+\bool_set_false:N \l__math_collected_bool \m at th \scriptscriptstyle {yy}
+-----------------------------------
+\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 
+-----------------------------------
+\bool_set_false:N \l__math_collected_bool \bool_set_false:N \l__math_collected_bool \m at th \displaystyle {\std at minus }
+-----------------------------------
+\bool_set_false:N \l__math_collected_bool \bool_set_false:N \l__math_collected_bool \m at th \textstyle {\std at minus }
+-----------------------------------
+\bool_set_false:N \l__math_collected_bool \bool_set_false:N \l__math_collected_bool \m at th \scriptstyle {\std at minus }
+-----------------------------------
+\bool_set_false:N \l__math_collected_bool \bool_set_false:N \l__math_collected_bool \m at th \scriptscriptstyle {\std at minus }
+-----------------------------------
+\bool_set_false:N \l__math_collected_bool \bool_set_false:N \l__math_collected_bool \m at th \displaystyle {}
+-----------------------------------
+\bool_set_false:N \l__math_collected_bool \bool_set_false:N \l__math_collected_bool \m at th \textstyle {}
+-----------------------------------
+\bool_set_false:N \l__math_collected_bool \bool_set_false:N \l__math_collected_bool \m at th \scriptstyle {}
+-----------------------------------
+\bool_set_false:N \l__math_collected_bool \bool_set_false:N \l__math_collected_bool \m at th \scriptscriptstyle {}
+-----------------------------------
+\bool_set_false:N \l__math_collected_bool \m at th \displaystyle {}
+-----------------------------------
+\bool_set_false:N \l__math_collected_bool \m at th \textstyle {}
+-----------------------------------
+\bool_set_false:N \l__math_collected_bool \m at th \scriptstyle {}
+-----------------------------------
+\bool_set_false:N \l__math_collected_bool \m at th \scriptscriptstyle {}
+-----------------------------------
+\bool_set_false:N \l__math_collected_bool \bool_set_false:N \l__math_collected_bool \m at th \displaystyle {\std at minus }
+-----------------------------------
+\bool_set_false:N \l__math_collected_bool \bool_set_false:N \l__math_collected_bool \m at th \textstyle {\std at minus }
+-----------------------------------
+\bool_set_false:N \l__math_collected_bool \bool_set_false:N \l__math_collected_bool \m at th \scriptstyle {\std at minus }
+-----------------------------------
+\bool_set_false:N \l__math_collected_bool \bool_set_false:N \l__math_collected_bool \m at th \scriptscriptstyle {\std at minus }
+-----------------------------------
+\bool_set_false:N \l__math_collected_bool \bool_set_false:N \l__math_collected_bool \m at th \displaystyle {\std at minus }
+-----------------------------------
+\bool_set_false:N \l__math_collected_bool \bool_set_false:N \l__math_collected_bool \m at th \textstyle {\std at minus }
+-----------------------------------
+\bool_set_false:N \l__math_collected_bool \bool_set_false:N \l__math_collected_bool \m at th \scriptstyle {\std at minus }
+-----------------------------------
+\bool_set_false:N \l__math_collected_bool \bool_set_false:N \l__math_collected_bool \m at th \scriptscriptstyle {\std at minus }
+-----------------------------------
+\bool_set_false:N \l__math_collected_bool \bool_set_false:N \l__math_collected_bool \m at th \displaystyle {\std at minus }
+-----------------------------------
+\bool_set_false:N \l__math_collected_bool \bool_set_false:N \l__math_collected_bool \m at th \textstyle {\std at minus }
+-----------------------------------
+\bool_set_false:N \l__math_collected_bool \bool_set_false:N \l__math_collected_bool \m at th \scriptstyle {\std at minus }
+-----------------------------------
+\bool_set_false:N \l__math_collected_bool \bool_set_false:N \l__math_collected_bool \m at th \scriptscriptstyle {\std at minus }
+-----------------------------------
+\bool_set_false:N \l__math_collected_bool \bool_set_false:N \l__math_collected_bool \m at th \displaystyle {\std at minus }
+-----------------------------------
+\bool_set_false:N \l__math_collected_bool \bool_set_false:N \l__math_collected_bool \m at th \textstyle {\std at minus }
+-----------------------------------
+\bool_set_false:N \l__math_collected_bool \bool_set_false:N \l__math_collected_bool \m at th \scriptstyle {\std at minus }
+-----------------------------------
+\bool_set_false:N \l__math_collected_bool \bool_set_false:N \l__math_collected_bool \m at th \scriptscriptstyle {\std at minus }
+???????????????????????? again spurious extra captures
+-----------------------------------
+\ropen {a,d}=\closed {a,b} + \lopen {b,c} + \dotsb \\[3pt] \open {\frac {a}{b}} \approx \open *{\frac {a}{b}} \neq \closed [\Bigg ]{x}
+-----------------------------------
+\interval [open right]{a}{d} = \interval {a}{b} + \interval [open left]{b}{c} + \interval [open]{c}{e} - \interval [open right]{d}{e}
+-----------------------------------
+\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
+! LaTeX Error: Control sequence \g__tag_struct_8_prop already defined.
+For immediate help type H <return>.
+ ...                                              
+l. ...\end{gather*}
+This is a coding error.
+LaTeX has been asked to create a new control sequence '\g__tag_struct_8_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 {21 0 R}
+! LaTeX Error: Control sequence \__tag_struct_output_prop_8:n already defined.
+For immediate help type H <return>.
+ ...                                              
+l. ...\end{gather*}
+This is a coding error.
+LaTeX has been asked to create a new control sequence
+'\__tag_struct_output_prop_8: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_8_seq already defined.
+For immediate help type H <return>.
+ ...                                              
+l. ...\end{gather*}
+This is a coding error.
+LaTeX has been asked to create a new control sequence
+'\g__tag_struct_kids_8_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
+7>>}\__seq_item:n {\prop_item:Nn \g__tag_struct_cont_mc_prop {7}}
+! LaTeX Error: Control sequence \c__pdf_object___tag/struct/8_int already
+(LaTeX)        defined.
+For immediate help type H <return>.
+ ...                                              
+l. ...\end{gather*}
+This is a coding error.
+LaTeX has been asked to create a new control sequence
+'\c__pdf_object___tag/struct/8_int' but this name has already been used
+elsewhere.
+The current meaning is:
+  \mathchar"17
+! LaTeX Error: Control sequence \c__pdf_backend_object___tag/struct/8_int
+(LaTeX)        already defined.
+For immediate help type H <return>.
+ ...                                              
+l. ...\end{gather*}
+This is a coding error.
+LaTeX has been asked to create a new control sequence
+'\c__pdf_backend_object___tag/struct/8_int' but this name has already been
+used elsewhere.
+The current meaning is:
+  \mathchar"17
+Package tagpdf Warning: there is no mc to end at 7
+[1
+] (mathcapture-012.aux)
+Package tagpdf Warning: something is wrong with the mcid--rerun





More information about the latex3-commits mailing list.