MathML: add a note about small caps.

This commit is contained in:
Thibaut Cuvelier 2024-10-29 03:17:12 +01:00
parent 7feffb89e9
commit 477e36db9f

View File

@ -178,6 +178,7 @@ void InsetMathFont::htmlize(HtmlStream & os) const
else if (tag == "mathtt" || tag == "texttt") else if (tag == "mathtt" || tag == "texttt")
variant = "monospace"; variant = "monospace";
else if (tag == "textipa" || tag == "textsc" || tag == "noun") else if (tag == "textipa" || tag == "textsc" || tag == "noun")
// TODO: MathML doesn't seem to support small caps!
variant = "noun"; variant = "noun";
docstring const beg = (tag.size() < 4) ? from_ascii("") : tag.substr(0, 4); docstring const beg = (tag.size() < 4) ? from_ascii("") : tag.substr(0, 4);