[latex3-commits] [git/LaTeX3-latex3-latex2e] everymath: two issues with -013 (tagpdf + RegisterEnv) (f234c9d9)

Frank Mittelbach frank.mittelbach at latex-project.org
Fri Jan 6 16:52:50 CET 2023


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

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

commit f234c9d9d9ca8f4714803f36c08f9d48dfc296c9
Author: Frank Mittelbach <frank.mittelbach at latex-project.org>
Date:   Fri Jan 6 16:52:50 2023 +0100

    two issues with -013 (tagpdf + RegisterEnv)


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

f234c9d9d9ca8f4714803f36c08f9d48dfc296c9
 .../testfiles-mathcapture/mathcapture-013.lvt      | 56 ++++++++++++++++++++++
 .../testfiles-mathcapture/mathcapture-013.tlg      |  8 ++++
 2 files changed, 64 insertions(+)

diff --git a/required/latex-lab/testfiles-mathcapture/mathcapture-013.lvt b/required/latex-lab/testfiles-mathcapture/mathcapture-013.lvt
new file mode 100644
index 00000000..1d15e4fc
--- /dev/null
+++ b/required/latex-lab/testfiles-mathcapture/mathcapture-013.lvt
@@ -0,0 +1,56 @@
+%
+
+\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 { Math~env~#1 }
+    \TYPE {\unexpanded{#2}}
+  }
+\ExplSyntaxOff
+
+\usepackage{empheq,xcolor}
+
+
+\TYPE {-----------------------------------}
+\TYPE{==> \RegisterMathEnvironment is not good enough here ... needs allowing for argument spec?}
+
+\RegisterMathEnvironment{empheq}
+
+\begin{document}
+
+\START
+
+\TYPE {-----------------------------------}
+\TYPE{==> again a tagpdf issue here}
+
+\begin{empheq}[box=\fcolorbox{black}{blue!10},
+  innerbox=\colorbox{white},
+  left=\longrightarrow \empheqlbrace,
+  right=\empheqbigrbrack \Longrightarrow]{align}
+    x_0&=1     &  x_1&=2   \\
+    x_2&=3     &  x_3&=5   \\
+    x_4&=8     &  x_5&=13  \\
+    x_6&=21    &  x_7&=34  \\
+       &\ldots & \sum_{i=1}^n x_i
+                    &=\mathord{??}  \tag{*}
+\end{empheq}
+
+
+\end{document}
diff --git a/required/latex-lab/testfiles-mathcapture/mathcapture-013.tlg b/required/latex-lab/testfiles-mathcapture/mathcapture-013.tlg
new file mode 100644
index 00000000..fd8fd927
--- /dev/null
+++ b/required/latex-lab/testfiles-mathcapture/mathcapture-013.tlg
@@ -0,0 +1,8 @@
+This is a generated file for the l3build validation system.
+Don't change this file in any respect.
+-----------------------------------
+==> again a tagpdf issue here
+-----------------------------------
+Math env empheq
+[box=\fcolorbox {black}{blue!10}, innerbox=\colorbox {white}, left=\longrightarrow \empheqlbrace , right=\empheqbigrbrack \Longrightarrow ]{align} x_0&=1 & x_1&=2 \\ x_2&=3 & x_3&=5 \\ x_4&=8 & x_5&=13 \\ x_6&=21 & x_7&=34 \\ &\ldots & \sum _{i=1}^n x_i &=\mathord {??} \tag {*}
+(mathcapture-013.aux)





More information about the latex3-commits mailing list.