A labeled equation is also numbered.
This commit is contained in:
Enrico Forestieri 2017-06-20 01:14:55 +02:00
parent 4efb129ccb
commit 4dea27c4c7

View File

@ -1799,6 +1799,7 @@ bool Parser::parse1(InsetMathGrid & grid, unsigned flags,
asArray(label, ar);
if (grid.asHullInset()) {
grid.asHullInset()->label(cellrow, label);
grid.asHullInset()->numbered(cellrow, true);
} else {
cell->push_back(createInsetMath(t.cs(), buf));
cell->push_back(MathAtom(new InsetMathBrace(ar)));