diff --git a/required/latex-lab/latex-lab-math.dtx b/required/latex-lab/latex-lab-math.dtx new file mode 100644 index 000000000..fba981085 --- /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} +% +% +% \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 +% +% \end{macrocode} +% +% \Finale +% diff --git a/required/latex-lab/latex-lab-testphase.dtx b/required/latex-lab/latex-lab-testphase.dtx index dc4b0b06b..9963a51b6 100644 --- a/required/latex-lab/latex-lab-testphase.dtx +++ b/required/latex-lab/latex-lab-testphase.dtx @@ -80,5 +80,14 @@ % \begin{macrocode} % % \end{macrocode} +% +% \begin{macrocode} +%<*math> +\AddToHook{class/after}{% + \input{latex-lab-mathcapture.ltx}% + \input{latex-lab-math.ltx}% + } +% +% \end{macrocode} % \Finale % diff --git a/required/latex-lab/latex-lab.ins b/required/latex-lab/latex-lab.ins index 8bd620ce9..e1b175fe5 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 02b14ee09..88102ed00 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 368bd90a3..845ac2d1d 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 89ea635b0..deecaf351 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 acf97878c..0677f574d 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 36d568f1a..3d46ce405 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 ac996f91a..397c526c0 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 . - ... -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 . - ... -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@g__tag_struct_abs_int }}{#1} -! LaTeX Error: Control sequence \g__tag_struct_kids_5_seq already defined. -For immediate help type H . - ... -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 {<>}\__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 . - ... -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 . - ... -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 b152d3cf6..52cadd5ef 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 d0e69c135..8161a6985 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 28227a60f..80c6b93cc 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 e5709cc2f..6651b3090 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 d5bedab0c..0214d4ab5 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 7448eb2cc..de294a367 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 595746d27..22fee1722 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 66beaee0c..0e7ff328d 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@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 . - ... -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 . - ... -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@g__tag_struct_abs_int }}{#1} -! LaTeX Error: Control sequence \g__tag_struct_kids_8_seq already defined. -For immediate help type H . - ... -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 {<>}\__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 . - ... -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 . - ... -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 1d15e4fce..a6ed09e28 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 2acaa75d0..d8e858c18 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