mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 01:59:02 +00:00
read support for \begin{displaymath}...\end{displaymath}
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2945 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
3adbae2754
commit
3b0329fe27
@ -615,8 +615,8 @@ bool Parser::parse_normal(MathAtom & matrix)
|
||||
|
||||
string const name = getArg('{', '}');
|
||||
|
||||
if (name == "equation" || name == "equation*") {
|
||||
curr_num_ = !stared(name);
|
||||
if (name == "equation" || name == "equation*" || name == "displaymath") {
|
||||
curr_num_ = (name == "equation");
|
||||
curr_label_.erase();
|
||||
matrix = MathAtom(new MathMatrixInset(LM_OT_EQUATION));
|
||||
MathMatrixInset * p = matrix->asMatrixInset();
|
||||
|
Loading…
Reference in New Issue
Block a user