Use mathvariant rather than fontfamily or fontweight in AsciiMath output

This commit is contained in:
Davide P. Cervone 2012-01-17 10:57:32 -05:00
parent 104cd54d66
commit 31f654fd0b
2 changed files with 3 additions and 1 deletions

File diff suppressed because one or more lines are too long

View File

@ -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"}
}
})();