[tex4ht] [bug #236] using {newtxtext, newtxmath} packages breaks MathML generation in tex4ht

Nasser M. Abbasi puszcza-hackers at gnu.org.ua
Tue Jan 6 20:51:32 CET 2015


                 Summary: using {newtxtext,newtxmath} packages breaks MathML
generation in tex4ht
                 Project: tex4ht
            Submitted by: nma123
            Submitted on: Tue 06 Jan 2015 09:51:32 PM EET
                Category: None
                Priority: 5 - Normal
                Severity: 3 - Minor
                  Status: None
                 Privacy: Public
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any



There is a work around for this, but adding it here for tracking just in

I found when adding the line \usepackage{newtxtext,newtxmath} breaks mathml
generated by tex4ht and hence the math looks bad when viewed in the browser.
It seems to be a font issue.

  \int \sin(x) \, dx

compiling as

htlatex foo.tex "nma.cfg,charset=utf-8" " -cunihtf -utf8"

Produces invalid HTML. Please see


Work around is not to use \usepackage{newtxtext,newtxmath} when compiling with
tex4ht if target is mathml.


Reply to this item at:


  Message sent via/by Puszcza

More information about the tex4ht mailing list