[tex4ht] [bug #636] tex4ht loses table boarders when adding color

Nasser M. Abbasi puszcza-hackers at gnu.org.ua
Sat Sep 28 06:32:47 CEST 2024


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

                 Summary: tex4ht loses table boarders when adding color
                 Project: tex4ht
            Submitted by: nma123
            Submitted on: Sat Sep 28 04:32:47 2024
                Category: None
                Priority: 5 - Normal
                Severity: 7 - Important
                  Status: None
                 Privacy: Public
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any

    _______________________________________________________

Details:


I wanted to have table with light gray color for its borders.

So I wrote this

-----------------------
\documentclass[12pt]{book}%
\usepackage{longtable}

\usepackage{xcolor,colortbl}
\definecolor{lightgray}{rgb}{0.83, 0.83, 0.83}
\arrayrulecolor{lightgray}

\begin{document}

\begin{longtable}{|p{2in}|p{2in}|p{2in}|}\hline
A&B&C \\ \hline 
A&B&C \\ \hline 
A&B&C \\ \hline 
\end{longtable}
\end{document}
-------------------------

It works OK in pdf.

But Compiled with 

make4ht -ulm default -a warning A.tex 'mathjax,htm'

Gives HTML with the table missing all the horizontal table edges between the
rows.

Removing the commands

\usepackage{xcolor,colortbl}
\definecolor{lightgray}{rgb}{0.83, 0.83, 0.83}
\arrayrulecolor{lightgray}


Now all the table borders show up. (using default black color).

TL 2024







    _______________________________________________________

Reply to this item at:

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

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



More information about the tex4ht mailing list.