LateX export must not depend on screen label.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23440 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Abdelrazak Younes 2008-03-04 13:00:20 +00:00
parent f9662a5591
commit 4723fa0f2c

View File

@ -980,7 +980,7 @@ docstring InsetMathHull::eolString(row_type row, bool emptyline, bool fragile) c
docstring res;
if (numberedType()) {
if (label_[row] && !nonum_[row])
res += "\\label{" + label_[row]->screenLabel() + '}';
res += "\\label{" + label_[row]->getParam("name") + '}';
if (nonum_[row] && (type_ != hullMultline))
res += "\\nonumber ";
}