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 16 Sep 2014 10:36:41 PM EEST  
 
Category: NonePriority: 5 - Normal
Severity: 5 - NormalStatus: None
Privacy: PublicAssigned to: None
Open/Closed: Open

Wed 04 Feb 2015 02:39:39 AM EET, 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
Thu 29 Jan 2015 12:59:46 AM EET, 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 16 Sep 2014 10:36:41 PM EEST, 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):

     

     

    3 latest changes follow.

    Date Changed By Updated Field Previous Value => Replaced By
    Wed 04 Feb 2015 02:39:39 AM EETkarlSummaryBad 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
    Thu 29 Jan 2015 12:59:46 AM EETkarlSummaryBad 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 16 Sep 2014 10:36:41 PM EESTmichal_h21Attached File-=>Added matchar.diff, #180
    Show feedback again

    Back to the top


    Powered by Savane 3.1-cleanup+gray