mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-25 19:07:45 +00:00
Add class attribute for \mathbb in XHTML output.
Patch from Josh.
This commit is contained in:
parent
04b8f5cdc4
commit
e3625b5b80
@ -203,9 +203,15 @@ void InsetMathFont::mathmlize(MathStream & os) const
|
|||||||
// no support at present for textipa, textsc, noun
|
// no support at present for textipa, textsc, noun
|
||||||
|
|
||||||
if (!variant.empty()) {
|
if (!variant.empty()) {
|
||||||
os << MTag("mstyle", "mathvariant='" + variant + "'")
|
if (tag == "mathbb") {
|
||||||
<< cell(0)
|
os << MTag("mstyle", "class='mathbb' mathvariant='" + variant + "'")
|
||||||
<< ETag("mstyle");
|
<< cell(0)
|
||||||
|
<< ETag("mstyle");
|
||||||
|
} else {
|
||||||
|
os << MTag("mstyle", "mathvariant='" + variant + "'")
|
||||||
|
<< cell(0)
|
||||||
|
<< ETag("mstyle");
|
||||||
|
}
|
||||||
} else
|
} else
|
||||||
os << cell(0);
|
os << cell(0);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user