From: Richard Heck Date: Wed, 12 Jan 2011 13:50:46 +0000 (+0000) Subject: Complete fix for bug #7225. X-Git-Tag: 2.0.0~1126 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=f1a54ebe18e1568c407bd22d8a4fe05caac5b92d;p=features.git Complete fix for bug #7225. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37185 a592a061-630c-0410-9148-cb99ea01b6c8 --- diff --git a/src/mathed/InsetMathHull.cpp b/src/mathed/InsetMathHull.cpp index 5ef21f31b4..38ea7cb77d 100644 --- a/src/mathed/InsetMathHull.cpp +++ b/src/mathed/InsetMathHull.cpp @@ -2038,8 +2038,18 @@ docstring InsetMathHull::xhtml(XHTMLStream & xs, OutputParams const & op) const { BufferParams::MathOutput const mathtype = buffer().params().html_math_output; - + bool success = false; + + // we output all the labels just at the beginning of the equation. + // this should be fine. + for (size_t i = 0; i != label_.size(); ++i) { + InsetLabel const * const il = label_[i]; + if (!il) + continue; + il->xhtml(xs, op); + } + // FIXME Eventually we would like to do this inset by inset. if (mathtype == BufferParams::MathML) { odocstringstream os;