From: Richard Heck Date: Thu, 31 Dec 2009 23:28:19 +0000 (+0000) Subject: Mostly comments about InsetMathSplit, which more or less works. X-Git-Tag: 2.0.0~4626 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=69fc2f6702309e4937d2d6280c579db3d9a54e4a;p=features.git Mostly comments about InsetMathSplit, which more or less works. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32727 a592a061-630c-0410-9148-cb99ea01b6c8 --- diff --git a/src/mathed/InsetMathSplit.cpp b/src/mathed/InsetMathSplit.cpp index 3f7478321e..7efd406b77 100644 --- a/src/mathed/InsetMathSplit.cpp +++ b/src/mathed/InsetMathSplit.cpp @@ -111,6 +111,20 @@ void InsetMathSplit::infoize(odocstream & os) const } +void InsetMathSplit::mathmlize(MathStream & ms) const +{ + // split, gathered, aligned, alignedat + // At the moment, those seem to display just fine without any + // special treatment. + // FIXME + // lgathered and rgathered could use the proper alignment, but + // it's not clear how to do that without copying a lot of code. + // One idea would be to wrap the table in an , and set the + // alignment there via CSS. + InsetMathGrid::mathmlize(ms); +} + + void InsetMathSplit::validate(LaTeXFeatures & features) const { if (name_ == "split" || name_ == "gathered" || name_ == "aligned" || diff --git a/src/mathed/InsetMathSplit.h b/src/mathed/InsetMathSplit.h index 123f925869..447aa0f4dd 100644 --- a/src/mathed/InsetMathSplit.h +++ b/src/mathed/InsetMathSplit.h @@ -33,6 +33,8 @@ public: /// void infoize(odocstream & os) const; /// + void mathmlize(MathStream &) const; + /// void validate(LaTeXFeatures & features) const; /// int defaultColSpace(col_type) { return 0; }