# [l2h] Equation numbering bug in LaTeX2HTML

Manoj Srivastava Manoj Srivastava <srivasta@acm.org>
15 Aug 2000 02:20:17 -0500

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{\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
--
The Banana Principle: Heuristic devices don't tell you when to
stop. --anonymous
Manoj Srivastava   <srivasta@acm.org>  <http://www.datasync.com/%7Esrivasta/>
1024R/C7261095 print CB D9 F4 12 68 07 E4 05  CC 2D 27 12 1D F5 E8 6E
1024D/BF24424C print 4966 F272 D093 B493 410B  924B 21BA DABB BF24 424C