From: Richard Heck Date: Wed, 31 Mar 2010 20:50:29 +0000 (+0000) Subject: HTML for InsetMathSplit. X-Git-Tag: 2.0.0~3592 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=85425d8e6c8f0195a5fbe0082bf73723898a3ccb;p=features.git HTML for InsetMathSplit. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33988 a592a061-630c-0410-9148-cb99ea01b6c8 --- diff --git a/src/mathed/InsetMathSplit.cpp b/src/mathed/InsetMathSplit.cpp index 673d611000..fb97bee592 100644 --- a/src/mathed/InsetMathSplit.cpp +++ b/src/mathed/InsetMathSplit.cpp @@ -131,6 +131,17 @@ void InsetMathSplit::mathmlize(MathStream & ms) const } +void InsetMathSplit::htmlize(HtmlStream & 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. + InsetMathGrid::htmlize(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 447aa0f4dd..0310ce13c4 100644 --- a/src/mathed/InsetMathSplit.h +++ b/src/mathed/InsetMathSplit.h @@ -35,6 +35,8 @@ public: /// void mathmlize(MathStream &) const; /// + void htmlize(HtmlStream &) const; + /// void validate(LaTeXFeatures & features) const; /// int defaultColSpace(col_type) { return 0; }