X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fmathed%2FInsetMathLim.cpp;h=a5eae28bb71f4eae1e909c3c7fecd2c452624b46;hb=48b09463dd23e64fab605553a91542198e8361e4;hp=89d580954e75b02ae66c925035b74d0fe22c1e89;hpb=150cf11651ad92090a452bb9e6cb72d7eea886d5;p=lyx.git
diff --git a/src/mathed/InsetMathLim.cpp b/src/mathed/InsetMathLim.cpp
index 89d580954e..a5eae28bb7 100644
--- a/src/mathed/InsetMathLim.cpp
+++ b/src/mathed/InsetMathLim.cpp
@@ -3,7 +3,7 @@
* This file is part of LyX, the document processor.
* Licence details can be found in the file COPYING.
*
- * \author André Pönitz
+ * \author André Pönitz
*
* Full author contact details are available in file CREDITS.
*/
@@ -13,14 +13,15 @@
#include "InsetMathLim.h"
#include "MathData.h"
#include "MathStream.h"
-#include "debug.h"
+
+#include "support/debug.h"
namespace lyx {
-InsetMathLim::InsetMathLim
- (MathData const & f, MathData const & x, MathData const & x0)
- : InsetMathNest(3)
+InsetMathLim::InsetMathLim(Buffer * buf, MathData const & f, MathData const & x,
+ MathData const & x0)
+ : InsetMathNest(buf, 3)
{
cell(0) = f;
cell(1) = x;
@@ -72,7 +73,11 @@ void InsetMathLim::mathematica(MathematicaStream & os) const
void InsetMathLim::mathmlize(MathStream & os) const
{
- os << "lim(" << cell(0) << ',' << cell(1) << ',' << cell(2) << ')';
+ // FIXME XHTML We need a form of MTag that takes attributes.
+ os << ""
+ << "" << "lim" << ""
+ << "" << cell(1) << "→" << cell(2) << ""
+ << "(" << cell(0) << ")" ;
}