commit e615120ffc6d3d18b392c231cf3b09df91455a17
Author: Thibaut Cuvelier <[email protected]>
Date: Mon Mar 24 03:23:28 2025 +0100
InsetMathNumber: numbers also have fonts!
They are much more limited, for instance, they have no bold-italic. But the
conversion now has a chance of happening.
---
src/mathed/InsetMathNumber.cpp | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/mathed/InsetMathNumber.cpp b/src/mathed/InsetMathNumber.cpp
index e1b3f5082e..10449a490b 100644
--- a/src/mathed/InsetMathNumber.cpp
+++ b/src/mathed/InsetMathNumber.cpp
@@ -71,7 +71,9 @@ void InsetMathNumber::octave(OctaveStream & os) const
void InsetMathNumber::mathmlize(MathMLStream & ms) const
{
ms << MTagInline("mn")
+ << StartRespectFont()
<< str_
+ << StopRespectFont()
<< ETagInline("mn");
}
--
lyx-cvs mailing list
[email protected]
https://lists.lyx.org/mailman/listinfo/lyx-cvs