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

2018-02-14 Thread Michal Hoftich
Follow-up Comment #3, bug #378 (project tex4ht): I've created a new library for make4ht, `make4ht-domfilter`. It can modify the document's DOM using Lua functions. The as well as issue can be fixed using `joincharacters` filter: local domfilter = require "make4ht-domfilter" local process =

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

2018-02-02 Thread Michal Hoftich
Hi Deimi, > There is a section "Digits into Numbers" > in tex4ht-xhtmml-xtpipes.tex file. > If I read it correctly, the code deals with > merging "mn" nodes. Apparently Eitan's approach > was to postprocess html file with xtpipes (and not to fix c-code). that's great observation! I can

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

2018-02-02 Thread Deimantas Galcius
There is a section "Digits into Numbers" in tex4ht-xhtmml-xtpipes.tex file. If I read it correctly, the code deals with merging "mn" nodes. Apparently Eitan's approach was to postprocess html file with xtpipes (and not to fix c-code). On Feb 2, 2018, at 1:19 AM, Karl Berry wrote: >

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

2018-02-01 Thread Michal Hoftich
Follow-up Comment #2, bug #378 (project tex4ht): It comes from tex4ht-mathml.tex, line 3149: \Configure{MathClass}{7}{*}{<\a:mathml mn>}{}{0123456789} This configuration creates template that is passed to the DVI file and tex4ht applies it to math class 7. I don't know what

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

2018-02-01 Thread Michal Hoftich
> (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, >

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

2018-01-31 Thread Michal Hoftich
URL: Summary: Wrong MathML output for numbers Project: tex4ht Submitted by: michal_h21 Submitted on: Thu 01 Feb 2018 01:40:06 AM EET Category: None Priority: 5 -