tex4ht for some reasons added extra horizontal lines above and below each table. While these lines do not show in pdf.

Here is a MWE


This is my table

A & B \\\hline
853.075 (sec) & 43.711 (sec)\\\hline
14.218 (minutes) & 0.729 (minutes)\\\hline

my table is done    

Compiled using lualatex gives

Mathematica graphics

But compiled using make4ht foo.tex "htm" gives extra horizontal lines above and below the table, which I did not ask for

enter image description here


Try the following code:

\Configure{float}{\csname par\endcsname\ShowPar}
{\ifvmode\IgnorePar\fi\EndP\HCode{<div class="float">}}

It is based on the original tex4ht code, only the horizontal rules were removed.

The result:

enter image description here

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.