summaryrefslogtreecommitdiff
path: root/macros/texinfo/texinfo/tp/tests/tex_html/res_parser/tex_httex
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2021-07-04 03:01:24 +0000
committerNorbert Preining <norbert@preining.info>2021-07-04 03:01:24 +0000
commit7994f86ec5e18f9d0d9f90161a2f26dd26d26af7 (patch)
tree88edb7d1a1aed3183a1350202c898716b4ac59ce /macros/texinfo/texinfo/tp/tests/tex_html/res_parser/tex_httex
parent03fa062b03ce2bb5385f8f30888f94d441fa5cb4 (diff)
CTAN sync 202107040301
Diffstat (limited to 'macros/texinfo/texinfo/tp/tests/tex_html/res_parser/tex_httex')
-rw-r--r--macros/texinfo/texinfo/tp/tests/tex_html/res_parser/tex_httex/tex.html65
-rw-r--r--macros/texinfo/texinfo/tp/tests/tex_html/res_parser/tex_httex/tex_tex4ht_displaymath.4ct2
-rw-r--r--macros/texinfo/texinfo/tp/tests/tex_html/res_parser/tex_httex/tex_tex4ht_displaymath.4tc1
-rw-r--r--macros/texinfo/texinfo/tp/tests/tex_html/res_parser/tex_httex/tex_tex4ht_displaymath.css42
-rw-r--r--macros/texinfo/texinfo/tp/tests/tex_html/res_parser/tex_httex/tex_tex4ht_displaymath.html35
-rw-r--r--macros/texinfo/texinfo/tp/tests/tex_html/res_parser/tex_httex/tex_tex4ht_displaymath.lg54
-rw-r--r--macros/texinfo/texinfo/tp/tests/tex_html/res_parser/tex_httex/tex_tex4ht_displaymath.tex9
-rw-r--r--macros/texinfo/texinfo/tp/tests/tex_html/res_parser/tex_httex/tex_tex4ht_displaymath.tmp2
-rw-r--r--macros/texinfo/texinfo/tp/tests/tex_html/res_parser/tex_httex/tex_tex4ht_displaymath.xref1
-rw-r--r--macros/texinfo/texinfo/tp/tests/tex_html/res_parser/tex_httex/tex_tex4ht_math.4ct2
-rw-r--r--macros/texinfo/texinfo/tp/tests/tex_html/res_parser/tex_httex/tex_tex4ht_math.4tc1
-rw-r--r--macros/texinfo/texinfo/tp/tests/tex_html/res_parser/tex_httex/tex_tex4ht_math.css44
-rw-r--r--macros/texinfo/texinfo/tp/tests/tex_html/res_parser/tex_httex/tex_tex4ht_math.html85
-rw-r--r--macros/texinfo/texinfo/tp/tests/tex_html/res_parser/tex_httex/tex_tex4ht_math.lg50
-rw-r--r--macros/texinfo/texinfo/tp/tests/tex_html/res_parser/tex_httex/tex_tex4ht_math.tex14
-rw-r--r--macros/texinfo/texinfo/tp/tests/tex_html/res_parser/tex_httex/tex_tex4ht_math.texi41
-rw-r--r--macros/texinfo/texinfo/tp/tests/tex_html/res_parser/tex_httex/tex_tex4ht_math.tmp2
-rw-r--r--macros/texinfo/texinfo/tp/tests/tex_html/res_parser/tex_httex/tex_tex4ht_math.xref1
-rw-r--r--macros/texinfo/texinfo/tp/tests/tex_html/res_parser/tex_httex/tex_tex4ht_tex.css14
-rw-r--r--macros/texinfo/texinfo/tp/tests/tex_html/res_parser/tex_httex/tex_tex4ht_tex.html42
-rw-r--r--macros/texinfo/texinfo/tp/tests/tex_html/res_parser/tex_httex/tex_tex4ht_tex.lg14
21 files changed, 435 insertions, 86 deletions
diff --git a/macros/texinfo/texinfo/tp/tests/tex_html/res_parser/tex_httex/tex.html b/macros/texinfo/texinfo/tp/tests/tex_html/res_parser/tex_httex/tex.html
index 1097041650..4fcfb1024f 100644
--- a/macros/texinfo/texinfo/tp/tests/tex_html/res_parser/tex_httex/tex.html
+++ b/macros/texinfo/texinfo/tp/tests/tex_html/res_parser/tex_httex/tex.html
@@ -10,16 +10,19 @@
<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_displaymath.css";
@import "tex_tex4ht_math.css";
@import "tex_tex4ht_tex.css";
+a.copiable-anchor {visibility: hidden; text-decoration: none; line-height: 0em}
a.summary-letter {text-decoration: none}
blockquote.indentedblock {margin-right: 0em}
div.display {margin-left: 3.2em}
div.example {margin-left: 3.2em}
-div.lisp {margin-left: 3.2em}
kbd {font-style: oblique}
pre.display {font-family: inherit}
pre.format {font-family: inherit}
@@ -28,6 +31,7 @@ pre.menu-preformatted {font-family: serif}
span.nolinebreak {white-space: nowrap}
span.roman {font-family: initial; font-weight: normal}
span.sansserif {font-family: sans-serif; font-weight: normal}
+span:hover a.copiable-anchor {visibility: visible}
ul.no-bullet {list-style: none}
-->
</style>
@@ -36,47 +40,82 @@ ul.no-bullet {list-style: none}
</head>
<body lang="en">
-<span id="Top"></span><span id="Tests"></span><h1 class="top">Tests</h1>
+<div class="top" id="Top">
+<span id="Tests"></span><h1 class="top">Tests</h1>
<p>Now tex on the same line
<!--l. 5--><p class="indent" >
- <center class="math-display" >
+ <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" ></center>
+" class="math-display" ></div>
<!--l. 10--><p class="indent" >
Some text one the line following @end tex
</p>
<p>Now tex on the following line, valid fot tex (with @end tex on a line).
-<!--l. 13--><p class="indent" > tex <span class="TEX">T<span
-class="E">E</span>X</span>
+<!--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 xi __
-tan y.
+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 \:
- a\b.
+ <span
+class="cmmi-10">a</span>@<span
+class="cmmi-10">&#x00A0;b</span> .
</p>
<p>Maths with code @-command:
</p>
-<p> mathcodea &#x003C; b
+<p> @<span
+class="cmmi-10">code</span><span
+class="cmmi-10">mathcode</span><span
+class="cmmi-10">a &#x003C; b</span>
</p>
<p>Maths with code @-command and braces:
</p>
-<p> math code _&#x2211;
- i f
+<p> <span class="underline">@<span
+class="cmmi-10">code</span><span
+class="cmmi-10">math</span> code </span><span
+class="cmex-10">&#x2211;</span>
+ <sub><span
+class="cmmi-7">i</span></sub><span class="underline"><span
+class="cmmi-10">f</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>)@<span
+class="cmmi-10">sup</span>2
</p>
<p>@\ outside of math
</p>
<p>\
</p>
-<hr>
+<p>Displaymath
+</p>
+<!--l. 5--><p class="indent" >
+ <div class="math-display" >
+<img
+src="tex_tex4ht_displaymath0x.png" alt=" ( )2
+- - f(x) = -1&#x221A;---e@sup - 1 x--&#x03BC;-
+ &#x03C3; 2&#x03C0; 2 &#x03C3;
+" class="math-display" ></div>
+<!--l. 7--><p class="indent" >
+
+<hr></div>
<p><font size="-1">
This document was generated on <em>a sunny day</em> using <a href="http://www.gnu.org/software/texinfo/"><em>texi2any</em></a>.
</font></p>
diff --git a/macros/texinfo/texinfo/tp/tests/tex_html/res_parser/tex_httex/tex_tex4ht_displaymath.4ct b/macros/texinfo/texinfo/tp/tests/tex_html/res_parser/tex_httex/tex_tex4ht_displaymath.4ct
new file mode 100644
index 0000000000..9998f6203d
--- /dev/null
+++ b/macros/texinfo/texinfo/tp/tests/tex_html/res_parser/tex_httex/tex_tex4ht_displaymath.4ct
@@ -0,0 +1,2 @@
+\expandafter\ifx\csname doTocEntry\endcsname\relax \expandafter\endinput\fi
+\par
diff --git a/macros/texinfo/texinfo/tp/tests/tex_html/res_parser/tex_httex/tex_tex4ht_displaymath.4tc b/macros/texinfo/texinfo/tp/tests/tex_html/res_parser/tex_httex/tex_tex4ht_displaymath.4tc
new file mode 100644
index 0000000000..4021816773
--- /dev/null
+++ b/macros/texinfo/texinfo/tp/tests/tex_html/res_parser/tex_httex/tex_tex4ht_displaymath.4tc
@@ -0,0 +1 @@
+\expandafter\ifx\csname doTocEntry\endcsname\relax \expandafter\endinput\fi
diff --git a/macros/texinfo/texinfo/tp/tests/tex_html/res_parser/tex_httex/tex_tex4ht_displaymath.css b/macros/texinfo/texinfo/tp/tests/tex_html/res_parser/tex_httex/tex_tex4ht_displaymath.css
new file mode 100644
index 0000000000..faa0ef07a1
--- /dev/null
+++ b/macros/texinfo/texinfo/tp/tests/tex_html/res_parser/tex_httex/tex_tex4ht_displaymath.css
@@ -0,0 +1,42 @@
+
+/* start css.sty */
+.cmr-7{font-size:70%;}
+.cmmi-10{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;}}
+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/macros/texinfo/texinfo/tp/tests/tex_html/res_parser/tex_httex/tex_tex4ht_displaymath.html b/macros/texinfo/texinfo/tp/tests/tex_html/res_parser/tex_httex/tex_tex4ht_displaymath.html
new file mode 100644
index 0000000000..e1f909a758
--- /dev/null
+++ b/macros/texinfo/texinfo/tp/tests/tex_html/res_parser/tex_httex/tex_tex4ht_displaymath.html
@@ -0,0 +1,35 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+ "http://www.w3.org/TR/html4/loose.dtd">
+<html >
+<head>
+
+ <title>tex_tex4ht_displaymath.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_displaymath.tex">
+<link rel="stylesheet" type="text/css" href="tex_tex4ht_displaymath.css">
+</head><body
+>
+<!--l. 3--><p class="indent" >
+
+<!-- tex4ht_begin tex_tex4ht_displaymath displaymath 1 -->
+
+<!--l. 5--><p class="indent" >
+ <div class="math-display" >
+<img
+src="tex_tex4ht_displaymath0x.png" alt=" ( )2
+- - f(x) = -1&#x221A;---e@sup - 1 x--&#x03BC;-
+ &#x03C3; 2&#x03C0; 2 &#x03C3;
+" class="math-display" ></div>
+<!--l. 7--><p class="indent" >
+<!-- tex4ht_end tex_tex4ht_displaymath displaymath 1 -->
+
+
+
+
+</body></html>
+
+
+
diff --git a/macros/texinfo/texinfo/tp/tests/tex_html/res_parser/tex_httex/tex_tex4ht_displaymath.lg b/macros/texinfo/texinfo/tp/tests/tex_html/res_parser/tex_httex/tex_tex4ht_displaymath.lg
new file mode 100644
index 0000000000..d46f55b5c6
--- /dev/null
+++ b/macros/texinfo/texinfo/tp/tests/tex_html/res_parser/tex_httex/tex_tex4ht_displaymath.lg
@@ -0,0 +1,54 @@
+htfcss: cmmi font-style: italic;
+htfcss: cmmib font-style: italic; font-weight: bold;
+File: tex_tex4ht_displaymath.html
+File: tex_tex4ht_displaymath.css
+File: tex_tex4ht_displaymath.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: 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_displaymath.idv[1] ==> tex_tex4ht_displaymath0x.png ---
+--- characters ---
+Font("cmr","10","10","100")
+Font("cmr","7","7","100")
+Font("cmmi","10","10","100")
+Font("cmsy","10","10","100")
+Font("cmex","10","10","100")
diff --git a/macros/texinfo/texinfo/tp/tests/tex_html/res_parser/tex_httex/tex_tex4ht_displaymath.tex b/macros/texinfo/texinfo/tp/tests/tex_html/res_parser/tex_httex/tex_tex4ht_displaymath.tex
new file mode 100644
index 0000000000..7e9d50d0aa
--- /dev/null
+++ b/macros/texinfo/texinfo/tp/tests/tex_html/res_parser/tex_httex/tex_tex4ht_displaymath.tex
@@ -0,0 +1,9 @@
+% Automatically generated
+\csname tex4ht\endcsname
+\HCode{\Hnewline \Hnewline <!-- tex4ht_begin tex_tex4ht_displaymath displaymath 1 -->\Hnewline}
+
+$$-- f(x) = {1 \over \sigma \sqrt{2\pi}}e@sup{-{1 \over 2}\left({x-\mu \over \sigma}\right)^2}
+$$
+\HCode{\Hnewline <!-- tex4ht_end tex_tex4ht_displaymath displaymath 1 -->\Hnewline \Hnewline}
+
+\bye
diff --git a/macros/texinfo/texinfo/tp/tests/tex_html/res_parser/tex_httex/tex_tex4ht_displaymath.tmp b/macros/texinfo/texinfo/tp/tests/tex_html/res_parser/tex_httex/tex_tex4ht_displaymath.tmp
new file mode 100644
index 0000000000..41b58e2cf4
--- /dev/null
+++ b/macros/texinfo/texinfo/tp/tests/tex_html/res_parser/tex_httex/tex_tex4ht_displaymath.tmp
@@ -0,0 +1,2 @@
+
+/* css.sty */ \ No newline at end of file
diff --git a/macros/texinfo/texinfo/tp/tests/tex_html/res_parser/tex_httex/tex_tex4ht_displaymath.xref b/macros/texinfo/texinfo/tp/tests/tex_html/res_parser/tex_httex/tex_tex4ht_displaymath.xref
new file mode 100644
index 0000000000..8e3958c1b9
--- /dev/null
+++ b/macros/texinfo/texinfo/tp/tests/tex_html/res_parser/tex_httex/tex_tex4ht_displaymath.xref
@@ -0,0 +1 @@
+\:CrossWord{)F1F-}{tex_tex4ht_displaymath.html}{1}%
diff --git a/macros/texinfo/texinfo/tp/tests/tex_html/res_parser/tex_httex/tex_tex4ht_math.4ct b/macros/texinfo/texinfo/tp/tests/tex_html/res_parser/tex_httex/tex_tex4ht_math.4ct
new file mode 100644
index 0000000000..9998f6203d
--- /dev/null
+++ b/macros/texinfo/texinfo/tp/tests/tex_html/res_parser/tex_httex/tex_tex4ht_math.4ct
@@ -0,0 +1,2 @@
+\expandafter\ifx\csname doTocEntry\endcsname\relax \expandafter\endinput\fi
+\par
diff --git a/macros/texinfo/texinfo/tp/tests/tex_html/res_parser/tex_httex/tex_tex4ht_math.4tc b/macros/texinfo/texinfo/tp/tests/tex_html/res_parser/tex_httex/tex_tex4ht_math.4tc
new file mode 100644
index 0000000000..4021816773
--- /dev/null
+++ b/macros/texinfo/texinfo/tp/tests/tex_html/res_parser/tex_httex/tex_tex4ht_math.4tc
@@ -0,0 +1 @@
+\expandafter\ifx\csname doTocEntry\endcsname\relax \expandafter\endinput\fi
diff --git a/macros/texinfo/texinfo/tp/tests/tex_html/res_parser/tex_httex/tex_tex4ht_math.css b/macros/texinfo/texinfo/tp/tests/tex_html/res_parser/tex_httex/tex_tex4ht_math.css
new file mode 100644
index 0000000000..c002d15632
--- /dev/null
+++ b/macros/texinfo/texinfo/tp/tests/tex_html/res_parser/tex_httex/tex_tex4ht_math.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;}
+.cmmi-5{font-size:50%;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;}}
+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/macros/texinfo/texinfo/tp/tests/tex_html/res_parser/tex_httex/tex_tex4ht_math.html b/macros/texinfo/texinfo/tp/tests/tex_html/res_parser/tex_httex/tex_tex4ht_math.html
index 1b5d4f6c3f..7b6f9c7d2b 100644
--- a/macros/texinfo/texinfo/tp/tests/tex_html/res_parser/tex_httex/tex_tex4ht_math.html
+++ b/macros/texinfo/texinfo/tp/tests/tex_html/res_parser/tex_httex/tex_tex4ht_math.html
@@ -1,16 +1,73 @@
-&#x003C;!-- tex4ht_begin tex_tex4ht_math math 1 --&#x003E;
- xi __
-tan y
-&#x003C;!-- tex4ht_end tex_tex4ht_math math 1 --&#x003E;
-&#x003C;!-- tex4ht_begin tex_tex4ht_math math 2 --&#x003E;
- a\b
-&#x003C;!-- tex4ht_end tex_tex4ht_math math 2 --&#x003E;
-&#x003C;!-- tex4ht_begin tex_tex4ht_math math 3 --&#x003E;
- mathcodea &#x003C; b
-&#x003C;!-- tex4ht_end tex_tex4ht_math math 3 --&#x003E;
-&#x003C;!-- tex4ht_begin tex_tex4ht_math math 4 --&#x003E;
- math code _&#x2211;
- i f
-&#x003C;!-- tex4ht_end tex_tex4ht_math math 4 --&#x003E;
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
+ "http://www.w3.org/TR/html4/loose.dtd">
+<html >
+<head>
+
+ <title>tex_tex4ht_math.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_math.tex">
+<link rel="stylesheet" type="text/css" href="tex_tex4ht_math.css">
+</head><body
+>
+<!--l. 3--><p class="indent" >
+
+<!-- tex4ht_begin tex_tex4ht_math math 1 -->
+ <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_math math 1 -->
+
+
+
+<!-- tex4ht_begin tex_tex4ht_math math 2 -->
+ <span
+class="cmmi-10">a</span>@<span
+class="cmmi-10">&#x00A0;b</span>
+<!-- tex4ht_end tex_tex4ht_math math 2 -->
+
+
+
+<!-- tex4ht_begin tex_tex4ht_math math 3 -->
+ @<span
+class="cmmi-10">code</span><span
+class="cmmi-10">mathcode</span><span
+class="cmmi-10">a &#x003C; b</span>
+<!-- tex4ht_end tex_tex4ht_math math 3 -->
+
+
+
+<!-- tex4ht_begin tex_tex4ht_math math 4 -->
+ <span class="underline">@<span
+class="cmmi-10">code</span><span
+class="cmmi-10">math</span> code </span><span
+class="cmex-10">&#x2211;</span>
+ <sub><span
+class="cmmi-7">i</span></sub><span class="underline"><span
+class="cmmi-10">f</span></span>
+<!-- tex4ht_end tex_tex4ht_math math 4 -->
+
+
+
+<!-- tex4ht_begin tex_tex4ht_math math 5 -->
+ <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>)@<span
+class="cmmi-10">sup</span>2
+<!-- tex4ht_end tex_tex4ht_math math 5 -->
+
+
+
+
+</body></html>
+
diff --git a/macros/texinfo/texinfo/tp/tests/tex_html/res_parser/tex_httex/tex_tex4ht_math.lg b/macros/texinfo/texinfo/tp/tests/tex_html/res_parser/tex_httex/tex_tex4ht_math.lg
index da64c0cf7e..07e069f67c 100644
--- a/macros/texinfo/texinfo/tp/tests/tex_html/res_parser/tex_httex/tex_tex4ht_math.lg
+++ b/macros/texinfo/texinfo/tp/tests/tex_html/res_parser/tex_httex/tex_tex4ht_math.lg
@@ -1,12 +1,54 @@
htfcss: cmmi font-style: italic;
htfcss: cmmib font-style: italic; font-weight: bold;
-htfcss: cmtt font-family: monospace;
File: tex_tex4ht_math.html
+File: tex_tex4ht_math.css
+File: tex_tex4ht_math.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: 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%;}
--- characters ---
+Font("cmr","10","10","100")
Font("cmr","7","7","100")
+Font("cmmi","10","10","100")
Font("cmmi","7","7","100")
Font("cmmi","5","5","100")
Font("cmex","10","10","100")
-Font("cmtt","10","10","109")
-Font("cmmi","10","10","109")
-Font("cmsy","10","10","109")
diff --git a/macros/texinfo/texinfo/tp/tests/tex_html/res_parser/tex_httex/tex_tex4ht_math.tex b/macros/texinfo/texinfo/tp/tests/tex_html/res_parser/tex_httex/tex_tex4ht_math.tex
new file mode 100644
index 0000000000..c12b69c4a2
--- /dev/null
+++ b/macros/texinfo/texinfo/tp/tests/tex_html/res_parser/tex_httex/tex_tex4ht_math.tex
@@ -0,0 +1,14 @@
+% Automatically generated
+\csname tex4ht\endcsname
+\HCode{\Hnewline \Hnewline <!-- tex4ht_begin tex_tex4ht_math math 1 -->\Hnewline}
+\IgnorePar ${x^i}\over{\tan y}$\HCode{\Hnewline <!-- tex4ht_end tex_tex4ht_math math 1 -->\Hnewline \Hnewline}
+\HCode{\Hnewline \Hnewline <!-- tex4ht_begin tex_tex4ht_math math 2 -->\Hnewline}
+\IgnorePar $a @\ b$\HCode{\Hnewline <!-- tex4ht_end tex_tex4ht_math math 2 -->\Hnewline \Hnewline}
+\HCode{\Hnewline \Hnewline <!-- tex4ht_begin tex_tex4ht_math math 3 -->\Hnewline}
+\IgnorePar $@code{math code} a < b$\HCode{\Hnewline <!-- tex4ht_end tex_tex4ht_math math 3 -->\Hnewline \Hnewline}
+\HCode{\Hnewline \Hnewline <!-- tex4ht_begin tex_tex4ht_math math 4 -->\Hnewline}
+\IgnorePar $\underline{@code{math \hbox{ code }}} \sum_{i}{\underline{f}}$\HCode{\Hnewline <!-- tex4ht_end tex_tex4ht_math math 4 -->\Hnewline \Hnewline}
+\HCode{\Hnewline \Hnewline <!-- tex4ht_begin tex_tex4ht_math math 5 -->\Hnewline}
+\IgnorePar $\sum_{i} f(x)@sup{2}$\HCode{\Hnewline <!-- tex4ht_end tex_tex4ht_math math 5 -->\Hnewline \Hnewline}
+
+\bye
diff --git a/macros/texinfo/texinfo/tp/tests/tex_html/res_parser/tex_httex/tex_tex4ht_math.texi b/macros/texinfo/texinfo/tp/tests/tex_html/res_parser/tex_httex/tex_tex4ht_math.texi
deleted file mode 100644
index 909728544d..0000000000
--- a/macros/texinfo/texinfo/tp/tests/tex_html/res_parser/tex_httex/tex_tex4ht_math.texi
+++ /dev/null
@@ -1,41 +0,0 @@
-\input texinfo
-@setfilename tex_tex4ht_math.info
-@c Automatically generated
-@verbatim
-
-<!-- tex4ht_begin tex_tex4ht_math math 1 -->
-@end verbatim
-@math{{x^i}\over{\tan y}}
-@verbatim
-<!-- tex4ht_end tex_tex4ht_math math 1 -->
-
-@end verbatim
-@verbatim
-
-<!-- tex4ht_begin tex_tex4ht_math math 2 -->
-@end verbatim
-@math{a @\ b}
-@verbatim
-<!-- tex4ht_end tex_tex4ht_math math 2 -->
-
-@end verbatim
-@verbatim
-
-<!-- tex4ht_begin tex_tex4ht_math math 3 -->
-@end verbatim
-@math{@code{math code} a < b}
-@verbatim
-<!-- tex4ht_end tex_tex4ht_math math 3 -->
-
-@end verbatim
-@verbatim
-
-<!-- tex4ht_begin tex_tex4ht_math math 4 -->
-@end verbatim
-@math{\underline{@code{math \hbox{ code }}} \sum_{i}{\underline{f}}}
-@verbatim
-<!-- tex4ht_end tex_tex4ht_math math 4 -->
-
-@end verbatim
-
-@bye
diff --git a/macros/texinfo/texinfo/tp/tests/tex_html/res_parser/tex_httex/tex_tex4ht_math.tmp b/macros/texinfo/texinfo/tp/tests/tex_html/res_parser/tex_httex/tex_tex4ht_math.tmp
new file mode 100644
index 0000000000..41b58e2cf4
--- /dev/null
+++ b/macros/texinfo/texinfo/tp/tests/tex_html/res_parser/tex_httex/tex_tex4ht_math.tmp
@@ -0,0 +1,2 @@
+
+/* css.sty */ \ No newline at end of file
diff --git a/macros/texinfo/texinfo/tp/tests/tex_html/res_parser/tex_httex/tex_tex4ht_math.xref b/macros/texinfo/texinfo/tp/tests/tex_html/res_parser/tex_httex/tex_tex4ht_math.xref
new file mode 100644
index 0000000000..62af5b6076
--- /dev/null
+++ b/macros/texinfo/texinfo/tp/tests/tex_html/res_parser/tex_httex/tex_tex4ht_math.xref
@@ -0,0 +1 @@
+\:CrossWord{)F1F-}{tex_tex4ht_math.html}{1}%
diff --git a/macros/texinfo/texinfo/tp/tests/tex_html/res_parser/tex_httex/tex_tex4ht_tex.css b/macros/texinfo/texinfo/tp/tests/tex_html/res_parser/tex_httex/tex_tex4ht_tex.css
index de0f0edb6f..3d1f35276e 100644
--- a/macros/texinfo/texinfo/tp/tests/tex_html/res_parser/tex_httex/tex_tex4ht_tex.css
+++ b/macros/texinfo/texinfo/tp/tests/tex_html/res_parser/tex_httex/tex_tex4ht_tex.css
@@ -3,16 +3,19 @@
.cmr-7{font-size:70%;}
.cmmi-10{font-style: italic;}
.cmmi-7{font-size:70%;font-style: italic;}
-p.noindent { text-indent: 0em }
-td p.noindent { text-indent: 0em; margin-top:0em; }
-p.nopar { text-indent: 0em; }
-p.indent{ text-indent: 1.5em }
+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;}}
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; }
@@ -20,9 +23,6 @@ div.obeylines-v p { margin-top:0; margin-bottom:0; }
td.displaylines {text-align:center; white-space:nowrap;}
.centerline {text-align:center;}
.rightline {text-align:right;}
-span.TEX {letter-spacing: -0.125em; }
-span.TEX span.E{ position:relative;top:0.5ex;left:-0.0417em;}
-a span.TEX span.E {text-decoration: none; }
.underline{ text-decoration:underline; }
.underline img{ border-bottom: 1px solid black; margin-bottom:1pt; }
div.proclaim { margin-top: 1em; margin-bottom: 1em; }
diff --git a/macros/texinfo/texinfo/tp/tests/tex_html/res_parser/tex_httex/tex_tex4ht_tex.html b/macros/texinfo/texinfo/tp/tests/tex_html/res_parser/tex_httex/tex_tex4ht_tex.html
new file mode 100644
index 0000000000..dc9379ba19
--- /dev/null
+++ b/macros/texinfo/texinfo/tp/tests/tex_html/res_parser/tex_httex/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/macros/texinfo/texinfo/tp/tests/tex_html/res_parser/tex_httex/tex_tex4ht_tex.lg b/macros/texinfo/texinfo/tp/tests/tex_html/res_parser/tex_httex/tex_tex4ht_tex.lg
index a78aba5481..43efefba96 100644
--- a/macros/texinfo/texinfo/tp/tests/tex_html/res_parser/tex_httex/tex_tex4ht_tex.lg
+++ b/macros/texinfo/texinfo/tp/tests/tex_html/res_parser/tex_httex/tex_tex4ht_tex.lg
@@ -3,10 +3,12 @@ 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.noindent { text-indent: 0em }
-Css: td p.noindent { text-indent: 0em; margin-top:0em; }
-Css: p.nopar { text-indent: 0em; }
-Css: p.indent{ text-indent: 1.5em }
+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: a img { border-top: 0; border-left: 0; border-right: 0; }
Font_Css("4"): .small-caps{font-variant: small-caps; }
@@ -19,6 +21,7 @@ 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; }
@@ -26,9 +29,6 @@ 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: span.TEX {letter-spacing: -0.125em; }
-Css: span.TEX span.E{ position:relative;top:0.5ex;left:-0.0417em;}
-Css: a span.TEX span.E {text-decoration: none; }
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; }