[latex3-commits] [latex3/latex2e] latex-lab/uf-review-05: correct html template (5750a253)

github at latex-project.org github at latex-project.org
Mon Jan 22 23:51:06 CET 2024


Repository : https://github.com/latex3/latex2e
On branch  : latex-lab/uf-review-05
Link       : https://github.com/latex3/latex2e/commit/5750a25368e8b1304c17318b138eb0ae6234aa43

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

commit 5750a25368e8b1304c17318b138eb0ae6234aa43
Author: Ulrike Fischer <fischer at troubleshooting-tex.de>
Date:   Mon Jan 22 23:51:06 2024 +0100

    correct html template


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

5750a25368e8b1304c17318b138eb0ae6234aa43
 required/latex-lab/latex-lab-math.dtx              |  4 +--
 required/latex-lab/testfiles-math/mathml-write.lvt |  7 ++--
 required/latex-lab/testfiles-math/mathml-write.tlg | 37 ++++++++++++++++++++++
 3 files changed, 43 insertions(+), 5 deletions(-)

diff --git a/required/latex-lab/latex-lab-math.dtx b/required/latex-lab/latex-lab-math.dtx
index a82a8988..e70edc9b 100644
--- a/required/latex-lab/latex-lab-math.dtx
+++ b/required/latex-lab/latex-lab-math.dtx
@@ -714,14 +714,14 @@
           }
          \iow_now:Ne \g_@@_writehash_iow
           {
-            <!DOCTYPE html>
+            <!DOCTYPE~html>
             \iow_newline:
             <html>
           }
          \AssignSocketPlug {tagsupport/math/mathml/write}{On}
          \AddToHook{enddocument/afterlastpage}
           {
-            \iow_now:Nn \g_@@_writehash_iow {<html>}
+            \iow_now:Nn \g_@@_writehash_iow {</html>}
             \iow_close:N \g_@@_writehash_iow
           }  
        },
diff --git a/required/latex-lab/testfiles-math/mathml-write.lvt b/required/latex-lab/testfiles-math/mathml-write.lvt
index bab5a606..36830695 100644
--- a/required/latex-lab/testfiles-math/mathml-write.lvt
+++ b/required/latex-lab/testfiles-math/mathml-write.lvt
@@ -7,12 +7,13 @@
 \input{regression-test}
 \documentclass{article}
 
-
+\START
 \SHOWFILE{mathml-write-mathml-template.html}
-
+\OMIT
 \tagpdfsetup{math-tagging={mathml/writehash}}
 \begin{document}
-\START
+\TIMO
+
 \title{Math Test One}
 \author{David}
 \maketitle
diff --git a/required/latex-lab/testfiles-math/mathml-write.tlg b/required/latex-lab/testfiles-math/mathml-write.tlg
index 2c8f0a2e..bf40c685 100644
--- a/required/latex-lab/testfiles-math/mathml-write.tlg
+++ b/required/latex-lab/testfiles-math/mathml-write.tlg
@@ -1,5 +1,42 @@
 This is a generated file for the l3build validation system.
 Don't change this file in any respect.
+-------- mathml-write-mathml-template.html (start) ---------
+(mathml-write-mathml-template.html) <!DOCTYPE html>^^M
+<html>^^M
+^^M
+<div>^^M
+<h2>\mml 1</h2>^^M
+<p>\begin {math}x\end {math}</p>^^M
+<p>9DD4E461268C8034F5C8564E155C67A6</p>^^M
+<math></math>^^M
+</div>^^M
+^^M
+^^M
+<div>^^M
+<h2>\mml 2</h2>^^M
+<p>\begin {math}y\end {math}</p>^^M
+<p>415290769594460E2E485922904F345D</p>^^M
+<math></math>^^M
+</div>^^M
+^^M
+^^M
+<div>^^M
+<h2>\mml 3</h2>^^M
+<p>\begin {math}x>y\end {math}</p>^^M
+<p>10342149CD04422C7BE79506CB544AC5</p>^^M
+<math></math>^^M
+</div>^^M
+^^M
+^^M
+<div>^^M
+<h2>\mml 4</h2>^^M
+<p>\begin {equation*}\sqrt {x^2}=\lvert x\rvert \end {equation*}</p>^^M
+<p>D618B2AAA114982934BBC21847962F30</p>^^M
+<math></math>^^M
+</div>^^M
+^^M
+</html>^^M
+-------- mathml-write-mathml-template.html (end) -----------
 WARNING: mathml missing for hash9DD4E461268C8034F5C8564E155C67A6
 ====>subpart splitting deactivated
 ====>grabbed math=macro:->x





More information about the latex3-commits mailing list.