[l2h] multline environment & equation numbering

ozarfreo at ugr.es ozarfreo at ugr.es
Thu Aug 4 14:10:57 CEST 2005


I've had this question for a long time, and although I asked several times
in this list I got no answer. I'll try once again to see if I'm more
lucky.

When I translate documents that contain numbered multline environments using
latex2html, these environments seem to be ignored in generated html links,
so that references to them do not point to the right equation. I have been
searching for some time on the internet and have found no help on this. I
have seen in the file amsmath.perl that comes with latex2html that support
for this environment seems not to be completed so far.

Is there any simple way to make the numbering come out right? Am I missing
something? Is this just something to do on future versions of latex2html?

The following is a simple example of a document where the reference won't
work in my system when translated:

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\documentclass[12pt]{article}

\usepackage{amsmath}

\begin{document}

Here goes a multline environment:
\begin{multline}\label{eq:1}
  x + 99999999999999999 x =\\
  100000000000000000 x
\end{multline}
And here an equation:
\begin{equation}
  \label{eq:2}
  a = \pi
\end{equation}
Referring to the first one, one gets this: (\ref{eq:1}).

\end{document}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%


Thanks,

José A. Cañizo



More information about the latex2html mailing list