Uwe Stöhr schrieb:

 > When I try a File|Import|Latex (plain) with the simple file
 >
 > \documentclass{article}
 > \begin{document}
 > \begin{eqnarray}\label{eq:scalinglnlambda}
 > A & = & B \nonumber \\
 > & = & C\end{eqnarray}
 > \end{document}

This is the same with LyX 1.6.2. Can you please report this bug it at bugzilla.lyx.org?

I had a look and I think its not a bug but a missing feature. You have the label in the first line but suppresses the number of this line. But when you reference the label, you reference the number of its line, but this is what you suppressed.
I wonder that LaTeX allows this.

So this would make more sense:

\begin{eqnarray}\label{eq:scalinglnlambda}
 A & = & B \\
 & = & C \nonumber
\end{eqnarray}

or

\begin{eqnarray}
 A & = & B \nonumber\\
 \label{eq:scalinglnlambda}& = & C
\end{eqnarray}

regards Uwe

Reply via email to