enable prettyref

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6252 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
André Pönitz 2003-02-25 14:50:11 +00:00
parent 787c8e95ac
commit db1f06d914

View File

@ -963,7 +963,7 @@ void Parser::parse1(MathGridInset & grid, unsigned flags,
parse(cell->back().nucleus()->cell(0), FLAG_ITEM, mode);
}
else if (t.cs() == "ref") {
else if (t.cs() == "ref" || t.cs() == "prettyref") {
cell->push_back(MathAtom(new RefInset));
parse(cell->back().nucleus()->cell(1), FLAG_OPTION, mode);
parse(cell->back().nucleus()->cell(0), FLAG_ITEM, mode);