[latex3-commits] [latex3/latex2e] UF-latex-lab-math-options: clean up examples (c67a6bed1)
github at latex-project.org
github at latex-project.org
Fri Oct 25 16:12:16 CEST 2024
Repository : https://github.com/latex3/latex2e
On branch : UF-latex-lab-math-options
Link : https://github.com/latex3/latex2e/commit/c67a6bed1e368d3f711b868609b72469fddd484f
>---------------------------------------------------------------
commit c67a6bed1e368d3f711b868609b72469fddd484f
Author: Ulrike Fischer <fischer at troubleshooting-tex.de>
Date: Fri Oct 25 16:12:16 2024 +0200
clean up examples
>---------------------------------------------------------------
c67a6bed1e368d3f711b868609b72469fddd484f
.../math-17-alt+mathmlAF+texAF.lvt | 56 +++++++++++++++++++++
...th-17-alt+structelem+rolemap+mathmlAF+texAF.lvt | 57 ++++++++++++++++++++++
.../math-tagging-examples/math-17-alt-noluamml.lvt | 56 +++++++++++++++++++++
.../math-tagging-examples/math-17-default.lvt | 56 +++++++++++++++++++++
.../math-20-alt+structelem+mathmlAF+texAF.lvt | 57 ++++++++++++++++++++++
.../math-tagging-examples/math-20-alt-noluamml.lvt | 57 ++++++++++++++++++++++
.../math-tagging-examples/math-20-alt.lvt | 57 ++++++++++++++++++++++
.../math-tagging-examples/math-20-default.lvt | 31 ++++++++----
.../math-20-mathmlAF+texAF.lvt | 56 +++++++++++++++++++++
.../math-tagging-examples/math-20-mathmlAF.lvt | 56 +++++++++++++++++++++
.../math-20-only-alt-noluamml.lvt | 45 -----------------
.../math-20-only-mathmlAF.lvt | 45 -----------------
.../math-20-only-structelem.lvt | 48 ------------------
.../math-20-only-texAF-noluamml.lvt | 45 -----------------
.../math-20-structelem+mathmlAF+texAF.lvt | 57 ++++++++++++++++++++++
.../math-tagging-examples/math-20-structelem.lvt | 33 ++++++++-----
.../math-20-texAF-noluamml.lvt | 56 +++++++++++++++++++++
.../math-tagging-examples/math-20-texAF.lvt | 56 +++++++++++++++++++++
.../support/math-tagging-tests.yml | 23 +++++++++
required/latex-lab/update-math-tagging-examples.sh | 19 ++++++--
20 files changed, 757 insertions(+), 209 deletions(-)
diff --git a/required/latex-lab/math-tagging-examples/math-17-alt+mathmlAF+texAF.lvt b/required/latex-lab/math-tagging-examples/math-17-alt+mathmlAF+texAF.lvt
new file mode 100644
index 000000000..cdad7ea97
--- /dev/null
+++ b/required/latex-lab/math-tagging-examples/math-17-alt+mathmlAF+texAF.lvt
@@ -0,0 +1,56 @@
+% template for math reading.
+\DocumentMetadata
+ {
+ uncompress,testphase={phase-III,title,math},
+ pdfversion=1.7,
+ pdfstandard=ua-1
+ %pdfversion=2.0,
+ %pdfstandard=ua-2
+ }
+
+
+\documentclass{article}
+\makeatletter
+\ExplSyntaxOn
+\tl_put_right:Nn\cdp at list{\cdp at elt {TU}{lmr}{m}{n}}
+\ExplSyntaxOff
+\makeatother
+
+\usepackage{unicode-math}
+
+\title{Test math tagging}
+
+% global setups
+% rolemap mathml to Span default false (probably senseless)
+%\tagpdfsetup{role/mathml-tags}
+
+% suppress loading of luamml
+%\tagpdfsetup{math/mathml/luamml/load=false} %
+
+% suppress writing of luamml-mathml
+%\tagpdfsetup{math/mathml/luamml/write=false} %
+
+% suppress mathml-AF reading
+%\tagpdfsetup{math/mathml/sources=} %
+
+% enable structure elements
+%\tagpdfsetup{math/mathml/structelem} %
+
+\begin{document}
+% local settings. Can also be in the preamble but used here for clarity
+
+% alt text, default currently false if not ua-1
+%\tagpdfsetup{math/alt/use = true}
+
+% suppress tex source AF
+% \tagpdfsetup{math/tex/AF=false}
+
+% suppress attaching of mathml-AF (local setting)
+% \tagpdfsetup{math/mathml/AF=false}
+
+inline $E=mc^2$
+
+display
+\[a^2+b^2=c^2\]
+
+\end{document}
diff --git a/required/latex-lab/math-tagging-examples/math-17-alt+structelem+rolemap+mathmlAF+texAF.lvt b/required/latex-lab/math-tagging-examples/math-17-alt+structelem+rolemap+mathmlAF+texAF.lvt
new file mode 100644
index 000000000..c5d8c32b2
--- /dev/null
+++ b/required/latex-lab/math-tagging-examples/math-17-alt+structelem+rolemap+mathmlAF+texAF.lvt
@@ -0,0 +1,57 @@
+% template for math reading.
+
+\DocumentMetadata
+ {
+ uncompress,testphase={phase-III,title,math},
+ pdfversion=1.7,
+ pdfstandard=ua-1
+ %pdfversion=2.0,
+ %pdfstandard=ua-2
+ }
+
+\documentclass{article}
+\makeatletter
+\ExplSyntaxOn
+\tl_put_right:Nn\cdp at list{\cdp at elt {TU}{lmr}{m}{n}}
+\ExplSyntaxOff
+\makeatother
+
+\usepackage{unicode-math}
+
+\title{Test math tagging}
+
+% global setups
+% rolemap mathml to Span default false (probably senseless)
+\tagpdfsetup{role/mathml-tags}
+
+% suppress loading of luamml
+%\tagpdfsetup{math/mathml/luamml/load=false} %
+
+% suppress writing of luamml-mathml
+%\tagpdfsetup{math/mathml/luamml/write=false} %
+
+% suppress mathml-AF inclusion
+%\tagpdfsetup{math/mathml/sources=} %
+
+% enable structure elements
+\tagpdfsetup{math/mathml/structelem} %
+
+\begin{document}
+
+% local settings. Can also be in the preamble but used here for clarity
+
+% alt text, default currently false if not ua-1
+% \tagpdfsetup{math/alt/use = true}
+
+% suppress tex source AF
+% \tagpdfsetup{math/tex/AF=false}
+
+% suppress attaching of mathml-AF (local setting)
+% \tagpdfsetup{math/mathml/AF=false}
+
+inline $E=mc^2$
+
+display
+\[a^2+b^2=c^2\]
+
+\end{document}
diff --git a/required/latex-lab/math-tagging-examples/math-17-alt-noluamml.lvt b/required/latex-lab/math-tagging-examples/math-17-alt-noluamml.lvt
new file mode 100644
index 000000000..dce18044a
--- /dev/null
+++ b/required/latex-lab/math-tagging-examples/math-17-alt-noluamml.lvt
@@ -0,0 +1,56 @@
+% template for math reading.
+\DocumentMetadata
+ {
+ uncompress,testphase={phase-III,title,math},
+ pdfversion=1.7,
+ pdfstandard=ua-1
+ %pdfversion=2.0,
+ %pdfstandard=ua-2
+ }
+
+
+\documentclass{article}
+\makeatletter
+\ExplSyntaxOn
+\tl_put_right:Nn\cdp at list{\cdp at elt {TU}{lmr}{m}{n}}
+\ExplSyntaxOff
+\makeatother
+
+\usepackage{unicode-math}
+
+\title{Test math tagging}
+
+% global setups
+% rolemap mathml to Span default false (probably senseless)
+\tagpdfsetup{role/mathml-tags}
+
+% suppress loading of luamml
+\tagpdfsetup{math/mathml/luamml/load=false} %
+
+% suppress writing of luamml-mathml
+%\tagpdfsetup{math/mathml/luamml/write=false} %
+
+% suppress mathml-AF reading
+\tagpdfsetup{math/mathml/sources=} %
+
+% enable structure elements
+%\tagpdfsetup{math/mathml/structelem} %
+
+\begin{document}
+% local settings. Can also be in the preamble but used here for clarity
+
+% alt text, default currently false if not ua-1
+%\tagpdfsetup{math/alt/use = true}
+
+% suppress tex source AF
+% \tagpdfsetup{math/tex/AF=false}
+
+% suppress attaching of mathml-AF (local setting)
+% \tagpdfsetup{math/mathml/AF=false}
+
+inline $E=mc^2$
+
+display
+\[a^2+b^2=c^2\]
+
+\end{document}
diff --git a/required/latex-lab/math-tagging-examples/math-17-default.lvt b/required/latex-lab/math-tagging-examples/math-17-default.lvt
new file mode 100644
index 000000000..802e74161
--- /dev/null
+++ b/required/latex-lab/math-tagging-examples/math-17-default.lvt
@@ -0,0 +1,56 @@
+% template for math reading.
+
+\DocumentMetadata
+ {
+ uncompress,testphase={phase-III,title,math},
+ pdfversion=1.7,
+ pdfstandard=ua-1
+ %pdfversion=2.0,
+ %pdfstandard=ua-2
+ }
+
+\documentclass{article}
+\makeatletter
+\ExplSyntaxOn
+\tl_put_right:Nn\cdp at list{\cdp at elt {TU}{lmr}{m}{n}}
+\ExplSyntaxOff
+\makeatother
+
+\usepackage{unicode-math}
+
+\title{Test math tagging}
+
+% global setups
+% rolemap mathml to Span default false (probably senseless)
+%\tagpdfsetup{role/mathml-tags}
+
+% suppress loading of luamml
+%\tagpdfsetup{math/mathml/luamml/load=false} %
+
+% suppress writing of luamml-mathml
+%\tagpdfsetup{math/mathml/luamml/write=false} %
+
+% suppress mathml-AF reading
+%\tagpdfsetup{math/mathml/sources=} %
+
+% enable structure elements
+%\tagpdfsetup{math/mathml/structelem} %
+
+\begin{document}
+% local settings. Can also be in the preamble but used here for clarity
+
+% alt text, default currently false if not ua-1
+% \tagpdfsetup{math/alt/use = true}
+
+% suppress tex source AF
+% \tagpdfsetup{math/tex/AF=false}
+
+% suppress attaching of mathml-AF (local setting)
+% \tagpdfsetup{math/mathml/AF=false}
+
+inline $E=mc^2$
+
+display
+\[a^2+b^2=c^2\]
+
+\end{document}
diff --git a/required/latex-lab/math-tagging-examples/math-20-alt+structelem+mathmlAF+texAF.lvt b/required/latex-lab/math-tagging-examples/math-20-alt+structelem+mathmlAF+texAF.lvt
new file mode 100644
index 000000000..833241bf1
--- /dev/null
+++ b/required/latex-lab/math-tagging-examples/math-20-alt+structelem+mathmlAF+texAF.lvt
@@ -0,0 +1,57 @@
+% template for math reading.
+
+\DocumentMetadata
+ {
+ uncompress,testphase={phase-III,title,math},
+ %pdfversion=1.7,
+ %pdfstandard=ua-1
+ pdfversion=2.0,
+ pdfstandard=ua-2
+ }
+
+\documentclass{article}
+\makeatletter
+\ExplSyntaxOn
+\tl_put_right:Nn\cdp at list{\cdp at elt {TU}{lmr}{m}{n}}
+\ExplSyntaxOff
+\makeatother
+
+\usepackage{unicode-math}
+
+\title{Test math tagging}
+
+% global setups
+% rolemap mathml to Span default false (probably senseless)
+%\tagpdfsetup{role/mathml-tags}
+
+% suppress loading of luamml
+%\tagpdfsetup{math/mathml/luamml/load=false} %
+
+% suppress writing of luamml-mathml
+%\tagpdfsetup{math/mathml/luamml/write=false} %
+
+% suppress mathml-AF inclusion
+%\tagpdfsetup{math/mathml/sources=} %
+
+% enable structure elements
+\tagpdfsetup{math/mathml/structelem} %
+
+\begin{document}
+
+% local settings. Can also be in the preamble but used here for clarity
+
+% alt text, default currently false if not ua-1
+\tagpdfsetup{math/alt/use = true}
+
+% suppress tex source AF
+% \tagpdfsetup{math/tex/AF=false}
+
+% suppress attaching of mathml-AF (local setting)
+% \tagpdfsetup{math/mathml/AF=false}
+
+inline $E=mc^2$
+
+display
+\[a^2+b^2=c^2\]
+
+\end{document}
diff --git a/required/latex-lab/math-tagging-examples/math-20-alt-noluamml.lvt b/required/latex-lab/math-tagging-examples/math-20-alt-noluamml.lvt
new file mode 100644
index 000000000..eb0202ce9
--- /dev/null
+++ b/required/latex-lab/math-tagging-examples/math-20-alt-noluamml.lvt
@@ -0,0 +1,57 @@
+% template for math reading.
+
+\DocumentMetadata
+ {
+ uncompress,testphase={phase-III,title,math},
+ %pdfversion=1.7,
+ %pdfstandard=ua-1
+ pdfversion=2.0,
+ pdfstandard=ua-2
+ }
+
+
+\documentclass{article}
+\makeatletter
+\ExplSyntaxOn
+\tl_put_right:Nn\cdp at list{\cdp at elt {TU}{lmr}{m}{n}}
+\ExplSyntaxOff
+\makeatother
+
+\usepackage{unicode-math}
+
+\title{Test math tagging}
+
+% global setups
+% rolemap mathml to Span default false (probably senseless)
+%\tagpdfsetup{role/mathml-tags}
+
+% suppress loading of luamml
+\tagpdfsetup{math/mathml/luamml/load=false} %
+
+% suppress writing of luamml-mathml
+%\tagpdfsetup{math/mathml/luamml/write=false} %
+
+% suppress mathml-AF reading
+\tagpdfsetup{math/mathml/sources=} %
+
+% enable structure elements
+%\tagpdfsetup{math/mathml/structelem} %
+
+\begin{document}
+% local settings. Can also be in the preamble but used here for clarity
+
+% alt text, default currently false if not ua-1
+\tagpdfsetup{math/alt/use = true}
+
+% suppress tex source AF
+\tagpdfsetup{math/tex/AF=false}
+
+% suppress attaching of mathml-AF (local setting)
+% \tagpdfsetup{math/mathml/AF=false}
+
+inline $E=mc^2$
+
+display
+\[a^2+b^2=c^2\]
+
+\end{document}
diff --git a/required/latex-lab/math-tagging-examples/math-20-alt.lvt b/required/latex-lab/math-tagging-examples/math-20-alt.lvt
new file mode 100644
index 000000000..1ef127861
--- /dev/null
+++ b/required/latex-lab/math-tagging-examples/math-20-alt.lvt
@@ -0,0 +1,57 @@
+% template for math reading.
+
+\DocumentMetadata
+ {
+ uncompress,testphase={phase-III,title,math},
+ %pdfversion=1.7,
+ %pdfstandard=ua-1
+ pdfversion=2.0,
+ pdfstandard=ua-2
+ }
+
+
+\documentclass{article}
+\makeatletter
+\ExplSyntaxOn
+\tl_put_right:Nn\cdp at list{\cdp at elt {TU}{lmr}{m}{n}}
+\ExplSyntaxOff
+\makeatother
+
+\usepackage{unicode-math}
+
+\title{Test math tagging}
+
+% global setups
+% rolemap mathml to Span default false (probably senseless)
+%\tagpdfsetup{role/mathml-tags}
+
+% suppress loading of luamml
+%\tagpdfsetup{math/mathml/luamml/load=false} %
+
+% suppress writing of luamml-mathml
+%\tagpdfsetup{math/mathml/luamml/write=false} %
+
+% suppress mathml-AF reading
+\tagpdfsetup{math/mathml/sources=} %
+
+% enable structure elements
+%\tagpdfsetup{math/mathml/structelem} %
+
+\begin{document}
+% local settings. Can also be in the preamble but used here for clarity
+
+% alt text, default currently false if not ua-1
+\tagpdfsetup{math/alt/use = true}
+
+% suppress tex source AF
+\tagpdfsetup{math/tex/AF=false}
+
+% suppress attaching of mathml-AF (local setting)
+% \tagpdfsetup{math/mathml/AF=false}
+
+inline $E=mc^2$
+
+display
+\[a^2+b^2=c^2\]
+
+\end{document}
diff --git a/required/latex-lab/math-tagging-examples/math-20-default.lvt b/required/latex-lab/math-tagging-examples/math-20-default.lvt
index 4dc7dd5d0..65f3601ff 100644
--- a/required/latex-lab/math-tagging-examples/math-20-default.lvt
+++ b/required/latex-lab/math-tagging-examples/math-20-default.lvt
@@ -4,7 +4,9 @@
{
uncompress,testphase={phase-III,title,math},
%pdfversion=1.7,
- pdfversion=2.0
+ %pdfstandard=ua-1
+ pdfversion=2.0,
+ pdfstandard=ua-2
}
\documentclass{article}
@@ -18,24 +20,33 @@
\title{Test math tagging}
-% setups
-% rolemap mathml to Span default false
+% global setups
+% rolemap mathml to Span default false (probably senseless)
%\tagpdfsetup{role/mathml-tags}
-% alt text, default currently false, but better ensure it
-\tagpdfsetup{math/alt/use = false}
-%\tagpdfsetup{math/alt/use = true}
-
-% suppress tex source AF
-%\tagpdfsetup{math/tex/AF=false}
-
% suppress loading of luamml
%\tagpdfsetup{math/mathml/luamml/load=false} %
+% suppress writing of luamml-mathml
+%\tagpdfsetup{math/mathml/luamml/write=false} %
+
+% suppress mathml-AF reading
+%\tagpdfsetup{math/mathml/sources=} %
+
% enable structure elements
%\tagpdfsetup{math/mathml/structelem} %
\begin{document}
+% local settings. Can also be in the preamble but used here for clarity
+
+% alt text, default currently false if not ua-1
+% \tagpdfsetup{math/alt/use = true}
+
+% suppress tex source AF
+% \tagpdfsetup{math/tex/AF=false}
+
+% suppress attaching of mathml-AF (local setting)
+% \tagpdfsetup{math/mathml/AF=false}
inline $E=mc^2$
diff --git a/required/latex-lab/math-tagging-examples/math-20-mathmlAF+texAF.lvt b/required/latex-lab/math-tagging-examples/math-20-mathmlAF+texAF.lvt
new file mode 100644
index 000000000..65f3601ff
--- /dev/null
+++ b/required/latex-lab/math-tagging-examples/math-20-mathmlAF+texAF.lvt
@@ -0,0 +1,56 @@
+% template for math reading.
+
+\DocumentMetadata
+ {
+ uncompress,testphase={phase-III,title,math},
+ %pdfversion=1.7,
+ %pdfstandard=ua-1
+ pdfversion=2.0,
+ pdfstandard=ua-2
+ }
+
+\documentclass{article}
+\makeatletter
+\ExplSyntaxOn
+\tl_put_right:Nn\cdp at list{\cdp at elt {TU}{lmr}{m}{n}}
+\ExplSyntaxOff
+\makeatother
+
+\usepackage{unicode-math}
+
+\title{Test math tagging}
+
+% global setups
+% rolemap mathml to Span default false (probably senseless)
+%\tagpdfsetup{role/mathml-tags}
+
+% suppress loading of luamml
+%\tagpdfsetup{math/mathml/luamml/load=false} %
+
+% suppress writing of luamml-mathml
+%\tagpdfsetup{math/mathml/luamml/write=false} %
+
+% suppress mathml-AF reading
+%\tagpdfsetup{math/mathml/sources=} %
+
+% enable structure elements
+%\tagpdfsetup{math/mathml/structelem} %
+
+\begin{document}
+% local settings. Can also be in the preamble but used here for clarity
+
+% alt text, default currently false if not ua-1
+% \tagpdfsetup{math/alt/use = true}
+
+% suppress tex source AF
+% \tagpdfsetup{math/tex/AF=false}
+
+% suppress attaching of mathml-AF (local setting)
+% \tagpdfsetup{math/mathml/AF=false}
+
+inline $E=mc^2$
+
+display
+\[a^2+b^2=c^2\]
+
+\end{document}
diff --git a/required/latex-lab/math-tagging-examples/math-20-mathmlAF.lvt b/required/latex-lab/math-tagging-examples/math-20-mathmlAF.lvt
new file mode 100644
index 000000000..b4cc4ef53
--- /dev/null
+++ b/required/latex-lab/math-tagging-examples/math-20-mathmlAF.lvt
@@ -0,0 +1,56 @@
+% template for math reading.
+\DocumentMetadata
+ {
+ uncompress,testphase={phase-III,title,math},
+ %pdfversion=1.7,
+ %pdfstandard=ua-1
+ pdfversion=2.0,
+ pdfstandard=ua-2
+ }
+
+
+\documentclass{article}
+\makeatletter
+\ExplSyntaxOn
+\tl_put_right:Nn\cdp at list{\cdp at elt {TU}{lmr}{m}{n}}
+\ExplSyntaxOff
+\makeatother
+
+\usepackage{unicode-math}
+
+\title{Test math tagging}
+
+% global setups
+% rolemap mathml to Span default false (probably senseless)
+%\tagpdfsetup{role/mathml-tags}
+
+% suppress loading of luamml
+%\tagpdfsetup{math/mathml/luamml/load=false} %
+
+% suppress writing of luamml-mathml
+%\tagpdfsetup{math/mathml/luamml/write=false} %
+
+% suppress mathml-AF reading
+%\tagpdfsetup{math/mathml/sources=} %
+
+% enable structure elements
+%\tagpdfsetup{math/mathml/structelem} %
+
+\begin{document}
+% local settings. Can also be in the preamble but used here for clarity
+
+% alt text, default currently false if not ua-1
+%\tagpdfsetup{math/alt/use = true}
+
+% suppress tex source AF
+\tagpdfsetup{math/tex/AF=false}
+
+% suppress attaching of mathml-AF (local setting)
+% \tagpdfsetup{math/mathml/AF=false}
+
+inline $E=mc^2$
+
+display
+\[a^2+b^2=c^2\]
+
+\end{document}
diff --git a/required/latex-lab/math-tagging-examples/math-20-only-alt-noluamml.lvt b/required/latex-lab/math-tagging-examples/math-20-only-alt-noluamml.lvt
deleted file mode 100644
index c424032f1..000000000
--- a/required/latex-lab/math-tagging-examples/math-20-only-alt-noluamml.lvt
+++ /dev/null
@@ -1,45 +0,0 @@
-% template for math reading.
-
-\DocumentMetadata
- {
- uncompress,testphase={phase-III,title,math},
- %pdfversion=1.7,
- pdfversion=2.0
- }
-
-\documentclass{article}
-\makeatletter
-\ExplSyntaxOn
-\tl_put_right:Nn\cdp at list{\cdp at elt {TU}{lmr}{m}{n}}
-\ExplSyntaxOff
-\makeatother
-
-\usepackage{unicode-math}
-
-\title{Test math tagging}
-
-% setups
-% rolemap mathml to Span default false
-%\tagpdfsetup{role/mathml-tags}
-
-% alt text, default currently false, but better ensure it
-%\tagpdfsetup{math/alt/use = false}
-\tagpdfsetup{math/alt/use = true}
-
-% suppress tex source AF
-\tagpdfsetup{math/tex/AF=false}
-
-% suppress loading of luamml
-\tagpdfsetup{math/mathml/luamml/load=false} %
-
-% enable structure elements
-%\tagpdfsetup{math/mathml/structelem} %
-
-\begin{document}
-
-inline $E=mc^2$
-
-display
-\[a^2+b^2=c^2\]
-
-\end{document}
diff --git a/required/latex-lab/math-tagging-examples/math-20-only-mathmlAF.lvt b/required/latex-lab/math-tagging-examples/math-20-only-mathmlAF.lvt
deleted file mode 100644
index f155f03ea..000000000
--- a/required/latex-lab/math-tagging-examples/math-20-only-mathmlAF.lvt
+++ /dev/null
@@ -1,45 +0,0 @@
-% template for math reading.
-
-\DocumentMetadata
- {
- uncompress,testphase={phase-III,title,math},
- %pdfversion=1.7,
- pdfversion=2.0
- }
-
-\documentclass{article}
-\makeatletter
-\ExplSyntaxOn
-\tl_put_right:Nn\cdp at list{\cdp at elt {TU}{lmr}{m}{n}}
-\ExplSyntaxOff
-\makeatother
-
-\usepackage{unicode-math}
-
-\title{Test math tagging}
-
-% setups
-% rolemap mathml to Span default false
-%\tagpdfsetup{role/mathml-tags}
-
-% alt text, default currently false, but better ensure it
-\tagpdfsetup{math/alt/use = false}
-%\tagpdfsetup{math/alt/use = true}
-
-% suppress tex source AF
-\tagpdfsetup{math/tex/AF=false}
-
-% suppress loading of luamml
-%\tagpdfsetup{math/mathml/luamml/load=false} %
-
-% enable structure elements
-%\tagpdfsetup{math/mathml/structelem} %
-
-\begin{document}
-
-inline $E=mc^2$
-
-display
-\[a^2+b^2=c^2\]
-
-\end{document}
diff --git a/required/latex-lab/math-tagging-examples/math-20-only-structelem.lvt b/required/latex-lab/math-tagging-examples/math-20-only-structelem.lvt
deleted file mode 100644
index 116bfb56e..000000000
--- a/required/latex-lab/math-tagging-examples/math-20-only-structelem.lvt
+++ /dev/null
@@ -1,48 +0,0 @@
-% template for math reading.
-
-\DocumentMetadata
- {
- uncompress,testphase={phase-III,title,math},
- %pdfversion=1.7,
- pdfversion=2.0
- }
-
-\documentclass{article}
-\makeatletter
-\ExplSyntaxOn
-\tl_put_right:Nn\cdp at list{\cdp at elt {TU}{lmr}{m}{n}}
-\ExplSyntaxOff
-\makeatother
-
-\usepackage{unicode-math}
-
-\title{Test math tagging}
-
-% setups
-% rolemap mathml to Span default false
-%\tagpdfsetup{role/mathml-tags}
-
-% alt text, default currently false, but better ensure it
-\tagpdfsetup{math/alt/use = false}
-%\tagpdfsetup{math/alt/use = true}
-
-% suppress tex source AF
-\tagpdfsetup{math/tex/AF=false}
-
-% suppress loading of luamml
-%\tagpdfsetup{math/mathml/luamml/load=false} %
-
-% enable structure elements
-\tagpdfsetup{math/mathml/structelem} %
-
-% do not read and embed mathml
-\tagpdfsetup{math/mathml/sources=} %
-
-\begin{document}
-
-inline $E=mc^2$
-
-display
-\[a^2+b^2=c^2\]
-
-\end{document}
diff --git a/required/latex-lab/math-tagging-examples/math-20-only-texAF-noluamml.lvt b/required/latex-lab/math-tagging-examples/math-20-only-texAF-noluamml.lvt
deleted file mode 100644
index 158bbad35..000000000
--- a/required/latex-lab/math-tagging-examples/math-20-only-texAF-noluamml.lvt
+++ /dev/null
@@ -1,45 +0,0 @@
-% template for math reading.
-
-\DocumentMetadata
- {
- uncompress,testphase={phase-III,title,math},
- %pdfversion=1.7,
- pdfversion=2.0
- }
-
-\documentclass{article}
-\makeatletter
-\ExplSyntaxOn
-\tl_put_right:Nn\cdp at list{\cdp at elt {TU}{lmr}{m}{n}}
-\ExplSyntaxOff
-\makeatother
-
-\usepackage{unicode-math}
-
-\title{Test math tagging}
-
-% setups
-% rolemap mathml to Span default false
-%\tagpdfsetup{role/mathml-tags}
-
-% alt text, default currently false, but better ensure it
-\tagpdfsetup{math/alt/use = false}
-%\tagpdfsetup{math/alt/use = true}
-
-% suppress tex source AF
-\tagpdfsetup{math/tex/AF=true}
-
-% suppress loading of luamml
-\tagpdfsetup{math/mathml/luamml/load=false} %
-
-% enable structure elements
-%\tagpdfsetup{math/mathml/structelem} %
-
-\begin{document}
-
-inline $E=mc^2$
-
-display
-\[a^2+b^2=c^2\]
-
-\end{document}
diff --git a/required/latex-lab/math-tagging-examples/math-20-structelem+mathmlAF+texAF.lvt b/required/latex-lab/math-tagging-examples/math-20-structelem+mathmlAF+texAF.lvt
new file mode 100644
index 000000000..b14b65f3b
--- /dev/null
+++ b/required/latex-lab/math-tagging-examples/math-20-structelem+mathmlAF+texAF.lvt
@@ -0,0 +1,57 @@
+% template for math reading.
+
+\DocumentMetadata
+ {
+ uncompress,testphase={phase-III,title,math},
+ %pdfversion=1.7,
+ %pdfstandard=ua-1
+ pdfversion=2.0,
+ pdfstandard=ua-2
+ }
+
+\documentclass{article}
+\makeatletter
+\ExplSyntaxOn
+\tl_put_right:Nn\cdp at list{\cdp at elt {TU}{lmr}{m}{n}}
+\ExplSyntaxOff
+\makeatother
+
+\usepackage{unicode-math}
+
+\title{Test math tagging}
+
+% global setups
+% rolemap mathml to Span default false (probably senseless)
+%\tagpdfsetup{role/mathml-tags}
+
+% suppress loading of luamml
+%\tagpdfsetup{math/mathml/luamml/load=false} %
+
+% suppress writing of luamml-mathml
+%\tagpdfsetup{math/mathml/luamml/write=false} %
+
+% suppress mathml-AF inclusion
+%\tagpdfsetup{math/mathml/sources=} %
+
+% enable structure elements
+\tagpdfsetup{math/mathml/structelem} %
+
+\begin{document}
+
+% local settings. Can also be in the preamble but used here for clarity
+
+% alt text, default currently false if not ua-1
+% \tagpdfsetup{math/alt/use = true}
+
+% suppress tex source AF
+% \tagpdfsetup{math/tex/AF=false}
+
+% suppress attaching of mathml-AF (local setting)
+% \tagpdfsetup{math/mathml/AF=false}
+
+inline $E=mc^2$
+
+display
+\[a^2+b^2=c^2\]
+
+\end{document}
diff --git a/required/latex-lab/math-tagging-examples/math-20-structelem.lvt b/required/latex-lab/math-tagging-examples/math-20-structelem.lvt
index 21dd9dc01..914c9ad26 100644
--- a/required/latex-lab/math-tagging-examples/math-20-structelem.lvt
+++ b/required/latex-lab/math-tagging-examples/math-20-structelem.lvt
@@ -1,12 +1,14 @@
% template for math reading.
-
\DocumentMetadata
{
uncompress,testphase={phase-III,title,math},
%pdfversion=1.7,
- pdfversion=2.0
+ %pdfstandard=ua-1
+ pdfversion=2.0,
+ pdfstandard=ua-2
}
+
\documentclass{article}
\makeatletter
\ExplSyntaxOn
@@ -18,24 +20,33 @@
\title{Test math tagging}
-% setups
-% rolemap mathml to Span default false
+% global setups
+% rolemap mathml to Span default false (probably senseless)
%\tagpdfsetup{role/mathml-tags}
-% alt text, default currently false, but better ensure it
-\tagpdfsetup{math/alt/use = false}
-%\tagpdfsetup{math/alt/use = true}
-
-% suppress tex source AF
-%\tagpdfsetup{math/tex/AF=false}
-
% suppress loading of luamml
%\tagpdfsetup{math/mathml/luamml/load=false} %
+% suppress writing of luamml-mathml
+\tagpdfsetup{math/mathml/luamml/write=false} %
+
+% suppress mathml-AF reading
+\tagpdfsetup{math/mathml/sources=} %
+
% enable structure elements
\tagpdfsetup{math/mathml/structelem} %
\begin{document}
+% local settings. Can also be in the preamble but used here for clarity
+
+% alt text, default currently false if not ua-1
+%\tagpdfsetup{math/alt/use = true}
+
+% suppress tex source AF
+\tagpdfsetup{math/tex/AF=false}
+
+% suppress attaching of mathml-AF (local setting)
+% \tagpdfsetup{math/mathml/AF=false}
inline $E=mc^2$
diff --git a/required/latex-lab/math-tagging-examples/math-20-texAF-noluamml.lvt b/required/latex-lab/math-tagging-examples/math-20-texAF-noluamml.lvt
new file mode 100644
index 000000000..a76d56e0d
--- /dev/null
+++ b/required/latex-lab/math-tagging-examples/math-20-texAF-noluamml.lvt
@@ -0,0 +1,56 @@
+% template for math reading.
+\DocumentMetadata
+ {
+ uncompress,testphase={phase-III,title,math},
+ %pdfversion=1.7,
+ %pdfstandard=ua-1
+ pdfversion=2.0,
+ pdfstandard=ua-2
+ }
+
+
+\documentclass{article}
+\makeatletter
+\ExplSyntaxOn
+\tl_put_right:Nn\cdp at list{\cdp at elt {TU}{lmr}{m}{n}}
+\ExplSyntaxOff
+\makeatother
+
+\usepackage{unicode-math}
+
+\title{Test math tagging}
+
+% global setups
+% rolemap mathml to Span default false (probably senseless)
+%\tagpdfsetup{role/mathml-tags}
+
+% suppress loading of luamml
+\tagpdfsetup{math/mathml/luamml/load=false} %
+
+% suppress writing of luamml-mathml
+%\tagpdfsetup{math/mathml/luamml/write=false} %
+
+% suppress mathml-AF reading
+\tagpdfsetup{math/mathml/sources=} %
+
+% enable structure elements
+%\tagpdfsetup{math/mathml/structelem} %
+
+\begin{document}
+% local settings. Can also be in the preamble but used here for clarity
+
+% alt text, default currently false if not ua-1
+%\tagpdfsetup{math/alt/use = true}
+
+% suppress tex source AF
+% \tagpdfsetup{math/tex/AF=false}
+
+% suppress attaching of mathml-AF (local setting)
+% \tagpdfsetup{math/mathml/AF=false}
+
+inline $E=mc^2$
+
+display
+\[a^2+b^2=c^2\]
+
+\end{document}
diff --git a/required/latex-lab/math-tagging-examples/math-20-texAF.lvt b/required/latex-lab/math-tagging-examples/math-20-texAF.lvt
new file mode 100644
index 000000000..a83b03f4a
--- /dev/null
+++ b/required/latex-lab/math-tagging-examples/math-20-texAF.lvt
@@ -0,0 +1,56 @@
+% template for math reading.
+\DocumentMetadata
+ {
+ uncompress,testphase={phase-III,title,math},
+ %pdfversion=1.7,
+ %pdfstandard=ua-1
+ pdfversion=2.0,
+ pdfstandard=ua-2
+ }
+
+
+\documentclass{article}
+\makeatletter
+\ExplSyntaxOn
+\tl_put_right:Nn\cdp at list{\cdp at elt {TU}{lmr}{m}{n}}
+\ExplSyntaxOff
+\makeatother
+
+\usepackage{unicode-math}
+
+\title{Test math tagging}
+
+% global setups
+% rolemap mathml to Span default false (probably senseless)
+%\tagpdfsetup{role/mathml-tags}
+
+% suppress loading of luamml
+%\tagpdfsetup{math/mathml/luamml/load=false} %
+
+% suppress writing of luamml-mathml
+%\tagpdfsetup{math/mathml/luamml/write=false} %
+
+% suppress mathml-AF reading
+\tagpdfsetup{math/mathml/sources=} %
+
+% enable structure elements
+%\tagpdfsetup{math/mathml/structelem} %
+
+\begin{document}
+% local settings. Can also be in the preamble but used here for clarity
+
+% alt text, default currently false if not ua-1
+%\tagpdfsetup{math/alt/use = true}
+
+% suppress tex source AF
+% \tagpdfsetup{math/tex/AF=false}
+
+% suppress attaching of mathml-AF (local setting)
+% \tagpdfsetup{math/mathml/AF=false}
+
+inline $E=mc^2$
+
+display
+\[a^2+b^2=c^2\]
+
+\end{document}
diff --git a/required/latex-lab/math-tagging-examples/support/math-tagging-tests.yml b/required/latex-lab/math-tagging-examples/support/math-tagging-tests.yml
new file mode 100644
index 000000000..dfdb7c3fd
--- /dev/null
+++ b/required/latex-lab/math-tagging-examples/support/math-tagging-tests.yml
@@ -0,0 +1,23 @@
+-name: math-20-default=math-20-mathmlAF+texAF
+
+-name: math-20-mathmlAF
+
+-name: math-20-alt-noluamml
+
+-name: math-20-alt
+
+-name: math-20-texAF-noluamml
+
+-name: math-20-texAF
+
+-name: math-20-alt+structelem+mathmlAF+texAF
+
+-name: math-20-structelem+mathmlAF+texAF
+
+-name: math-20-structelem
+
+-name: math-17-default=math-17-alt+mathmlAF+texAF
+
+-name: math-17-alt-noluamml
+
+-name: math-17-alt+structelem+rolemap+mathmlAF+texAF
diff --git a/required/latex-lab/update-math-tagging-examples.sh b/required/latex-lab/update-math-tagging-examples.sh
index 3e485c209..0d31c6677 100644
--- a/required/latex-lab/update-math-tagging-examples.sh
+++ b/required/latex-lab/update-math-tagging-examples.sh
@@ -1,8 +1,17 @@
l3build save -cconfig-math-tagging-examples \
math-20-default \
- math-20-only-mathmlAF \
- math-20-only-alt-noluamml \
- math-20-only-texAF-noluamml\
- math-20-structelem\
- math-20-only-structelem
+ math-20-mathmlAF+texAF \
+ math-20-mathmlAF \
+ math-20-alt-noluamml \
+ math-20-alt \
+ math-20-texAF-noluamml \
+ math-20-texAF \
+ math-20-alt+structelem+mathmlAF+texAF \
+ math-20-structelem+mathmlAF+texAF \
+ math-20-structelem \
+ math-17-default \
+ math-17-alt+mathmlAF+texAF \
+ math-17-alt-noluamml \
+ math-17-alt+structelem+rolemap+mathmlAF+texAF
+
More information about the latex3-commits
mailing list.