It seems to be a problem still not solved (related to question 311689 and 73508). The usage of colortbl
package with tex4ht
causes the error: Misplaced \noalign
.
Here is a short example to reproduce the error:
\documentclass[10pt,a4paper]{article}
\usepackage[utf8]{inputenc}
\usepackage{colortbl}
\begin{document}
\begin{tabular}{ll}
\arrayrulecolor[gray]{.7}
\hline
test & 1 \\
test & 2 \\
\arrayrulecolor{black}
\hline
\end{tabular}
\end{document}
In the .log
file I got:
! Misplaced \noalign.
\a:hline ->\ifx \ar:cnt \:UnDef \else \o:noalign:
{\append:def \hline:s {\a:...
l.7 \hline
I've also tried to define a .cfg
file to make the command \arrayrulecolor
do nothing:
\Preamble{xhtml}
\renewcommand\arrayrulecolor[2][1]{\ignorespaces}
\begin{document}
\EndPreamble
Unfortunately it also did not work.