mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-13 17:20:55 +00:00
* Allow the use of eqrefs in mathed (bug 4623).
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@25091 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
f2e50ec7fc
commit
06a7a6d032
@ -148,6 +148,8 @@ void InsetMathRef::validate(LaTeXFeatures & features) const
|
||||
features.require("varioref");
|
||||
else if (commandname() == "prettyref")
|
||||
features.require("prettyref");
|
||||
else if (commandname() == "eqref")
|
||||
features.require("amsmath");
|
||||
}
|
||||
|
||||
|
||||
|
@ -1109,8 +1109,8 @@ void Parser::parse1(InsetMathGrid & grid, unsigned flags,
|
||||
parse(cell->back().nucleus()->cell(0), FLAG_ITEM, mode);
|
||||
}
|
||||
|
||||
else if (t.cs() == "ref" || t.cs() == "prettyref" ||
|
||||
t.cs() == "pageref" || t.cs() == "vpageref" || t.cs() == "vref") {
|
||||
else if (t.cs() == "ref" || t.cs() == "eqref" || t.cs() == "prettyref"
|
||||
|| t.cs() == "pageref" || t.cs() == "vpageref" || t.cs() == "vref") {
|
||||
cell->push_back(MathAtom(new InsetMathRef(t.cs())));
|
||||
parse(cell->back().nucleus()->cell(1), FLAG_OPTION, mode);
|
||||
parse(cell->back().nucleus()->cell(0), FLAG_ITEM, mode);
|
||||
|
@ -80,6 +80,8 @@ What's new
|
||||
|
||||
- Fix error navigation with the keyboard (bug 4895).
|
||||
|
||||
- Allow the use of eqrefs in mathed (bug 4623).
|
||||
|
||||
|
||||
* DOCUMENTATION AND LOCALIZATION
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user