## tex4ht - Bugs: bug #483, tex4ht produces a raw 'combining...

Show feedback again

You are not allowed to post comments on this tracker with your current authentification level.

## bug #483: tex4ht produces a raw 'combining macron' in mathml when encountering \bar

 Submitted by: Alex Watson Submitted on: Sat 19 Sep 2020 12:10:40 AM EEST Category: None Priority: 5 - Normal Severity: 5 - Normal Status: None Privacy: Public Assigned to: None Open/Closed: Closed

Sat 19 Sep 2020 12:40:43 PM EEST, comment #3:

Hi Alex,

bugs in TeX4ht are usually more probable than bugs in validator :)

I've recently fixed lot of MathML issues, but I am sure there are still many bugs left. Some issues are impossible to fix from LaTeX side, these are then fixed by make4ht. So it is important to keep make4ht up-to-date too.

Best regards,
Michal

Michal Hoftich <michal_h21>
Sat 19 Sep 2020 01:31:26 AM EEST, comment #2:

Hi Michal

Just for reference for the future I post these:

and a similar bug in mathjax:

These come to the same conclusion that you seem to have in your comment, namely that the non-combining version should be used.

Alex

Alex Watson <rotprsl2>
Sat 19 Sep 2020 01:22:57 AM EEST, comment #1:

Hi Alex, thanks for the report. It seems these combining characters were declared in unicode.4ht. I've changed the definition to use normal characters instead, when it was possible. The fix is already in TeX4ht sources, so it should be available soon.

Michal Hoftich <michal_h21>
Sat 19 Sep 2020 12:10:40 AM EEST, original submission:

This is a weird one. It seems as though tex4ht accidentally introduces unicode character U+0304 into the middle of the mathml when it encounters \bar.

In ht-bar.tex, I have 'Y = \bar{X}'.

I compile this by running make4ht -uf html5 ht-bar.tex "mathml,". The relevant bit of the mathml in the output is:

<mover accent='true'><mrow><mi>X</mi></mrow><mo accent='true'>̄</mo></mover>

Over there towards the end of the line is >, combining macron, <.

Firefox renders this just fine, but this seems a bit weird, and the W3C validator also complains about it (with a 'warning') - which is how I noticed this.

Alex Watson <rotprsl2>

Attached Files
file #362:  ht-bar.tex added by rotprsl2 (77B - text/x-tex)
file #363:  ht-bar.html added by rotprsl2 (729B - text/html)

Depends on the following items: None found

Items that depend on this one: None found

Carbon-Copy List
• -unavailable- added by michal_h21 (Posted a comment)
• -unavailable- added by rotprsl2 (Submitted the item)
•

Do you think this task is very important?
This task has 0 encouragements so far.

Only logged-in users can vote.

Please enter the title of George Orwell's famous dystopian book (it's a date):