mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 21:21:32 +00:00
more ref stuff
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6259 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
3bd1db4654
commit
66b786baa6
@ -963,8 +963,9 @@ void Parser::parse1(MathGridInset & grid, unsigned flags,
|
|||||||
parse(cell->back().nucleus()->cell(0), FLAG_ITEM, mode);
|
parse(cell->back().nucleus()->cell(0), FLAG_ITEM, mode);
|
||||||
}
|
}
|
||||||
|
|
||||||
else if (t.cs() == "ref" || t.cs() == "prettyref") {
|
else if (t.cs() == "ref" || t.cs() == "prettyref" ||
|
||||||
cell->push_back(MathAtom(new RefInset));
|
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(1), FLAG_OPTION, mode);
|
||||||
parse(cell->back().nucleus()->cell(0), FLAG_ITEM, mode);
|
parse(cell->back().nucleus()->cell(0), FLAG_ITEM, mode);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user