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; }