Closed xworld21 closed 9 months ago
Sounds like a reasonable upgrade.
I wonder if this should also be handled in the MathML post-processor, akin to stylizing unicode minus.
Adding the following line to TeX.pool.ltxml seems to do the job:
DefMathLigature("*" => "\x{2217}", role => 'MULOP');
Unicode math output (as in latexmlmath --unicodemath
) will show U+2217.
The 'correct' fix would be for LaTeXML to support math codes, which is easy in principle, but could have far reaching effects (e.g. math codes include role information, which could affect parsing).
Something I noticed recently and surprised me greatly: LaTeXML outputs a simple asterisk for the character , whereas it should be using U+2217 (ASTERISK OPERATOR).
$a*b$