mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 13:18:28 +00:00
Support for \begin{math}
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3326 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
80a721459f
commit
f60e175f1e
@ -1,3 +1,7 @@
|
||||
2002-01-10 Dekel Tsur <dekelts@tau.ac.il>
|
||||
|
||||
* math_parser.C (parse_normal): Support for \begin{math}
|
||||
|
||||
2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
|
||||
|
||||
* math_hullinset.C (validate): rename feature "amsstyle" to
|
||||
|
@ -673,6 +673,12 @@ bool Parser::parse_normal(MathAtom & matrix)
|
||||
|
||||
string const name = getArg('{', '}');
|
||||
|
||||
if (name == "math") {
|
||||
matrix = MathAtom(new MathHullInset(LM_OT_SIMPLE));
|
||||
parse_into(matrix->cell(0), 0);
|
||||
return true;
|
||||
}
|
||||
|
||||
if (name == "equation" || name == "equation*" || name == "displaymath") {
|
||||
curr_num_ = (name == "equation");
|
||||
curr_label_.erase();
|
||||
|
Loading…
Reference in New Issue
Block a user