bugtex4ht - Bugs: bug #236, using {newtxtext,newtxmath}...

Show feedback again

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

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

Submitted by:  Nasser M. Abbasi <nma123>
Submitted on:  Tue 06 Jan 2015 09:51:32 PM EET  
Category: NonePriority: 5 - Normal
Severity: 3 - MinorStatus: None
Privacy: PublicAssigned to: None
Open/Closed: Open

Tue 06 Jan 2015 09:51:32 PM EET, original submission:

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

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.

Nasser M. Abbasi <nma123>


No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -unavailable- added by nma123 (Submitted the item)

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    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):



    No Changes Have Been Made to This Item
    Show feedback again

    Back to the top

    Powered by Savane 3.1-cleanup+gray