[tex4ht] [bug #378] Wrong MathML output for numbers

Michal Hoftich michal.h21 at gmail.com
Thu Feb 1 17:15:33 CET 2018

> (Of course, you meant to say "$15$ produces".)

Sure, it was too late when I wrote that yesterday :(

> But, yes, this is a significant error that should have a high priority for
> correction.
> This kind of error does not normally show upon rendering in a browser.  It's
> important,
> however, because a reasonable importing of <mn>1</mn><mn>5</mn> into a
> computer algebra system would (and should) take it in as 1·5 = 5 rather than
> as 15.

It is significant issue. I introduced a Lua filter for make4ht in my
answer on TeX.sx. I don't think that I would be able to identify the
issue in tex4ht-c.tex, this file is too cryptic to me and I don't
really know C.

New version of make4ht will support extensions for various tasks. I
think that I will create one for fixing some common issues which are
hard to fix on the TeX side, including this one. Maybe it will be
selected by default for the HTML output, so regular users will not
have to worry about it.

Best regards,

More information about the tex4ht mailing list