[tex4ht] [bug #226] Spurious elements in mathml output of \mathit, \mathrm, \mathbf etc
Michal Hoftich
michal.h21 at gmail.com
Fri Nov 22 14:29:06 CET 2019
Follow-up Comment #5, bug #226 (project tex4ht):
I've found an issue with this approach - the \PauseMathClass will prevent
correct tagging of nested structures. For example:
\mathit{\overline{a}+\overline{b}}
This will result in
<mover class='mml-overline' accent='false'><mrow>b</mrow><mo
accent='true'>¯</mo></mover>
The b character should be placed in <mi> element. So I think we should revert
back to the use of <mstyle>.
The original issue of spurious <mi> elements for longer texts can be fixed
using post-processing - make4ht provides common_domfilters extension, which
does exactly this.
_______________________________________________________
Reply to this item at:
<http://puszcza.gnu.org.ua/bugs/?226>
_______________________________________________
Message sent via/by Puszcza
http://puszcza.gnu.org.ua/
More information about the tex4ht
mailing list