Use mathvariant rather than fontfamily or fontweight in AsciiMath output
This commit is contained in:
parent
104cd54d66
commit
31f654fd0b
File diff suppressed because one or more lines are too long
|
@ -1141,6 +1141,8 @@ mathcolor = "";
|
|||
for (var i = 0, m = AMsymbols.length; i < m; i++) {
|
||||
if (AMsymbols[i].codes) {delete AMsymbols[i].codes}
|
||||
if (AMsymbols[i].func) {AMsymbols[i].tag = "mi"}
|
||||
if (AMsymbols[i].atname === "fontfamily" || AMsymbols[i].atname === "fontweight")
|
||||
{AMsymbols[i].atname = "mathvariant"}
|
||||
}
|
||||
})();
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user