>
> Hi,
>
> We're using acronym.sty in some of our documents and run into problems
> when we run it through latex2html. It tries to produce the acronym
> list as an image and fails. Our work around is to include the acronym
> list in a latexonly section and then duplicate it as a description
> list inside an htmlonly section. Like this:
>
> \begin{latexonly}
> {\begin{acronym}
> \acro{ADCP}{Acoustic Doppler Current Profiler}.
> ...
> \end{acronym}
> }
> \end{latexonly}
>
> \begin{htmlonly}
> {\begin{description}
> \item [ADCP] Acoustic Doppler Current Profiler.
> ...
> \end{description}
> }
> \end{htmlonly}
>
> Has anyone seen this before and have a better solution?
Make conditional definitions instead:
\begin{htmlonly}
\newenvironment{acronym}{\begin{description}}{\end{description}}
\newcommand{\acro}[1]{\item[#1]}
\end{htmlonly}
Do this in the document preamble.
It should not be necessary to make any changes to the body.
Hope this helps,
Ross Moore