#67491 Equation numbering bug in LaTeX2HTML

#67491#5
Date:
2000-07-20 06:48:45 UTC
From:
To:
Hi,
	There seems to be a bug in equation numbering when boxes are
used. For eg., when the following LaTeX document is used
-----
\documentclass[12pt, a4paper]{article}
\usepackage{epsfig,enumerate,verbatim,epic,eepic}
%section number and title
\newcommand{\eq}{\begin{equation}}
\newcommand{\qe}{\end{equation}}
\newcommand{\eqr}{\begin{eqnarray}}
\newcommand{\rqe}{\end{eqnarray}}
\def\boxit#1{\bigskip \fbox{\fbox{\parbox{12cm}{#1}}}\bigskip}

\begin{document}
\section{Section with Box}
\boxit{
This equation is inside a box
\eq
a = 1
\label{a}
\qe
}

This equation is outside a box
\eq
b = 1
\label{b}
\qe

This is a reference to the equation in the box \ref{a}. This is a
reference to the equation outside the box \ref{b}.

\end{document}
-----
-both- equations are labelled (1) while the reference to the second is
given as 2 (the result can be seen at http://www.srikant.org/testing). The
reference link does bring one to the correct equation though. Hence, the
only problem seems to be with the numbering.

Regards,
Srikant

#67491#8
Date:
2000-08-15 07:20:17 UTC
From:
To:
Hi,
        [Please keep the CC to 67491-forwarded@bugs.debian.org so that
        the bug tracking system retains a record of your input]

        I tried this with 99.2beta8, and this is still present.

======================================================================
        There seems to be a bug in equation numbering when boxes are
used. For eg., when the following LaTeX document is used
-----
\documentclass[12pt, a4paper]{article}
\usepackage{epsfig,enumerate,verbatim,epic,eepic}
%section number and title
\newcommand{\eq}{\begin{equation}}
\newcommand{\qe}{\end{equation}}
\newcommand{\eqr}{\begin{eqnarray}}
\newcommand{\rqe}{\end{eqnarray}}
\def\boxit#1{\bigskip \fbox{\fbox{\parbox{12cm}{#1}}}\bigskip}

\begin{document}
\section{Section with Box}
\boxit{
This equation is inside a box
\eq
a = 1
\label{a}
\qe
}

This equation is outside a box
\eq
b = 1
\label{b}
\qe

This is a reference to the equation in the box \ref{a}. This is a
reference to the equation outside the box \ref{b}.

\end{document}
-----
-both- equations are labelled (1) while the reference to the second is
given as 2 (the result can be seen at http://www.srikant.org/testing). The
reference link does bring one to the correct equation though. Hence, the
only problem seems to be with the numbering.
Regards,
Srikant
======================================================================

     manoj

#67491#15
Date:
2010-07-24 17:35:05 UTC
From:
To:
Still present in 2008-debian1-4