From: André Pönitz Date: Tue, 25 Feb 2003 14:50:11 +0000 (+0000) Subject: enable prettyref X-Git-Tag: 1.6.10~17439 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=db1f06d9140a3ed7984c966b78a17fba70e96df2;p=lyx.git enable prettyref git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6252 a592a061-630c-0410-9148-cb99ea01b6c8 --- diff --git a/src/mathed/math_parser.C b/src/mathed/math_parser.C index fdecd97f8d..b8d7da2e22 100644 --- a/src/mathed/math_parser.C +++ b/src/mathed/math_parser.C @@ -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);