From 85425d8e6c8f0195a5fbe0082bf73723898a3ccb Mon Sep 17 00:00:00 2001 From: Richard Heck Date: Wed, 31 Mar 2010 20:50:29 +0000 Subject: [PATCH] HTML for InsetMathSplit. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33988 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/mathed/InsetMathSplit.cpp | 11 +++++++++++ src/mathed/InsetMathSplit.h | 2 ++ 2 files changed, 13 insertions(+) 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; } -- 2.39.2