[latex3-commits] [git/LaTeX3-latex3-latex2e] everymath: provide \DocumentMetadata{testphase={phase-II, math}} add latex-lab-math.ltx holding math redefinitions update tests (024c5647)
Frank Mittelbach
frank.mittelbach at latex-project.org
Sat Jan 7 01:23:40 CET 2023
Repository : https://github.com/latex3/latex2e
On branch : everymath
Link : https://github.com/latex3/latex2e/commit/024c5647a9d3fb76a1961c9e7a64e2b141300497
>---------------------------------------------------------------
commit 024c5647a9d3fb76a1961c9e7a64e2b141300497
Author: Frank Mittelbach <frank.mittelbach at latex-project.org>
Date: Sat Jan 7 01:23:40 2023 +0100
provide \DocumentMetadata{testphase={phase-II,math}}
add latex-lab-math.ltx holding math redefinitions
update tests
>---------------------------------------------------------------
024c5647a9d3fb76a1961c9e7a64e2b141300497
required/latex-lab/latex-lab-math.dtx | 171 +++++++++++++++++++++
required/latex-lab/latex-lab-testphase.dtx | 9 ++
required/latex-lab/latex-lab.ins | 4 +
.../testfiles-mathcapture/mathcapture-001.lvt | 6 +-
.../testfiles-mathcapture/mathcapture-002.lvt | 5 +-
.../testfiles-mathcapture/mathcapture-003.lvt | 5 +-
.../testfiles-mathcapture/mathcapture-004.lvt | 5 +-
.../testfiles-mathcapture/mathcapture-005.lvt | 8 +-
.../testfiles-mathcapture/mathcapture-005.tlg | 56 -------
.../testfiles-mathcapture/mathcapture-006.lvt | 6 +-
.../testfiles-mathcapture/mathcapture-007.lvt | 8 +-
.../testfiles-mathcapture/mathcapture-008.lvt | 6 +-
.../testfiles-mathcapture/mathcapture-010.lvt | 6 +-
.../testfiles-mathcapture/mathcapture-011.lvt | 8 +-
.../testfiles-mathcapture/mathcapture-011.tlg | 3 -
.../testfiles-mathcapture/mathcapture-012.lvt | 11 +-
.../testfiles-mathcapture/mathcapture-012.tlg | 59 +------
.../testfiles-mathcapture/mathcapture-013.lvt | 6 +-
.../testfiles-mathcapture/mathcapture-014.lvt | 6 +-
19 files changed, 200 insertions(+), 188 deletions(-)
diff --git a/required/latex-lab/latex-lab-math.dtx b/required/latex-lab/latex-lab-math.dtx
new file mode 100644
index 00000000..fba98108
--- /dev/null
+++ b/required/latex-lab/latex-lab-math.dtx
@@ -0,0 +1,171 @@
+% \iffalse meta-comment
+%
+%% File: latex-lab-math.dtx
+% Copyright (C) 2023 The LaTeX Project
+%
+% It may be distributed and/or modified under the conditions of the
+% LaTeX Project Public License (LPPL), either version 1.3c of this
+% license or (at your option) any later version. The latest version
+% of this license is in the file
+%
+% https://www.latex-project.org/lppl.txt
+%
+%
+% The development version of the bundle can be found below
+%
+% https://github.com/latex3/latex2e/required/latex-lab
+%
+% for those people who are interested or want to report an issue.
+%
+%<*driver>
+\documentclass{l3doc}
+\EnableCrossrefs
+\CodelineIndex
+\begin{document}
+ \DocInput{latex-lab-math.dtx}
+\end{document}
+%</driver>
+%
+% \fi
+%
+%
+% \title{The \texttt{latex-lab-math} code\thanks{}}
+% \author{Ulrike Fischer, Frank Mittelbach, Joseph Wright \LaTeX{} Project}
+%
+% \maketitle
+%
+% \newcommand\fmi[1]{\begin{quote} TODO: \itshape #1\end{quote}}
+% \newcommand\NEW[1]{\marginpar{\mbox{}\hfill\fbox{New: #1}}}
+% \providecommand\pkg[1]{\texttt{#1}}
+%
+% \begin{abstract}
+% \end{abstract}
+%
+% \section{Introduction}
+%
+% This code implements changes to commands and environments for math
+% from the kernel, \pkg{amsmath}, etc.
+%
+%
+%
+%
+% \StopEventually{\setlength\IndexMin{200pt} \PrintIndex }
+%
+%
+% \section{The Implementation}
+%
+% \begin{macrocode}
+%<*code>
+% \end{macrocode}
+%
+% \subsection{File declaration}
+% \begin{macrocode}
+\ProvidesFile{latex-lab-math.ltx}
+ [2023-01-07 v0.1a changes to math cmds and envs]
+% \end{macrocode}
+%
+%
+% \begin{macrocode}
+\ExplSyntaxOn
+% \end{macrocode}
+%
+%
+% \begin{macrocode}
+\AddToHook{package/amsmath/after}{%
+ \def\intertext@{%
+ \def\intertext##1{%
+ \ifvmode\else\\\@empty\fi
+ \noalign{%
+ \penalty\postdisplaypenalty\vskip\belowdisplayskip
+ \vbox{
+ %don't tag during measuring:
+ \ifmeasuring@\tag_stop:\fi
+ \normalbaselines
+ \ifdim\linewidth=\columnwidth
+ \else \parshape\@ne \@totalleftmargin \linewidth
+ \fi
+ % end previous mc
+ \tag_mc_end_push:
+ % change to span as we are in a par:
+ \tagpdfsetup{paratag=Span}%
+ \noindent\ignorespaces##1\par
+ % restart MC
+ \tag_mc_begin_pop:n{}}%
+ \penalty\predisplaypenalty\vskip\abovedisplayskip%
+ }%
+ }}
+}
+% \end{macrocode}
+%
+%
+% The following is incomplete and only covers one case of \cs{shortintertext}:
+% \begin{macrocode}
+%\MHInternalSyntaxOn
+\AddToHook{package/mathtools/after}{%
+ \def\MT_shortintertext:n #1{%
+ \ifvmode\else\\\@empty\fi
+ \noalign{%
+ \penalty\postdisplaypenalty\vskip\abovedisplayshortskip
+ \vskip-\lineskiplimit
+ \vskip\normallineskiplimit
+ \vskip\l_MT_above_shortintertext_sep
+ \vbox{%
+ \ifmeasuring@\tag_stop:\fi
+ \normalbaselines
+ \MH_if_dim:w
+ \MH_if_dim:w \@totalleftmargin=\z@
+ \linewidth
+ \MH_else:
+ -\maxdimen
+ \MH_fi:
+ =\columnwidth
+ \MH_else:
+ \parshape\@ne \@totalleftmargin \linewidth
+ \MH_fi:
+ % end previous mc
+ \tag_mc_end_push:
+ % change to span as we are in a par:
+ \tagpdfsetup{paratag=Span}%
+ \noindent\ignorespaces#1\par
+ % restart MC
+ \tag_mc_begin_pop:n{}%
+ }%
+ \penalty\predisplaypenalty\vskip\abovedisplayshortskip%
+ \vskip-\lineskiplimit
+ \vskip\normallineskiplimit
+ \vskip\l_MT_below_shortintertext_sep
+ }%
+ }
+ \MT_orig_shortintertext_false: %activate
+}
+%\MHInternalSyntaxOff
+% \end{macrocode}
+%
+%
+% \begin{macrocode}
+\AddToHook{package/breqn/after}{
+ \RegisterMathEnvironment{dmath}
+ \RegisterMathEnvironment{dgroup*}
+}
+% \end{macrocode}
+%
+% Not sure why that was set in a test file, mistake?
+% \begin{macrocode}
+%\AddToHook{package/amsmath/after}{
+% \RegisterMathEnvironment{smallmatrix}
+%}
+% \end{macrocode}
+%
+% \begin{macrocode}
+\AddToHook{package/cases/after}{
+ \RegisterMathEnvironment{subnumcases}
+}
+% \end{macrocode}
+%
+% \begin{macrocode}
+\ExplSyntaxOff
+%</code>
+% \end{macrocode}
+%
+% \Finale
+%
diff --git a/required/latex-lab/latex-lab-testphase.dtx b/required/latex-lab/latex-lab-testphase.dtx
index dc4b0b06..9963a51b 100644
--- a/required/latex-lab/latex-lab-testphase.dtx
+++ b/required/latex-lab/latex-lab-testphase.dtx
@@ -80,5 +80,14 @@
% \begin{macrocode}
%</tagpdf|phase-I|phase-II>
% \end{macrocode}
+%
+% \begin{macrocode}
+%<*math>
+\AddToHook{class/after}{%
+ \input{latex-lab-mathcapture.ltx}%
+ \input{latex-lab-math.ltx}%
+ }
+%</math>
+% \end{macrocode}
% \Finale
%
diff --git a/required/latex-lab/latex-lab.ins b/required/latex-lab/latex-lab.ins
index 8bd620ce..e1b175fe 100644
--- a/required/latex-lab/latex-lab.ins
+++ b/required/latex-lab/latex-lab.ins
@@ -72,12 +72,16 @@ where one can also log issues in case there are any.
\generate{\file{tagpdf-latex-lab-testphase.ltx}{\from{latex-lab-testphase.dtx}{tagpdf}}}
\generate{\file{new-or-latex-lab-testphase.ltx}{\from{latex-lab-testphase.dtx}{new-or}}}
+
+\generate{\file{math-latex-lab-testphase.ltx}{\from{latex-lab-testphase.dtx}{math}}}
+
% support files (the new-or code is a private package to make life easier)
\generate{\file{latex-lab-testphase-new-or.sty}{\from{latex-lab-new-or.dtx}{code}}}
\generate{\file{latex-lab-footmisc.ltx}{\from{latex-lab-footnotes.dtx}{footmisc}}}
\generate{\file{latex-lab-footnotes.ltx}{\from{latex-lab-footnotes.dtx}{kernel}}}
\generate{\file{latex-lab-mathcapture.ltx}{\from{latex-lab-mathcapture.dtx}{kernel}}}
+\generate{\file{latex-lab-math.ltx}{\from{latex-lab-math.dtx}{code}}}
\endbatchfile
diff --git a/required/latex-lab/testfiles-mathcapture/mathcapture-001.lvt b/required/latex-lab/testfiles-mathcapture/mathcapture-001.lvt
index 02b14ee0..88102ed0 100644
--- a/required/latex-lab/testfiles-mathcapture/mathcapture-001.lvt
+++ b/required/latex-lab/testfiles-mathcapture/mathcapture-001.lvt
@@ -1,4 +1,4 @@
-\DocumentMetadata{testphase=phase-II}
+\DocumentMetadata{testphase={phase-II,math}}
\documentclass{article}
@@ -9,9 +9,7 @@
\debug_on:n { deprecation }
\ExplSyntaxOff
-\makeatletter
-\input{latex-lab-mathcapture.ltx}
-\makeatother
+
\ExplSyntaxOn
\math_processor:n
{
diff --git a/required/latex-lab/testfiles-mathcapture/mathcapture-002.lvt b/required/latex-lab/testfiles-mathcapture/mathcapture-002.lvt
index 368bd90a..845ac2d1 100644
--- a/required/latex-lab/testfiles-mathcapture/mathcapture-002.lvt
+++ b/required/latex-lab/testfiles-mathcapture/mathcapture-002.lvt
@@ -1,4 +1,4 @@
-\DocumentMetadata{testphase=phase-II}
+\DocumentMetadata{testphase={phase-II,math}}
\documentclass{article}
@@ -9,9 +9,6 @@
\debug_on:n { deprecation }
\ExplSyntaxOff
-\makeatletter
-\input{latex-lab-mathcapture.ltx}
-\makeatother
\ExplSyntaxOn
\math_processor:n
{
diff --git a/required/latex-lab/testfiles-mathcapture/mathcapture-003.lvt b/required/latex-lab/testfiles-mathcapture/mathcapture-003.lvt
index 89ea635b..deecaf35 100644
--- a/required/latex-lab/testfiles-mathcapture/mathcapture-003.lvt
+++ b/required/latex-lab/testfiles-mathcapture/mathcapture-003.lvt
@@ -1,4 +1,4 @@
-\DocumentMetadata{testphase=phase-II}
+\DocumentMetadata{testphase={phase-II,math}}
\documentclass{article}
@@ -9,9 +9,6 @@
\debug_on:n { deprecation }
\ExplSyntaxOff
-\makeatletter
-\input{latex-lab-mathcapture.ltx}
-\makeatother
\ExplSyntaxOn
\math_processor:n
{
diff --git a/required/latex-lab/testfiles-mathcapture/mathcapture-004.lvt b/required/latex-lab/testfiles-mathcapture/mathcapture-004.lvt
index acf97878..0677f574 100644
--- a/required/latex-lab/testfiles-mathcapture/mathcapture-004.lvt
+++ b/required/latex-lab/testfiles-mathcapture/mathcapture-004.lvt
@@ -1,4 +1,4 @@
-\DocumentMetadata{testphase=phase-II}
+\DocumentMetadata{testphase={phase-II,math}}
\documentclass{article}
@@ -9,9 +9,6 @@
\debug_on:n { deprecation }
\ExplSyntaxOff
-\makeatletter
-\input{latex-lab-mathcapture.ltx}
-\makeatother
\ExplSyntaxOn
\math_processor:n
diff --git a/required/latex-lab/testfiles-mathcapture/mathcapture-005.lvt b/required/latex-lab/testfiles-mathcapture/mathcapture-005.lvt
index 36d568f1..3d46ce40 100644
--- a/required/latex-lab/testfiles-mathcapture/mathcapture-005.lvt
+++ b/required/latex-lab/testfiles-mathcapture/mathcapture-005.lvt
@@ -1,4 +1,4 @@
-\DocumentMetadata{testphase=phase-II}
+\DocumentMetadata{testphase={phase-II,math}}
\documentclass{article}
@@ -9,10 +9,6 @@
\debug_on:n { deprecation }
\ExplSyntaxOff
-\makeatletter
-\input{latex-lab-mathcapture.ltx}
-\makeatother
-
\ExplSyntaxOn
\math_processor:n
{
@@ -53,8 +49,6 @@
U_i &= u_i
\end{aligned} \end{equation}
-\TYPE {-----------------------------------}
-\TYPE{==> now a tagpdf issue with \string\intertext}
11-2-23:
\begin{align}
diff --git a/required/latex-lab/testfiles-mathcapture/mathcapture-005.tlg b/required/latex-lab/testfiles-mathcapture/mathcapture-005.tlg
index ac996f91..397c526c 100644
--- a/required/latex-lab/testfiles-mathcapture/mathcapture-005.tlg
+++ b/required/latex-lab/testfiles-mathcapture/mathcapture-005.tlg
@@ -7,61 +7,5 @@ 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
-! 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
diff --git a/required/latex-lab/testfiles-mathcapture/mathcapture-006.lvt b/required/latex-lab/testfiles-mathcapture/mathcapture-006.lvt
index b152d3cf..52cadd5e 100644
--- a/required/latex-lab/testfiles-mathcapture/mathcapture-006.lvt
+++ b/required/latex-lab/testfiles-mathcapture/mathcapture-006.lvt
@@ -1,6 +1,6 @@
% mathtool examples ...
-\DocumentMetadata{testphase=phase-II}
+\DocumentMetadata{testphase={phase-II,math}}
\documentclass{article}
@@ -11,10 +11,6 @@
\debug_on:n { deprecation }
\ExplSyntaxOff
-\makeatletter
-\input{latex-lab-mathcapture.ltx}
-\makeatother
-
\ExplSyntaxOn
\math_processor:n
diff --git a/required/latex-lab/testfiles-mathcapture/mathcapture-007.lvt b/required/latex-lab/testfiles-mathcapture/mathcapture-007.lvt
index d0e69c13..8161a698 100644
--- a/required/latex-lab/testfiles-mathcapture/mathcapture-007.lvt
+++ b/required/latex-lab/testfiles-mathcapture/mathcapture-007.lvt
@@ -1,6 +1,6 @@
% breqn examples ...
-%\DocumentMetadata{testphase=phase-II}
+\DocumentMetadata{testphase={math}}
\documentclass{article}
@@ -11,10 +11,6 @@
\debug_on:n { deprecation }
\ExplSyntaxOff
-\makeatletter
-\input{latex-lab-mathcapture.ltx}
-\makeatother
-
\ExplSyntaxOn
\math_processor:n
@@ -37,7 +33,6 @@
\START
-\RegisterMathEnvironment{dmath}
11-2-28:
\begin{dmath}
@@ -53,7 +48,6 @@
\vf(x) \,ds \biggr) \biggr]
\end{dmath}
-\RegisterMathEnvironment{dgroup*}
11-2-28:
\begin{dgroup*}
diff --git a/required/latex-lab/testfiles-mathcapture/mathcapture-008.lvt b/required/latex-lab/testfiles-mathcapture/mathcapture-008.lvt
index 28227a60..80c6b93c 100644
--- a/required/latex-lab/testfiles-mathcapture/mathcapture-008.lvt
+++ b/required/latex-lab/testfiles-mathcapture/mathcapture-008.lvt
@@ -1,6 +1,6 @@
% use leqno
-\DocumentMetadata{testphase=phase-II}
+\DocumentMetadata{testphase={phase-II,math}}
\documentclass{article}
@@ -13,10 +13,6 @@
\usepackage[leqno]{amsmath}
-\makeatletter
-\input{latex-lab-mathcapture.ltx}
-\makeatother
-
\ExplSyntaxOn
\math_processor:n
diff --git a/required/latex-lab/testfiles-mathcapture/mathcapture-010.lvt b/required/latex-lab/testfiles-mathcapture/mathcapture-010.lvt
index e5709cc2..6651b309 100644
--- a/required/latex-lab/testfiles-mathcapture/mathcapture-010.lvt
+++ b/required/latex-lab/testfiles-mathcapture/mathcapture-010.lvt
@@ -1,6 +1,6 @@
% tikz math
-\DocumentMetadata{testphase=phase-II}
+\DocumentMetadata{testphase={phase-II,math}}
\documentclass{article}
@@ -11,10 +11,6 @@
\debug_on:n { deprecation }
\ExplSyntaxOff
-\makeatletter
-\input{latex-lab-mathcapture.ltx}
-\makeatother
-
\ExplSyntaxOn
\math_processor:n
diff --git a/required/latex-lab/testfiles-mathcapture/mathcapture-011.lvt b/required/latex-lab/testfiles-mathcapture/mathcapture-011.lvt
index d5bedab0..0214d4ab 100644
--- a/required/latex-lab/testfiles-mathcapture/mathcapture-011.lvt
+++ b/required/latex-lab/testfiles-mathcapture/mathcapture-011.lvt
@@ -1,6 +1,6 @@
%
-\DocumentMetadata{testphase=phase-II}
+\DocumentMetadata{testphase={phase-II,math}}
\documentclass{article}
@@ -11,10 +11,6 @@
\debug_on:n { deprecation }
\ExplSyntaxOff
-\makeatletter
-\input{latex-lab-mathcapture.ltx}
-\makeatother
-
\ExplSyntaxOn
\math_processor:n
@@ -38,7 +34,6 @@
\begin{document}
\TIMO
-\RegisterMathEnvironment{smallmatrix}
11-3-3:
To show the effect of the matrix on surrounding
@@ -47,7 +42,6 @@ $\left(\begin{smallmatrix}
-1 & 0 \\ 0 & -1 \end{smallmatrix}\right)$
and follow it with some more text on the next line.
-\RegisterMathEnvironment{subnumcases}
11-3-7:
\begin{subnumcases}{f(x) = \label{L1}}
diff --git a/required/latex-lab/testfiles-mathcapture/mathcapture-011.tlg b/required/latex-lab/testfiles-mathcapture/mathcapture-011.tlg
index 7448eb2c..de294a36 100644
--- a/required/latex-lab/testfiles-mathcapture/mathcapture-011.tlg
+++ b/required/latex-lab/testfiles-mathcapture/mathcapture-011.tlg
@@ -11,9 +11,6 @@ Package: cases ....-..-.. ver 3.2
Math env math
\left (\begin {smallmatrix} -1 & 0 \\ 0 & -1 \end {smallmatrix}\right )
-----------------------------------
-Math env smallmatrix
--1 & 0 \\ 0 & -1
------------------------------------
Math env subnumcases
{f(x) = \label {L1}} -1 & if $x<0$\,, \\ 0 & if $x=0$\,, \tag {$*$} \\ 1 & if $x>0$\,. \label {L2}
[1
diff --git a/required/latex-lab/testfiles-mathcapture/mathcapture-012.lvt b/required/latex-lab/testfiles-mathcapture/mathcapture-012.lvt
index 595746d2..22fee172 100644
--- a/required/latex-lab/testfiles-mathcapture/mathcapture-012.lvt
+++ b/required/latex-lab/testfiles-mathcapture/mathcapture-012.lvt
@@ -1,6 +1,6 @@
%
-\DocumentMetadata{testphase=phase-II}
+\DocumentMetadata{testphase={phase-II,math}}
\documentclass{article}
@@ -11,10 +11,6 @@
\debug_on:n { deprecation }
\ExplSyntaxOff
-\makeatletter
-\input{latex-lab-mathcapture.ltx}
-\makeatother
-
\ExplSyntaxOn
\math_processor:n
@@ -62,8 +58,7 @@ 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 below}
-
+\TYPE{==> again spurious extra captures above}
11-4-22:
\begin{gather*}
@@ -77,8 +72,6 @@ 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*}
diff --git a/required/latex-lab/testfiles-mathcapture/mathcapture-012.tlg b/required/latex-lab/testfiles-mathcapture/mathcapture-012.tlg
index 66beaee0..0e7ff328 100644
--- a/required/latex-lab/testfiles-mathcapture/mathcapture-012.tlg
+++ b/required/latex-lab/testfiles-mathcapture/mathcapture-012.tlg
@@ -24,7 +24,7 @@ Math env math
-----------------------------------
Math env math
\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 below
+==> again spurious extra captures above
-----------------------------------
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}
@@ -32,64 +32,7 @@ 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
-! 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
diff --git a/required/latex-lab/testfiles-mathcapture/mathcapture-013.lvt b/required/latex-lab/testfiles-mathcapture/mathcapture-013.lvt
index 1d15e4fc..a6ed09e2 100644
--- a/required/latex-lab/testfiles-mathcapture/mathcapture-013.lvt
+++ b/required/latex-lab/testfiles-mathcapture/mathcapture-013.lvt
@@ -1,6 +1,6 @@
%
-\DocumentMetadata{testphase=phase-II}
+\DocumentMetadata{testphase={phase-II,math}}
\documentclass{article}
@@ -11,10 +11,6 @@
\debug_on:n { deprecation }
\ExplSyntaxOff
-\makeatletter
-\input{latex-lab-mathcapture.ltx}
-\makeatother
-
\ExplSyntaxOn
\math_processor:n
diff --git a/required/latex-lab/testfiles-mathcapture/mathcapture-014.lvt b/required/latex-lab/testfiles-mathcapture/mathcapture-014.lvt
index 2acaa75d..d8e858c1 100644
--- a/required/latex-lab/testfiles-mathcapture/mathcapture-014.lvt
+++ b/required/latex-lab/testfiles-mathcapture/mathcapture-014.lvt
@@ -1,6 +1,6 @@
%
-\DocumentMetadata{testphase=phase-II}
+\DocumentMetadata{testphase={phase-II,math}}
\documentclass{article}
@@ -11,10 +11,6 @@
\debug_on:n { deprecation }
\ExplSyntaxOff
-\makeatletter
-\input{latex-lab-mathcapture.ltx}
-\makeatother
-
\ExplSyntaxOn
\math_processor:n
More information about the latex3-commits
mailing list.