[tex4ht] [bug #466] tex4ht produces wrong table when adding td { padding: 10px; }

Nasser M. Abbasi puszcza-hackers at gnu.org.ua
Sat May 16 02:15:02 CEST 2020


URL:
  <http://puszcza.gnu.org.ua/bugs/?466>

                 Summary: tex4ht produces wrong table when adding  td {
padding: 10px; }
                 Project: tex4ht
            Submitted by: nma123
            Submitted on: Sat 16 May 2020 03:12:51 AM EEST
                Category: None
                Priority: 5 - Normal
                Severity: 5 - Normal
                  Status: None
                 Privacy: Public
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any

    _______________________________________________________

Details:

The default table that tex4ht produces has small padding in table cells. I
wanted a little more space.

So I tried this

====================
\documentclass[12pt]{article}
\begin{document}
\ifdefined\HCode
   \Css{ td { padding: 10px; }}
\fi
\begin{tabular}{ |p{3in} | p{3in}|}\hline
text
&
text
\\\hline
\end{tabular}
\end{document}
=============================

Compiled using

make4ht -ulm default foo3.tex "htm,mathjax"

but the table it produces has partly extra row with edges cut of. It is all
wrong.  It should have one row.

Is there a way to increase padding of tables generated by tex4ht without this
problem?

I am using TL 2020.

Thanks
--Nasser






    _______________________________________________________

Reply to this item at:

  <http://puszcza.gnu.org.ua/bugs/?466>

_______________________________________________
  Message sent via/by Puszcza
  http://puszcza.gnu.org.ua/


More information about the tex4ht mailing list.