bugtex4ht - Bugs: bug #230, Bad mathchar (79119) using...

 
 
Show feedback again

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

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

Submitted by:  Michal Hoftich <michal_h21>
Submitted on:  Tue Sep 16 19:36:41 2014  
 
Category: NonePriority: 5 - Normal
Severity: 5 - NormalStatus: None
Privacy: PublicAssigned to: None
Open/Closed: Closed

Tue Jun 30 08:06:09 2020, comment #3:

It seems this had been fixed already. Jsmath had been supersedded by MathJax.

Michal Hoftich <michal_h21>
Project Member
Wed Feb 4 00:39:39 2015, comment #2:

current theory, per michal, is that jsml is a mathjax predecessor and there is no use in continuing to support it. we could just drop it all from the sources.

cvr, wdyt?

thanks,
k

Karl Berry <karl>
Project Administrator
Wed Jan 28 22:59:46 2015, comment #1:

sorry i didn't notice this patch long before this, michal. i installed it in tex4ht and tl.

but there is a puzzlement in tex4ht-jsml.tex: at least some of the <configure jsml-math> blocks are not actually used. that is, the \mathchar that you fixed up in <configure jsml-math fontmath> does not appear in the output, so far as i can see. i noticed that the <configure jsml-math amsopn> block at the very end of the file does not appear in the output either.

problematic or intentional? if you or cvr or anyone has any ideas ...

thanks,
k

Karl Berry <karl>
Project Administrator
Tue Sep 16 19:36:41 2014, original submission:

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

Michal Hoftich <michal_h21>
Project Member

 

Attached Files
file #180:  matchar.diff added by michal_h21 (3kB - text/x-patch)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by karl (Posted a comment)
  • -unavailable- added by michal_h21 (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):

     

     

    4 latest changes follow.

    Date Changed By Updated Field Previous Value => Replaced By
    Tue Jun 30 08:06:09 2020michal_h21Open/ClosedOpen=>Closed
    Wed Feb 4 00:39:39 2015karlSummaryBad mathchar (79119) using htlatex+mathml with \\uparrow with align from amsmath package=>Bad mathchar (79119) using htlatex+mathml with \uparrow with align from amsmath package
    Wed Jan 28 22:59:46 2015karlSummaryBad mathchar (79119) using htlatex+mathml with \\uparrow with align from amsmath package=>Bad mathchar (79119) using htlatex+mathml with \uparrow with align from amsmath package
    Tue Sep 16 19:36:41 2014michal_h21Attached File-=>Added matchar.diff, #180
    Show feedback again

    Back to the top


    Powered by Savane 3.1-cleanup+gray