commit 716e3dc1a82018a7b6657b75e918bf99028e8e6d Author: Thibaut Cuvelier <cuvelier.thib...@gmail.com> Date: Wed Jun 10 23:14:16 2020 +0200
Output double-struck fonts as such in MathML, not in bold --- src/mathed/InsetMathFont.cpp | 6 ++++-- 1 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/mathed/InsetMathFont.cpp b/src/mathed/InsetMathFont.cpp index 9876123..f0064c9 100644 --- a/src/mathed/InsetMathFont.cpp +++ b/src/mathed/InsetMathFont.cpp @@ -203,9 +203,11 @@ void InsetMathFont::mathmlize(MathStream & os) const variant = "normal"; else if (tag == "frak" || tag == "mathfrak") variant = "fraktur"; - else if (tag == "mathbb" || tag == "mathbf" - || tag == "textbf") + else if (tag == "mathbf" || tag == "textbf") variant = "bold"; + else if (tag == "mathbb" || tag == "mathbbm" + || tag == "mathds") + variant = "double-struck"; else if (tag == "mathcal") variant = "script"; else if (tag == "mathit" || tag == "textsl" -- lyx-cvs mailing list lyx-cvs@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-cvs