Is this really a bug? Should I fill a record in bugzilla?

Joćo.

---------- Forwarded message ----------
Date: Sun, 27 Oct 2002 09:02:31 -0200 (BRST)
From: Joao Luis Meloni Assirati <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: Mathed BUG.


Hi,

This bug occours in versions 1.2.2cvs and 1.3.0cvs.

Create and eqnarray, ams align, or ams gather, with more then one line
and insert labels for at least two of the lines. Then toggle off numbering
of one of the labeled lines. Exporting to latex shows that line with both
\label{} and \nonumber.

More generaly: until you toggle off numbering of all labeled lines, lyx
will export the lines with both \label{} and \nonumber.

This is bad because:

1) Suppose you have an eqnarray with two equations and puts the label
'asd' in the first one. Than you change your mind and decides that it is
the second equation that deserves the label 'asd'. You do that by toggling
off numbering of the first equation and inserting the label 'asd' in the
second. As a consequence, you will end up with a multiply defined labels.

2) AMS align or gather simply don't accept \label{} and \nonumber in the
same equation.

So it seems that it is better to suppress \label{} in the exported
latex whenever numbering of the line is toggled off.

Regards,
Joćo.

P.S. This bugs seems to be valid for all math environments with several
lines.



Reply via email to