[tex4ht] (no subject)

William F Hammond gellmu at gmail.com
Fri Mar 29 00:44:26 CET 2013

nma writes:

When generating HTML from this file
\href{http://www.google.com}{web site}\\\hline
using the command
htlatex foo.tex
the generated HTML file has an image of the table, hence
the link is lost and one can't click on it. This is the html generated.

One can see that the table is a png image.

That is because the tabular environment has been enclosed in
a displaymath environment (\[ ... \]), and htlatex converts math to images.
Instead enclose the tabular environment in a "center" environment,
i.e., \begin{center} ... \end{center}.

          -- Bill

P.S.  This is an excellent example of why formally profiled LaTeX is a
good idea.  Under a normal profile tabular would not be allowed in
displaymath.  See my talk at TUG 2010

William F Hammond
Email: gellmu at gmail.com

More information about the tex4ht mailing list