During my work with LaTeX2HTML, I have found some things that causes errors in different ways, and which can be very time consuming to solve. For the interested reader, they are listed here, together with solutions / workarounds:
~'' as ``\~{}'', e.g.
\htmladdnormallinkfoot{my Web page}
{http://www.astro.ku.dk/\~{}milvang/}
\htmladdnormallink and \htmladdnormallinkfoot, not for \htmladdimg.
I have not found any way to make \htmladdimg use a URL with
a tilde in it. A workaround is to use the following instead:
\begin{rawhtml}
<img src="http://www.astro.ku.dk/~milvang/RelViz/Anim/01/a000.gif">
\end{rawhtml}
Note, that when using the rawhtml environment, a tilde
should (of course) just be written as a tilde.
_'' as ``\_'', e.g.
\htmladdnormallinkfoot{QuickTime}
{http://www.astro.ku.dk/\~{}milvang/RelViz/Anim/01/a\_over\_M.qt}
\begin{rawhtml} % bar
foo
\end{rawhtml} % bar
The workaround is not to place comments (i.e. ``% bar'' in the
example) right there.
\begin{center}
\begin{rawhtml}
<center>
\end{rawhtml}
Here goes the text to be centered.
\begin{rawhtml}
</center>
\end{rawhtml}
\end{center}