[tex4ht] [bug #230] Bad mathchar (79119) using htlatex+mathml with \uparrow with align from amsmath package

Michal Hoftich puszcza-hackers at gnu.org.ua
Tue Sep 16 21:36:41 CEST 2014


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

                 Summary: Bad mathchar (79119) using htlatex+mathml with
\uparrow with align from amsmath package
                 Project: tex4ht
            Submitted by: michal_h21
            Submitted on: Tue 16 Sep 2014 10:36:41 PM 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:

Error reported by Nasser M. Abbasi on TeX.SX [1]

This code:

\documentclass[]{article}%
\usepackage{amsmath}   
\begin{document}  
    $\uparrow\sum F$
\end{document}

results in error 

! Bad mathchar (79119). <argument>  & \uparrow \sum F 
                               l.8 \end{align}
                ?

with mathml output. As pointed out by Enrico Gregorio, this is caused by
passing parameters \mathchar without terminating with space or \relax. This
may cause weird behavior like in Nasser's example, when \sum F results in
\mathchar"1350 F and because F is proper hexadecimal number it is added.
Enrico proposed solution and I've made a patch for fixing this issue. 


[1] http://tex.stackexchange.com/q/116340/2891




    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Tue 16 Sep 2014 10:36:41 PM EEST  Name: matchar.diff  Size: 3kB   By:
michal_h21

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

    _______________________________________________________

Reply to this item at:

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

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



More information about the tex4ht mailing list