[tex4ht] [bug #337] tex4ht changes \_ in math mode to X in HTML when not including \usepackage[T1]{fontenc}

Michal Hoftich michal.h21 at gmail.com
Wed Aug 10 11:29:25 CEST 2016


Follow-up Comment #2, bug #337 (project tex4ht):

Better solution is provided in my updated answer on TeX.sx. In LaTeX sources,
\_ macro is defined as:

\DeclareRobustCommand{\_}{%
\ifmmode\nfss at text{\textunderscore}\else\textunderscore\fi}

as you can see, \textunderscore is used also in math mode. I've modified it to
use \mathunderscore, for which I also mathml fix. 

I've updated the sources.

    _______________________________________________________

Reply to this item at:

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

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



More information about the tex4ht mailing list