mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-09-20 06:49:56 +00:00
suppress writeing of \label if \nonumber is given
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5539 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
f46dfd626e
commit
3f190c2a2a
@ -624,7 +624,7 @@ string MathHullInset::eolString(row_type row, bool fragile) const
|
||||
{
|
||||
string res;
|
||||
if (numberedType()) {
|
||||
if (!label_[row].empty())
|
||||
if (!label_[row].empty() && !nonum_[row])
|
||||
res += "\\label{" + label_[row] + "}";
|
||||
if (nonum_[row])
|
||||
res += "\\nonumber ";
|
||||
|
Loading…
Reference in New Issue
Block a user