texinfo-commits
[Top][All Lists]
Advanced

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

branch master updated: update tex-html tests results for tbody addition


From: Patrice Dumas
Subject: branch master updated: update tex-html tests results for tbody addition and LaTex2HTML new version
Date: Thu, 16 Dec 2021 13:49:06 -0500

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 ba890ae  update tex-html tests results for tbody addition and 
LaTex2HTML new version
ba890ae is described below

commit ba890aeeedb8dba1ae8f7c8ac765b72cbb9665b6
Author: Patrice Dumas <pertusus@free.fr>
AuthorDate: Thu Dec 16 19:48:29 2021 +0100

    update tex-html tests results for tbody addition and LaTex2HTML new
    version
---
 .../many_input_files/tex_l2h_res/tex-l2h_cache.pm  | 14 ++---
 tp/tests/many_input_files/tex_l2h_res/tex.html     | 14 ++---
 .../tex_l2h_res/tex_complex-l2h_cache.pm           | 12 ++--
 .../many_input_files/tex_l2h_res/tex_complex.html  | 16 ++---
 .../tex_l2h_res/tex_complex_l2h.html               | 12 ++--
 .../tex_l2h_res/tex_complex_l2h_images.tex         |  6 +-
 tp/tests/many_input_files/tex_l2h_res/tex_l2h.html | 14 ++---
 .../tex_l2h_res/tex_l2h_images.tex                 |  6 +-
 .../tex_t4ht_res/tex_complex_tex4ht_tex.css        |  1 +
 .../tex_t4ht_res/tex_complex_tex4ht_tex.lg         |  1 +
 .../tex_t4ht_res/tex_tex4ht_tex.css                |  1 +
 .../tex_t4ht_res/tex_tex4ht_tex.lg                 |  1 +
 .../res_parser/formatting_singular/chapter.html    | 72 ++++++++++++----------
 .../formatting_singular/sing-l2h_cache.pm          | 18 +++---
 .../res_parser/formatting_singular/sing_l2h.html   | 18 +++---
 .../formatting_singular/sing_l2h_images.tex        |  6 +-
 .../math_not_closed/math_not_closed-l2h_cache.pm   |  4 +-
 .../math_not_closed/math_not_closed.html           |  4 +-
 .../math_not_closed/math_not_closed_l2h.html       |  4 +-
 .../math_not_closed/math_not_closed_l2h_images.tex |  6 +-
 tp/tests/tex_html/res_parser/tex/tex-l2h_cache.pm  | 14 ++---
 tp/tests/tex_html/res_parser/tex/tex.html          | 14 ++---
 tp/tests/tex_html/res_parser/tex/tex_l2h.html      | 14 ++---
 .../tex_html/res_parser/tex/tex_l2h_images.tex     |  6 +-
 .../tex_accents_httex/tex_accents_tex4ht_tex.css   |  1 +
 .../tex_accents_httex/tex_accents_tex4ht_tex.lg    |  1 +
 .../tex_complex_httex/tex_complex_tex4ht_tex.css   |  1 +
 .../tex_complex_httex/tex_complex_tex4ht_tex.lg    |  1 +
 .../tex_complex_l2h/tex_complex-l2h_cache.pm       | 12 ++--
 .../res_parser/tex_complex_l2h/tex_complex.html    | 16 ++---
 .../tex_complex_l2h/tex_complex_l2h.html           | 12 ++--
 .../tex_complex_l2h/tex_complex_l2h_images.tex     |  6 +-
 .../tex_eqalign_httex/tex_eqalign_tex4ht_tex.css   |  1 +
 .../tex_eqalign_httex/tex_eqalign_tex4ht_tex.lg    |  1 +
 .../tex_eqalign_l2h/tex_eqalign-l2h_cache.pm       |  4 +-
 .../res_parser/tex_eqalign_l2h/tex_eqalign.html    |  4 +-
 .../tex_eqalign_l2h/tex_eqalign_l2h.html           |  4 +-
 .../tex_eqalign_l2h/tex_eqalign_l2h_images.tex     |  6 +-
 .../tex_gdef_httex/tex_gdef_tex4ht_tex.css         |  1 +
 .../tex_gdef_httex/tex_gdef_tex4ht_tex.lg          |  1 +
 .../res_parser/tex_gdef_l2h/tex_gdef-l2h_cache.pm  |  4 +-
 .../tex_html/res_parser/tex_gdef_l2h/tex_gdef.html |  4 +-
 .../res_parser/tex_gdef_l2h/tex_gdef_l2h.html      |  4 +-
 .../tex_gdef_l2h/tex_gdef_l2h_images.tex           |  6 +-
 .../res_parser/tex_httex/tex_tex4ht_tex.css        |  1 +
 .../res_parser/tex_httex/tex_tex4ht_tex.lg         |  1 +
 .../tex_in_copying/tex_in_copying-l2h_cache.pm     |  4 +-
 .../res_parser/tex_in_copying/tex_in_copying.html  |  8 +--
 .../tex_in_copying/tex_in_copying_l2h.html         |  4 +-
 .../tex_in_copying/tex_in_copying_l2h_images.tex   |  6 +-
 50 files changed, 206 insertions(+), 186 deletions(-)

diff --git a/tp/tests/many_input_files/tex_l2h_res/tex-l2h_cache.pm 
b/tp/tests/many_input_files/tex_l2h_res/tex-l2h_cache.pm
index ba0b707..2277689 100644
--- a/tp/tests/many_input_files/tex_l2h_res/tex-l2h_cache.pm
+++ b/tp/tests/many_input_files/tex_l2h_res/tex-l2h_cache.pm
@@ -15,7 +15,7 @@ $l2h_cache{$l2h_cache_key} = q|
  -->
 
 <IMG
- STYLE="height: 7.42ex; vertical-align: -3.09ex; " SRC="tex_1.svg"
+ STYLE="height: 7.66ex; vertical-align: -3.09ex; " SRC="tex_1.svg"
  ALT="$\displaystyle \chi^2 = \sum_{i=1}^N
 \left(y_i - (a + b x_i)
 \over \sigma_i\right)^2 $">
@@ -38,7 +38,7 @@ $l2h_cache{$l2h_cache_key} = q|<DIV CLASS="displaymath">
  -->
 
 <IMG
- STYLE="height: 6.26ex; vertical-align: -2.32ex; " SRC="tex_7.svg"
+ STYLE="height: 6.49ex; vertical-align: -2.32ex; " SRC="tex_7.svg"
  ALT="$\displaystyle -- f(x) = {1 \over \sigma \sqrt{2\pi}}e@sup{-{1 \over 
2}\left({x-\mu \over \sigma}\right)^2}
 $">
 </DIV>
@@ -49,7 +49,7 @@ $l2h_cache{$l2h_cache_key} = q|<!-- MATH
  $@code{math code} a < b$
  -->
 <SPAN CLASS="MATH"><IMG
- STYLE="height: 1.93ex; vertical-align: -0.21ex; " SRC="tex_4.svg"
+ STYLE="height: 2.16ex; vertical-align: -0.21ex; " SRC="tex_4.svg"
  ALT="$@code{math code} a &lt; b$"></SPAN>|;
 
 $l2h_cache_key = q/$\sum_{i} f(x)@sup{2}$/;
@@ -57,7 +57,7 @@ $l2h_cache{$l2h_cache_key} = q|<!-- MATH
  $\sum_{i} f(x)@sup{2}$
  -->
 <SPAN CLASS="MATH"><IMG
- STYLE="height: 2.66ex; vertical-align: -0.81ex; " SRC="tex_6.svg"
+ STYLE="height: 2.89ex; vertical-align: -0.81ex; " SRC="tex_6.svg"
  ALT="$\sum_{i} f(x)@sup{2}$"></SPAN>|;
 
 $l2h_cache_key = q/$\underline{@code{math \hbox{ code }}} 
\sum_{i}{\underline{f}}$/;
@@ -65,12 +65,12 @@ $l2h_cache{$l2h_cache_key} = q|<!-- MATH
  $\underline{@code{math \hbox{ code }}} \sum_{i}{\underline{f}}$
  -->
 <SPAN CLASS="MATH"><IMG
- STYLE="height: 2.88ex; vertical-align: -1.03ex; " SRC="tex_5.svg"
+ STYLE="height: 3.11ex; vertical-align: -1.03ex; " SRC="tex_5.svg"
  ALT="$\underline{@code{math \hbox{ code }}} 
\sum_{i}{\underline{f}}$"></SPAN>|;
 
 $l2h_cache_key = q/$a @\ b$/;
 $l2h_cache{$l2h_cache_key} = q|<SPAN CLASS="MATH"><IMG
- STYLE="height: 1.84ex; vertical-align: -0.12ex; " SRC="tex_3.svg"
+ STYLE="height: 2.07ex; vertical-align: -0.12ex; " SRC="tex_3.svg"
  ALT="$a @\ b$"></SPAN>|;
 
 $l2h_cache_key = q/${x^i}\over{\tan y}$/;
@@ -78,6 +78,6 @@ $l2h_cache{$l2h_cache_key} = q|<!-- MATH
  ${x^i}\over{\tan y}$
  -->
 <SPAN CLASS="MATH"><IMG
- STYLE="height: 3.73ex; vertical-align: -1.23ex; " SRC="tex_2.svg"
+ STYLE="height: 3.96ex; vertical-align: -1.23ex; " SRC="tex_2.svg"
  ALT="${x^i}\over{\tan y}$"></SPAN>|;
 1;
\ No newline at end of file
diff --git a/tp/tests/many_input_files/tex_l2h_res/tex.html 
b/tp/tests/many_input_files/tex_l2h_res/tex.html
index 8dcf329..6b79ee7 100644
--- a/tp/tests/many_input_files/tex_l2h_res/tex.html
+++ b/tp/tests/many_input_files/tex_l2h_res/tex.html
@@ -51,7 +51,7 @@ ul.no-bullet {list-style: none}
  -->
 
 <IMG
- STYLE="height: 7.42ex; vertical-align: -3.09ex; " SRC="tex_1.svg"
+ STYLE="height: 7.66ex; vertical-align: -3.09ex; " SRC="tex_1.svg"
  ALT="$\displaystyle \chi^2 = \sum_{i=1}^N
 \left(y_i - (a + b x_i)
 \over \sigma_i\right)^2 $">
@@ -71,12 +71,12 @@ Here some <!-- MATH
  ${x^i}\over{\tan y}$
  -->
 <SPAN CLASS="MATH"><IMG
- STYLE="height: 3.73ex; vertical-align: -1.23ex; " SRC="tex_2.svg"
+ STYLE="height: 3.96ex; vertical-align: -1.23ex; " SRC="tex_2.svg"
  ALT="${x^i}\over{\tan y}$"></SPAN>.
 </p>
 <p>Maths with protected \:
 <SPAN CLASS="MATH"><IMG
- STYLE="height: 1.84ex; vertical-align: -0.12ex; " SRC="tex_3.svg"
+ STYLE="height: 2.07ex; vertical-align: -0.12ex; " SRC="tex_3.svg"
  ALT="$a @\ b$"></SPAN>.
 </p>
 <p>Maths with code @-command:
@@ -85,7 +85,7 @@ Here some <!-- MATH
  $@code{math code} a < b$
  -->
 <SPAN CLASS="MATH"><IMG
- STYLE="height: 1.93ex; vertical-align: -0.21ex; " SRC="tex_4.svg"
+ STYLE="height: 2.16ex; vertical-align: -0.21ex; " SRC="tex_4.svg"
  ALT="$@code{math code} a &lt; b$"></SPAN>
 </p>
 <p>Maths with code @-command and braces:
@@ -94,7 +94,7 @@ Here some <!-- MATH
  $\underline{@code{math \hbox{ code }}} \sum_{i}{\underline{f}}$
  -->
 <SPAN CLASS="MATH"><IMG
- STYLE="height: 2.88ex; vertical-align: -1.03ex; " SRC="tex_5.svg"
+ STYLE="height: 3.11ex; vertical-align: -1.03ex; " SRC="tex_5.svg"
  ALT="$\underline{@code{math \hbox{ code }}} \sum_{i}{\underline{f}}$"></SPAN>
 </p>
 <p>Maths with @-sup
@@ -103,7 +103,7 @@ Here some <!-- MATH
  $\sum_{i} f(x)@sup{2}$
  -->
 <SPAN CLASS="MATH"><IMG
- STYLE="height: 2.66ex; vertical-align: -0.81ex; " SRC="tex_6.svg"
+ STYLE="height: 2.89ex; vertical-align: -0.81ex; " SRC="tex_6.svg"
  ALT="$\sum_{i} f(x)@sup{2}$"></SPAN>
 </p>
 <p>@\ outside of math
@@ -119,7 +119,7 @@ Here some <!-- MATH
  -->
 
 <IMG
- STYLE="height: 6.26ex; vertical-align: -2.32ex; " SRC="tex_7.svg"
+ STYLE="height: 6.49ex; vertical-align: -2.32ex; " SRC="tex_7.svg"
  ALT="$\displaystyle -- f(x) = {1 \over \sigma \sqrt{2\pi}}e@sup{-{1 \over 
2}\left({x-\mu \over \sigma}\right)^2}
 $">
 </DIV>
diff --git a/tp/tests/many_input_files/tex_l2h_res/tex_complex-l2h_cache.pm 
b/tp/tests/many_input_files/tex_l2h_res/tex_complex-l2h_cache.pm
index bfa642f..cbf368f 100644
--- a/tp/tests/many_input_files/tex_l2h_res/tex_complex-l2h_cache.pm
+++ b/tp/tests/many_input_files/tex_l2h_res/tex_complex-l2h_cache.pm
@@ -10,7 +10,7 @@ U w V^\dagger
  -->
 
 <IMG
- STYLE="height: 2.31ex; vertical-align: -0.12ex; " SRC="tex_complex_3.svg"
+ STYLE="height: 2.54ex; vertical-align: -0.12ex; " SRC="tex_complex_3.svg"
  ALT="$\displaystyle U w V^\dagger
 $">
 </DIV>
@@ -27,7 +27,7 @@ $l2h_cache{$l2h_cache_key} = q|<DIV CLASS="displaymath">
  -->
 
 <IMG
- STYLE="height: 2.55ex; vertical-align: -0.70ex; " SRC="tex_complex_5.svg"
+ STYLE="height: 2.78ex; vertical-align: -0.70ex; " SRC="tex_complex_5.svg"
  ALT="$\displaystyle \omega = h ( \eta , \varphi)
 $">
 </DIV>
@@ -43,7 +43,7 @@ $l2h_cache{$l2h_cache_key} = q|<DIV CLASS="displaymath">
  -->
 
 <IMG
- STYLE="height: 2.63ex; vertical-align: -0.78ex; " SRC="tex_complex_1.svg"
+ STYLE="height: 2.86ex; vertical-align: -0.78ex; " SRC="tex_complex_1.svg"
  ALT="$\displaystyle \partial_{\eta} g(\eta(t),\varphi(t));
 $">
 </DIV>
@@ -54,12 +54,12 @@ $l2h_cache{$l2h_cache_key} = q|<!-- MATH
  $(I-D) \varphi(t)$
  -->
 <SPAN CLASS="MATH"><IMG
- STYLE="height: 2.55ex; vertical-align: -0.70ex; " SRC="tex_complex_2.svg"
+ STYLE="height: 2.78ex; vertical-align: -0.70ex; " SRC="tex_complex_2.svg"
  ALT="$(I-D) \varphi(t)$"></SPAN>|;
 
 $l2h_cache_key = q/$\phi w V^t$/;
 $l2h_cache{$l2h_cache_key} = q|<SPAN CLASS="MATH"><IMG
- STYLE="height: 2.52ex; vertical-align: -0.57ex; " SRC="tex_complex_4.svg"
+ STYLE="height: 2.75ex; vertical-align: -0.57ex; " SRC="tex_complex_4.svg"
  ALT="$\phi w V^t$"></SPAN>|;
 
 $l2h_cache_key = q/$h \dot \psi^\phi$/;
@@ -67,6 +67,6 @@ $l2h_cache{$l2h_cache_key} = q|<!-- MATH
  $h \dot \psi^\phi$
  -->
 <SPAN CLASS="MATH"><IMG
- STYLE="height: 2.84ex; vertical-align: -0.57ex; " SRC="tex_complex_6.svg"
+ STYLE="height: 3.07ex; vertical-align: -0.57ex; " SRC="tex_complex_6.svg"
  ALT="$h \dot \psi^\phi$"></SPAN>|;
 1;
\ No newline at end of file
diff --git a/tp/tests/many_input_files/tex_l2h_res/tex_complex.html 
b/tp/tests/many_input_files/tex_l2h_res/tex_complex.html
index 48d3110..32c7a4f 100644
--- a/tp/tests/many_input_files/tex_l2h_res/tex_complex.html
+++ b/tp/tests/many_input_files/tex_l2h_res/tex_complex.html
@@ -50,7 +50,7 @@ ul.no-bullet {list-style: none}
  -->
 
 <IMG
- STYLE="height: 2.63ex; vertical-align: -0.78ex; " SRC="tex_complex_1.svg"
+ STYLE="height: 2.86ex; vertical-align: -0.78ex; " SRC="tex_complex_1.svg"
  ALT="$\displaystyle \partial_{\eta} g(\eta(t),\varphi(t));
 $">
 </DIV>
@@ -60,7 +60,7 @@ $">
  $(I-D) \varphi(t)$
  -->
 <SPAN CLASS="MATH"><IMG
- STYLE="height: 2.55ex; vertical-align: -0.70ex; " SRC="tex_complex_2.svg"
+ STYLE="height: 2.78ex; vertical-align: -0.70ex; " SRC="tex_complex_2.svg"
  ALT="$(I-D) \varphi(t)$"></SPAN> math.
 </p><hr>
 
@@ -76,7 +76,7 @@ $">
  -->
 
 <IMG
- STYLE="height: 2.63ex; vertical-align: -0.78ex; " SRC="tex_complex_1.svg"
+ STYLE="height: 2.86ex; vertical-align: -0.78ex; " SRC="tex_complex_1.svg"
  ALT="$\displaystyle \partial_{\eta} g(\eta(t),\varphi(t));
 $">
 </DIV>
@@ -86,7 +86,7 @@ $">
  $(I-D) \varphi(t)$
  -->
 <SPAN CLASS="MATH"><IMG
- STYLE="height: 2.55ex; vertical-align: -0.70ex; " SRC="tex_complex_2.svg"
+ STYLE="height: 2.78ex; vertical-align: -0.70ex; " SRC="tex_complex_2.svg"
  ALT="$(I-D) \varphi(t)$"></SPAN> math.
 </p>
 <p>Tex:
@@ -98,14 +98,14 @@ U w V^\dagger
  -->
 
 <IMG
- STYLE="height: 2.31ex; vertical-align: -0.12ex; " SRC="tex_complex_3.svg"
+ STYLE="height: 2.54ex; vertical-align: -0.12ex; " SRC="tex_complex_3.svg"
  ALT="$\displaystyle U w V^\dagger
 $">
 </DIV>
 
 </p>
 <p>and math <SPAN CLASS="MATH"><IMG
- STYLE="height: 2.52ex; vertical-align: -0.57ex; " SRC="tex_complex_4.svg"
+ STYLE="height: 2.75ex; vertical-align: -0.57ex; " SRC="tex_complex_4.svg"
  ALT="$\phi w V^t$"></SPAN>.
 </p>
 <p>Now there is a footnote<a id="DOCF1" href="#FOOT1"><sup>1</sup></a>
@@ -123,7 +123,7 @@ $">
  -->
 
 <IMG
- STYLE="height: 2.55ex; vertical-align: -0.70ex; " SRC="tex_complex_5.svg"
+ STYLE="height: 2.78ex; vertical-align: -0.70ex; " SRC="tex_complex_5.svg"
  ALT="$\displaystyle \omega = h ( \eta , \varphi)
 $">
 </DIV>
@@ -133,7 +133,7 @@ $">
  $h \dot \psi^\phi$
  -->
 <SPAN CLASS="MATH"><IMG
- STYLE="height: 2.84ex; vertical-align: -0.57ex; " SRC="tex_complex_6.svg"
+ STYLE="height: 3.07ex; vertical-align: -0.57ex; " SRC="tex_complex_6.svg"
  ALT="$h \dot \psi^\phi$"></SPAN>.
 </p>
 </div>
diff --git a/tp/tests/many_input_files/tex_l2h_res/tex_complex_l2h.html 
b/tp/tests/many_input_files/tex_l2h_res/tex_complex_l2h.html
index f358db1..d8b53cf 100644
--- a/tp/tests/many_input_files/tex_l2h_res/tex_complex_l2h.html
+++ b/tp/tests/many_input_files/tex_l2h_res/tex_complex_l2h.html
@@ -28,7 +28,7 @@
  -->
 
 <IMG
- STYLE="height: 2.63ex; vertical-align: -0.78ex; " 
SRC="tex_complex_l2h_img1.svg"
+ STYLE="height: 2.86ex; vertical-align: -0.78ex; " 
SRC="tex_complex_l2h_img1.svg"
  ALT="$\displaystyle \partial_{\eta} g(\eta(t),\varphi(t));
 $">
 </DIV>
@@ -41,7 +41,7 @@ $">
  $(I-D) \varphi(t)$
  -->
 <SPAN CLASS="MATH"><IMG
- STYLE="height: 2.55ex; vertical-align: -0.70ex; " 
SRC="tex_complex_l2h_img2.svg"
+ STYLE="height: 2.78ex; vertical-align: -0.70ex; " 
SRC="tex_complex_l2h_img2.svg"
  ALT="$(I-D) \varphi(t)$"></SPAN>
 
 <!-- l2h_end tex_complex_l2h 2 -->
@@ -55,7 +55,7 @@ U w V^\dagger
  -->
 
 <IMG
- STYLE="height: 2.31ex; vertical-align: -0.12ex; " 
SRC="tex_complex_l2h_img3.svg"
+ STYLE="height: 2.54ex; vertical-align: -0.12ex; " 
SRC="tex_complex_l2h_img3.svg"
  ALT="$\displaystyle U w V^\dagger
 $">
 </DIV>
@@ -65,7 +65,7 @@ $">
 
 <!-- l2h_begin tex_complex_l2h 4 -->
 <SPAN CLASS="MATH"><IMG
- STYLE="height: 2.52ex; vertical-align: -0.57ex; " 
SRC="tex_complex_l2h_img4.svg"
+ STYLE="height: 2.75ex; vertical-align: -0.57ex; " 
SRC="tex_complex_l2h_img4.svg"
  ALT="$\phi w V^t$"></SPAN>
 
 <!-- l2h_end tex_complex_l2h 4 -->
@@ -79,7 +79,7 @@ $">
  -->
 
 <IMG
- STYLE="height: 2.55ex; vertical-align: -0.70ex; " 
SRC="tex_complex_l2h_img5.svg"
+ STYLE="height: 2.78ex; vertical-align: -0.70ex; " 
SRC="tex_complex_l2h_img5.svg"
  ALT="$\displaystyle \omega = h ( \eta , \varphi)
 $">
 </DIV>
@@ -92,7 +92,7 @@ $">
  $h \dot \psi^\phi$
  -->
 <SPAN CLASS="MATH"><IMG
- STYLE="height: 2.84ex; vertical-align: -0.57ex; " 
SRC="tex_complex_l2h_img6.svg"
+ STYLE="height: 3.07ex; vertical-align: -0.57ex; " 
SRC="tex_complex_l2h_img6.svg"
  ALT="$h \dot \psi^\phi$"></SPAN>
 
 <!-- l2h_end tex_complex_l2h 6 -->
diff --git a/tp/tests/many_input_files/tex_l2h_res/tex_complex_l2h_images.tex 
b/tp/tests/many_input_files/tex_l2h_res/tex_complex_l2h_images.tex
index 650e2e8..890c3f7 100644
--- a/tp/tests/many_input_files/tex_l2h_res/tex_complex_l2h_images.tex
+++ b/tp/tests/many_input_files/tex_l2h_res/tex_complex_l2h_images.tex
@@ -33,7 +33,6 @@
 \addtolength{\textheight}{\topmargin}\setlength{\topmargin}{0pt}
 \addtolength{\textheight}{\headheight}\setlength{\headheight}{0pt}
 \addtolength{\textheight}{\headsep}\setlength{\headsep}{0pt}
-\setlength{\textwidth}{451pt}
 \setlength{\textheight}{554pt}
 \newwrite\lthtmlwrite
 \makeatletter
@@ -52,6 +51,7 @@
  \def\phantompar{\csname par\endcsname}\normalsize}%
 \def\lthtmltypeout#1{{\let\protect\string \immediate\write\lthtmlwrite{#1}}}%
 \usepackage[tightpage,active]{preview}
+\PreviewBorder=1bp
 \newbox\lthtmlPageBox
 \newdimen\lthtmlCropMarkHeight
 \newdimen\lthtmlCropMarkDepth
@@ -64,10 +64,10 @@
     
\lthtmltypeout{^^J:\lthtmllabel:lthtmlCropMarkDepth:=\the\lthtmlCropMarkDepth:1ex:=\the
 \dimexpr 1ex}%
     \begin{preview}\copy\lthtmlPageBox\end{preview}}%
 \long\def\lthtmlTightFBoxA#1{\def\lthtmllabel{#1}%
-    \adjustnormalsize\setbox\lthtmlPageBox=\vbox\bgroup %
+    \adjustnormalsize\setbox\lthtmlPageBox=\vbox\bgroup\hbox\bgroup %
     \let\ifinner=\iffalse \let\)\liih@math %
     \bgroup\catcode`\_=8 }%
-\long\def\lthtmlTightFBoxZ{\egroup
+\long\def\lthtmlTightFBoxZ{\egroup\egroup
     \@next\next\@currlist{}{\def\next{\voidb@x}}%
     \expandafter\box\next\egroup %
     \lthtmlCropMarkHeight=\ht\lthtmlPageBox \advance \lthtmlCropMarkHeight 6pt
diff --git a/tp/tests/many_input_files/tex_l2h_res/tex_l2h.html 
b/tp/tests/many_input_files/tex_l2h_res/tex_l2h.html
index c335248..288f842 100644
--- a/tp/tests/many_input_files/tex_l2h_res/tex_l2h.html
+++ b/tp/tests/many_input_files/tex_l2h_res/tex_l2h.html
@@ -32,7 +32,7 @@
  -->
 
 <IMG
- STYLE="height: 7.42ex; vertical-align: -3.09ex; " SRC="tex_l2h_img1.svg"
+ STYLE="height: 7.66ex; vertical-align: -3.09ex; " SRC="tex_l2h_img1.svg"
  ALT="$\displaystyle \chi^2 = \sum_{i=1}^N
 \left(y_i - (a + b x_i)
 \over \sigma_i\right)^2 $">
@@ -52,14 +52,14 @@ tex <SPAN CLASS="logo-TeX">T<SMALL>E</SMALL>X</SPAN>
  ${x^i}\over{\tan y}$
  -->
 <SPAN CLASS="MATH"><IMG
- STYLE="height: 3.73ex; vertical-align: -1.23ex; " SRC="tex_l2h_img2.svg"
+ STYLE="height: 3.96ex; vertical-align: -1.23ex; " SRC="tex_l2h_img2.svg"
  ALT="${x^i}\over{\tan y}$"></SPAN>
 
 <!-- l2h_end tex_l2h 3 -->
 
 <!-- l2h_begin tex_l2h 4 -->
 <SPAN CLASS="MATH"><IMG
- STYLE="height: 1.84ex; vertical-align: -0.12ex; " SRC="tex_l2h_img3.svg"
+ STYLE="height: 2.07ex; vertical-align: -0.12ex; " SRC="tex_l2h_img3.svg"
  ALT="$a @\ b$"></SPAN>
 
 <!-- l2h_end tex_l2h 4 -->
@@ -69,7 +69,7 @@ tex <SPAN CLASS="logo-TeX">T<SMALL>E</SMALL>X</SPAN>
  $@code{math code} a < b$
  -->
 <SPAN CLASS="MATH"><IMG
- STYLE="height: 1.93ex; vertical-align: -0.21ex; " SRC="tex_l2h_img4.svg"
+ STYLE="height: 2.16ex; vertical-align: -0.21ex; " SRC="tex_l2h_img4.svg"
  ALT="$@code{math code} a &lt; b$"></SPAN>
 
 <!-- l2h_end tex_l2h 5 -->
@@ -79,7 +79,7 @@ tex <SPAN CLASS="logo-TeX">T<SMALL>E</SMALL>X</SPAN>
  $\underline{@code{math \hbox{ code }}} \sum_{i}{\underline{f}}$
  -->
 <SPAN CLASS="MATH"><IMG
- STYLE="height: 2.88ex; vertical-align: -1.03ex; " SRC="tex_l2h_img5.svg"
+ STYLE="height: 3.11ex; vertical-align: -1.03ex; " SRC="tex_l2h_img5.svg"
  ALT="$\underline{@code{math \hbox{ code }}} \sum_{i}{\underline{f}}$"></SPAN>
 
 <!-- l2h_end tex_l2h 6 -->
@@ -89,7 +89,7 @@ tex <SPAN CLASS="logo-TeX">T<SMALL>E</SMALL>X</SPAN>
  $\sum_{i} f(x)@sup{2}$
  -->
 <SPAN CLASS="MATH"><IMG
- STYLE="height: 2.66ex; vertical-align: -0.81ex; " SRC="tex_l2h_img6.svg"
+ STYLE="height: 2.89ex; vertical-align: -0.81ex; " SRC="tex_l2h_img6.svg"
  ALT="$\sum_{i} f(x)@sup{2}$"></SPAN>
 
 <!-- l2h_end tex_l2h 7 -->
@@ -103,7 +103,7 @@ tex <SPAN CLASS="logo-TeX">T<SMALL>E</SMALL>X</SPAN>
  -->
 
 <IMG
- STYLE="height: 6.26ex; vertical-align: -2.32ex; " SRC="tex_l2h_img7.svg"
+ STYLE="height: 6.49ex; vertical-align: -2.32ex; " SRC="tex_l2h_img7.svg"
  ALT="$\displaystyle -- f(x) = {1 \over \sigma \sqrt{2\pi}}e@sup{-{1 \over 
2}\left({x-\mu \over \sigma}\right)^2}
 $">
 </DIV>
diff --git a/tp/tests/many_input_files/tex_l2h_res/tex_l2h_images.tex 
b/tp/tests/many_input_files/tex_l2h_res/tex_l2h_images.tex
index 46145a5..1f740cb 100644
--- a/tp/tests/many_input_files/tex_l2h_res/tex_l2h_images.tex
+++ b/tp/tests/many_input_files/tex_l2h_res/tex_l2h_images.tex
@@ -33,7 +33,6 @@
 \addtolength{\textheight}{\topmargin}\setlength{\topmargin}{0pt}
 \addtolength{\textheight}{\headheight}\setlength{\headheight}{0pt}
 \addtolength{\textheight}{\headsep}\setlength{\headsep}{0pt}
-\setlength{\textwidth}{451pt}
 \setlength{\textheight}{554pt}
 \newwrite\lthtmlwrite
 \makeatletter
@@ -52,6 +51,7 @@
  \def\phantompar{\csname par\endcsname}\normalsize}%
 \def\lthtmltypeout#1{{\let\protect\string \immediate\write\lthtmlwrite{#1}}}%
 \usepackage[tightpage,active]{preview}
+\PreviewBorder=1bp
 \newbox\lthtmlPageBox
 \newdimen\lthtmlCropMarkHeight
 \newdimen\lthtmlCropMarkDepth
@@ -64,10 +64,10 @@
     
\lthtmltypeout{^^J:\lthtmllabel:lthtmlCropMarkDepth:=\the\lthtmlCropMarkDepth:1ex:=\the
 \dimexpr 1ex}%
     \begin{preview}\copy\lthtmlPageBox\end{preview}}%
 \long\def\lthtmlTightFBoxA#1{\def\lthtmllabel{#1}%
-    \adjustnormalsize\setbox\lthtmlPageBox=\vbox\bgroup %
+    \adjustnormalsize\setbox\lthtmlPageBox=\vbox\bgroup\hbox\bgroup %
     \let\ifinner=\iffalse \let\)\liih@math %
     \bgroup\catcode`\_=8 }%
-\long\def\lthtmlTightFBoxZ{\egroup
+\long\def\lthtmlTightFBoxZ{\egroup\egroup
     \@next\next\@currlist{}{\def\next{\voidb@x}}%
     \expandafter\box\next\egroup %
     \lthtmlCropMarkHeight=\ht\lthtmlPageBox \advance \lthtmlCropMarkHeight 6pt
diff --git a/tp/tests/many_input_files/tex_t4ht_res/tex_complex_tex4ht_tex.css 
b/tp/tests/many_input_files/tex_t4ht_res/tex_complex_tex4ht_tex.css
index d5a41ad..59c6171 100644
--- a/tp/tests/many_input_files/tex_t4ht_res/tex_complex_tex4ht_tex.css
+++ b/tp/tests/many_input_files/tex_t4ht_res/tex_complex_tex4ht_tex.css
@@ -10,6 +10,7 @@ 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; }
diff --git a/tp/tests/many_input_files/tex_t4ht_res/tex_complex_tex4ht_tex.lg 
b/tp/tests/many_input_files/tex_t4ht_res/tex_complex_tex4ht_tex.lg
index abea882..054a95d 100644
--- a/tp/tests/many_input_files/tex_t4ht_res/tex_complex_tex4ht_tex.lg
+++ b/tp/tests/many_input_files/tex_t4ht_res/tex_complex_tex4ht_tex.lg
@@ -10,6 +10,7 @@ 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;}
diff --git a/tp/tests/many_input_files/tex_t4ht_res/tex_tex4ht_tex.css 
b/tp/tests/many_input_files/tex_t4ht_res/tex_tex4ht_tex.css
index c002d15..f3fb176 100644
--- a/tp/tests/many_input_files/tex_t4ht_res/tex_tex4ht_tex.css
+++ b/tp/tests/many_input_files/tex_t4ht_res/tex_tex4ht_tex.css
@@ -11,6 +11,7 @@ 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; }
diff --git a/tp/tests/many_input_files/tex_t4ht_res/tex_tex4ht_tex.lg 
b/tp/tests/many_input_files/tex_t4ht_res/tex_tex4ht_tex.lg
index 5ffca8c..f028bfc 100644
--- a/tp/tests/many_input_files/tex_t4ht_res/tex_tex4ht_tex.lg
+++ b/tp/tests/many_input_files/tex_t4ht_res/tex_tex4ht_tex.lg
@@ -10,6 +10,7 @@ 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;}
diff --git a/tp/tests/tex_html/res_parser/formatting_singular/chapter.html 
b/tp/tests/tex_html/res_parser/formatting_singular/chapter.html
index 2cb6f9f..02aa850 100644
--- a/tp/tests/tex_html/res_parser/formatting_singular/chapter.html
+++ b/tp/tests/tex_html/res_parser/formatting_singular/chapter.html
@@ -1002,7 +1002,7 @@ but , ,
  $- -a {\frac{1}{2}} @minus{}$
  -->
 <SPAN CLASS="MATH"><IMG
- STYLE="height: 2.98ex; vertical-align: -0.92ex; " SRC="sing_1.svg"
+ STYLE="height: 3.22ex; vertical-align: -0.92ex; " SRC="sing_1.svg"
  ALT="$--a {\frac{1}{2}} @minus{}$"></SPAN>
 <code>@option{--a}</code> <samp>--a</samp>
 <code>@r{--a}</code> <span class="roman">&ndash;a</span>
@@ -1081,7 +1081,7 @@ After clickstyle &rArr;
  -->
 
 <IMG
- STYLE="height: 2.54ex; vertical-align: -0.57ex; " SRC="sing_2.svg"
+ STYLE="height: 2.77ex; vertical-align: -0.57ex; " SRC="sing_2.svg"
  ALT="$\displaystyle @strong{\lq\lq simple-double--three---four----''} @w{aa}
 \lq @w{}\lq simple-double-@w{}-three---four----'@w{}'@*
 $">
@@ -1100,7 +1100,7 @@ $">
  -->
 
 <IMG
- STYLE="height: 2.67ex; vertical-align: -0.70ex; " SRC="sing_3.svg"
+ STYLE="height: 2.90ex; vertical-align: -0.70ex; " SRC="sing_3.svg"
  ALT="$\displaystyle @''u @''{U} @~n @^a @'e @=o @\lq i @'{e} @dotless{i} 
@dotless{j} @\lq {...
 ...@ogonek{a} a@sup{h}@sub{l}
 @* @ @ @
@@ -1123,7 +1123,7 @@ $">
  -->
 
 <IMG
- STYLE="height: 2.29ex; vertical-align: -0.57ex; " SRC="sing_4.svg"
+ STYLE="height: 2.52ex; vertical-align: -0.57ex; " SRC="sing_4.svg"
  ALT="$\displaystyle @click{}
 @U{0075}
 @TeX{} @LaTeX{} @bullet{} @copyright{} @dots{} ...
@@ -1143,7 +1143,7 @@ $">
  -->
 
 <IMG
- STYLE="height: 2.29ex; vertical-align: -0.57ex; " SRC="sing_5.svg"
+ STYLE="height: 2.52ex; vertical-align: -0.57ex; " SRC="sing_5.svg"
  ALT="$\displaystyle @quotedblleft{} @quotedblright{}
 @quoteleft{} @quoteright{} @quo...
 ...guilsinglleft{}
@@ -1159,7 +1159,7 @@ $">
  -->
 
 <IMG
- STYLE="height: 2.29ex; vertical-align: -0.57ex; " SRC="sing_6.svg"
+ STYLE="height: 2.52ex; vertical-align: -0.57ex; " SRC="sing_6.svg"
  ALT="$\displaystyle @b{b} @i{i} @r{r} @sc{sc} @t{t} @sansserif{sansserif} 
@slanted{slanted}
 $">
 </DIV>
@@ -1307,14 +1307,16 @@ i&ndash;tem 1
 
 <table>
 <thead><tr><th width="40%">mu&ndash;ltitable headitem</th><th 
width="60%">another tab</th></tr></thead>
-<tr><td width="40%">mu&ndash;ltitable item</td><td width="60%">multitable 
tab</td></tr>
+<tbody><tr><td width="40%">mu&ndash;ltitable item</td><td 
width="60%">multitable tab</td></tr>
 <tr><td width="40%">mu&ndash;ltitable item 2</td><td width="60%">multitable 
tab 2
 <span id="index-copying-index-entry-within-multitable"></span></td></tr>
 <tr><td width="40%">lone mu&ndash;ltitable item</td></tr>
+</tbody>
 </table>
 
 <table>
-<tr><td>truc</td><td>bidule</td></tr>
+<tbody><tr><td>truc</td><td>bidule</td></tr>
+</tbody>
 </table>
 
 <div class="example">
@@ -1402,7 +1404,7 @@ f(x) = {1 \over \sigma \sqrt{2\pi}}e@sup{-{1 \over 
2}\left({x-\mu \over \sigma}\
  -->
 
 <IMG
- STYLE="height: 6.26ex; vertical-align: -2.32ex; " SRC="sing_7.svg"
+ STYLE="height: 6.49ex; vertical-align: -2.32ex; " SRC="sing_7.svg"
  ALT="$\displaystyle disp--laymath
 f(x) = {1 \over \sigma \sqrt{2\pi}}e@sup{-{1 \over 2}\left({x-\mu \over 
\sigma}\right)^2}
 $">
@@ -1779,7 +1781,7 @@ html ''
  -->
 
 <IMG
- STYLE="height: 2.55ex; vertical-align: -0.70ex; " SRC="sing_8.svg"
+ STYLE="height: 2.78ex; vertical-align: -0.70ex; " SRC="sing_8.svg"
  ALT="$\displaystyle \partial_t \eta (t) = g(\eta(t),\varphi(t))$">
 </DIV>
  &rdquo;
@@ -1805,7 +1807,7 @@ html ''
  $- -a@minus{} {\frac{1}{2}}$
  -->
 <SPAN CLASS="MATH"><IMG
- STYLE="height: 2.98ex; vertical-align: -0.92ex; " SRC="sing_9.svg"
+ STYLE="height: 3.22ex; vertical-align: -0.92ex; " SRC="sing_9.svg"
  ALT="$--a@minus{} {\frac{1}{2}}$"></SPAN>
 </p>
 <p><code>@image{f-ile,,,alt@verb{:jk _&quot; %}}</code> <img src="f-ile.jpg" 
alt="altjk _&quot; %@">
@@ -2074,7 +2076,7 @@ but , ,
  $- -a {\frac{1}{2}} @minus{}$
  -->
 <SPAN CLASS="MATH"><IMG
- STYLE="height: 2.98ex; vertical-align: -0.92ex; " SRC="sing_1.svg"
+ STYLE="height: 3.22ex; vertical-align: -0.92ex; " SRC="sing_1.svg"
  ALT="$--a {\frac{1}{2}} @minus{}$"></SPAN>
 <code>@option{--a}</code> <samp>--a</samp>
 <code>@r{--a}</code> <span class="roman">&ndash;a</span>
@@ -2153,7 +2155,7 @@ After clickstyle &rArr;
  -->
 
 <IMG
- STYLE="height: 2.54ex; vertical-align: -0.57ex; " SRC="sing_2.svg"
+ STYLE="height: 2.77ex; vertical-align: -0.57ex; " SRC="sing_2.svg"
  ALT="$\displaystyle @strong{\lq\lq simple-double--three---four----''} @w{aa}
 \lq @w{}\lq simple-double-@w{}-three---four----'@w{}'@*
 $">
@@ -2172,7 +2174,7 @@ $">
  -->
 
 <IMG
- STYLE="height: 2.67ex; vertical-align: -0.70ex; " SRC="sing_3.svg"
+ STYLE="height: 2.90ex; vertical-align: -0.70ex; " SRC="sing_3.svg"
  ALT="$\displaystyle @''u @''{U} @~n @^a @'e @=o @\lq i @'{e} @dotless{i} 
@dotless{j} @\lq {...
 ...@ogonek{a} a@sup{h}@sub{l}
 @* @ @ @
@@ -2195,7 +2197,7 @@ $">
  -->
 
 <IMG
- STYLE="height: 2.29ex; vertical-align: -0.57ex; " SRC="sing_4.svg"
+ STYLE="height: 2.52ex; vertical-align: -0.57ex; " SRC="sing_4.svg"
  ALT="$\displaystyle @click{}
 @U{0075}
 @TeX{} @LaTeX{} @bullet{} @copyright{} @dots{} ...
@@ -2215,7 +2217,7 @@ $">
  -->
 
 <IMG
- STYLE="height: 2.29ex; vertical-align: -0.57ex; " SRC="sing_5.svg"
+ STYLE="height: 2.52ex; vertical-align: -0.57ex; " SRC="sing_5.svg"
  ALT="$\displaystyle @quotedblleft{} @quotedblright{}
 @quoteleft{} @quoteright{} @quo...
 ...guilsinglleft{}
@@ -2231,7 +2233,7 @@ $">
  -->
 
 <IMG
- STYLE="height: 2.29ex; vertical-align: -0.57ex; " SRC="sing_6.svg"
+ STYLE="height: 2.52ex; vertical-align: -0.57ex; " SRC="sing_6.svg"
  ALT="$\displaystyle @b{b} @i{i} @r{r} @sc{sc} @t{t} @sansserif{sansserif} 
@slanted{slanted}
 $">
 </DIV>
@@ -2379,14 +2381,16 @@ i&ndash;tem 1
 
 <table>
 <thead><tr><th width="40%">mu&ndash;ltitable headitem</th><th 
width="60%">another tab</th></tr></thead>
-<tr><td width="40%">mu&ndash;ltitable item</td><td width="60%">multitable 
tab</td></tr>
+<tbody><tr><td width="40%">mu&ndash;ltitable item</td><td 
width="60%">multitable tab</td></tr>
 <tr><td width="40%">mu&ndash;ltitable item 2</td><td width="60%">multitable 
tab 2
 <span id="index-index-entry-within-multitable"></span></td></tr>
 <tr><td width="40%">lone mu&ndash;ltitable item</td></tr>
+</tbody>
 </table>
 
 <table>
-<tr><td>truc</td><td>bidule</td></tr>
+<tbody><tr><td>truc</td><td>bidule</td></tr>
+</tbody>
 </table>
 
 <div class="example">
@@ -2474,7 +2478,7 @@ f(x) = {1 \over \sigma \sqrt{2\pi}}e@sup{-{1 \over 
2}\left({x-\mu \over \sigma}\
  -->
 
 <IMG
- STYLE="height: 6.26ex; vertical-align: -2.32ex; " SRC="sing_7.svg"
+ STYLE="height: 6.49ex; vertical-align: -2.32ex; " SRC="sing_7.svg"
  ALT="$\displaystyle disp--laymath
 f(x) = {1 \over \sigma \sqrt{2\pi}}e@sup{-{1 \over 2}\left({x-\mu \over 
\sigma}\right)^2}
 $">
@@ -2851,7 +2855,7 @@ html ''
  -->
 
 <IMG
- STYLE="height: 2.55ex; vertical-align: -0.70ex; " SRC="sing_8.svg"
+ STYLE="height: 2.78ex; vertical-align: -0.70ex; " SRC="sing_8.svg"
  ALT="$\displaystyle \partial_t \eta (t) = g(\eta(t),\varphi(t))$">
 </DIV>
  &rdquo;
@@ -2877,7 +2881,7 @@ html ''
  $- -a@minus{} {\frac{1}{2}}$
  -->
 <SPAN CLASS="MATH"><IMG
- STYLE="height: 2.98ex; vertical-align: -0.92ex; " SRC="sing_9.svg"
+ STYLE="height: 3.22ex; vertical-align: -0.92ex; " SRC="sing_9.svg"
  ALT="$--a@minus{} {\frac{1}{2}}$"></SPAN>
 </p>
 <p><code>@image{f-ile,,,alt@verb{:jk _&quot; %}}</code> <img src="f-ile.jpg" 
alt="altjk _&quot; %@">
@@ -3152,7 +3156,7 @@ but , ,
  $- -a {\frac{1}{2}} @minus{}$
  -->
 <SPAN CLASS="MATH"><IMG
- STYLE="height: 2.98ex; vertical-align: -0.92ex; " SRC="sing_1.svg"
+ STYLE="height: 3.22ex; vertical-align: -0.92ex; " SRC="sing_1.svg"
  ALT="$--a {\frac{1}{2}} @minus{}$"></SPAN>
 <code>@option{--a}</code> <samp>--a</samp>
 <code>@r{--a}</code> <span class="roman">&ndash;a</span>
@@ -3235,7 +3239,7 @@ After clickstyle &rArr;
  -->
 
 <IMG
- STYLE="height: 2.54ex; vertical-align: -0.57ex; " SRC="sing_2.svg"
+ STYLE="height: 2.77ex; vertical-align: -0.57ex; " SRC="sing_2.svg"
  ALT="$\displaystyle @strong{\lq\lq simple-double--three---four----''} @w{aa}
 \lq @w{}\lq simple-double-@w{}-three---four----'@w{}'@*
 $">
@@ -3255,7 +3259,7 @@ $">
  -->
 
 <IMG
- STYLE="height: 2.67ex; vertical-align: -0.70ex; " SRC="sing_3.svg"
+ STYLE="height: 2.90ex; vertical-align: -0.70ex; " SRC="sing_3.svg"
  ALT="$\displaystyle @''u @''{U} @~n @^a @'e @=o @\lq i @'{e} @dotless{i} 
@dotless{j} @\lq {...
 ...@ogonek{a} a@sup{h}@sub{l}
 @* @ @ @
@@ -3279,7 +3283,7 @@ $">
  -->
 
 <IMG
- STYLE="height: 2.29ex; vertical-align: -0.57ex; " SRC="sing_4.svg"
+ STYLE="height: 2.52ex; vertical-align: -0.57ex; " SRC="sing_4.svg"
  ALT="$\displaystyle @click{}
 @U{0075}
 @TeX{} @LaTeX{} @bullet{} @copyright{} @dots{} ...
@@ -3300,7 +3304,7 @@ $">
  -->
 
 <IMG
- STYLE="height: 2.29ex; vertical-align: -0.57ex; " SRC="sing_5.svg"
+ STYLE="height: 2.52ex; vertical-align: -0.57ex; " SRC="sing_5.svg"
  ALT="$\displaystyle @quotedblleft{} @quotedblright{}
 @quoteleft{} @quoteright{} @quo...
 ...guilsinglleft{}
@@ -3317,7 +3321,7 @@ $">
  -->
 
 <IMG
- STYLE="height: 2.29ex; vertical-align: -0.57ex; " SRC="sing_6.svg"
+ STYLE="height: 2.52ex; vertical-align: -0.57ex; " SRC="sing_6.svg"
  ALT="$\displaystyle @b{b} @i{i} @r{r} @sc{sc} @t{t} @sansserif{sansserif} 
@slanted{slanted}
 $">
 </DIV>
@@ -3499,15 +3503,17 @@ $">
 
 </pre><table>
 <thead><tr><th width="40%"><pre class="example">mu--ltitable 
headitem</pre></th><th width="60%"><pre class="example">another 
tab</pre></th></tr></thead>
-<tr><td width="40%"><pre class="example">mu--ltitable item</pre></td><td 
width="60%"><pre class="example">multitable tab</pre></td></tr>
+<tbody><tr><td width="40%"><pre class="example">mu--ltitable 
item</pre></td><td width="60%"><pre class="example">multitable 
tab</pre></td></tr>
 <tr><td width="40%"><pre class="example">mu--ltitable item 2</pre></td><td 
width="60%"><pre class="example">multitable tab 2
 <span id="index-index-entry-within-multitable-1"></span></pre></td></tr>
 <tr><td width="40%"><pre class="example">lone mu--ltitable item</pre></td></tr>
+</tbody>
 </table>
 <pre class="example">
 
 </pre><table>
-<tr><td><pre class="example">truc</pre></td><td><pre 
class="example">bidule</pre></td></tr>
+<tbody><tr><td><pre class="example">truc</pre></td><td><pre 
class="example">bidule</pre></td></tr>
+</tbody>
 </table>
 <pre class="example">
 
@@ -3613,7 +3619,7 @@ f(x) = {1 \over \sigma \sqrt{2\pi}}e@sup{-{1 \over 
2}\left({x-\mu \over \sigma}\
  -->
 
 <IMG
- STYLE="height: 6.26ex; vertical-align: -2.32ex; " SRC="sing_7.svg"
+ STYLE="height: 6.49ex; vertical-align: -2.32ex; " SRC="sing_7.svg"
  ALT="$\displaystyle disp--laymath
 f(x) = {1 \over \sigma \sqrt{2\pi}}e@sup{-{1 \over 2}\left({x-\mu \over 
\sigma}\right)^2}
 $">
@@ -4054,7 +4060,7 @@ html ''
  -->
 
 <IMG
- STYLE="height: 2.55ex; vertical-align: -0.70ex; " SRC="sing_8.svg"
+ STYLE="height: 2.78ex; vertical-align: -0.70ex; " SRC="sing_8.svg"
  ALT="$\displaystyle \partial_t \eta (t) = g(\eta(t),\varphi(t))$">
 </DIV>
  &rdquo;
@@ -4085,7 +4091,7 @@ html ''
  $- -a@minus{} {\frac{1}{2}}$
  -->
 <SPAN CLASS="MATH"><IMG
- STYLE="height: 2.98ex; vertical-align: -0.92ex; " SRC="sing_9.svg"
+ STYLE="height: 3.22ex; vertical-align: -0.92ex; " SRC="sing_9.svg"
  ALT="$--a@minus{} {\frac{1}{2}}$"></SPAN>
 
 <code>@image{f-ile,,,alt@verb{:jk _&quot; %}}</code> <img src="f-ile.jpg" 
alt="altjk _&quot; %@">
diff --git a/tp/tests/tex_html/res_parser/formatting_singular/sing-l2h_cache.pm 
b/tp/tests/tex_html/res_parser/formatting_singular/sing-l2h_cache.pm
index d78a142..52a08dc 100644
--- a/tp/tests/tex_html/res_parser/formatting_singular/sing-l2h_cache.pm
+++ b/tp/tests/tex_html/res_parser/formatting_singular/sing-l2h_cache.pm
@@ -19,7 +19,7 @@ $l2h_cache{$l2h_cache_key} = q|<DIV CLASS="displaymath">
  -->
 
 <IMG
- STYLE="height: 2.67ex; vertical-align: -0.70ex; " SRC="sing_3.svg"
+ STYLE="height: 2.90ex; vertical-align: -0.70ex; " SRC="sing_3.svg"
  ALT="$\displaystyle @''u @''{U} @~n @^a @'e @=o @\lq i @'{e} @dotless{i} 
@dotless{j} @\lq {...
 ...@ogonek{a} a@sup{h}@sub{l}
 @* @ @ @
@@ -39,7 +39,7 @@ $l2h_cache{$l2h_cache_key} = q|<DIV CLASS="displaymath">
  -->
 
 <IMG
- STYLE="height: 2.29ex; vertical-align: -0.57ex; " SRC="sing_6.svg"
+ STYLE="height: 2.52ex; vertical-align: -0.57ex; " SRC="sing_6.svg"
  ALT="$\displaystyle @b{b} @i{i} @r{r} @sc{sc} @t{t} @sansserif{sansserif} 
@slanted{slanted}
 $">
 </DIV>
@@ -67,7 +67,7 @@ $l2h_cache{$l2h_cache_key} = q|<DIV CLASS="displaymath">
  -->
 
 <IMG
- STYLE="height: 2.29ex; vertical-align: -0.57ex; " SRC="sing_4.svg"
+ STYLE="height: 2.52ex; vertical-align: -0.57ex; " SRC="sing_4.svg"
  ALT="$\displaystyle @click{}
 @U{0075}
 @TeX{} @LaTeX{} @bullet{} @copyright{} @dots{} ...
@@ -93,7 +93,7 @@ $l2h_cache{$l2h_cache_key} = q|<DIV CLASS="displaymath">
  -->
 
 <IMG
- STYLE="height: 2.29ex; vertical-align: -0.57ex; " SRC="sing_5.svg"
+ STYLE="height: 2.52ex; vertical-align: -0.57ex; " SRC="sing_5.svg"
  ALT="$\displaystyle @quotedblleft{} @quotedblright{}
 @quoteleft{} @quoteright{} @quo...
 ...guilsinglleft{}
@@ -114,7 +114,7 @@ $l2h_cache{$l2h_cache_key} = q|<DIV CLASS="displaymath">
  -->
 
 <IMG
- STYLE="height: 2.54ex; vertical-align: -0.57ex; " SRC="sing_2.svg"
+ STYLE="height: 2.77ex; vertical-align: -0.57ex; " SRC="sing_2.svg"
  ALT="$\displaystyle @strong{\lq\lq simple-double--three---four----''} @w{aa}
 \lq @w{}\lq simple-double-@w{}-three---four----'@w{}'@*
 $">
@@ -130,7 +130,7 @@ $l2h_cache{$l2h_cache_key} = q|<DIV CLASS="displaymath">
  -->
 
 <IMG
- STYLE="height: 2.55ex; vertical-align: -0.70ex; " SRC="sing_8.svg"
+ STYLE="height: 2.78ex; vertical-align: -0.70ex; " SRC="sing_8.svg"
  ALT="$\displaystyle \partial_t \eta (t) = g(\eta(t),\varphi(t))$">
 </DIV>
  &rdquo;|;
@@ -147,7 +147,7 @@ f(x) = {1 \over \sigma \sqrt{2\pi}}e@sup{-{1 \over 
2}\left({x-\mu \over \sigma}\
  -->
 
 <IMG
- STYLE="height: 6.26ex; vertical-align: -2.32ex; " SRC="sing_7.svg"
+ STYLE="height: 6.49ex; vertical-align: -2.32ex; " SRC="sing_7.svg"
  ALT="$\displaystyle disp--laymath
 f(x) = {1 \over \sigma \sqrt{2\pi}}e@sup{-{1 \over 2}\left({x-\mu \over 
\sigma}\right)^2}
 $">
@@ -159,7 +159,7 @@ $l2h_cache{$l2h_cache_key} = q|<!-- MATH
  $- -a {\frac{1}{2}} @minus{}$
  -->
 <SPAN CLASS="MATH"><IMG
- STYLE="height: 2.98ex; vertical-align: -0.92ex; " SRC="sing_1.svg"
+ STYLE="height: 3.22ex; vertical-align: -0.92ex; " SRC="sing_1.svg"
  ALT="$--a {\frac{1}{2}} @minus{}$"></SPAN>|;
 
 $l2h_cache_key = q/$--a@minus{} {\frac{1}{2}}$/;
@@ -167,6 +167,6 @@ $l2h_cache{$l2h_cache_key} = q|<!-- MATH
  $- -a@minus{} {\frac{1}{2}}$
  -->
 <SPAN CLASS="MATH"><IMG
- STYLE="height: 2.98ex; vertical-align: -0.92ex; " SRC="sing_9.svg"
+ STYLE="height: 3.22ex; vertical-align: -0.92ex; " SRC="sing_9.svg"
  ALT="$--a@minus{} {\frac{1}{2}}$"></SPAN>|;
 1;
\ No newline at end of file
diff --git a/tp/tests/tex_html/res_parser/formatting_singular/sing_l2h.html 
b/tp/tests/tex_html/res_parser/formatting_singular/sing_l2h.html
index 876beb3..8683fa4 100644
--- a/tp/tests/tex_html/res_parser/formatting_singular/sing_l2h.html
+++ b/tp/tests/tex_html/res_parser/formatting_singular/sing_l2h.html
@@ -24,7 +24,7 @@
  $- -a {\frac{1}{2}} @minus{}$
  -->
 <SPAN CLASS="MATH"><IMG
- STYLE="height: 2.98ex; vertical-align: -0.92ex; " SRC="sing_l2h_img1.svg"
+ STYLE="height: 3.22ex; vertical-align: -0.92ex; " SRC="sing_l2h_img1.svg"
  ALT="$--a {\frac{1}{2}} @minus{}$"></SPAN>
 
 <!-- l2h_end sing_l2h 1 -->
@@ -39,7 +39,7 @@
  -->
 
 <IMG
- STYLE="height: 2.54ex; vertical-align: -0.57ex; " SRC="sing_l2h_img2.svg"
+ STYLE="height: 2.77ex; vertical-align: -0.57ex; " SRC="sing_l2h_img2.svg"
  ALT="$\displaystyle @strong{\lq\lq simple-double--three---four----''} @w{aa}
 \lq @w{}\lq simple-double-@w{}-three---four----'@w{}'@*
 $">
@@ -62,7 +62,7 @@ $">
  -->
 
 <IMG
- STYLE="height: 2.67ex; vertical-align: -0.70ex; " SRC="sing_l2h_img3.svg"
+ STYLE="height: 2.90ex; vertical-align: -0.70ex; " SRC="sing_l2h_img3.svg"
  ALT="$\displaystyle @''u @''{U} @~n @^a @'e @=o @\lq i @'{e} @dotless{i} 
@dotless{j} @\lq {...
 ...@ogonek{a} a@sup{h}@sub{l}
 @* @ @ @
@@ -89,7 +89,7 @@ $">
  -->
 
 <IMG
- STYLE="height: 2.29ex; vertical-align: -0.57ex; " SRC="sing_l2h_img4.svg"
+ STYLE="height: 2.52ex; vertical-align: -0.57ex; " SRC="sing_l2h_img4.svg"
  ALT="$\displaystyle @click{}
 @U{0075}
 @TeX{} @LaTeX{} @bullet{} @copyright{} @dots{} ...
@@ -113,7 +113,7 @@ $">
  -->
 
 <IMG
- STYLE="height: 2.29ex; vertical-align: -0.57ex; " SRC="sing_l2h_img5.svg"
+ STYLE="height: 2.52ex; vertical-align: -0.57ex; " SRC="sing_l2h_img5.svg"
  ALT="$\displaystyle @quotedblleft{} @quotedblright{}
 @quoteleft{} @quoteright{} @quo...
 ...guilsinglleft{}
@@ -133,7 +133,7 @@ $">
  -->
 
 <IMG
- STYLE="height: 2.29ex; vertical-align: -0.57ex; " SRC="sing_l2h_img6.svg"
+ STYLE="height: 2.52ex; vertical-align: -0.57ex; " SRC="sing_l2h_img6.svg"
  ALT="$\displaystyle @b{b} @i{i} @r{r} @sc{sc} @t{t} @sansserif{sansserif} 
@slanted{slanted}
 $">
 </DIV>
@@ -151,7 +151,7 @@ f(x) = {1 \over \sigma \sqrt{2\pi}}e@sup{-{1 \over 
2}\left({x-\mu \over \sigma}\
  -->
 
 <IMG
- STYLE="height: 6.26ex; vertical-align: -2.32ex; " SRC="sing_l2h_img7.svg"
+ STYLE="height: 6.49ex; vertical-align: -2.32ex; " SRC="sing_l2h_img7.svg"
  ALT="$\displaystyle disp--laymath
 f(x) = {1 \over \sigma \sqrt{2\pi}}e@sup{-{1 \over 2}\left({x-\mu \over 
\sigma}\right)^2}
 $">
@@ -169,7 +169,7 @@ $">
  -->
 
 <IMG
- STYLE="height: 2.55ex; vertical-align: -0.70ex; " SRC="sing_l2h_img8.svg"
+ STYLE="height: 2.78ex; vertical-align: -0.70ex; " SRC="sing_l2h_img8.svg"
  ALT="$\displaystyle \partial_t \eta (t) = g(\eta(t),\varphi(t))$">
 </DIV>
  &rdquo;
@@ -181,7 +181,7 @@ $">
  $- -a@minus{} {\frac{1}{2}}$
  -->
 <SPAN CLASS="MATH"><IMG
- STYLE="height: 2.98ex; vertical-align: -0.92ex; " SRC="sing_l2h_img9.svg"
+ STYLE="height: 3.22ex; vertical-align: -0.92ex; " SRC="sing_l2h_img9.svg"
  ALT="$--a@minus{} {\frac{1}{2}}$"></SPAN>
 
 <!-- l2h_end sing_l2h 9 -->
diff --git 
a/tp/tests/tex_html/res_parser/formatting_singular/sing_l2h_images.tex 
b/tp/tests/tex_html/res_parser/formatting_singular/sing_l2h_images.tex
index 29526b1..8dd240c 100644
--- a/tp/tests/tex_html/res_parser/formatting_singular/sing_l2h_images.tex
+++ b/tp/tests/tex_html/res_parser/formatting_singular/sing_l2h_images.tex
@@ -33,7 +33,6 @@
 \addtolength{\textheight}{\topmargin}\setlength{\topmargin}{0pt}
 \addtolength{\textheight}{\headheight}\setlength{\headheight}{0pt}
 \addtolength{\textheight}{\headsep}\setlength{\headsep}{0pt}
-\setlength{\textwidth}{451pt}
 \setlength{\textheight}{554pt}
 \newwrite\lthtmlwrite
 \makeatletter
@@ -52,6 +51,7 @@
  \def\phantompar{\csname par\endcsname}\normalsize}%
 \def\lthtmltypeout#1{{\let\protect\string \immediate\write\lthtmlwrite{#1}}}%
 \usepackage[tightpage,active]{preview}
+\PreviewBorder=1bp
 \newbox\lthtmlPageBox
 \newdimen\lthtmlCropMarkHeight
 \newdimen\lthtmlCropMarkDepth
@@ -64,10 +64,10 @@
     
\lthtmltypeout{^^J:\lthtmllabel:lthtmlCropMarkDepth:=\the\lthtmlCropMarkDepth:1ex:=\the
 \dimexpr 1ex}%
     \begin{preview}\copy\lthtmlPageBox\end{preview}}%
 \long\def\lthtmlTightFBoxA#1{\def\lthtmllabel{#1}%
-    \adjustnormalsize\setbox\lthtmlPageBox=\vbox\bgroup %
+    \adjustnormalsize\setbox\lthtmlPageBox=\vbox\bgroup\hbox\bgroup %
     \let\ifinner=\iffalse \let\)\liih@math %
     \bgroup\catcode`\_=8 }%
-\long\def\lthtmlTightFBoxZ{\egroup
+\long\def\lthtmlTightFBoxZ{\egroup\egroup
     \@next\next\@currlist{}{\def\next{\voidb@x}}%
     \expandafter\box\next\egroup %
     \lthtmlCropMarkHeight=\ht\lthtmlPageBox \advance \lthtmlCropMarkHeight 6pt
diff --git 
a/tp/tests/tex_html/res_parser/math_not_closed/math_not_closed-l2h_cache.pm 
b/tp/tests/tex_html/res_parser/math_not_closed/math_not_closed-l2h_cache.pm
index d6deb8b..dbc9996 100644
--- a/tp/tests/tex_html/res_parser/math_not_closed/math_not_closed-l2h_cache.pm
+++ b/tp/tests/tex_html/res_parser/math_not_closed/math_not_closed-l2h_cache.pm
@@ -2,14 +2,14 @@
 $l2h_cache_key = q/$3\delta + 2
 $/;
 $l2h_cache{$l2h_cache_key} = q|<SPAN CLASS="MATH"><IMG
- STYLE="height: 2.03ex; vertical-align: -0.31ex; " SRC="math_not_closed_2.svg"
+ STYLE="height: 2.26ex; vertical-align: -0.31ex; " SRC="math_not_closed_2.svg"
  ALT="$3\delta + 2
 $"></SPAN>|;
 
 $l2h_cache_key = q/$\delta + 2
 $/;
 $l2h_cache{$l2h_cache_key} = q|<SPAN CLASS="MATH"><IMG
- STYLE="height: 2.03ex; vertical-align: -0.31ex; " SRC="math_not_closed_1.svg"
+ STYLE="height: 2.26ex; vertical-align: -0.31ex; " SRC="math_not_closed_1.svg"
  ALT="$\delta + 2
 $"></SPAN>|;
 1;
\ No newline at end of file
diff --git a/tp/tests/tex_html/res_parser/math_not_closed/math_not_closed.html 
b/tp/tests/tex_html/res_parser/math_not_closed/math_not_closed.html
index 66adc19..11f0493 100644
--- a/tp/tests/tex_html/res_parser/math_not_closed/math_not_closed.html
+++ b/tp/tests/tex_html/res_parser/math_not_closed/math_not_closed.html
@@ -40,12 +40,12 @@ ul.no-bullet {list-style: none}
 <div class="chapter" id="Top">
 
 <p><SPAN CLASS="MATH"><IMG
- STYLE="height: 2.03ex; vertical-align: -0.31ex; " SRC="math_not_closed_1.svg"
+ STYLE="height: 2.26ex; vertical-align: -0.31ex; " SRC="math_not_closed_1.svg"
  ALT="$\delta + 2
 $"></SPAN></p><span id="Chapter"></span><h1 class="chapter">1 Chapter</h1>
 
 <p><SPAN CLASS="MATH"><IMG
- STYLE="height: 2.03ex; vertical-align: -0.31ex; " SRC="math_not_closed_2.svg"
+ STYLE="height: 2.26ex; vertical-align: -0.31ex; " SRC="math_not_closed_2.svg"
  ALT="$3\delta + 2
 $"></SPAN></p><hr></div>
 <p><font size="-1">
diff --git 
a/tp/tests/tex_html/res_parser/math_not_closed/math_not_closed_l2h.html 
b/tp/tests/tex_html/res_parser/math_not_closed/math_not_closed_l2h.html
index 630e90e..eb62bee 100644
--- a/tp/tests/tex_html/res_parser/math_not_closed/math_not_closed_l2h.html
+++ b/tp/tests/tex_html/res_parser/math_not_closed/math_not_closed_l2h.html
@@ -21,7 +21,7 @@
 
 <!-- l2h_begin math_not_closed_l2h 1 -->
 <SPAN CLASS="MATH"><IMG
- STYLE="height: 2.03ex; vertical-align: -0.31ex; " 
SRC="math_not_closed_l2h_img1.svg"
+ STYLE="height: 2.26ex; vertical-align: -0.31ex; " 
SRC="math_not_closed_l2h_img1.svg"
  ALT="$\delta + 2
 $"></SPAN>
 
@@ -29,7 +29,7 @@ $"></SPAN>
 
 <!-- l2h_begin math_not_closed_l2h 2 -->
 <SPAN CLASS="MATH"><IMG
- STYLE="height: 2.03ex; vertical-align: -0.31ex; " 
SRC="math_not_closed_l2h_img2.svg"
+ STYLE="height: 2.26ex; vertical-align: -0.31ex; " 
SRC="math_not_closed_l2h_img2.svg"
  ALT="$3\delta + 2
 $"></SPAN>
 
diff --git 
a/tp/tests/tex_html/res_parser/math_not_closed/math_not_closed_l2h_images.tex 
b/tp/tests/tex_html/res_parser/math_not_closed/math_not_closed_l2h_images.tex
index 6baa1bc..8549877 100644
--- 
a/tp/tests/tex_html/res_parser/math_not_closed/math_not_closed_l2h_images.tex
+++ 
b/tp/tests/tex_html/res_parser/math_not_closed/math_not_closed_l2h_images.tex
@@ -33,7 +33,6 @@
 \addtolength{\textheight}{\topmargin}\setlength{\topmargin}{0pt}
 \addtolength{\textheight}{\headheight}\setlength{\headheight}{0pt}
 \addtolength{\textheight}{\headsep}\setlength{\headsep}{0pt}
-\setlength{\textwidth}{451pt}
 \setlength{\textheight}{554pt}
 \newwrite\lthtmlwrite
 \makeatletter
@@ -52,6 +51,7 @@
  \def\phantompar{\csname par\endcsname}\normalsize}%
 \def\lthtmltypeout#1{{\let\protect\string \immediate\write\lthtmlwrite{#1}}}%
 \usepackage[tightpage,active]{preview}
+\PreviewBorder=1bp
 \newbox\lthtmlPageBox
 \newdimen\lthtmlCropMarkHeight
 \newdimen\lthtmlCropMarkDepth
@@ -64,10 +64,10 @@
     
\lthtmltypeout{^^J:\lthtmllabel:lthtmlCropMarkDepth:=\the\lthtmlCropMarkDepth:1ex:=\the
 \dimexpr 1ex}%
     \begin{preview}\copy\lthtmlPageBox\end{preview}}%
 \long\def\lthtmlTightFBoxA#1{\def\lthtmllabel{#1}%
-    \adjustnormalsize\setbox\lthtmlPageBox=\vbox\bgroup %
+    \adjustnormalsize\setbox\lthtmlPageBox=\vbox\bgroup\hbox\bgroup %
     \let\ifinner=\iffalse \let\)\liih@math %
     \bgroup\catcode`\_=8 }%
-\long\def\lthtmlTightFBoxZ{\egroup
+\long\def\lthtmlTightFBoxZ{\egroup\egroup
     \@next\next\@currlist{}{\def\next{\voidb@x}}%
     \expandafter\box\next\egroup %
     \lthtmlCropMarkHeight=\ht\lthtmlPageBox \advance \lthtmlCropMarkHeight 6pt
diff --git a/tp/tests/tex_html/res_parser/tex/tex-l2h_cache.pm 
b/tp/tests/tex_html/res_parser/tex/tex-l2h_cache.pm
index ba0b707..2277689 100644
--- a/tp/tests/tex_html/res_parser/tex/tex-l2h_cache.pm
+++ b/tp/tests/tex_html/res_parser/tex/tex-l2h_cache.pm
@@ -15,7 +15,7 @@ $l2h_cache{$l2h_cache_key} = q|
  -->
 
 <IMG
- STYLE="height: 7.42ex; vertical-align: -3.09ex; " SRC="tex_1.svg"
+ STYLE="height: 7.66ex; vertical-align: -3.09ex; " SRC="tex_1.svg"
  ALT="$\displaystyle \chi^2 = \sum_{i=1}^N
 \left(y_i - (a + b x_i)
 \over \sigma_i\right)^2 $">
@@ -38,7 +38,7 @@ $l2h_cache{$l2h_cache_key} = q|<DIV CLASS="displaymath">
  -->
 
 <IMG
- STYLE="height: 6.26ex; vertical-align: -2.32ex; " SRC="tex_7.svg"
+ STYLE="height: 6.49ex; vertical-align: -2.32ex; " SRC="tex_7.svg"
  ALT="$\displaystyle -- f(x) = {1 \over \sigma \sqrt{2\pi}}e@sup{-{1 \over 
2}\left({x-\mu \over \sigma}\right)^2}
 $">
 </DIV>
@@ -49,7 +49,7 @@ $l2h_cache{$l2h_cache_key} = q|<!-- MATH
  $@code{math code} a < b$
  -->
 <SPAN CLASS="MATH"><IMG
- STYLE="height: 1.93ex; vertical-align: -0.21ex; " SRC="tex_4.svg"
+ STYLE="height: 2.16ex; vertical-align: -0.21ex; " SRC="tex_4.svg"
  ALT="$@code{math code} a &lt; b$"></SPAN>|;
 
 $l2h_cache_key = q/$\sum_{i} f(x)@sup{2}$/;
@@ -57,7 +57,7 @@ $l2h_cache{$l2h_cache_key} = q|<!-- MATH
  $\sum_{i} f(x)@sup{2}$
  -->
 <SPAN CLASS="MATH"><IMG
- STYLE="height: 2.66ex; vertical-align: -0.81ex; " SRC="tex_6.svg"
+ STYLE="height: 2.89ex; vertical-align: -0.81ex; " SRC="tex_6.svg"
  ALT="$\sum_{i} f(x)@sup{2}$"></SPAN>|;
 
 $l2h_cache_key = q/$\underline{@code{math \hbox{ code }}} 
\sum_{i}{\underline{f}}$/;
@@ -65,12 +65,12 @@ $l2h_cache{$l2h_cache_key} = q|<!-- MATH
  $\underline{@code{math \hbox{ code }}} \sum_{i}{\underline{f}}$
  -->
 <SPAN CLASS="MATH"><IMG
- STYLE="height: 2.88ex; vertical-align: -1.03ex; " SRC="tex_5.svg"
+ STYLE="height: 3.11ex; vertical-align: -1.03ex; " SRC="tex_5.svg"
  ALT="$\underline{@code{math \hbox{ code }}} 
\sum_{i}{\underline{f}}$"></SPAN>|;
 
 $l2h_cache_key = q/$a @\ b$/;
 $l2h_cache{$l2h_cache_key} = q|<SPAN CLASS="MATH"><IMG
- STYLE="height: 1.84ex; vertical-align: -0.12ex; " SRC="tex_3.svg"
+ STYLE="height: 2.07ex; vertical-align: -0.12ex; " SRC="tex_3.svg"
  ALT="$a @\ b$"></SPAN>|;
 
 $l2h_cache_key = q/${x^i}\over{\tan y}$/;
@@ -78,6 +78,6 @@ $l2h_cache{$l2h_cache_key} = q|<!-- MATH
  ${x^i}\over{\tan y}$
  -->
 <SPAN CLASS="MATH"><IMG
- STYLE="height: 3.73ex; vertical-align: -1.23ex; " SRC="tex_2.svg"
+ STYLE="height: 3.96ex; vertical-align: -1.23ex; " SRC="tex_2.svg"
  ALT="${x^i}\over{\tan y}$"></SPAN>|;
 1;
\ No newline at end of file
diff --git a/tp/tests/tex_html/res_parser/tex/tex.html 
b/tp/tests/tex_html/res_parser/tex/tex.html
index 8dcf329..6b79ee7 100644
--- a/tp/tests/tex_html/res_parser/tex/tex.html
+++ b/tp/tests/tex_html/res_parser/tex/tex.html
@@ -51,7 +51,7 @@ ul.no-bullet {list-style: none}
  -->
 
 <IMG
- STYLE="height: 7.42ex; vertical-align: -3.09ex; " SRC="tex_1.svg"
+ STYLE="height: 7.66ex; vertical-align: -3.09ex; " SRC="tex_1.svg"
  ALT="$\displaystyle \chi^2 = \sum_{i=1}^N
 \left(y_i - (a + b x_i)
 \over \sigma_i\right)^2 $">
@@ -71,12 +71,12 @@ Here some <!-- MATH
  ${x^i}\over{\tan y}$
  -->
 <SPAN CLASS="MATH"><IMG
- STYLE="height: 3.73ex; vertical-align: -1.23ex; " SRC="tex_2.svg"
+ STYLE="height: 3.96ex; vertical-align: -1.23ex; " SRC="tex_2.svg"
  ALT="${x^i}\over{\tan y}$"></SPAN>.
 </p>
 <p>Maths with protected \:
 <SPAN CLASS="MATH"><IMG
- STYLE="height: 1.84ex; vertical-align: -0.12ex; " SRC="tex_3.svg"
+ STYLE="height: 2.07ex; vertical-align: -0.12ex; " SRC="tex_3.svg"
  ALT="$a @\ b$"></SPAN>.
 </p>
 <p>Maths with code @-command:
@@ -85,7 +85,7 @@ Here some <!-- MATH
  $@code{math code} a < b$
  -->
 <SPAN CLASS="MATH"><IMG
- STYLE="height: 1.93ex; vertical-align: -0.21ex; " SRC="tex_4.svg"
+ STYLE="height: 2.16ex; vertical-align: -0.21ex; " SRC="tex_4.svg"
  ALT="$@code{math code} a &lt; b$"></SPAN>
 </p>
 <p>Maths with code @-command and braces:
@@ -94,7 +94,7 @@ Here some <!-- MATH
  $\underline{@code{math \hbox{ code }}} \sum_{i}{\underline{f}}$
  -->
 <SPAN CLASS="MATH"><IMG
- STYLE="height: 2.88ex; vertical-align: -1.03ex; " SRC="tex_5.svg"
+ STYLE="height: 3.11ex; vertical-align: -1.03ex; " SRC="tex_5.svg"
  ALT="$\underline{@code{math \hbox{ code }}} \sum_{i}{\underline{f}}$"></SPAN>
 </p>
 <p>Maths with @-sup
@@ -103,7 +103,7 @@ Here some <!-- MATH
  $\sum_{i} f(x)@sup{2}$
  -->
 <SPAN CLASS="MATH"><IMG
- STYLE="height: 2.66ex; vertical-align: -0.81ex; " SRC="tex_6.svg"
+ STYLE="height: 2.89ex; vertical-align: -0.81ex; " SRC="tex_6.svg"
  ALT="$\sum_{i} f(x)@sup{2}$"></SPAN>
 </p>
 <p>@\ outside of math
@@ -119,7 +119,7 @@ Here some <!-- MATH
  -->
 
 <IMG
- STYLE="height: 6.26ex; vertical-align: -2.32ex; " SRC="tex_7.svg"
+ STYLE="height: 6.49ex; vertical-align: -2.32ex; " SRC="tex_7.svg"
  ALT="$\displaystyle -- f(x) = {1 \over \sigma \sqrt{2\pi}}e@sup{-{1 \over 
2}\left({x-\mu \over \sigma}\right)^2}
 $">
 </DIV>
diff --git a/tp/tests/tex_html/res_parser/tex/tex_l2h.html 
b/tp/tests/tex_html/res_parser/tex/tex_l2h.html
index c335248..288f842 100644
--- a/tp/tests/tex_html/res_parser/tex/tex_l2h.html
+++ b/tp/tests/tex_html/res_parser/tex/tex_l2h.html
@@ -32,7 +32,7 @@
  -->
 
 <IMG
- STYLE="height: 7.42ex; vertical-align: -3.09ex; " SRC="tex_l2h_img1.svg"
+ STYLE="height: 7.66ex; vertical-align: -3.09ex; " SRC="tex_l2h_img1.svg"
  ALT="$\displaystyle \chi^2 = \sum_{i=1}^N
 \left(y_i - (a + b x_i)
 \over \sigma_i\right)^2 $">
@@ -52,14 +52,14 @@ tex <SPAN CLASS="logo-TeX">T<SMALL>E</SMALL>X</SPAN>
  ${x^i}\over{\tan y}$
  -->
 <SPAN CLASS="MATH"><IMG
- STYLE="height: 3.73ex; vertical-align: -1.23ex; " SRC="tex_l2h_img2.svg"
+ STYLE="height: 3.96ex; vertical-align: -1.23ex; " SRC="tex_l2h_img2.svg"
  ALT="${x^i}\over{\tan y}$"></SPAN>
 
 <!-- l2h_end tex_l2h 3 -->
 
 <!-- l2h_begin tex_l2h 4 -->
 <SPAN CLASS="MATH"><IMG
- STYLE="height: 1.84ex; vertical-align: -0.12ex; " SRC="tex_l2h_img3.svg"
+ STYLE="height: 2.07ex; vertical-align: -0.12ex; " SRC="tex_l2h_img3.svg"
  ALT="$a @\ b$"></SPAN>
 
 <!-- l2h_end tex_l2h 4 -->
@@ -69,7 +69,7 @@ tex <SPAN CLASS="logo-TeX">T<SMALL>E</SMALL>X</SPAN>
  $@code{math code} a < b$
  -->
 <SPAN CLASS="MATH"><IMG
- STYLE="height: 1.93ex; vertical-align: -0.21ex; " SRC="tex_l2h_img4.svg"
+ STYLE="height: 2.16ex; vertical-align: -0.21ex; " SRC="tex_l2h_img4.svg"
  ALT="$@code{math code} a &lt; b$"></SPAN>
 
 <!-- l2h_end tex_l2h 5 -->
@@ -79,7 +79,7 @@ tex <SPAN CLASS="logo-TeX">T<SMALL>E</SMALL>X</SPAN>
  $\underline{@code{math \hbox{ code }}} \sum_{i}{\underline{f}}$
  -->
 <SPAN CLASS="MATH"><IMG
- STYLE="height: 2.88ex; vertical-align: -1.03ex; " SRC="tex_l2h_img5.svg"
+ STYLE="height: 3.11ex; vertical-align: -1.03ex; " SRC="tex_l2h_img5.svg"
  ALT="$\underline{@code{math \hbox{ code }}} \sum_{i}{\underline{f}}$"></SPAN>
 
 <!-- l2h_end tex_l2h 6 -->
@@ -89,7 +89,7 @@ tex <SPAN CLASS="logo-TeX">T<SMALL>E</SMALL>X</SPAN>
  $\sum_{i} f(x)@sup{2}$
  -->
 <SPAN CLASS="MATH"><IMG
- STYLE="height: 2.66ex; vertical-align: -0.81ex; " SRC="tex_l2h_img6.svg"
+ STYLE="height: 2.89ex; vertical-align: -0.81ex; " SRC="tex_l2h_img6.svg"
  ALT="$\sum_{i} f(x)@sup{2}$"></SPAN>
 
 <!-- l2h_end tex_l2h 7 -->
@@ -103,7 +103,7 @@ tex <SPAN CLASS="logo-TeX">T<SMALL>E</SMALL>X</SPAN>
  -->
 
 <IMG
- STYLE="height: 6.26ex; vertical-align: -2.32ex; " SRC="tex_l2h_img7.svg"
+ STYLE="height: 6.49ex; vertical-align: -2.32ex; " SRC="tex_l2h_img7.svg"
  ALT="$\displaystyle -- f(x) = {1 \over \sigma \sqrt{2\pi}}e@sup{-{1 \over 
2}\left({x-\mu \over \sigma}\right)^2}
 $">
 </DIV>
diff --git a/tp/tests/tex_html/res_parser/tex/tex_l2h_images.tex 
b/tp/tests/tex_html/res_parser/tex/tex_l2h_images.tex
index 46145a5..1f740cb 100644
--- a/tp/tests/tex_html/res_parser/tex/tex_l2h_images.tex
+++ b/tp/tests/tex_html/res_parser/tex/tex_l2h_images.tex
@@ -33,7 +33,6 @@
 \addtolength{\textheight}{\topmargin}\setlength{\topmargin}{0pt}
 \addtolength{\textheight}{\headheight}\setlength{\headheight}{0pt}
 \addtolength{\textheight}{\headsep}\setlength{\headsep}{0pt}
-\setlength{\textwidth}{451pt}
 \setlength{\textheight}{554pt}
 \newwrite\lthtmlwrite
 \makeatletter
@@ -52,6 +51,7 @@
  \def\phantompar{\csname par\endcsname}\normalsize}%
 \def\lthtmltypeout#1{{\let\protect\string \immediate\write\lthtmlwrite{#1}}}%
 \usepackage[tightpage,active]{preview}
+\PreviewBorder=1bp
 \newbox\lthtmlPageBox
 \newdimen\lthtmlCropMarkHeight
 \newdimen\lthtmlCropMarkDepth
@@ -64,10 +64,10 @@
     
\lthtmltypeout{^^J:\lthtmllabel:lthtmlCropMarkDepth:=\the\lthtmlCropMarkDepth:1ex:=\the
 \dimexpr 1ex}%
     \begin{preview}\copy\lthtmlPageBox\end{preview}}%
 \long\def\lthtmlTightFBoxA#1{\def\lthtmllabel{#1}%
-    \adjustnormalsize\setbox\lthtmlPageBox=\vbox\bgroup %
+    \adjustnormalsize\setbox\lthtmlPageBox=\vbox\bgroup\hbox\bgroup %
     \let\ifinner=\iffalse \let\)\liih@math %
     \bgroup\catcode`\_=8 }%
-\long\def\lthtmlTightFBoxZ{\egroup
+\long\def\lthtmlTightFBoxZ{\egroup\egroup
     \@next\next\@currlist{}{\def\next{\voidb@x}}%
     \expandafter\box\next\egroup %
     \lthtmlCropMarkHeight=\ht\lthtmlPageBox \advance \lthtmlCropMarkHeight 6pt
diff --git 
a/tp/tests/tex_html/res_parser/tex_accents_httex/tex_accents_tex4ht_tex.css 
b/tp/tests/tex_html/res_parser/tex_accents_httex/tex_accents_tex4ht_tex.css
index e1151d9..63e4618 100644
--- a/tp/tests/tex_html/res_parser/tex_accents_httex/tex_accents_tex4ht_tex.css
+++ b/tp/tests/tex_html/res_parser/tex_accents_httex/tex_accents_tex4ht_tex.css
@@ -7,6 +7,7 @@ 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; }
diff --git 
a/tp/tests/tex_html/res_parser/tex_accents_httex/tex_accents_tex4ht_tex.lg 
b/tp/tests/tex_html/res_parser/tex_accents_httex/tex_accents_tex4ht_tex.lg
index d12d953..7d5f310 100644
--- a/tp/tests/tex_html/res_parser/tex_accents_httex/tex_accents_tex4ht_tex.lg
+++ b/tp/tests/tex_html/res_parser/tex_accents_httex/tex_accents_tex4ht_tex.lg
@@ -8,6 +8,7 @@ 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;}
diff --git 
a/tp/tests/tex_html/res_parser/tex_complex_httex/tex_complex_tex4ht_tex.css 
b/tp/tests/tex_html/res_parser/tex_complex_httex/tex_complex_tex4ht_tex.css
index d5a41ad..59c6171 100644
--- a/tp/tests/tex_html/res_parser/tex_complex_httex/tex_complex_tex4ht_tex.css
+++ b/tp/tests/tex_html/res_parser/tex_complex_httex/tex_complex_tex4ht_tex.css
@@ -10,6 +10,7 @@ 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; }
diff --git 
a/tp/tests/tex_html/res_parser/tex_complex_httex/tex_complex_tex4ht_tex.lg 
b/tp/tests/tex_html/res_parser/tex_complex_httex/tex_complex_tex4ht_tex.lg
index abea882..054a95d 100644
--- a/tp/tests/tex_html/res_parser/tex_complex_httex/tex_complex_tex4ht_tex.lg
+++ b/tp/tests/tex_html/res_parser/tex_complex_httex/tex_complex_tex4ht_tex.lg
@@ -10,6 +10,7 @@ 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;}
diff --git 
a/tp/tests/tex_html/res_parser/tex_complex_l2h/tex_complex-l2h_cache.pm 
b/tp/tests/tex_html/res_parser/tex_complex_l2h/tex_complex-l2h_cache.pm
index bfa642f..cbf368f 100644
--- a/tp/tests/tex_html/res_parser/tex_complex_l2h/tex_complex-l2h_cache.pm
+++ b/tp/tests/tex_html/res_parser/tex_complex_l2h/tex_complex-l2h_cache.pm
@@ -10,7 +10,7 @@ U w V^\dagger
  -->
 
 <IMG
- STYLE="height: 2.31ex; vertical-align: -0.12ex; " SRC="tex_complex_3.svg"
+ STYLE="height: 2.54ex; vertical-align: -0.12ex; " SRC="tex_complex_3.svg"
  ALT="$\displaystyle U w V^\dagger
 $">
 </DIV>
@@ -27,7 +27,7 @@ $l2h_cache{$l2h_cache_key} = q|<DIV CLASS="displaymath">
  -->
 
 <IMG
- STYLE="height: 2.55ex; vertical-align: -0.70ex; " SRC="tex_complex_5.svg"
+ STYLE="height: 2.78ex; vertical-align: -0.70ex; " SRC="tex_complex_5.svg"
  ALT="$\displaystyle \omega = h ( \eta , \varphi)
 $">
 </DIV>
@@ -43,7 +43,7 @@ $l2h_cache{$l2h_cache_key} = q|<DIV CLASS="displaymath">
  -->
 
 <IMG
- STYLE="height: 2.63ex; vertical-align: -0.78ex; " SRC="tex_complex_1.svg"
+ STYLE="height: 2.86ex; vertical-align: -0.78ex; " SRC="tex_complex_1.svg"
  ALT="$\displaystyle \partial_{\eta} g(\eta(t),\varphi(t));
 $">
 </DIV>
@@ -54,12 +54,12 @@ $l2h_cache{$l2h_cache_key} = q|<!-- MATH
  $(I-D) \varphi(t)$
  -->
 <SPAN CLASS="MATH"><IMG
- STYLE="height: 2.55ex; vertical-align: -0.70ex; " SRC="tex_complex_2.svg"
+ STYLE="height: 2.78ex; vertical-align: -0.70ex; " SRC="tex_complex_2.svg"
  ALT="$(I-D) \varphi(t)$"></SPAN>|;
 
 $l2h_cache_key = q/$\phi w V^t$/;
 $l2h_cache{$l2h_cache_key} = q|<SPAN CLASS="MATH"><IMG
- STYLE="height: 2.52ex; vertical-align: -0.57ex; " SRC="tex_complex_4.svg"
+ STYLE="height: 2.75ex; vertical-align: -0.57ex; " SRC="tex_complex_4.svg"
  ALT="$\phi w V^t$"></SPAN>|;
 
 $l2h_cache_key = q/$h \dot \psi^\phi$/;
@@ -67,6 +67,6 @@ $l2h_cache{$l2h_cache_key} = q|<!-- MATH
  $h \dot \psi^\phi$
  -->
 <SPAN CLASS="MATH"><IMG
- STYLE="height: 2.84ex; vertical-align: -0.57ex; " SRC="tex_complex_6.svg"
+ STYLE="height: 3.07ex; vertical-align: -0.57ex; " SRC="tex_complex_6.svg"
  ALT="$h \dot \psi^\phi$"></SPAN>|;
 1;
\ No newline at end of file
diff --git a/tp/tests/tex_html/res_parser/tex_complex_l2h/tex_complex.html 
b/tp/tests/tex_html/res_parser/tex_complex_l2h/tex_complex.html
index 48d3110..32c7a4f 100644
--- a/tp/tests/tex_html/res_parser/tex_complex_l2h/tex_complex.html
+++ b/tp/tests/tex_html/res_parser/tex_complex_l2h/tex_complex.html
@@ -50,7 +50,7 @@ ul.no-bullet {list-style: none}
  -->
 
 <IMG
- STYLE="height: 2.63ex; vertical-align: -0.78ex; " SRC="tex_complex_1.svg"
+ STYLE="height: 2.86ex; vertical-align: -0.78ex; " SRC="tex_complex_1.svg"
  ALT="$\displaystyle \partial_{\eta} g(\eta(t),\varphi(t));
 $">
 </DIV>
@@ -60,7 +60,7 @@ $">
  $(I-D) \varphi(t)$
  -->
 <SPAN CLASS="MATH"><IMG
- STYLE="height: 2.55ex; vertical-align: -0.70ex; " SRC="tex_complex_2.svg"
+ STYLE="height: 2.78ex; vertical-align: -0.70ex; " SRC="tex_complex_2.svg"
  ALT="$(I-D) \varphi(t)$"></SPAN> math.
 </p><hr>
 
@@ -76,7 +76,7 @@ $">
  -->
 
 <IMG
- STYLE="height: 2.63ex; vertical-align: -0.78ex; " SRC="tex_complex_1.svg"
+ STYLE="height: 2.86ex; vertical-align: -0.78ex; " SRC="tex_complex_1.svg"
  ALT="$\displaystyle \partial_{\eta} g(\eta(t),\varphi(t));
 $">
 </DIV>
@@ -86,7 +86,7 @@ $">
  $(I-D) \varphi(t)$
  -->
 <SPAN CLASS="MATH"><IMG
- STYLE="height: 2.55ex; vertical-align: -0.70ex; " SRC="tex_complex_2.svg"
+ STYLE="height: 2.78ex; vertical-align: -0.70ex; " SRC="tex_complex_2.svg"
  ALT="$(I-D) \varphi(t)$"></SPAN> math.
 </p>
 <p>Tex:
@@ -98,14 +98,14 @@ U w V^\dagger
  -->
 
 <IMG
- STYLE="height: 2.31ex; vertical-align: -0.12ex; " SRC="tex_complex_3.svg"
+ STYLE="height: 2.54ex; vertical-align: -0.12ex; " SRC="tex_complex_3.svg"
  ALT="$\displaystyle U w V^\dagger
 $">
 </DIV>
 
 </p>
 <p>and math <SPAN CLASS="MATH"><IMG
- STYLE="height: 2.52ex; vertical-align: -0.57ex; " SRC="tex_complex_4.svg"
+ STYLE="height: 2.75ex; vertical-align: -0.57ex; " SRC="tex_complex_4.svg"
  ALT="$\phi w V^t$"></SPAN>.
 </p>
 <p>Now there is a footnote<a id="DOCF1" href="#FOOT1"><sup>1</sup></a>
@@ -123,7 +123,7 @@ $">
  -->
 
 <IMG
- STYLE="height: 2.55ex; vertical-align: -0.70ex; " SRC="tex_complex_5.svg"
+ STYLE="height: 2.78ex; vertical-align: -0.70ex; " SRC="tex_complex_5.svg"
  ALT="$\displaystyle \omega = h ( \eta , \varphi)
 $">
 </DIV>
@@ -133,7 +133,7 @@ $">
  $h \dot \psi^\phi$
  -->
 <SPAN CLASS="MATH"><IMG
- STYLE="height: 2.84ex; vertical-align: -0.57ex; " SRC="tex_complex_6.svg"
+ STYLE="height: 3.07ex; vertical-align: -0.57ex; " SRC="tex_complex_6.svg"
  ALT="$h \dot \psi^\phi$"></SPAN>.
 </p>
 </div>
diff --git a/tp/tests/tex_html/res_parser/tex_complex_l2h/tex_complex_l2h.html 
b/tp/tests/tex_html/res_parser/tex_complex_l2h/tex_complex_l2h.html
index f358db1..d8b53cf 100644
--- a/tp/tests/tex_html/res_parser/tex_complex_l2h/tex_complex_l2h.html
+++ b/tp/tests/tex_html/res_parser/tex_complex_l2h/tex_complex_l2h.html
@@ -28,7 +28,7 @@
  -->
 
 <IMG
- STYLE="height: 2.63ex; vertical-align: -0.78ex; " 
SRC="tex_complex_l2h_img1.svg"
+ STYLE="height: 2.86ex; vertical-align: -0.78ex; " 
SRC="tex_complex_l2h_img1.svg"
  ALT="$\displaystyle \partial_{\eta} g(\eta(t),\varphi(t));
 $">
 </DIV>
@@ -41,7 +41,7 @@ $">
  $(I-D) \varphi(t)$
  -->
 <SPAN CLASS="MATH"><IMG
- STYLE="height: 2.55ex; vertical-align: -0.70ex; " 
SRC="tex_complex_l2h_img2.svg"
+ STYLE="height: 2.78ex; vertical-align: -0.70ex; " 
SRC="tex_complex_l2h_img2.svg"
  ALT="$(I-D) \varphi(t)$"></SPAN>
 
 <!-- l2h_end tex_complex_l2h 2 -->
@@ -55,7 +55,7 @@ U w V^\dagger
  -->
 
 <IMG
- STYLE="height: 2.31ex; vertical-align: -0.12ex; " 
SRC="tex_complex_l2h_img3.svg"
+ STYLE="height: 2.54ex; vertical-align: -0.12ex; " 
SRC="tex_complex_l2h_img3.svg"
  ALT="$\displaystyle U w V^\dagger
 $">
 </DIV>
@@ -65,7 +65,7 @@ $">
 
 <!-- l2h_begin tex_complex_l2h 4 -->
 <SPAN CLASS="MATH"><IMG
- STYLE="height: 2.52ex; vertical-align: -0.57ex; " 
SRC="tex_complex_l2h_img4.svg"
+ STYLE="height: 2.75ex; vertical-align: -0.57ex; " 
SRC="tex_complex_l2h_img4.svg"
  ALT="$\phi w V^t$"></SPAN>
 
 <!-- l2h_end tex_complex_l2h 4 -->
@@ -79,7 +79,7 @@ $">
  -->
 
 <IMG
- STYLE="height: 2.55ex; vertical-align: -0.70ex; " 
SRC="tex_complex_l2h_img5.svg"
+ STYLE="height: 2.78ex; vertical-align: -0.70ex; " 
SRC="tex_complex_l2h_img5.svg"
  ALT="$\displaystyle \omega = h ( \eta , \varphi)
 $">
 </DIV>
@@ -92,7 +92,7 @@ $">
  $h \dot \psi^\phi$
  -->
 <SPAN CLASS="MATH"><IMG
- STYLE="height: 2.84ex; vertical-align: -0.57ex; " 
SRC="tex_complex_l2h_img6.svg"
+ STYLE="height: 3.07ex; vertical-align: -0.57ex; " 
SRC="tex_complex_l2h_img6.svg"
  ALT="$h \dot \psi^\phi$"></SPAN>
 
 <!-- l2h_end tex_complex_l2h 6 -->
diff --git 
a/tp/tests/tex_html/res_parser/tex_complex_l2h/tex_complex_l2h_images.tex 
b/tp/tests/tex_html/res_parser/tex_complex_l2h/tex_complex_l2h_images.tex
index 650e2e8..890c3f7 100644
--- a/tp/tests/tex_html/res_parser/tex_complex_l2h/tex_complex_l2h_images.tex
+++ b/tp/tests/tex_html/res_parser/tex_complex_l2h/tex_complex_l2h_images.tex
@@ -33,7 +33,6 @@
 \addtolength{\textheight}{\topmargin}\setlength{\topmargin}{0pt}
 \addtolength{\textheight}{\headheight}\setlength{\headheight}{0pt}
 \addtolength{\textheight}{\headsep}\setlength{\headsep}{0pt}
-\setlength{\textwidth}{451pt}
 \setlength{\textheight}{554pt}
 \newwrite\lthtmlwrite
 \makeatletter
@@ -52,6 +51,7 @@
  \def\phantompar{\csname par\endcsname}\normalsize}%
 \def\lthtmltypeout#1{{\let\protect\string \immediate\write\lthtmlwrite{#1}}}%
 \usepackage[tightpage,active]{preview}
+\PreviewBorder=1bp
 \newbox\lthtmlPageBox
 \newdimen\lthtmlCropMarkHeight
 \newdimen\lthtmlCropMarkDepth
@@ -64,10 +64,10 @@
     
\lthtmltypeout{^^J:\lthtmllabel:lthtmlCropMarkDepth:=\the\lthtmlCropMarkDepth:1ex:=\the
 \dimexpr 1ex}%
     \begin{preview}\copy\lthtmlPageBox\end{preview}}%
 \long\def\lthtmlTightFBoxA#1{\def\lthtmllabel{#1}%
-    \adjustnormalsize\setbox\lthtmlPageBox=\vbox\bgroup %
+    \adjustnormalsize\setbox\lthtmlPageBox=\vbox\bgroup\hbox\bgroup %
     \let\ifinner=\iffalse \let\)\liih@math %
     \bgroup\catcode`\_=8 }%
-\long\def\lthtmlTightFBoxZ{\egroup
+\long\def\lthtmlTightFBoxZ{\egroup\egroup
     \@next\next\@currlist{}{\def\next{\voidb@x}}%
     \expandafter\box\next\egroup %
     \lthtmlCropMarkHeight=\ht\lthtmlPageBox \advance \lthtmlCropMarkHeight 6pt
diff --git 
a/tp/tests/tex_html/res_parser/tex_eqalign_httex/tex_eqalign_tex4ht_tex.css 
b/tp/tests/tex_html/res_parser/tex_eqalign_httex/tex_eqalign_tex4ht_tex.css
index 14d3398..d651237 100644
--- a/tp/tests/tex_html/res_parser/tex_eqalign_httex/tex_eqalign_tex4ht_tex.css
+++ b/tp/tests/tex_html/res_parser/tex_eqalign_httex/tex_eqalign_tex4ht_tex.css
@@ -8,6 +8,7 @@ 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; }
diff --git 
a/tp/tests/tex_html/res_parser/tex_eqalign_httex/tex_eqalign_tex4ht_tex.lg 
b/tp/tests/tex_html/res_parser/tex_eqalign_httex/tex_eqalign_tex4ht_tex.lg
index 0242d09..c4d109b 100644
--- a/tp/tests/tex_html/res_parser/tex_eqalign_httex/tex_eqalign_tex4ht_tex.lg
+++ b/tp/tests/tex_html/res_parser/tex_eqalign_httex/tex_eqalign_tex4ht_tex.lg
@@ -10,6 +10,7 @@ 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;}
diff --git 
a/tp/tests/tex_html/res_parser/tex_eqalign_l2h/tex_eqalign-l2h_cache.pm 
b/tp/tests/tex_html/res_parser/tex_eqalign_l2h/tex_eqalign-l2h_cache.pm
index dd6dfb6..c928167 100644
--- a/tp/tests/tex_html/res_parser/tex_eqalign_l2h/tex_eqalign-l2h_cache.pm
+++ b/tp/tests/tex_html/res_parser/tex_eqalign_l2h/tex_eqalign-l2h_cache.pm
@@ -15,7 +15,7 @@ $l2h_cache{$l2h_cache_key} = q|<DIV CLASS="displaymath">
  -->
 
 <IMG
- STYLE="height: 5.37ex; vertical-align: -2.12ex; " SRC="tex_eqalign_1.svg"
+ STYLE="height: 5.61ex; vertical-align: -2.12ex; " SRC="tex_eqalign_1.svg"
  ALT="$\displaystyle \leqalignno{
 \int v(t)\, dt &amp;= u(t) + C&amp;[3.1]\cr
 \int v(t)\, dt &amp;= u(t) + H&amp;[3.2]\cr
@@ -39,7 +39,7 @@ $l2h_cache{$l2h_cache_key} = q|<DIV CLASS="displaymath">
  -->
 
 <IMG
- STYLE="height: 5.37ex; vertical-align: -2.12ex; " SRC="tex_eqalign_1.svg"
+ STYLE="height: 5.61ex; vertical-align: -2.12ex; " SRC="tex_eqalign_1.svg"
  ALT="$\displaystyle \leqalignno{
 \int v(t)\, dt &amp;= u(t) + C&amp;[3.1]\cr
 \int v(t)\, dt &amp;= u(t) + H&amp;[3.2]\cr
diff --git a/tp/tests/tex_html/res_parser/tex_eqalign_l2h/tex_eqalign.html 
b/tp/tests/tex_html/res_parser/tex_eqalign_l2h/tex_eqalign.html
index efae781..ae554eb 100644
--- a/tp/tests/tex_html/res_parser/tex_eqalign_l2h/tex_eqalign.html
+++ b/tp/tests/tex_html/res_parser/tex_eqalign_l2h/tex_eqalign.html
@@ -50,7 +50,7 @@ ul.no-bullet {list-style: none}
  -->
 
 <IMG
- STYLE="height: 5.37ex; vertical-align: -2.12ex; " SRC="tex_eqalign_1.svg"
+ STYLE="height: 5.61ex; vertical-align: -2.12ex; " SRC="tex_eqalign_1.svg"
  ALT="$\displaystyle \leqalignno{
 \int v(t)\, dt &amp;= u(t) + C&amp;[3.1]\cr
 \int v(t)\, dt &amp;= u(t) + H&amp;[3.2]\cr
@@ -69,7 +69,7 @@ $">
  -->
 
 <IMG
- STYLE="height: 5.37ex; vertical-align: -2.12ex; " SRC="tex_eqalign_1.svg"
+ STYLE="height: 5.61ex; vertical-align: -2.12ex; " SRC="tex_eqalign_1.svg"
  ALT="$\displaystyle \leqalignno{
 \int v(t)\, dt &amp;= u(t) + C&amp;[3.1]\cr
 \int v(t)\, dt &amp;= u(t) + H&amp;[3.2]\cr
diff --git a/tp/tests/tex_html/res_parser/tex_eqalign_l2h/tex_eqalign_l2h.html 
b/tp/tests/tex_html/res_parser/tex_eqalign_l2h/tex_eqalign_l2h.html
index 9f3aa63..f64761b 100644
--- a/tp/tests/tex_html/res_parser/tex_eqalign_l2h/tex_eqalign_l2h.html
+++ b/tp/tests/tex_html/res_parser/tex_eqalign_l2h/tex_eqalign_l2h.html
@@ -31,7 +31,7 @@
  -->
 
 <IMG
- STYLE="height: 5.37ex; vertical-align: -2.12ex; " 
SRC="tex_eqalign_l2h_img1.svg"
+ STYLE="height: 5.61ex; vertical-align: -2.12ex; " 
SRC="tex_eqalign_l2h_img1.svg"
  ALT="$\displaystyle \leqalignno{
 \int v(t)\, dt &amp;= u(t) + C&amp;[3.1]\cr
 \int v(t)\, dt &amp;= u(t) + H&amp;[3.2]\cr
@@ -54,7 +54,7 @@ $">
  -->
 
 <IMG
- STYLE="height: 5.37ex; vertical-align: -2.12ex; " 
SRC="tex_eqalign_l2h_img1.svg"
+ STYLE="height: 5.61ex; vertical-align: -2.12ex; " 
SRC="tex_eqalign_l2h_img1.svg"
  ALT="$\displaystyle \leqalignno{
 \int v(t)\, dt &amp;= u(t) + C&amp;[3.1]\cr
 \int v(t)\, dt &amp;= u(t) + H&amp;[3.2]\cr
diff --git 
a/tp/tests/tex_html/res_parser/tex_eqalign_l2h/tex_eqalign_l2h_images.tex 
b/tp/tests/tex_html/res_parser/tex_eqalign_l2h/tex_eqalign_l2h_images.tex
index 63fce76..be1b18f 100644
--- a/tp/tests/tex_html/res_parser/tex_eqalign_l2h/tex_eqalign_l2h_images.tex
+++ b/tp/tests/tex_html/res_parser/tex_eqalign_l2h/tex_eqalign_l2h_images.tex
@@ -33,7 +33,6 @@
 \addtolength{\textheight}{\topmargin}\setlength{\topmargin}{0pt}
 \addtolength{\textheight}{\headheight}\setlength{\headheight}{0pt}
 \addtolength{\textheight}{\headsep}\setlength{\headsep}{0pt}
-\setlength{\textwidth}{451pt}
 \setlength{\textheight}{554pt}
 \newwrite\lthtmlwrite
 \makeatletter
@@ -52,6 +51,7 @@
  \def\phantompar{\csname par\endcsname}\normalsize}%
 \def\lthtmltypeout#1{{\let\protect\string \immediate\write\lthtmlwrite{#1}}}%
 \usepackage[tightpage,active]{preview}
+\PreviewBorder=1bp
 \newbox\lthtmlPageBox
 \newdimen\lthtmlCropMarkHeight
 \newdimen\lthtmlCropMarkDepth
@@ -64,10 +64,10 @@
     
\lthtmltypeout{^^J:\lthtmllabel:lthtmlCropMarkDepth:=\the\lthtmlCropMarkDepth:1ex:=\the
 \dimexpr 1ex}%
     \begin{preview}\copy\lthtmlPageBox\end{preview}}%
 \long\def\lthtmlTightFBoxA#1{\def\lthtmllabel{#1}%
-    \adjustnormalsize\setbox\lthtmlPageBox=\vbox\bgroup %
+    \adjustnormalsize\setbox\lthtmlPageBox=\vbox\bgroup\hbox\bgroup %
     \let\ifinner=\iffalse \let\)\liih@math %
     \bgroup\catcode`\_=8 }%
-\long\def\lthtmlTightFBoxZ{\egroup
+\long\def\lthtmlTightFBoxZ{\egroup\egroup
     \@next\next\@currlist{}{\def\next{\voidb@x}}%
     \expandafter\box\next\egroup %
     \lthtmlCropMarkHeight=\ht\lthtmlPageBox \advance \lthtmlCropMarkHeight 6pt
diff --git 
a/tp/tests/tex_html/res_parser/tex_gdef_httex/tex_gdef_tex4ht_tex.css 
b/tp/tests/tex_html/res_parser/tex_gdef_httex/tex_gdef_tex4ht_tex.css
index faa0ef0..6162bec 100644
--- a/tp/tests/tex_html/res_parser/tex_gdef_httex/tex_gdef_tex4ht_tex.css
+++ b/tp/tests/tex_html/res_parser/tex_gdef_httex/tex_gdef_tex4ht_tex.css
@@ -9,6 +9,7 @@ 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; }
diff --git a/tp/tests/tex_html/res_parser/tex_gdef_httex/tex_gdef_tex4ht_tex.lg 
b/tp/tests/tex_html/res_parser/tex_gdef_httex/tex_gdef_tex4ht_tex.lg
index d14638c..149df02 100644
--- a/tp/tests/tex_html/res_parser/tex_gdef_httex/tex_gdef_tex4ht_tex.lg
+++ b/tp/tests/tex_html/res_parser/tex_gdef_httex/tex_gdef_tex4ht_tex.lg
@@ -10,6 +10,7 @@ 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;}
diff --git a/tp/tests/tex_html/res_parser/tex_gdef_l2h/tex_gdef-l2h_cache.pm 
b/tp/tests/tex_html/res_parser/tex_gdef_l2h/tex_gdef-l2h_cache.pm
index fdbee0d..29febfe 100644
--- a/tp/tests/tex_html/res_parser/tex_gdef_l2h/tex_gdef-l2h_cache.pm
+++ b/tp/tests/tex_html/res_parser/tex_gdef_l2h/tex_gdef-l2h_cache.pm
@@ -12,7 +12,7 @@ $l2h_cache{$l2h_cache_key} = q|<DIV CLASS="displaymath">
  -->
 
 <IMG
- STYLE="height: 3.32ex; vertical-align: -0.31ex; " SRC="tex_gdef_2.svg"
+ STYLE="height: 3.55ex; vertical-align: -0.31ex; " SRC="tex_gdef_2.svg"
  ALT="$\displaystyle \buildrel \rm def \over \equiv a \equiv b\sqrt{64}
 $">
 </DIV>
@@ -23,7 +23,7 @@ $l2h_cache{$l2h_cache_key} = q|<!-- MATH
  $\buildrel \rm def \over \equiv a \equiv b\sqrt{64}$
  -->
 <SPAN CLASS="MATH"><IMG
- STYLE="height: 3.43ex; vertical-align: -0.42ex; " SRC="tex_gdef_1.svg"
+ STYLE="height: 3.66ex; vertical-align: -0.42ex; " SRC="tex_gdef_1.svg"
  ALT="$\buildrel \rm def \over \equiv a \equiv b\sqrt{64}$"></SPAN>|;
 
 $l2h_cache_key = q/$\def\otest{\sqrt{64}} $/;
diff --git a/tp/tests/tex_html/res_parser/tex_gdef_l2h/tex_gdef.html 
b/tp/tests/tex_html/res_parser/tex_gdef_l2h/tex_gdef.html
index 8abf5ce..8b4e0d1 100644
--- a/tp/tests/tex_html/res_parser/tex_gdef_l2h/tex_gdef.html
+++ b/tp/tests/tex_html/res_parser/tex_gdef_l2h/tex_gdef.html
@@ -49,7 +49,7 @@ ul.no-bullet {list-style: none}
  $\buildrel \rm def \over \equiv a \equiv b\sqrt{64}$
  -->
 <SPAN CLASS="MATH"><IMG
- STYLE="height: 3.43ex; vertical-align: -0.42ex; " SRC="tex_gdef_1.svg"
+ STYLE="height: 3.66ex; vertical-align: -0.42ex; " SRC="tex_gdef_1.svg"
  ALT="$\buildrel \rm def \over \equiv a \equiv b\sqrt{64}$"></SPAN>
 </p>
 <DIV CLASS="displaymath">
@@ -60,7 +60,7 @@ ul.no-bullet {list-style: none}
  -->
 
 <IMG
- STYLE="height: 3.32ex; vertical-align: -0.31ex; " SRC="tex_gdef_2.svg"
+ STYLE="height: 3.55ex; vertical-align: -0.31ex; " SRC="tex_gdef_2.svg"
  ALT="$\displaystyle \buildrel \rm def \over \equiv a \equiv b\sqrt{64}
 $">
 </DIV>
diff --git a/tp/tests/tex_html/res_parser/tex_gdef_l2h/tex_gdef_l2h.html 
b/tp/tests/tex_html/res_parser/tex_gdef_l2h/tex_gdef_l2h.html
index 59b1512..696f55a 100644
--- a/tp/tests/tex_html/res_parser/tex_gdef_l2h/tex_gdef_l2h.html
+++ b/tp/tests/tex_html/res_parser/tex_gdef_l2h/tex_gdef_l2h.html
@@ -39,7 +39,7 @@
  $\buildrel \rm def \over \equiv a \equiv b\sqrt{64}$
  -->
 <SPAN CLASS="MATH"><IMG
- STYLE="height: 3.43ex; vertical-align: -0.42ex; " SRC="tex_gdef_l2h_img1.svg"
+ STYLE="height: 3.66ex; vertical-align: -0.42ex; " SRC="tex_gdef_l2h_img1.svg"
  ALT="$\buildrel \rm def \over \equiv a \equiv b\sqrt{64}$"></SPAN>
 
 <!-- l2h_end tex_gdef_l2h 4 -->
@@ -53,7 +53,7 @@
  -->
 
 <IMG
- STYLE="height: 3.32ex; vertical-align: -0.31ex; " SRC="tex_gdef_l2h_img2.svg"
+ STYLE="height: 3.55ex; vertical-align: -0.31ex; " SRC="tex_gdef_l2h_img2.svg"
  ALT="$\displaystyle \buildrel \rm def \over \equiv a \equiv b\sqrt{64}
 $">
 </DIV>
diff --git a/tp/tests/tex_html/res_parser/tex_gdef_l2h/tex_gdef_l2h_images.tex 
b/tp/tests/tex_html/res_parser/tex_gdef_l2h/tex_gdef_l2h_images.tex
index a18fda0..f2dc614 100644
--- a/tp/tests/tex_html/res_parser/tex_gdef_l2h/tex_gdef_l2h_images.tex
+++ b/tp/tests/tex_html/res_parser/tex_gdef_l2h/tex_gdef_l2h_images.tex
@@ -33,7 +33,6 @@
 \addtolength{\textheight}{\topmargin}\setlength{\topmargin}{0pt}
 \addtolength{\textheight}{\headheight}\setlength{\headheight}{0pt}
 \addtolength{\textheight}{\headsep}\setlength{\headsep}{0pt}
-\setlength{\textwidth}{451pt}
 \setlength{\textheight}{554pt}
 \newwrite\lthtmlwrite
 \makeatletter
@@ -52,6 +51,7 @@
  \def\phantompar{\csname par\endcsname}\normalsize}%
 \def\lthtmltypeout#1{{\let\protect\string \immediate\write\lthtmlwrite{#1}}}%
 \usepackage[tightpage,active]{preview}
+\PreviewBorder=1bp
 \newbox\lthtmlPageBox
 \newdimen\lthtmlCropMarkHeight
 \newdimen\lthtmlCropMarkDepth
@@ -64,10 +64,10 @@
     
\lthtmltypeout{^^J:\lthtmllabel:lthtmlCropMarkDepth:=\the\lthtmlCropMarkDepth:1ex:=\the
 \dimexpr 1ex}%
     \begin{preview}\copy\lthtmlPageBox\end{preview}}%
 \long\def\lthtmlTightFBoxA#1{\def\lthtmllabel{#1}%
-    \adjustnormalsize\setbox\lthtmlPageBox=\vbox\bgroup %
+    \adjustnormalsize\setbox\lthtmlPageBox=\vbox\bgroup\hbox\bgroup %
     \let\ifinner=\iffalse \let\)\liih@math %
     \bgroup\catcode`\_=8 }%
-\long\def\lthtmlTightFBoxZ{\egroup
+\long\def\lthtmlTightFBoxZ{\egroup\egroup
     \@next\next\@currlist{}{\def\next{\voidb@x}}%
     \expandafter\box\next\egroup %
     \lthtmlCropMarkHeight=\ht\lthtmlPageBox \advance \lthtmlCropMarkHeight 6pt
diff --git a/tp/tests/tex_html/res_parser/tex_httex/tex_tex4ht_tex.css 
b/tp/tests/tex_html/res_parser/tex_httex/tex_tex4ht_tex.css
index c002d15..f3fb176 100644
--- a/tp/tests/tex_html/res_parser/tex_httex/tex_tex4ht_tex.css
+++ b/tp/tests/tex_html/res_parser/tex_httex/tex_tex4ht_tex.css
@@ -11,6 +11,7 @@ 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; }
diff --git a/tp/tests/tex_html/res_parser/tex_httex/tex_tex4ht_tex.lg 
b/tp/tests/tex_html/res_parser/tex_httex/tex_tex4ht_tex.lg
index 5ffca8c..f028bfc 100644
--- a/tp/tests/tex_html/res_parser/tex_httex/tex_tex4ht_tex.lg
+++ b/tp/tests/tex_html/res_parser/tex_httex/tex_tex4ht_tex.lg
@@ -10,6 +10,7 @@ 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;}
diff --git 
a/tp/tests/tex_html/res_parser/tex_in_copying/tex_in_copying-l2h_cache.pm 
b/tp/tests/tex_html/res_parser/tex_in_copying/tex_in_copying-l2h_cache.pm
index 32256ed..2e23574 100644
--- a/tp/tests/tex_html/res_parser/tex_in_copying/tex_in_copying-l2h_cache.pm
+++ b/tp/tests/tex_html/res_parser/tex_in_copying/tex_in_copying-l2h_cache.pm
@@ -10,7 +10,7 @@ $l2h_cache{$l2h_cache_key} = q|<DIV CLASS="displaymath">
  -->
 
 <IMG
- STYLE="height: 2.84ex; vertical-align: -0.57ex; " SRC="tex_in_copying_2.svg"
+ STYLE="height: 3.07ex; vertical-align: -0.57ex; " SRC="tex_in_copying_2.svg"
  ALT="$\displaystyle 2 a = \dot{\phi}
 $">
 </DIV>
@@ -29,7 +29,7 @@ a = \phi
  -->
 
 <IMG
- STYLE="height: 2.29ex; vertical-align: -0.57ex; " SRC="tex_in_copying_1.svg"
+ STYLE="height: 2.52ex; vertical-align: -0.57ex; " SRC="tex_in_copying_1.svg"
  ALT="$\displaystyle a = \phi
 $">
 </DIV>
diff --git a/tp/tests/tex_html/res_parser/tex_in_copying/tex_in_copying.html 
b/tp/tests/tex_html/res_parser/tex_in_copying/tex_in_copying.html
index 2c1fc12..cc0d573 100644
--- a/tp/tests/tex_html/res_parser/tex_in_copying/tex_in_copying.html
+++ b/tp/tests/tex_html/res_parser/tex_in_copying/tex_in_copying.html
@@ -68,7 +68,7 @@ a = \phi
  -->
 
 <IMG
- STYLE="height: 2.29ex; vertical-align: -0.57ex; " SRC="tex_in_copying_1.svg"
+ STYLE="height: 2.52ex; vertical-align: -0.57ex; " SRC="tex_in_copying_1.svg"
  ALT="$\displaystyle a = \phi
 $">
 </DIV>
@@ -91,7 +91,7 @@ a = \phi
  -->
 
 <IMG
- STYLE="height: 2.29ex; vertical-align: -0.57ex; " SRC="tex_in_copying_1.svg"
+ STYLE="height: 2.52ex; vertical-align: -0.57ex; " SRC="tex_in_copying_1.svg"
  ALT="$\displaystyle a = \phi
 $">
 </DIV>
@@ -126,7 +126,7 @@ $">
  -->
 
 <IMG
- STYLE="height: 2.84ex; vertical-align: -0.57ex; " SRC="tex_in_copying_2.svg"
+ STYLE="height: 3.07ex; vertical-align: -0.57ex; " SRC="tex_in_copying_2.svg"
  ALT="$\displaystyle 2 a = \dot{\phi}
 $">
 </DIV>
@@ -143,7 +143,7 @@ a = \phi
  -->
 
 <IMG
- STYLE="height: 2.29ex; vertical-align: -0.57ex; " SRC="tex_in_copying_1.svg"
+ STYLE="height: 2.52ex; vertical-align: -0.57ex; " SRC="tex_in_copying_1.svg"
  ALT="$\displaystyle a = \phi
 $">
 </DIV>
diff --git 
a/tp/tests/tex_html/res_parser/tex_in_copying/tex_in_copying_l2h.html 
b/tp/tests/tex_html/res_parser/tex_in_copying/tex_in_copying_l2h.html
index 2dd8cc5..beff6b2 100644
--- a/tp/tests/tex_html/res_parser/tex_in_copying/tex_in_copying_l2h.html
+++ b/tp/tests/tex_html/res_parser/tex_in_copying/tex_in_copying_l2h.html
@@ -29,7 +29,7 @@ a = \phi
  -->
 
 <IMG
- STYLE="height: 2.29ex; vertical-align: -0.57ex; " 
SRC="tex_in_copying_l2h_img1.svg"
+ STYLE="height: 2.52ex; vertical-align: -0.57ex; " 
SRC="tex_in_copying_l2h_img1.svg"
  ALT="$\displaystyle a = \phi
 $">
 </DIV>
@@ -46,7 +46,7 @@ $">
  -->
 
 <IMG
- STYLE="height: 2.84ex; vertical-align: -0.57ex; " 
SRC="tex_in_copying_l2h_img2.svg"
+ STYLE="height: 3.07ex; vertical-align: -0.57ex; " 
SRC="tex_in_copying_l2h_img2.svg"
  ALT="$\displaystyle 2 a = \dot{\phi}
 $">
 </DIV>
diff --git 
a/tp/tests/tex_html/res_parser/tex_in_copying/tex_in_copying_l2h_images.tex 
b/tp/tests/tex_html/res_parser/tex_in_copying/tex_in_copying_l2h_images.tex
index 91ae6e7..cf3c0f4 100644
--- a/tp/tests/tex_html/res_parser/tex_in_copying/tex_in_copying_l2h_images.tex
+++ b/tp/tests/tex_html/res_parser/tex_in_copying/tex_in_copying_l2h_images.tex
@@ -33,7 +33,6 @@
 \addtolength{\textheight}{\topmargin}\setlength{\topmargin}{0pt}
 \addtolength{\textheight}{\headheight}\setlength{\headheight}{0pt}
 \addtolength{\textheight}{\headsep}\setlength{\headsep}{0pt}
-\setlength{\textwidth}{451pt}
 \setlength{\textheight}{554pt}
 \newwrite\lthtmlwrite
 \makeatletter
@@ -52,6 +51,7 @@
  \def\phantompar{\csname par\endcsname}\normalsize}%
 \def\lthtmltypeout#1{{\let\protect\string \immediate\write\lthtmlwrite{#1}}}%
 \usepackage[tightpage,active]{preview}
+\PreviewBorder=1bp
 \newbox\lthtmlPageBox
 \newdimen\lthtmlCropMarkHeight
 \newdimen\lthtmlCropMarkDepth
@@ -64,10 +64,10 @@
     
\lthtmltypeout{^^J:\lthtmllabel:lthtmlCropMarkDepth:=\the\lthtmlCropMarkDepth:1ex:=\the
 \dimexpr 1ex}%
     \begin{preview}\copy\lthtmlPageBox\end{preview}}%
 \long\def\lthtmlTightFBoxA#1{\def\lthtmllabel{#1}%
-    \adjustnormalsize\setbox\lthtmlPageBox=\vbox\bgroup %
+    \adjustnormalsize\setbox\lthtmlPageBox=\vbox\bgroup\hbox\bgroup %
     \let\ifinner=\iffalse \let\)\liih@math %
     \bgroup\catcode`\_=8 }%
-\long\def\lthtmlTightFBoxZ{\egroup
+\long\def\lthtmlTightFBoxZ{\egroup\egroup
     \@next\next\@currlist{}{\def\next{\voidb@x}}%
     \expandafter\box\next\egroup %
     \lthtmlCropMarkHeight=\ht\lthtmlPageBox \advance \lthtmlCropMarkHeight 6pt



reply via email to

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