htlatex table compilation error using revtex4-1.cls

214 Views Asked by At

I am getting error while converting a LaTeX table to HTML using htlatex. Following is the TeX code:

\documentclass[aps,english,prb,reprint,superscriptaddress,citeautoscript,showpacs]{revtex4-1}

\begin{document}

\begin{table*}
\centering
\caption{\label{table1} Table Caption}
\begin{tabular}{lcc} 
abc & def & ghi\\
xyz & pqr & tbl
\end{tabular}
\end{table*}

\end{document} 
1

There are 1 best solutions below

2
On

You can avoid the conflict between htlatex and the revtex4-1 class by using a suitable .4ht configuration file.

I don't know if there is already one for revtex4-1, but for revtex4 there is one available from

http://texlive.tug.org/texlive/Contents/live/texmf-dist/tex/generic/tex4ht/revtex4.4ht

Download the file, rename it to revtex4-1.4ht and place it in the same directory as your .tex file.

enter image description here