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

Alex Watson puszcza-hackers at gnu.org.ua
Fri Sep 18 23:15:02 CEST 2020


URL:
  <http://puszcza.gnu.org.ua/bugs/?483>

                 Summary: tex4ht produces a raw 'combining macron' in mathml
when encountering \bar
                 Project: tex4ht
            Submitted by: rotprsl2
            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
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any

    _______________________________________________________

Details:

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.



    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Sat 19 Sep 2020 12:10:40 AM EEST  Name: ht-bar.tex  Size: 77B   By:
rotprsl2

<http://puszcza.gnu.org.ua/bugs/download.php?file_id=362>
-------------------------------------------------------
Date: Sat 19 Sep 2020 12:10:40 AM EEST  Name: ht-bar.html  Size: 729B   By:
rotprsl2

<http://puszcza.gnu.org.ua/bugs/download.php?file_id=363>

    _______________________________________________________

Reply to this item at:

  <http://puszcza.gnu.org.ua/bugs/?483>

_______________________________________________
  Message sent via/by Puszcza
  http://puszcza.gnu.org.ua/


More information about the tex4ht mailing list.