texinfo-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

branch master updated: Tests of tex4ht with T4H_MATH_CONVERSION=latex


From: Patrice Dumas
Subject: branch master updated: Tests of tex4ht with T4H_MATH_CONVERSION=latex
Date: Sat, 15 Oct 2022 12:43:22 -0400

This is an automated email from the git hooks/post-receive script.

pertusus pushed a commit to branch master
in repository texinfo.

The following commit(s) were added to refs/heads/master by this push:
     new 7858d674a7 Tests of tex4ht with T4H_MATH_CONVERSION=latex
7858d674a7 is described below

commit 7858d674a74796b639c27db232583873d216d128
Author: Patrice Dumas <pertusus@free.fr>
AuthorDate: Sat Oct 15 18:42:46 2022 +0200

    Tests of tex4ht with T4H_MATH_CONVERSION=latex
---
 .../test_scripts/tex_html_tex_httex_latex_math.sh  |  25 ++++
 .../tex_html_tex_httex_tex_latex_math.sh           |  25 ++++
 tp/tests/tex_html/list-of-tests                    |   2 +
 .../res_parser/tex_httex_latex_math/tex.html       | 107 ++++++++++++++++
 .../tex_httex_latex_math/tex_tex4ht_latex.4ct      |   2 +
 .../tex_httex_latex_math/tex_tex4ht_latex.4tc      |   1 +
 .../tex_httex_latex_math/tex_tex4ht_latex.aux      |   3 +
 .../tex_httex_latex_math/tex_tex4ht_latex.css      | 124 ++++++++++++++++++
 .../tex_httex_latex_math/tex_tex4ht_latex.html     |  95 ++++++++++++++
 .../tex_httex_latex_math/tex_tex4ht_latex.lg       | 139 +++++++++++++++++++++
 .../tex_httex_latex_math/tex_tex4ht_latex.tex      |  25 ++++
 .../tex_httex_latex_math/tex_tex4ht_latex.tmp      |   2 +
 .../tex_httex_latex_math/tex_tex4ht_latex.xref     |   1 +
 .../res_parser/tex_httex_tex_latex_math/tex.html   | 119 ++++++++++++++++++
 .../tex_httex_tex_latex_math/tex_tex4ht_latex.4ct  |   2 +
 .../tex_httex_tex_latex_math/tex_tex4ht_latex.4tc  |   1 +
 .../tex_httex_tex_latex_math/tex_tex4ht_latex.aux  |   3 +
 .../tex_httex_tex_latex_math/tex_tex4ht_latex.css  | 124 ++++++++++++++++++
 .../tex_httex_tex_latex_math/tex_tex4ht_latex.html |  95 ++++++++++++++
 .../tex_httex_tex_latex_math/tex_tex4ht_latex.lg   | 139 +++++++++++++++++++++
 .../tex_httex_tex_latex_math/tex_tex4ht_latex.tex  |  25 ++++
 .../tex_httex_tex_latex_math/tex_tex4ht_latex.tmp  |   2 +
 .../tex_httex_tex_latex_math/tex_tex4ht_latex.xref |   1 +
 .../tex_httex_tex_latex_math/tex_tex4ht_tex.4ct    |   2 +
 .../tex_httex_tex_latex_math/tex_tex4ht_tex.4tc    |   1 +
 .../tex_httex_tex_latex_math/tex_tex4ht_tex.css    |  44 +++++++
 .../tex_httex_tex_latex_math/tex_tex4ht_tex.html   |  42 +++++++
 .../tex_httex_tex_latex_math/tex_tex4ht_tex.lg     |  56 +++++++++
 .../tex_httex_tex_latex_math/tex_tex4ht_tex.tex    |  16 +++
 .../tex_httex_tex_latex_math/tex_tex4ht_tex.tmp    |   2 +
 .../tex_httex_tex_latex_math/tex_tex4ht_tex.xref   |   1 +
 31 files changed, 1226 insertions(+)

diff --git a/tp/tests/test_scripts/tex_html_tex_httex_latex_math.sh 
b/tp/tests/test_scripts/tex_html_tex_httex_latex_math.sh
new file mode 100755
index 0000000000..6414617e26
--- /dev/null
+++ b/tp/tests/test_scripts/tex_html_tex_httex_latex_math.sh
@@ -0,0 +1,25 @@
+#! /bin/sh
+# This file generated by maintain/regenerate_cmd_tests.sh
+
+if test z"$srcdir" = "z"; then
+  srcdir=.
+fi
+
+one_test_logs_dir=test_log
+
+
+
+if test "z$TEX_HTML_TESTS" != z"yes"; then
+  echo "Skipping HTML TeX tests that are not easily reproducible"
+  exit 77
+fi
+
+dir=tex_html
+name='tex_httex_latex_math'
+mkdir -p $dir
+
+"$srcdir"/run_parser_all.sh -dir $dir $name
+exit_status=$?
+cat $dir/$one_test_logs_dir/$name.log
+exit $exit_status
+
diff --git a/tp/tests/test_scripts/tex_html_tex_httex_tex_latex_math.sh 
b/tp/tests/test_scripts/tex_html_tex_httex_tex_latex_math.sh
new file mode 100755
index 0000000000..0711be18e8
--- /dev/null
+++ b/tp/tests/test_scripts/tex_html_tex_httex_tex_latex_math.sh
@@ -0,0 +1,25 @@
+#! /bin/sh
+# This file generated by maintain/regenerate_cmd_tests.sh
+
+if test z"$srcdir" = "z"; then
+  srcdir=.
+fi
+
+one_test_logs_dir=test_log
+
+
+
+if test "z$TEX_HTML_TESTS" != z"yes"; then
+  echo "Skipping HTML TeX tests that are not easily reproducible"
+  exit 77
+fi
+
+dir=tex_html
+name='tex_httex_tex_latex_math'
+mkdir -p $dir
+
+"$srcdir"/run_parser_all.sh -dir $dir $name
+exit_status=$?
+cat $dir/$one_test_logs_dir/$name.log
+exit $exit_status
+
diff --git a/tp/tests/tex_html/list-of-tests b/tp/tests/tex_html/list-of-tests
index 79012e0793..e1a2434b49 100644
--- a/tp/tests/tex_html/list-of-tests
+++ b/tp/tests/tex_html/list-of-tests
@@ -7,7 +7,9 @@ tex_l2h_latex tex.texi -c 'HTML_MATH l2h' --iflatex
 tex_l2h_tex_latex tex.texi -c 'HTML_MATH l2h' --iftex --iflatex
 tex_httex tex.texi --init tex4ht.pm --iftex
 tex_httex_latex tex.texi --init tex4ht.pm --iflatex
+tex_httex_latex_math tex.texi -c T4H_MATH_CONVERSION=latex -c 'HTML_MATH t4h' 
--iflatex
 tex_httex_tex_latex tex.texi --init tex4ht.pm --iftex --iflatex
+tex_httex_tex_latex_math tex.texi -c T4H_MATH_CONVERSION=latex -c 'HTML_MATH 
t4h' --iflatex --iftex
 tex_accents_httex tex_accents.texi --init tex4ht.pm --iftex
 tex_accents_l2h tex_accents.texi -c 'HTML_MATH l2h' --iftex
 tex_gdef_httex tex_gdef.texi --init tex4ht.pm --iftex -D tex4ht
diff --git a/tp/tests/tex_html/res_parser/tex_httex_latex_math/tex.html 
b/tp/tests/tex_html/res_parser/tex_httex_latex_math/tex.html
new file mode 100644
index 0000000000..c36635dc58
--- /dev/null
+++ b/tp/tests/tex_html/res_parser/tex_httex_latex_math/tex.html
@@ -0,0 +1,107 @@
+<!DOCTYPE html>
+<html>
+<!-- Created by texinfo, http://www.gnu.org/software/texinfo/ -->
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+<title>Tests</title>
+
+<meta name="description" content="Tests">
+<meta name="keywords" content="Tests">
+<meta name="resource-type" content="document">
+<meta name="distribution" content="global">
+<meta name="Generator" content="texi2any">
+<meta name="viewport" content="width=device-width,initial-scale=1">
+
+<style type="text/css">
+<!--
+@import "tex_tex4ht_latex.css";
+
+span.program-in-footer {font-size: smaller}
+-->
+</style>
+
+
+</head>
+
+<body lang="en">
+<div class="top-level-extent" id="Top">
+<h1 class="top" id="Tests">Tests</h1>
+
+<p>Now tex on the same line Some text one the line following @end tex
+</p>
+<p>LaTeX block
+ <div class="eqnarray">
+   <div class="math-display" >
+<img 
+src="tex_tex4ht_latex0x.png" alt="ab  =   ´e                          (1)
+ &#x03BE;
+ X  =   Y                          (2)
+" class="math-display" ></div>
+   </div>
+<!--l. 9--><p class="indent" >    
+</p>
+<p>Now tex on the following line, valid fot tex (with @end tex on a line).
+</p>
+<p>Same that @html (but empty following line not ignored).
+</p>
+<p>Test of @math
+Here some <span 
+class="cmmi-7">x</span><sup><span 
+class="cmmi-5">i</span></sup> __
+<span 
+class="cmr-7">tan</span> <span 
+class="cmmi-7">y</span>.
+</p>
+<p>Maths with protected \:
+<span 
+class="cmmi-10">a</span><span 
+class="cmsy-10">\</span><span 
+class="cmmi-10">b</span>.
+</p>
+<p>Maths with code @-command:
+</p>
+<p><span 
+class="cmtt-10">mathcode</span><span 
+class="cmmi-10">a &#x003C; b</span>
+</p>
+<p>Maths with code @-command and braces:
+</p>
+<p><span class="underline"><span 
+class="cmtt-10">math</span> code </span><span 
+class="cmex-10">&#x2211;</span>
+  <sub><span 
+class="cmmi-7">i</span></sub><span class="underline"><span 
+class="cmti-10">eff</span> </span>
+</p>
+<p>Maths with @-sup
+</p>
+<p><span 
+class="cmex-10">&#x2211;</span>
+  <sub><span 
+class="cmmi-7">i</span></sub><span 
+class="cmmi-10">f</span>(<span 
+class="cmmi-10">x</span>)<sup><span 
+class="cmr-7">2</span></sup>
+</p>
+<p>@\ outside of math
+</p>
+<p>\
+</p>
+<p>Displaymath
+</p>
+   <div class="math-display" >
+<img 
+src="tex_tex4ht_latex1x.png" alt="- - f (x) =-&#x221A;1--e- 
12(x-&#x03C3;&#x03BC;)2
+          &#x03C3;  2&#x03C0;
+" class="math-display" ></div>
+<!--l. 24--><p class="indent" >    
+
+<hr>
+</div>
+<p>
+  <span class="program-in-footer">This document was generated on <em 
class="emph">a sunny day</em> using <a class="uref" 
href="http://www.gnu.org/software/texinfo/";><em 
class="emph">texi2any</em></a>.</span>
+</p>
+
+
+</body>
+</html>
diff --git 
a/tp/tests/tex_html/res_parser/tex_httex_latex_math/tex_tex4ht_latex.4ct 
b/tp/tests/tex_html/res_parser/tex_httex_latex_math/tex_tex4ht_latex.4ct
new file mode 100644
index 0000000000..9998f6203d
--- /dev/null
+++ b/tp/tests/tex_html/res_parser/tex_httex_latex_math/tex_tex4ht_latex.4ct
@@ -0,0 +1,2 @@
+\expandafter\ifx\csname doTocEntry\endcsname\relax \expandafter\endinput\fi 
+\par 
diff --git 
a/tp/tests/tex_html/res_parser/tex_httex_latex_math/tex_tex4ht_latex.4tc 
b/tp/tests/tex_html/res_parser/tex_httex_latex_math/tex_tex4ht_latex.4tc
new file mode 100644
index 0000000000..4021816773
--- /dev/null
+++ b/tp/tests/tex_html/res_parser/tex_httex_latex_math/tex_tex4ht_latex.4tc
@@ -0,0 +1 @@
+\expandafter\ifx\csname doTocEntry\endcsname\relax \expandafter\endinput\fi
diff --git 
a/tp/tests/tex_html/res_parser/tex_httex_latex_math/tex_tex4ht_latex.aux 
b/tp/tests/tex_html/res_parser/tex_httex_latex_math/tex_tex4ht_latex.aux
new file mode 100644
index 0000000000..c497e522e9
--- /dev/null
+++ b/tp/tests/tex_html/res_parser/tex_httex_latex_math/tex_tex4ht_latex.aux
@@ -0,0 +1,3 @@
+\relax 
+\ifx\rEfLiNK\UnDef\gdef \rEfLiNK#1#2{#2}\fi
+\gdef \@abspage@last{1}
diff --git 
a/tp/tests/tex_html/res_parser/tex_httex_latex_math/tex_tex4ht_latex.css 
b/tp/tests/tex_html/res_parser/tex_httex_latex_math/tex_tex4ht_latex.css
new file mode 100644
index 0000000000..1713797d6c
--- /dev/null
+++ b/tp/tests/tex_html/res_parser/tex_httex_latex_math/tex_tex4ht_latex.css
@@ -0,0 +1,124 @@
+ 
+/* start css.sty */
+.cmr-5{font-size:50%;}
+.cmr-7{font-size:70%;}
+.cmmi-5{font-size:50%;font-style: italic;}
+.cmmi-7{font-size:70%;font-style: italic;}
+.cmmi-10{font-style: italic;}
+.cmsy-5{font-size:50%;}
+.cmsy-7{font-size:70%;}
+.cmti-10{ font-style: italic;}
+.cmtt-10{font-family: monospace,monospace;}
+p{margin-top:0;margin-bottom:0}
+p.indent{text-indent:0;}
+p + p{margin-top:1em;}
+p + div, p + pre {margin-top:1em;}
+div + p, pre + p {margin-top:1em;}
+a { overflow-wrap: break-word; word-wrap: break-word; word-break: break-word; 
hyphens: auto; }
+@media print {div.crosslinks {visibility:hidden;}}
+table.tabular{border-collapse: collapse; border-spacing: 0;}
+a img { border-top: 0; border-left: 0; border-right: 0; }
+center { margin-top:1em; margin-bottom:1em; }
+td center { margin-top:0em; margin-bottom:0em; }
+.Canvas { position:relative; }
+img.math{vertical-align:middle;}
+div.par-math-display, div.math-display{text-align:center;}
+li p.indent { text-indent: 0em }
+li p:first-child{ margin-top:0em; }
+li p:last-child, li div:last-child { margin-bottom:0.5em; }
+li p:first-child{ margin-bottom:0; }
+li p~ul:last-child, li p~ol:last-child{ margin-bottom:0.5em; }
+.enumerate1 {list-style-type:decimal;}
+.enumerate2 {list-style-type:lower-alpha;}
+.enumerate3 {list-style-type:lower-roman;}
+.enumerate4 {list-style-type:upper-alpha;}
+div.newtheorem { margin-bottom: 2em; margin-top: 2em;}
+div.newtheorem .head{font-weight: bold;}
+.obeylines-h,.obeylines-v {white-space: nowrap; }
+div.obeylines-v p { margin-top:0; margin-bottom:0; }
+.overline{ text-decoration:overline; }
+.overline img{ border-top: 1px solid black; }
+td.displaylines {text-align:center; white-space:nowrap;}
+.centerline {text-align:center;}
+.rightline {text-align:right;}
+pre.verbatim {font-family: monospace,monospace; text-align:left; clear:both; }
+.fbox {padding-left:3.0pt; padding-right:3.0pt; text-indent:0pt; border:solid 
black 0.4pt; }
+div.fbox {display:table}
+div.center div.fbox {text-align:center; clear:both; padding-left:3.0pt; 
padding-right:3.0pt; text-indent:0pt; border:solid black 0.4pt; }
+div.minipage{width:100%;}
+div.center, div.center div.center {text-align: center; margin-left:1em; 
margin-right:1em;}
+div.center div {text-align: left;}
+div.flushright, div.flushright div.flushright {text-align: right;}
+div.flushright div {text-align: left;}
+div.flushleft {text-align: left;}
+.underline{ text-decoration:underline; }
+.underline img{ border-bottom: 1px solid black; margin-bottom:1pt; }
+.framebox-c, .framebox-l, .framebox-r { padding-left:3.0pt; 
padding-right:3.0pt; text-indent:0pt; border:solid black 0.4pt; }
+.framebox-c {text-align:center;}
+.framebox-l {text-align:left;}
+.framebox-r {text-align:right;}
+span.thank-mark{ vertical-align: super }
+span.footnote-mark sup.textsuperscript, span.footnote-mark a 
sup.textsuperscript{ font-size:80%; }
+div.tabular, div.center div.tabular {text-align: center; margin-top:0.5em; 
margin-bottom:0.5em; }
+table.tabular td p{margin-top:0em;}
+table.tabular {margin-left: auto; margin-right: auto;}
+td p:first-child{ margin-top:0em; }
+td p:last-child{ margin-bottom:0em; }
+div.td00{ margin-left:0pt; margin-right:0pt; }
+div.td01{ margin-left:0pt; margin-right:5pt; }
+div.td10{ margin-left:5pt; margin-right:0pt; }
+div.td11{ margin-left:5pt; margin-right:5pt; }
+table[rules] {border-left:solid black 0.4pt; border-right:solid black 0.4pt; }
+td.td00{ padding-left:0pt; padding-right:0pt; }
+td.td01{ padding-left:0pt; padding-right:5pt; }
+td.td10{ padding-left:5pt; padding-right:0pt; }
+td.td11{ padding-left:5pt; padding-right:5pt; }
+table[rules] {border-left:solid black 0.4pt; border-right:solid black 0.4pt; }
+.hline hr, .cline hr{ height : 0px; margin:0px; }
+.hline td, .cline td{ padding: 0; }
+.hline hr, .cline hr{border:none;border-top:1px solid black;}
+.hline {border-top: 1px solid black;}
+.tabbing-right {text-align:right;}
+div.float, div.figure {margin-left: auto; margin-right: auto;}
+div.float img {text-align:center;}
+div.figure img {text-align:center;}
+.marginpar,.reversemarginpar {width:20%; float:right; text-align:left; 
margin-left:auto; margin-top:0.5em; font-size:85%; text-decoration:underline;}
+.marginpar p,.reversemarginpar p{margin-top:0.4em; margin-bottom:0.4em;}
+.reversemarginpar{float:left;}
+table.equation {width:100%;}
+.equation td{text-align:center; }
+td.equation { margin-top:1em; margin-bottom:1em; } 
+td.equation-label { width:5%; text-align:center; }
+td.eqnarray4 { width:5%; white-space: normal; }
+td.eqnarray2 { width:5%; }
+table.eqnarray-star, table.eqnarray {width:100%;}
+div.eqnarray{text-align:center;}
+div.array {text-align:center;}
+div.pmatrix {text-align:center;}
+table.pmatrix {width:100%;}
+span.pmatrix img{vertical-align:middle;}
+div.pmatrix {text-align:center;}
+table.pmatrix {width:100%;}
+span.bar-css {text-decoration:overline;}
+img.cdots{vertical-align:middle;}
+.partToc a, .partToc, .likepartToc a, .likepartToc {line-height: 200%; 
font-weight:bold; font-size:110%;}
+.index-item, .index-subitem, .index-subsubitem {display:block}
+div.caption {text-indent:-2em; margin-left:3em; margin-right:1em; 
text-align:left;}
+div.caption span.id{font-weight: bold; white-space: nowrap; }
+h1.partHead{text-align: center}
+p.bibitem { text-indent: -2em; margin-left: 2em; margin-top:0.6em; 
margin-bottom:0.6em; }
+p.bibitem-p { text-indent: 0em; margin-left: 2em; margin-top:0.6em; 
margin-bottom:0.6em; }
+.paragraphHead, .likeparagraphHead { margin-top:2em; font-weight: bold;}
+.subparagraphHead, .likesubparagraphHead { font-weight: bold;}
+.verse{white-space:nowrap; margin-left:2em}
+div.maketitle {text-align:center;}
+h2.titleHead{text-align:center;}
+div.maketitle{ margin-bottom: 2em; }
+div.author, div.date {text-align:center;}
+div.thanks{text-align:left; margin-left:10%; font-size:85%; font-style:italic; 
}
+div.author{white-space: nowrap;}
+div.abstract p {margin-left:5%; margin-right:5%;}
+div.abstract {width:100%;}
+.abstracttitle{text-align:center;margin-bottom:1em;}
+/* end css.sty */
+
diff --git 
a/tp/tests/tex_html/res_parser/tex_httex_latex_math/tex_tex4ht_latex.html 
b/tp/tests/tex_html/res_parser/tex_httex_latex_math/tex_tex4ht_latex.html
new file mode 100644
index 0000000000..d86be54b6d
--- /dev/null
+++ b/tp/tests/tex_html/res_parser/tex_httex_latex_math/tex_tex4ht_latex.html
@@ -0,0 +1,95 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"  
+  "http://www.w3.org/TR/html4/loose.dtd";>  
+<html > 
+<head><title></title> 
+<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> 
+<meta name="generator" content="TeX4ht (https://tug.org/tex4ht/)"> 
+<meta name="originator" content="TeX4ht (https://tug.org/tex4ht/)"> 
+<!-- html --> 
+<meta name="src" content="tex_tex4ht_latex.tex"> 
+<link rel="stylesheet" type="text/css" href="tex_tex4ht_latex.css"> 
+</head><body 
+>
+<!--l. 4--><p class="noindent" > 
+ 
+<!-- tex4ht_begin tex_tex4ht_latex latex 1 --> 
+ <div class="eqnarray">
+   <div class="math-display" >
+<img 
+src="tex_tex4ht_latex0x.png" alt="ab  =   �e                          (1)
+ &#x03BE;
+ X  =   Y                          (2)
+" class="math-display" ></div>
+   </div>
+<!--l. 9--><p class="indent" >    
+<!-- tex4ht_end tex_tex4ht_latex latex 1 --> 
+ 
+  
+ 
+<!-- tex4ht_begin tex_tex4ht_latex math 2 --> 
+   <span 
+class="cmmi-7">x</span><sup><span 
+class="cmmi-5">i</span></sup> __
+<span 
+class="cmr-7">tan</span> <span 
+class="cmmi-7">y</span> 
+<!-- tex4ht_end tex_tex4ht_latex math 2 --> 
+ 
+  
+ 
+<!-- tex4ht_begin tex_tex4ht_latex math 3 --> 
+ <span 
+class="cmmi-10">a</span><span 
+class="cmsy-10">\</span><span 
+class="cmmi-10">b</span> 
+<!-- tex4ht_end tex_tex4ht_latex math 3 --> 
+ 
+  
+ 
+<!-- tex4ht_begin tex_tex4ht_latex math 4 --> 
+ <span 
+class="cmtt-10">mathcode</span><span 
+class="cmmi-10">a &#x003C; b</span> 
+<!-- tex4ht_end tex_tex4ht_latex math 4 --> 
+ 
+  
+ 
+<!-- tex4ht_begin tex_tex4ht_latex math 5 --> 
+ <span class="underline"><span 
+class="cmtt-10">math</span> code </span><span 
+class="cmex-10">&#x2211;</span>
+  <sub><span 
+class="cmmi-7">i</span></sub><span class="underline"><span 
+class="cmti-10">eff</span> </span> 
+<!-- tex4ht_end tex_tex4ht_latex math 5 --> 
+ 
+  
+ 
+<!-- tex4ht_begin tex_tex4ht_latex math 6 --> 
+ <span 
+class="cmex-10">&#x2211;</span>
+  <sub><span 
+class="cmmi-7">i</span></sub><span 
+class="cmmi-10">f</span>(<span 
+class="cmmi-10">x</span>)<sup><span 
+class="cmr-7">2</span></sup> 
+<!-- tex4ht_end tex_tex4ht_latex math 6 --> 
+ 
+  
+ 
+<!-- tex4ht_begin tex_tex4ht_latex displaymath 7 --> 
+
+   <div class="math-display" >
+<img 
+src="tex_tex4ht_latex1x.png" alt="- - f (x) =-&#x221A;1--e- 
12(x-&#x03C3;&#x03BC;)2
+          &#x03C3;  2&#x03C0;
+" class="math-display" ></div>
+<!--l. 24--><p class="indent" >    
+<!-- tex4ht_end tex_tex4ht_latex displaymath 7 --> 
+ 
+
+    
+</body></html> 
+
+
+
diff --git 
a/tp/tests/tex_html/res_parser/tex_httex_latex_math/tex_tex4ht_latex.lg 
b/tp/tests/tex_html/res_parser/tex_httex_latex_math/tex_tex4ht_latex.lg
new file mode 100644
index 0000000000..3c4b79e8ac
--- /dev/null
+++ b/tp/tests/tex_html/res_parser/tex_httex_latex_math/tex_tex4ht_latex.lg
@@ -0,0 +1,139 @@
+htfcss: cmtt font-family: monospace,monospace;
+htfcss: cmti  font-style: italic;
+htfcss: cmmi font-style: italic;
+htfcss: cmmib font-style: italic; font-weight: bold;
+File: tex_tex4ht_latex.html
+File: tex_tex4ht_latex.css
+File: tex_tex4ht_latex.tmp
+Css: p{margin-top:0;margin-bottom:0}
+Css: p.indent{text-indent:0;}
+Css: p + p{margin-top:1em;}
+Css: p + div, p + pre {margin-top:1em;}
+Css: div + p, pre + p {margin-top:1em;}
+Css: a { overflow-wrap: break-word; word-wrap: break-word; word-break: 
break-word; hyphens: auto; }
+Css: @media print {div.crosslinks {visibility:hidden;}}
+Css: table.tabular{border-collapse: collapse; border-spacing: 0;}
+Css: a img { border-top: 0; border-left: 0; border-right: 0; }
+Font_Css("4"): .small-caps{font-variant: small-caps; }
+Font_Css("10"): .htf-cmbx {font-weight: bold; font-style:normal;}
+Font_Css("12"): .htf-calligraphy {font-family:cursive}
+Font_Css("14"): .htf-italic {font-style: italic;}
+Font_Css("16"): .htf-bold {font-weight: bold;}
+Font_Css("12"): .htf-calligraphy-bold {font-family:cursive ; font-weight: 
bold; }
+Css: center { margin-top:1em; margin-bottom:1em; }
+Css: td center { margin-top:0em; margin-bottom:0em; }
+Css: .Canvas { position:relative; }
+Css: img.math{vertical-align:middle;}
+Css: div.par-math-display, div.math-display{text-align:center;}
+Css: li p.indent { text-indent: 0em }
+Css: li p:first-child{ margin-top:0em; }
+Css: li p:last-child, li div:last-child { margin-bottom:0.5em; }
+Css: li p:first-child{ margin-bottom:0; }
+Css: li p~ul:last-child, li p~ol:last-child{ margin-bottom:0.5em; }
+Css: .enumerate1 {list-style-type:decimal;}
+Css: .enumerate2 {list-style-type:lower-alpha;}
+Css: .enumerate3 {list-style-type:lower-roman;}
+Css: .enumerate4 {list-style-type:upper-alpha;}
+Css: div.newtheorem { margin-bottom: 2em; margin-top: 2em;}
+Css: div.newtheorem .head{font-weight: bold;}
+Css: .obeylines-h,.obeylines-v {white-space: nowrap; }
+Css: div.obeylines-v p { margin-top:0; margin-bottom:0; }
+Css: .overline{ text-decoration:overline; }
+Css: .overline img{ border-top: 1px solid black; }
+Css: td.displaylines {text-align:center; white-space:nowrap;}
+Css: .centerline {text-align:center;}
+Css: .rightline {text-align:right;}
+Css: pre.verbatim {font-family: monospace,monospace; text-align:left; 
clear:both; }
+Css: .fbox {padding-left:3.0pt; padding-right:3.0pt; text-indent:0pt; 
border:solid black 0.4pt; }
+Css: div.fbox {display:table}
+Css: div.center div.fbox {text-align:center; clear:both; padding-left:3.0pt; 
padding-right:3.0pt; text-indent:0pt; border:solid black 0.4pt; }
+Css: div.minipage{width:100%;}
+Css: div.center, div.center div.center {text-align: center; margin-left:1em; 
margin-right:1em;}
+Css: div.center div {text-align: left;}
+Css: div.flushright, div.flushright div.flushright {text-align: right;}
+Css: div.flushright div {text-align: left;}
+Css: div.flushleft {text-align: left;}
+Css: .underline{ text-decoration:underline; }
+Css: .underline img{ border-bottom: 1px solid black; margin-bottom:1pt; }
+Css: .framebox-c, .framebox-l, .framebox-r { padding-left:3.0pt; 
padding-right:3.0pt; text-indent:0pt; border:solid black 0.4pt; }
+Css: .framebox-c {text-align:center;}
+Css: .framebox-l {text-align:left;}
+Css: .framebox-r {text-align:right;}
+Css: span.thank-mark{ vertical-align: super }
+Css: span.footnote-mark sup.textsuperscript, span.footnote-mark a 
sup.textsuperscript{ font-size:80%; }
+Css: div.tabular, div.center div.tabular {text-align: center; 
margin-top:0.5em; margin-bottom:0.5em; }
+Css: table.tabular td p{margin-top:0em;}
+Css: table.tabular {margin-left: auto; margin-right: auto;}
+Css: td p:first-child{ margin-top:0em; }
+Css: td p:last-child{ margin-bottom:0em; }
+Css: div.td00{ margin-left:0pt; margin-right:0pt; }
+Css: div.td01{ margin-left:0pt; margin-right:5pt; }
+Css: div.td10{ margin-left:5pt; margin-right:0pt; }
+Css: div.td11{ margin-left:5pt; margin-right:5pt; }
+Css: table[rules] {border-left:solid black 0.4pt; border-right:solid black 
0.4pt; }
+Css: td.td00{ padding-left:0pt; padding-right:0pt; }
+Css: td.td01{ padding-left:0pt; padding-right:5pt; }
+Css: td.td10{ padding-left:5pt; padding-right:0pt; }
+Css: td.td11{ padding-left:5pt; padding-right:5pt; }
+Css: table[rules] {border-left:solid black 0.4pt; border-right:solid black 
0.4pt; }
+Css: .hline hr, .cline hr{ height : 0px; margin:0px; }
+Css: .hline td, .cline td{ padding: 0; }
+Css: .hline hr, .cline hr{border:none;border-top:1px solid black;}
+Css: .hline {border-top: 1px solid black;}
+Css: .tabbing-right {text-align:right;}
+Css: div.float, div.figure {margin-left: auto; margin-right: auto;}
+Css: div.float img {text-align:center;}
+Css: div.figure img {text-align:center;}
+Css: .marginpar,.reversemarginpar {width:20%; float:right; text-align:left; 
margin-left:auto; margin-top:0.5em; font-size:85%; text-decoration:underline;}
+Css: .marginpar p,.reversemarginpar p{margin-top:0.4em; margin-bottom:0.4em;}
+Css: .reversemarginpar{float:left;}
+Css: table.equation {width:100%;}
+Css: .equation td{text-align:center; }
+Css: td.equation { margin-top:1em; margin-bottom:1em; } 
+Css: td.equation-label { width:5%; text-align:center; }
+Css: td.eqnarray4 { width:5%; white-space: normal; }
+Css: td.eqnarray2 { width:5%; }
+Css: table.eqnarray-star, table.eqnarray {width:100%;}
+Css: div.eqnarray{text-align:center;}
+Css: div.array {text-align:center;}
+Css: div.pmatrix {text-align:center;}
+Css: table.pmatrix {width:100%;}
+Css: span.pmatrix img{vertical-align:middle;}
+Css: div.pmatrix {text-align:center;}
+Css: table.pmatrix {width:100%;}
+Css: span.bar-css {text-decoration:overline;}
+Css: img.cdots{vertical-align:middle;}
+Css: .partToc a, .partToc, .likepartToc a, .likepartToc {line-height: 200%; 
font-weight:bold; font-size:110%;}
+Css: .index-item, .index-subitem, .index-subsubitem {display:block}
+Css: div.caption {text-indent:-2em; margin-left:3em; margin-right:1em; 
text-align:left;}
+Css: div.caption span.id{font-weight: bold; white-space: nowrap; }
+Css: h1.partHead{text-align: center}
+Css: p.bibitem { text-indent: -2em; margin-left: 2em; margin-top:0.6em; 
margin-bottom:0.6em; }
+Css: p.bibitem-p { text-indent: 0em; margin-left: 2em; margin-top:0.6em; 
margin-bottom:0.6em; }
+Css: .paragraphHead, .likeparagraphHead { margin-top:2em; font-weight: bold;}
+Css: .subparagraphHead, .likesubparagraphHead { font-weight: bold;}
+Css: .verse{white-space:nowrap; margin-left:2em}
+Css: div.maketitle {text-align:center;}
+Css: h2.titleHead{text-align:center;}
+Css: div.maketitle{ margin-bottom: 2em; }
+Css: div.author, div.date {text-align:center;}
+Css: div.thanks{text-align:left; margin-left:10%; font-size:85%; 
font-style:italic; }
+Css: div.author{white-space: nowrap;}
+Css: div.abstract p {margin-left:5%; margin-right:5%;}
+Css: div.abstract {width:100%;}
+Css: .abstracttitle{text-align:center;margin-bottom:1em;}
+--- needs --- tex_tex4ht_latex.idv[2] ==> tex_tex4ht_latex0x.png ---
+--- needs --- tex_tex4ht_latex.idv[3] ==> tex_tex4ht_latex1x.png ---
+--- characters ---
+Font("cmex","10","10","100")
+Font("cmr","5","5","100")
+Font("cmr","7","7","100")
+Font("cmr","10","10","100")
+Font("cmmi","5","5","100")
+Font("cmmi","7","7","100")
+Font("cmmi","10","10","100")
+Font("cmsy","5","5","100")
+Font("cmsy","7","7","100")
+Font("cmsy","10","10","100")
+Font("cmti","10","10","100")
+Font("cmtt","10","10","100")
diff --git 
a/tp/tests/tex_html/res_parser/tex_httex_latex_math/tex_tex4ht_latex.tex 
b/tp/tests/tex_html/res_parser/tex_httex_latex_math/tex_tex4ht_latex.tex
new file mode 100644
index 0000000000..1235ef07fc
--- /dev/null
+++ b/tp/tests/tex_html/res_parser/tex_httex_latex_math/tex_tex4ht_latex.tex
@@ -0,0 +1,25 @@
+% Automatically generated by the t4ht Texinfo HTML extension
+\documentclass{article}
+\begin{document}
+\HCode{\Hnewline \Hnewline <!-- tex4ht_begin tex_tex4ht_latex latex 1 
-->\Hnewline}
+\begin{eqnarray}
+\frac{\mathit{a}^b}{\xi} &=& \mathtt{\acute{e}} \\
+X &=& Y
+\end{eqnarray}
+\HCode{\Hnewline <!-- tex4ht_end tex_tex4ht_latex latex 1 -->\Hnewline 
\Hnewline}
+\HCode{\Hnewline \Hnewline <!-- tex4ht_begin tex_tex4ht_latex math 2 
-->\Hnewline}
+\IgnorePar ${x^i}\over{\tan y}$\HCode{\Hnewline <!-- tex4ht_end 
tex_tex4ht_latex math 2 -->\Hnewline \Hnewline}
+\HCode{\Hnewline \Hnewline <!-- tex4ht_begin tex_tex4ht_latex math 3 
-->\Hnewline}
+\IgnorePar $a \backslash{} b$\HCode{\Hnewline <!-- tex4ht_end tex_tex4ht_latex 
math 3 -->\Hnewline \Hnewline}
+\HCode{\Hnewline \Hnewline <!-- tex4ht_begin tex_tex4ht_latex math 4 
-->\Hnewline}
+\IgnorePar $\mathtt{math code} a < b$\HCode{\Hnewline <!-- tex4ht_end 
tex_tex4ht_latex math 4 -->\Hnewline \Hnewline}
+\HCode{\Hnewline \Hnewline <!-- tex4ht_begin tex_tex4ht_latex math 5 
-->\Hnewline}
+\IgnorePar $\underline{\mathtt{math \hbox{ code }}} 
\sum_{i}{\underline{\mathit{eff}}}$\HCode{\Hnewline <!-- tex4ht_end 
tex_tex4ht_latex math 5 -->\Hnewline \Hnewline}
+\HCode{\Hnewline \Hnewline <!-- tex4ht_begin tex_tex4ht_latex math 6 
-->\Hnewline}
+\IgnorePar $\sum_{i} f(x)^{2}$\HCode{\Hnewline <!-- tex4ht_end 
tex_tex4ht_latex math 6 -->\Hnewline \Hnewline}
+\HCode{\Hnewline \Hnewline <!-- tex4ht_begin tex_tex4ht_latex displaymath 7 
-->\Hnewline}
+
+$$-- f(x) = {1 \over \sigma \sqrt{2\pi}}e^{-{1 \over 2}\left({x-\mu \over 
\sigma}\right)^2}
+$$
+\HCode{\Hnewline <!-- tex4ht_end tex_tex4ht_latex displaymath 7 -->\Hnewline 
\Hnewline}
+\end{document}
diff --git 
a/tp/tests/tex_html/res_parser/tex_httex_latex_math/tex_tex4ht_latex.tmp 
b/tp/tests/tex_html/res_parser/tex_httex_latex_math/tex_tex4ht_latex.tmp
new file mode 100644
index 0000000000..41b58e2cf4
--- /dev/null
+++ b/tp/tests/tex_html/res_parser/tex_httex_latex_math/tex_tex4ht_latex.tmp
@@ -0,0 +1,2 @@
+ 
+/* css.sty */
\ No newline at end of file
diff --git 
a/tp/tests/tex_html/res_parser/tex_httex_latex_math/tex_tex4ht_latex.xref 
b/tp/tests/tex_html/res_parser/tex_httex_latex_math/tex_tex4ht_latex.xref
new file mode 100644
index 0000000000..8d8affa965
--- /dev/null
+++ b/tp/tests/tex_html/res_parser/tex_httex_latex_math/tex_tex4ht_latex.xref
@@ -0,0 +1 @@
+\:CrossWord{)F1F-}{tex_tex4ht_latex.html}{1}%
diff --git a/tp/tests/tex_html/res_parser/tex_httex_tex_latex_math/tex.html 
b/tp/tests/tex_html/res_parser/tex_httex_tex_latex_math/tex.html
new file mode 100644
index 0000000000..3763202fb3
--- /dev/null
+++ b/tp/tests/tex_html/res_parser/tex_httex_tex_latex_math/tex.html
@@ -0,0 +1,119 @@
+<!DOCTYPE html>
+<html>
+<!-- Created by texinfo, http://www.gnu.org/software/texinfo/ -->
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+<title>Tests</title>
+
+<meta name="description" content="Tests">
+<meta name="keywords" content="Tests">
+<meta name="resource-type" content="document">
+<meta name="distribution" content="global">
+<meta name="Generator" content="texi2any">
+<meta name="viewport" content="width=device-width,initial-scale=1">
+
+<style type="text/css">
+<!--
+@import "tex_tex4ht_tex.css";
+@import "tex_tex4ht_latex.css";
+
+span.program-in-footer {font-size: smaller}
+-->
+</style>
+
+
+</head>
+
+<body lang="en">
+<div class="top-level-extent" id="Top">
+<h1 class="top" id="Tests">Tests</h1>
+
+<p>Now tex on the same line 
+<!--l. 5--><p class="indent" >
+    <div class="math-display" >
+<img 
+src="tex_tex4ht_tex0x.png" alt="     N  (            )2
+&#x03C7;2 = &#x2211;   yi --(a+-bxi)
+     i=1       &#x03C3;i
+" class="math-display" ></div>
+<!--l. 10--><p class="indent" >     
+Some text one the line following @end tex
+</p>
+<p>LaTeX block
+ <div class="eqnarray">
+   <div class="math-display" >
+<img 
+src="tex_tex4ht_latex0x.png" alt="ab  =   ´e                          (1)
+ &#x03BE;
+ X  =   Y                          (2)
+" class="math-display" ></div>
+   </div>
+<!--l. 9--><p class="indent" >    
+</p>
+<p>Now tex on the following line, valid fot tex (with @end tex on a line).
+
+<!--l. 13--><p class="indent" >    tex TeX 
+</p>
+<p>Same that @html (but empty following line not ignored).
+</p>
+<p>Test of @math
+Here some <span 
+class="cmmi-7">x</span><sup><span 
+class="cmmi-5">i</span></sup> __
+<span 
+class="cmr-7">tan</span> <span 
+class="cmmi-7">y</span>.
+</p>
+<p>Maths with protected \:
+<span 
+class="cmmi-10">a</span><span 
+class="cmsy-10">\</span><span 
+class="cmmi-10">b</span>.
+</p>
+<p>Maths with code @-command:
+</p>
+<p><span 
+class="cmtt-10">mathcode</span><span 
+class="cmmi-10">a &#x003C; b</span>
+</p>
+<p>Maths with code @-command and braces:
+</p>
+<p><span class="underline"><span 
+class="cmtt-10">math</span> code </span><span 
+class="cmex-10">&#x2211;</span>
+  <sub><span 
+class="cmmi-7">i</span></sub><span class="underline"><span 
+class="cmti-10">eff</span> </span>
+</p>
+<p>Maths with @-sup
+</p>
+<p><span 
+class="cmex-10">&#x2211;</span>
+  <sub><span 
+class="cmmi-7">i</span></sub><span 
+class="cmmi-10">f</span>(<span 
+class="cmmi-10">x</span>)<sup><span 
+class="cmr-7">2</span></sup>
+</p>
+<p>@\ outside of math
+</p>
+<p>\
+</p>
+<p>Displaymath
+</p>
+   <div class="math-display" >
+<img 
+src="tex_tex4ht_latex1x.png" alt="- - f (x) =-&#x221A;1--e- 
12(x-&#x03C3;&#x03BC;)2
+          &#x03C3;  2&#x03C0;
+" class="math-display" ></div>
+<!--l. 24--><p class="indent" >    
+
+<hr>
+</div>
+<p>
+  <span class="program-in-footer">This document was generated on <em 
class="emph">a sunny day</em> using <a class="uref" 
href="http://www.gnu.org/software/texinfo/";><em 
class="emph">texi2any</em></a>.</span>
+</p>
+
+
+</body>
+</html>
diff --git 
a/tp/tests/tex_html/res_parser/tex_httex_tex_latex_math/tex_tex4ht_latex.4ct 
b/tp/tests/tex_html/res_parser/tex_httex_tex_latex_math/tex_tex4ht_latex.4ct
new file mode 100644
index 0000000000..9998f6203d
--- /dev/null
+++ b/tp/tests/tex_html/res_parser/tex_httex_tex_latex_math/tex_tex4ht_latex.4ct
@@ -0,0 +1,2 @@
+\expandafter\ifx\csname doTocEntry\endcsname\relax \expandafter\endinput\fi 
+\par 
diff --git 
a/tp/tests/tex_html/res_parser/tex_httex_tex_latex_math/tex_tex4ht_latex.4tc 
b/tp/tests/tex_html/res_parser/tex_httex_tex_latex_math/tex_tex4ht_latex.4tc
new file mode 100644
index 0000000000..4021816773
--- /dev/null
+++ b/tp/tests/tex_html/res_parser/tex_httex_tex_latex_math/tex_tex4ht_latex.4tc
@@ -0,0 +1 @@
+\expandafter\ifx\csname doTocEntry\endcsname\relax \expandafter\endinput\fi
diff --git 
a/tp/tests/tex_html/res_parser/tex_httex_tex_latex_math/tex_tex4ht_latex.aux 
b/tp/tests/tex_html/res_parser/tex_httex_tex_latex_math/tex_tex4ht_latex.aux
new file mode 100644
index 0000000000..c497e522e9
--- /dev/null
+++ b/tp/tests/tex_html/res_parser/tex_httex_tex_latex_math/tex_tex4ht_latex.aux
@@ -0,0 +1,3 @@
+\relax 
+\ifx\rEfLiNK\UnDef\gdef \rEfLiNK#1#2{#2}\fi
+\gdef \@abspage@last{1}
diff --git 
a/tp/tests/tex_html/res_parser/tex_httex_tex_latex_math/tex_tex4ht_latex.css 
b/tp/tests/tex_html/res_parser/tex_httex_tex_latex_math/tex_tex4ht_latex.css
new file mode 100644
index 0000000000..1713797d6c
--- /dev/null
+++ b/tp/tests/tex_html/res_parser/tex_httex_tex_latex_math/tex_tex4ht_latex.css
@@ -0,0 +1,124 @@
+ 
+/* start css.sty */
+.cmr-5{font-size:50%;}
+.cmr-7{font-size:70%;}
+.cmmi-5{font-size:50%;font-style: italic;}
+.cmmi-7{font-size:70%;font-style: italic;}
+.cmmi-10{font-style: italic;}
+.cmsy-5{font-size:50%;}
+.cmsy-7{font-size:70%;}
+.cmti-10{ font-style: italic;}
+.cmtt-10{font-family: monospace,monospace;}
+p{margin-top:0;margin-bottom:0}
+p.indent{text-indent:0;}
+p + p{margin-top:1em;}
+p + div, p + pre {margin-top:1em;}
+div + p, pre + p {margin-top:1em;}
+a { overflow-wrap: break-word; word-wrap: break-word; word-break: break-word; 
hyphens: auto; }
+@media print {div.crosslinks {visibility:hidden;}}
+table.tabular{border-collapse: collapse; border-spacing: 0;}
+a img { border-top: 0; border-left: 0; border-right: 0; }
+center { margin-top:1em; margin-bottom:1em; }
+td center { margin-top:0em; margin-bottom:0em; }
+.Canvas { position:relative; }
+img.math{vertical-align:middle;}
+div.par-math-display, div.math-display{text-align:center;}
+li p.indent { text-indent: 0em }
+li p:first-child{ margin-top:0em; }
+li p:last-child, li div:last-child { margin-bottom:0.5em; }
+li p:first-child{ margin-bottom:0; }
+li p~ul:last-child, li p~ol:last-child{ margin-bottom:0.5em; }
+.enumerate1 {list-style-type:decimal;}
+.enumerate2 {list-style-type:lower-alpha;}
+.enumerate3 {list-style-type:lower-roman;}
+.enumerate4 {list-style-type:upper-alpha;}
+div.newtheorem { margin-bottom: 2em; margin-top: 2em;}
+div.newtheorem .head{font-weight: bold;}
+.obeylines-h,.obeylines-v {white-space: nowrap; }
+div.obeylines-v p { margin-top:0; margin-bottom:0; }
+.overline{ text-decoration:overline; }
+.overline img{ border-top: 1px solid black; }
+td.displaylines {text-align:center; white-space:nowrap;}
+.centerline {text-align:center;}
+.rightline {text-align:right;}
+pre.verbatim {font-family: monospace,monospace; text-align:left; clear:both; }
+.fbox {padding-left:3.0pt; padding-right:3.0pt; text-indent:0pt; border:solid 
black 0.4pt; }
+div.fbox {display:table}
+div.center div.fbox {text-align:center; clear:both; padding-left:3.0pt; 
padding-right:3.0pt; text-indent:0pt; border:solid black 0.4pt; }
+div.minipage{width:100%;}
+div.center, div.center div.center {text-align: center; margin-left:1em; 
margin-right:1em;}
+div.center div {text-align: left;}
+div.flushright, div.flushright div.flushright {text-align: right;}
+div.flushright div {text-align: left;}
+div.flushleft {text-align: left;}
+.underline{ text-decoration:underline; }
+.underline img{ border-bottom: 1px solid black; margin-bottom:1pt; }
+.framebox-c, .framebox-l, .framebox-r { padding-left:3.0pt; 
padding-right:3.0pt; text-indent:0pt; border:solid black 0.4pt; }
+.framebox-c {text-align:center;}
+.framebox-l {text-align:left;}
+.framebox-r {text-align:right;}
+span.thank-mark{ vertical-align: super }
+span.footnote-mark sup.textsuperscript, span.footnote-mark a 
sup.textsuperscript{ font-size:80%; }
+div.tabular, div.center div.tabular {text-align: center; margin-top:0.5em; 
margin-bottom:0.5em; }
+table.tabular td p{margin-top:0em;}
+table.tabular {margin-left: auto; margin-right: auto;}
+td p:first-child{ margin-top:0em; }
+td p:last-child{ margin-bottom:0em; }
+div.td00{ margin-left:0pt; margin-right:0pt; }
+div.td01{ margin-left:0pt; margin-right:5pt; }
+div.td10{ margin-left:5pt; margin-right:0pt; }
+div.td11{ margin-left:5pt; margin-right:5pt; }
+table[rules] {border-left:solid black 0.4pt; border-right:solid black 0.4pt; }
+td.td00{ padding-left:0pt; padding-right:0pt; }
+td.td01{ padding-left:0pt; padding-right:5pt; }
+td.td10{ padding-left:5pt; padding-right:0pt; }
+td.td11{ padding-left:5pt; padding-right:5pt; }
+table[rules] {border-left:solid black 0.4pt; border-right:solid black 0.4pt; }
+.hline hr, .cline hr{ height : 0px; margin:0px; }
+.hline td, .cline td{ padding: 0; }
+.hline hr, .cline hr{border:none;border-top:1px solid black;}
+.hline {border-top: 1px solid black;}
+.tabbing-right {text-align:right;}
+div.float, div.figure {margin-left: auto; margin-right: auto;}
+div.float img {text-align:center;}
+div.figure img {text-align:center;}
+.marginpar,.reversemarginpar {width:20%; float:right; text-align:left; 
margin-left:auto; margin-top:0.5em; font-size:85%; text-decoration:underline;}
+.marginpar p,.reversemarginpar p{margin-top:0.4em; margin-bottom:0.4em;}
+.reversemarginpar{float:left;}
+table.equation {width:100%;}
+.equation td{text-align:center; }
+td.equation { margin-top:1em; margin-bottom:1em; } 
+td.equation-label { width:5%; text-align:center; }
+td.eqnarray4 { width:5%; white-space: normal; }
+td.eqnarray2 { width:5%; }
+table.eqnarray-star, table.eqnarray {width:100%;}
+div.eqnarray{text-align:center;}
+div.array {text-align:center;}
+div.pmatrix {text-align:center;}
+table.pmatrix {width:100%;}
+span.pmatrix img{vertical-align:middle;}
+div.pmatrix {text-align:center;}
+table.pmatrix {width:100%;}
+span.bar-css {text-decoration:overline;}
+img.cdots{vertical-align:middle;}
+.partToc a, .partToc, .likepartToc a, .likepartToc {line-height: 200%; 
font-weight:bold; font-size:110%;}
+.index-item, .index-subitem, .index-subsubitem {display:block}
+div.caption {text-indent:-2em; margin-left:3em; margin-right:1em; 
text-align:left;}
+div.caption span.id{font-weight: bold; white-space: nowrap; }
+h1.partHead{text-align: center}
+p.bibitem { text-indent: -2em; margin-left: 2em; margin-top:0.6em; 
margin-bottom:0.6em; }
+p.bibitem-p { text-indent: 0em; margin-left: 2em; margin-top:0.6em; 
margin-bottom:0.6em; }
+.paragraphHead, .likeparagraphHead { margin-top:2em; font-weight: bold;}
+.subparagraphHead, .likesubparagraphHead { font-weight: bold;}
+.verse{white-space:nowrap; margin-left:2em}
+div.maketitle {text-align:center;}
+h2.titleHead{text-align:center;}
+div.maketitle{ margin-bottom: 2em; }
+div.author, div.date {text-align:center;}
+div.thanks{text-align:left; margin-left:10%; font-size:85%; font-style:italic; 
}
+div.author{white-space: nowrap;}
+div.abstract p {margin-left:5%; margin-right:5%;}
+div.abstract {width:100%;}
+.abstracttitle{text-align:center;margin-bottom:1em;}
+/* end css.sty */
+
diff --git 
a/tp/tests/tex_html/res_parser/tex_httex_tex_latex_math/tex_tex4ht_latex.html 
b/tp/tests/tex_html/res_parser/tex_httex_tex_latex_math/tex_tex4ht_latex.html
new file mode 100644
index 0000000000..d86be54b6d
--- /dev/null
+++ 
b/tp/tests/tex_html/res_parser/tex_httex_tex_latex_math/tex_tex4ht_latex.html
@@ -0,0 +1,95 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"  
+  "http://www.w3.org/TR/html4/loose.dtd";>  
+<html > 
+<head><title></title> 
+<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> 
+<meta name="generator" content="TeX4ht (https://tug.org/tex4ht/)"> 
+<meta name="originator" content="TeX4ht (https://tug.org/tex4ht/)"> 
+<!-- html --> 
+<meta name="src" content="tex_tex4ht_latex.tex"> 
+<link rel="stylesheet" type="text/css" href="tex_tex4ht_latex.css"> 
+</head><body 
+>
+<!--l. 4--><p class="noindent" > 
+ 
+<!-- tex4ht_begin tex_tex4ht_latex latex 1 --> 
+ <div class="eqnarray">
+   <div class="math-display" >
+<img 
+src="tex_tex4ht_latex0x.png" alt="ab  =   �e                          (1)
+ &#x03BE;
+ X  =   Y                          (2)
+" class="math-display" ></div>
+   </div>
+<!--l. 9--><p class="indent" >    
+<!-- tex4ht_end tex_tex4ht_latex latex 1 --> 
+ 
+  
+ 
+<!-- tex4ht_begin tex_tex4ht_latex math 2 --> 
+   <span 
+class="cmmi-7">x</span><sup><span 
+class="cmmi-5">i</span></sup> __
+<span 
+class="cmr-7">tan</span> <span 
+class="cmmi-7">y</span> 
+<!-- tex4ht_end tex_tex4ht_latex math 2 --> 
+ 
+  
+ 
+<!-- tex4ht_begin tex_tex4ht_latex math 3 --> 
+ <span 
+class="cmmi-10">a</span><span 
+class="cmsy-10">\</span><span 
+class="cmmi-10">b</span> 
+<!-- tex4ht_end tex_tex4ht_latex math 3 --> 
+ 
+  
+ 
+<!-- tex4ht_begin tex_tex4ht_latex math 4 --> 
+ <span 
+class="cmtt-10">mathcode</span><span 
+class="cmmi-10">a &#x003C; b</span> 
+<!-- tex4ht_end tex_tex4ht_latex math 4 --> 
+ 
+  
+ 
+<!-- tex4ht_begin tex_tex4ht_latex math 5 --> 
+ <span class="underline"><span 
+class="cmtt-10">math</span> code </span><span 
+class="cmex-10">&#x2211;</span>
+  <sub><span 
+class="cmmi-7">i</span></sub><span class="underline"><span 
+class="cmti-10">eff</span> </span> 
+<!-- tex4ht_end tex_tex4ht_latex math 5 --> 
+ 
+  
+ 
+<!-- tex4ht_begin tex_tex4ht_latex math 6 --> 
+ <span 
+class="cmex-10">&#x2211;</span>
+  <sub><span 
+class="cmmi-7">i</span></sub><span 
+class="cmmi-10">f</span>(<span 
+class="cmmi-10">x</span>)<sup><span 
+class="cmr-7">2</span></sup> 
+<!-- tex4ht_end tex_tex4ht_latex math 6 --> 
+ 
+  
+ 
+<!-- tex4ht_begin tex_tex4ht_latex displaymath 7 --> 
+
+   <div class="math-display" >
+<img 
+src="tex_tex4ht_latex1x.png" alt="- - f (x) =-&#x221A;1--e- 
12(x-&#x03C3;&#x03BC;)2
+          &#x03C3;  2&#x03C0;
+" class="math-display" ></div>
+<!--l. 24--><p class="indent" >    
+<!-- tex4ht_end tex_tex4ht_latex displaymath 7 --> 
+ 
+
+    
+</body></html> 
+
+
+
diff --git 
a/tp/tests/tex_html/res_parser/tex_httex_tex_latex_math/tex_tex4ht_latex.lg 
b/tp/tests/tex_html/res_parser/tex_httex_tex_latex_math/tex_tex4ht_latex.lg
new file mode 100644
index 0000000000..3c4b79e8ac
--- /dev/null
+++ b/tp/tests/tex_html/res_parser/tex_httex_tex_latex_math/tex_tex4ht_latex.lg
@@ -0,0 +1,139 @@
+htfcss: cmtt font-family: monospace,monospace;
+htfcss: cmti  font-style: italic;
+htfcss: cmmi font-style: italic;
+htfcss: cmmib font-style: italic; font-weight: bold;
+File: tex_tex4ht_latex.html
+File: tex_tex4ht_latex.css
+File: tex_tex4ht_latex.tmp
+Css: p{margin-top:0;margin-bottom:0}
+Css: p.indent{text-indent:0;}
+Css: p + p{margin-top:1em;}
+Css: p + div, p + pre {margin-top:1em;}
+Css: div + p, pre + p {margin-top:1em;}
+Css: a { overflow-wrap: break-word; word-wrap: break-word; word-break: 
break-word; hyphens: auto; }
+Css: @media print {div.crosslinks {visibility:hidden;}}
+Css: table.tabular{border-collapse: collapse; border-spacing: 0;}
+Css: a img { border-top: 0; border-left: 0; border-right: 0; }
+Font_Css("4"): .small-caps{font-variant: small-caps; }
+Font_Css("10"): .htf-cmbx {font-weight: bold; font-style:normal;}
+Font_Css("12"): .htf-calligraphy {font-family:cursive}
+Font_Css("14"): .htf-italic {font-style: italic;}
+Font_Css("16"): .htf-bold {font-weight: bold;}
+Font_Css("12"): .htf-calligraphy-bold {font-family:cursive ; font-weight: 
bold; }
+Css: center { margin-top:1em; margin-bottom:1em; }
+Css: td center { margin-top:0em; margin-bottom:0em; }
+Css: .Canvas { position:relative; }
+Css: img.math{vertical-align:middle;}
+Css: div.par-math-display, div.math-display{text-align:center;}
+Css: li p.indent { text-indent: 0em }
+Css: li p:first-child{ margin-top:0em; }
+Css: li p:last-child, li div:last-child { margin-bottom:0.5em; }
+Css: li p:first-child{ margin-bottom:0; }
+Css: li p~ul:last-child, li p~ol:last-child{ margin-bottom:0.5em; }
+Css: .enumerate1 {list-style-type:decimal;}
+Css: .enumerate2 {list-style-type:lower-alpha;}
+Css: .enumerate3 {list-style-type:lower-roman;}
+Css: .enumerate4 {list-style-type:upper-alpha;}
+Css: div.newtheorem { margin-bottom: 2em; margin-top: 2em;}
+Css: div.newtheorem .head{font-weight: bold;}
+Css: .obeylines-h,.obeylines-v {white-space: nowrap; }
+Css: div.obeylines-v p { margin-top:0; margin-bottom:0; }
+Css: .overline{ text-decoration:overline; }
+Css: .overline img{ border-top: 1px solid black; }
+Css: td.displaylines {text-align:center; white-space:nowrap;}
+Css: .centerline {text-align:center;}
+Css: .rightline {text-align:right;}
+Css: pre.verbatim {font-family: monospace,monospace; text-align:left; 
clear:both; }
+Css: .fbox {padding-left:3.0pt; padding-right:3.0pt; text-indent:0pt; 
border:solid black 0.4pt; }
+Css: div.fbox {display:table}
+Css: div.center div.fbox {text-align:center; clear:both; padding-left:3.0pt; 
padding-right:3.0pt; text-indent:0pt; border:solid black 0.4pt; }
+Css: div.minipage{width:100%;}
+Css: div.center, div.center div.center {text-align: center; margin-left:1em; 
margin-right:1em;}
+Css: div.center div {text-align: left;}
+Css: div.flushright, div.flushright div.flushright {text-align: right;}
+Css: div.flushright div {text-align: left;}
+Css: div.flushleft {text-align: left;}
+Css: .underline{ text-decoration:underline; }
+Css: .underline img{ border-bottom: 1px solid black; margin-bottom:1pt; }
+Css: .framebox-c, .framebox-l, .framebox-r { padding-left:3.0pt; 
padding-right:3.0pt; text-indent:0pt; border:solid black 0.4pt; }
+Css: .framebox-c {text-align:center;}
+Css: .framebox-l {text-align:left;}
+Css: .framebox-r {text-align:right;}
+Css: span.thank-mark{ vertical-align: super }
+Css: span.footnote-mark sup.textsuperscript, span.footnote-mark a 
sup.textsuperscript{ font-size:80%; }
+Css: div.tabular, div.center div.tabular {text-align: center; 
margin-top:0.5em; margin-bottom:0.5em; }
+Css: table.tabular td p{margin-top:0em;}
+Css: table.tabular {margin-left: auto; margin-right: auto;}
+Css: td p:first-child{ margin-top:0em; }
+Css: td p:last-child{ margin-bottom:0em; }
+Css: div.td00{ margin-left:0pt; margin-right:0pt; }
+Css: div.td01{ margin-left:0pt; margin-right:5pt; }
+Css: div.td10{ margin-left:5pt; margin-right:0pt; }
+Css: div.td11{ margin-left:5pt; margin-right:5pt; }
+Css: table[rules] {border-left:solid black 0.4pt; border-right:solid black 
0.4pt; }
+Css: td.td00{ padding-left:0pt; padding-right:0pt; }
+Css: td.td01{ padding-left:0pt; padding-right:5pt; }
+Css: td.td10{ padding-left:5pt; padding-right:0pt; }
+Css: td.td11{ padding-left:5pt; padding-right:5pt; }
+Css: table[rules] {border-left:solid black 0.4pt; border-right:solid black 
0.4pt; }
+Css: .hline hr, .cline hr{ height : 0px; margin:0px; }
+Css: .hline td, .cline td{ padding: 0; }
+Css: .hline hr, .cline hr{border:none;border-top:1px solid black;}
+Css: .hline {border-top: 1px solid black;}
+Css: .tabbing-right {text-align:right;}
+Css: div.float, div.figure {margin-left: auto; margin-right: auto;}
+Css: div.float img {text-align:center;}
+Css: div.figure img {text-align:center;}
+Css: .marginpar,.reversemarginpar {width:20%; float:right; text-align:left; 
margin-left:auto; margin-top:0.5em; font-size:85%; text-decoration:underline;}
+Css: .marginpar p,.reversemarginpar p{margin-top:0.4em; margin-bottom:0.4em;}
+Css: .reversemarginpar{float:left;}
+Css: table.equation {width:100%;}
+Css: .equation td{text-align:center; }
+Css: td.equation { margin-top:1em; margin-bottom:1em; } 
+Css: td.equation-label { width:5%; text-align:center; }
+Css: td.eqnarray4 { width:5%; white-space: normal; }
+Css: td.eqnarray2 { width:5%; }
+Css: table.eqnarray-star, table.eqnarray {width:100%;}
+Css: div.eqnarray{text-align:center;}
+Css: div.array {text-align:center;}
+Css: div.pmatrix {text-align:center;}
+Css: table.pmatrix {width:100%;}
+Css: span.pmatrix img{vertical-align:middle;}
+Css: div.pmatrix {text-align:center;}
+Css: table.pmatrix {width:100%;}
+Css: span.bar-css {text-decoration:overline;}
+Css: img.cdots{vertical-align:middle;}
+Css: .partToc a, .partToc, .likepartToc a, .likepartToc {line-height: 200%; 
font-weight:bold; font-size:110%;}
+Css: .index-item, .index-subitem, .index-subsubitem {display:block}
+Css: div.caption {text-indent:-2em; margin-left:3em; margin-right:1em; 
text-align:left;}
+Css: div.caption span.id{font-weight: bold; white-space: nowrap; }
+Css: h1.partHead{text-align: center}
+Css: p.bibitem { text-indent: -2em; margin-left: 2em; margin-top:0.6em; 
margin-bottom:0.6em; }
+Css: p.bibitem-p { text-indent: 0em; margin-left: 2em; margin-top:0.6em; 
margin-bottom:0.6em; }
+Css: .paragraphHead, .likeparagraphHead { margin-top:2em; font-weight: bold;}
+Css: .subparagraphHead, .likesubparagraphHead { font-weight: bold;}
+Css: .verse{white-space:nowrap; margin-left:2em}
+Css: div.maketitle {text-align:center;}
+Css: h2.titleHead{text-align:center;}
+Css: div.maketitle{ margin-bottom: 2em; }
+Css: div.author, div.date {text-align:center;}
+Css: div.thanks{text-align:left; margin-left:10%; font-size:85%; 
font-style:italic; }
+Css: div.author{white-space: nowrap;}
+Css: div.abstract p {margin-left:5%; margin-right:5%;}
+Css: div.abstract {width:100%;}
+Css: .abstracttitle{text-align:center;margin-bottom:1em;}
+--- needs --- tex_tex4ht_latex.idv[2] ==> tex_tex4ht_latex0x.png ---
+--- needs --- tex_tex4ht_latex.idv[3] ==> tex_tex4ht_latex1x.png ---
+--- characters ---
+Font("cmex","10","10","100")
+Font("cmr","5","5","100")
+Font("cmr","7","7","100")
+Font("cmr","10","10","100")
+Font("cmmi","5","5","100")
+Font("cmmi","7","7","100")
+Font("cmmi","10","10","100")
+Font("cmsy","5","5","100")
+Font("cmsy","7","7","100")
+Font("cmsy","10","10","100")
+Font("cmti","10","10","100")
+Font("cmtt","10","10","100")
diff --git 
a/tp/tests/tex_html/res_parser/tex_httex_tex_latex_math/tex_tex4ht_latex.tex 
b/tp/tests/tex_html/res_parser/tex_httex_tex_latex_math/tex_tex4ht_latex.tex
new file mode 100644
index 0000000000..1235ef07fc
--- /dev/null
+++ b/tp/tests/tex_html/res_parser/tex_httex_tex_latex_math/tex_tex4ht_latex.tex
@@ -0,0 +1,25 @@
+% Automatically generated by the t4ht Texinfo HTML extension
+\documentclass{article}
+\begin{document}
+\HCode{\Hnewline \Hnewline <!-- tex4ht_begin tex_tex4ht_latex latex 1 
-->\Hnewline}
+\begin{eqnarray}
+\frac{\mathit{a}^b}{\xi} &=& \mathtt{\acute{e}} \\
+X &=& Y
+\end{eqnarray}
+\HCode{\Hnewline <!-- tex4ht_end tex_tex4ht_latex latex 1 -->\Hnewline 
\Hnewline}
+\HCode{\Hnewline \Hnewline <!-- tex4ht_begin tex_tex4ht_latex math 2 
-->\Hnewline}
+\IgnorePar ${x^i}\over{\tan y}$\HCode{\Hnewline <!-- tex4ht_end 
tex_tex4ht_latex math 2 -->\Hnewline \Hnewline}
+\HCode{\Hnewline \Hnewline <!-- tex4ht_begin tex_tex4ht_latex math 3 
-->\Hnewline}
+\IgnorePar $a \backslash{} b$\HCode{\Hnewline <!-- tex4ht_end tex_tex4ht_latex 
math 3 -->\Hnewline \Hnewline}
+\HCode{\Hnewline \Hnewline <!-- tex4ht_begin tex_tex4ht_latex math 4 
-->\Hnewline}
+\IgnorePar $\mathtt{math code} a < b$\HCode{\Hnewline <!-- tex4ht_end 
tex_tex4ht_latex math 4 -->\Hnewline \Hnewline}
+\HCode{\Hnewline \Hnewline <!-- tex4ht_begin tex_tex4ht_latex math 5 
-->\Hnewline}
+\IgnorePar $\underline{\mathtt{math \hbox{ code }}} 
\sum_{i}{\underline{\mathit{eff}}}$\HCode{\Hnewline <!-- tex4ht_end 
tex_tex4ht_latex math 5 -->\Hnewline \Hnewline}
+\HCode{\Hnewline \Hnewline <!-- tex4ht_begin tex_tex4ht_latex math 6 
-->\Hnewline}
+\IgnorePar $\sum_{i} f(x)^{2}$\HCode{\Hnewline <!-- tex4ht_end 
tex_tex4ht_latex math 6 -->\Hnewline \Hnewline}
+\HCode{\Hnewline \Hnewline <!-- tex4ht_begin tex_tex4ht_latex displaymath 7 
-->\Hnewline}
+
+$$-- f(x) = {1 \over \sigma \sqrt{2\pi}}e^{-{1 \over 2}\left({x-\mu \over 
\sigma}\right)^2}
+$$
+\HCode{\Hnewline <!-- tex4ht_end tex_tex4ht_latex displaymath 7 -->\Hnewline 
\Hnewline}
+\end{document}
diff --git 
a/tp/tests/tex_html/res_parser/tex_httex_tex_latex_math/tex_tex4ht_latex.tmp 
b/tp/tests/tex_html/res_parser/tex_httex_tex_latex_math/tex_tex4ht_latex.tmp
new file mode 100644
index 0000000000..41b58e2cf4
--- /dev/null
+++ b/tp/tests/tex_html/res_parser/tex_httex_tex_latex_math/tex_tex4ht_latex.tmp
@@ -0,0 +1,2 @@
+ 
+/* css.sty */
\ No newline at end of file
diff --git 
a/tp/tests/tex_html/res_parser/tex_httex_tex_latex_math/tex_tex4ht_latex.xref 
b/tp/tests/tex_html/res_parser/tex_httex_tex_latex_math/tex_tex4ht_latex.xref
new file mode 100644
index 0000000000..8d8affa965
--- /dev/null
+++ 
b/tp/tests/tex_html/res_parser/tex_httex_tex_latex_math/tex_tex4ht_latex.xref
@@ -0,0 +1 @@
+\:CrossWord{)F1F-}{tex_tex4ht_latex.html}{1}%
diff --git 
a/tp/tests/tex_html/res_parser/tex_httex_tex_latex_math/tex_tex4ht_tex.4ct 
b/tp/tests/tex_html/res_parser/tex_httex_tex_latex_math/tex_tex4ht_tex.4ct
new file mode 100644
index 0000000000..9998f6203d
--- /dev/null
+++ b/tp/tests/tex_html/res_parser/tex_httex_tex_latex_math/tex_tex4ht_tex.4ct
@@ -0,0 +1,2 @@
+\expandafter\ifx\csname doTocEntry\endcsname\relax \expandafter\endinput\fi 
+\par 
diff --git 
a/tp/tests/tex_html/res_parser/tex_httex_tex_latex_math/tex_tex4ht_tex.4tc 
b/tp/tests/tex_html/res_parser/tex_httex_tex_latex_math/tex_tex4ht_tex.4tc
new file mode 100644
index 0000000000..4021816773
--- /dev/null
+++ b/tp/tests/tex_html/res_parser/tex_httex_tex_latex_math/tex_tex4ht_tex.4tc
@@ -0,0 +1 @@
+\expandafter\ifx\csname doTocEntry\endcsname\relax \expandafter\endinput\fi
diff --git 
a/tp/tests/tex_html/res_parser/tex_httex_tex_latex_math/tex_tex4ht_tex.css 
b/tp/tests/tex_html/res_parser/tex_httex_tex_latex_math/tex_tex4ht_tex.css
new file mode 100644
index 0000000000..eb3535a373
--- /dev/null
+++ b/tp/tests/tex_html/res_parser/tex_httex_tex_latex_math/tex_tex4ht_tex.css
@@ -0,0 +1,44 @@
+ 
+/* start css.sty */
+.cmr-7{font-size:70%;}
+.cmmi-10{font-style: italic;}
+.cmmi-7{font-size:70%;font-style: italic;}
+p{margin-top:0;margin-bottom:0}
+p.indent{text-indent:0;}
+p + p{margin-top:1em;}
+p + div, p + pre {margin-top:1em;}
+div + p, pre + p {margin-top:1em;}
+a { overflow-wrap: break-word; word-wrap: break-word; word-break: break-word; 
hyphens: auto; }
+@media print {div.crosslinks {visibility:hidden;}}
+table.tabular{border-collapse: collapse; border-spacing: 0;}
+a img { border-top: 0; border-left: 0; border-right: 0; }
+center { margin-top:1em; margin-bottom:1em; }
+td center { margin-top:0em; margin-bottom:0em; }
+.Canvas { position:relative; }
+img.math{vertical-align:middle;}
+div.par-math-display, div.math-display{text-align:center;}
+.obeylines-h,.obeylines-v {white-space: nowrap; }
+div.obeylines-v p { margin-top:0; margin-bottom:0; }
+.overline{ text-decoration:overline; }
+.overline img{ border-top: 1px solid black; }
+td.displaylines {text-align:center; white-space:nowrap;}
+.centerline {text-align:center;}
+.rightline {text-align:right;}
+.underline{ text-decoration:underline; }
+.underline img{ border-bottom: 1px solid black; margin-bottom:1pt; }
+div.proclaim { margin-top: 1em; margin-bottom: 1em; }
+p.item {text-indent:-2em; margin-left:2em;}
+p.itemitem {text-indent:-2em; margin-left:4em;}
+span.item, span.itemitem {width:2em; margin-right:0.4em;}
+td.eqalign3 { text-align:right; margin-left:10em;}
+.eqalign td { white-space: nowrap; }
+div.eqalign {text-align:center;}
+td.eqalignno3, td.leqalignno3 { text-align:right; margin-left:10em;}
+.leqalignno td, .eqalignno td { white-space: nowrap; }
+.leqalignno td.noalign, .eqalignno td.noalign { width:5%; white-space: normal; 
}
+table.leqalignno, table.eqalignno {width:100%;}
+img.cdots{vertical-align:middle;}
+div.pmatrix {text-align:center;}
+table.pmatrix {width:100%;}
+/* end css.sty */
+
diff --git 
a/tp/tests/tex_html/res_parser/tex_httex_tex_latex_math/tex_tex4ht_tex.html 
b/tp/tests/tex_html/res_parser/tex_httex_tex_latex_math/tex_tex4ht_tex.html
new file mode 100644
index 0000000000..dc9379ba19
--- /dev/null
+++ b/tp/tests/tex_html/res_parser/tex_httex_tex_latex_math/tex_tex4ht_tex.html
@@ -0,0 +1,42 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"  
+  "http://www.w3.org/TR/html4/loose.dtd";>  
+<html > 
+<head>
+
+    <title>tex_tex4ht_tex.html</title> 
+<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> 
+<meta name="generator" content="TeX4ht (https://tug.org/tex4ht/)"> 
+<meta name="originator" content="TeX4ht (https://tug.org/tex4ht/)"> 
+<!-- html --> 
+<meta name="src" content="tex_tex4ht_tex.tex"> 
+<link rel="stylesheet" type="text/css" href="tex_tex4ht_tex.css"> 
+</head><body 
+>
+<!--l. 3--><p class="indent" >     
+ 
+<!-- tex4ht_begin tex_tex4ht_tex tex 1 --> 
+
+<!--l. 5--><p class="indent" >
+    <div class="math-display" >
+<img 
+src="tex_tex4ht_tex0x.png" alt="     N  (            )2
+&#x03C7;2 = &#x2211;   yi --(a+-bxi)
+     i=1       &#x03C3;i
+" class="math-display" ></div>
+<!--l. 10--><p class="indent" >     
+<!-- tex4ht_end tex_tex4ht_tex tex 1 --> 
+ 
+  
+ 
+<!-- tex4ht_begin tex_tex4ht_tex tex 2 --> 
+
+<!--l. 13--><p class="indent" >    tex TeX 
+<!-- tex4ht_end tex_tex4ht_tex tex 2 --> 
+ 
+
+
+     
+</body></html> 
+
+
+
diff --git 
a/tp/tests/tex_html/res_parser/tex_httex_tex_latex_math/tex_tex4ht_tex.lg 
b/tp/tests/tex_html/res_parser/tex_httex_tex_latex_math/tex_tex4ht_tex.lg
new file mode 100644
index 0000000000..0f45df5719
--- /dev/null
+++ b/tp/tests/tex_html/res_parser/tex_httex_tex_latex_math/tex_tex4ht_tex.lg
@@ -0,0 +1,56 @@
+htfcss: cmmi font-style: italic;
+htfcss: cmmib font-style: italic; font-weight: bold;
+File: tex_tex4ht_tex.html
+File: tex_tex4ht_tex.css
+File: tex_tex4ht_tex.tmp
+Css: p{margin-top:0;margin-bottom:0}
+Css: p.indent{text-indent:0;}
+Css: p + p{margin-top:1em;}
+Css: p + div, p + pre {margin-top:1em;}
+Css: div + p, pre + p {margin-top:1em;}
+Css: a { overflow-wrap: break-word; word-wrap: break-word; word-break: 
break-word; hyphens: auto; }
+Css: @media print {div.crosslinks {visibility:hidden;}}
+Css: table.tabular{border-collapse: collapse; border-spacing: 0;}
+Css: a img { border-top: 0; border-left: 0; border-right: 0; }
+Font_Css("4"): .small-caps{font-variant: small-caps; }
+Font_Css("10"): .htf-cmbx {font-weight: bold; font-style:normal;}
+Font_Css("12"): .htf-calligraphy {font-family:cursive}
+Font_Css("14"): .htf-italic {font-style: italic;}
+Font_Css("16"): .htf-bold {font-weight: bold;}
+Font_Css("12"): .htf-calligraphy-bold {font-family:cursive ; font-weight: 
bold; }
+Css: center { margin-top:1em; margin-bottom:1em; }
+Css: td center { margin-top:0em; margin-bottom:0em; }
+Css: .Canvas { position:relative; }
+Css: img.math{vertical-align:middle;}
+Css: div.par-math-display, div.math-display{text-align:center;}
+Css: .obeylines-h,.obeylines-v {white-space: nowrap; }
+Css: div.obeylines-v p { margin-top:0; margin-bottom:0; }
+Css: .overline{ text-decoration:overline; }
+Css: .overline img{ border-top: 1px solid black; }
+Css: td.displaylines {text-align:center; white-space:nowrap;}
+Css: .centerline {text-align:center;}
+Css: .rightline {text-align:right;}
+Css: .underline{ text-decoration:underline; }
+Css: .underline img{ border-bottom: 1px solid black; margin-bottom:1pt; }
+Css: div.proclaim { margin-top: 1em; margin-bottom: 1em; }
+Css: p.item {text-indent:-2em; margin-left:2em;}
+Css: p.itemitem {text-indent:-2em; margin-left:4em;}
+Css: span.item, span.itemitem {width:2em; margin-right:0.4em;}
+Css: td.eqalign3 { text-align:right; margin-left:10em;}
+Css: .eqalign td { white-space: nowrap; }
+Css: div.eqalign {text-align:center;}
+Css: td.eqalignno3, td.leqalignno3 { text-align:right; margin-left:10em;}
+Css: .leqalignno td, .eqalignno td { white-space: nowrap; }
+Css: .leqalignno td.noalign, .eqalignno td.noalign { width:5%; white-space: 
normal; }
+Css: table.leqalignno, table.eqalignno {width:100%;}
+Css: img.cdots{vertical-align:middle;}
+Css: div.pmatrix {text-align:center;}
+Css: table.pmatrix {width:100%;}
+--- needs --- tex_tex4ht_tex.idv[1] ==> tex_tex4ht_tex0x.png ---
+--- characters ---
+Font("cmr","10","10","100")
+Font("cmr","7","7","100")
+Font("cmmi","10","10","100")
+Font("cmmi","7","7","100")
+Font("cmsy","10","10","100")
+Font("cmex","10","10","100")
diff --git 
a/tp/tests/tex_html/res_parser/tex_httex_tex_latex_math/tex_tex4ht_tex.tex 
b/tp/tests/tex_html/res_parser/tex_httex_tex_latex_math/tex_tex4ht_tex.tex
new file mode 100644
index 0000000000..bd56c28f18
--- /dev/null
+++ b/tp/tests/tex_html/res_parser/tex_httex_tex_latex_math/tex_tex4ht_tex.tex
@@ -0,0 +1,16 @@
+% Automatically generated by the t4ht Texinfo HTML extension
+\csname tex4ht\endcsname
+\HCode{\Hnewline \Hnewline <!-- tex4ht_begin tex_tex4ht_tex tex 1 -->\Hnewline}
+
+$$ \chi^2 = \sum_{i=1}^N
+          \left(y_i - (a + b x_i)
+         \over \sigma_i\right)^2 $$
+
+
+\HCode{\Hnewline <!-- tex4ht_end tex_tex4ht_tex tex 1 -->\Hnewline \Hnewline}
+\HCode{\Hnewline \Hnewline <!-- tex4ht_begin tex_tex4ht_tex tex 2 -->\Hnewline}
+
+tex \TeX 
+\HCode{\Hnewline <!-- tex4ht_end tex_tex4ht_tex tex 2 -->\Hnewline \Hnewline}
+
+\bye
diff --git 
a/tp/tests/tex_html/res_parser/tex_httex_tex_latex_math/tex_tex4ht_tex.tmp 
b/tp/tests/tex_html/res_parser/tex_httex_tex_latex_math/tex_tex4ht_tex.tmp
new file mode 100644
index 0000000000..41b58e2cf4
--- /dev/null
+++ b/tp/tests/tex_html/res_parser/tex_httex_tex_latex_math/tex_tex4ht_tex.tmp
@@ -0,0 +1,2 @@
+ 
+/* css.sty */
\ No newline at end of file
diff --git 
a/tp/tests/tex_html/res_parser/tex_httex_tex_latex_math/tex_tex4ht_tex.xref 
b/tp/tests/tex_html/res_parser/tex_httex_tex_latex_math/tex_tex4ht_tex.xref
new file mode 100644
index 0000000000..9773eb4300
--- /dev/null
+++ b/tp/tests/tex_html/res_parser/tex_httex_tex_latex_math/tex_tex4ht_tex.xref
@@ -0,0 +1 @@
+\:CrossWord{)F1F-}{tex_tex4ht_tex.html}{1}%



reply via email to

[Prev in Thread] Current Thread [Next in Thread]