From 66b786baa65a954486b29044faee3d11af34be0b Mon Sep 17 00:00:00 2001 From: =?utf8?q?Andr=C3=A9=20P=C3=B6nitz?= Date: Tue, 25 Feb 2003 15:48:47 +0000 Subject: [PATCH] more ref stuff git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6259 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/mathed/math_parser.C | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/mathed/math_parser.C b/src/mathed/math_parser.C index b8d7da2e22..76b78dccb8 100644 --- a/src/mathed/math_parser.C +++ b/src/mathed/math_parser.C @@ -963,8 +963,9 @@ void Parser::parse1(MathGridInset & grid, unsigned flags, parse(cell->back().nucleus()->cell(0), FLAG_ITEM, mode); } - else if (t.cs() == "ref" || t.cs() == "prettyref") { - cell->push_back(MathAtom(new RefInset)); + else if (t.cs() == "ref" || t.cs() == "prettyref" || + t.cs() == "pageref" || t.cs() == "vpageref" || t.cs() == "vref") { + cell->push_back(MathAtom(new RefInset(t.cs()))); parse(cell->back().nucleus()->cell(1), FLAG_OPTION, mode); parse(cell->back().nucleus()->cell(0), FLAG_ITEM, mode); } -- 2.39.5