[tex4ht] how to make clickable hyperlink with htlatex when using htef inside a table?

Nasser M. Abbasi nma at 12000.org
Thu Mar 28 23:33:18 CET 2013


When generating HTML from this file

----------------------
\documentclass{article}%
\usepackage{hyperref}
\begin{document}

\[%
\begin{tabular}[c]{|l|}\hline
\href{http://www.google.com}{web site}\\\hline
\end{tabular}
\]

\end{document}
----------------------

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.

Is there a way to tell htlatex not to generate image
for the table so one can click on the links?

t4ht.c (2009-01-31-07:34 kpathsea)

--------------------------------------
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
   "http://www.w3.org/TR/html4/loose.dtd">
<html >
<head><title></title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="generator" content="TeX4ht (http://www.cse.ohio-state.edu/~gurari/TeX4ht/)">
<meta name="originator" content="TeX4ht (http://www.cse.ohio-state.edu/~gurari/TeX4ht/)">
<!-- html -->
<meta name="src" content="index.tex">
<meta name="date" content="2013-03-28 17:26:00">
<link rel="stylesheet" type="text/css" href="index.css">
</head><body
>
    <center class="par-math-display" >
<img
src="index0x.png" alt="|--------|
|web-site-|
" class="par-math-display" ></center>
<!--l. 9--><p class="nopar" >
     
</body></html>
-------------------------------------

thanks,
--Nasser


More information about the tex4ht mailing list