[tex4ht] [bug #624] File ended while scanning use of \AltMathOne. error

Nasser M. Abbasi puszcza-hackers at gnu.org.ua
Thu Apr 25 08:03:46 CEST 2024


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

                 Summary: File ended while scanning use of \AltMathOne. error
                 Project: tex4ht
            Submitted by: nma123
            Submitted on: Thu Apr 25 06:03:46 2024
                Category: None
                Priority: 5 - Normal
                Severity: 5 - Normal
                  Status: None
                 Privacy: Public
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any

    _______________________________________________________

Details:

This MWE compiles with no problem with lualatex but gives this error with
tex4ht

---------------
(/usr/local/texlive/2023/texmf-dist/tex/latex/lm/t1lmtt.fd))
Runaway argument?
\b:array> \ignorespaces {} & \textrm {Let's solve} \\ {} & {} & \left \ETC.
! File ended while scanning use of \AltMathOne.
<inserted text> 
\par 
<*> ...=utf-8,html5.a.b.c.\input "\detokenize{A.tex}"
                                                  
? 
-----------------------


I am using code generated by Maple, and just putting this code inside
longtable.

I can not change the code generated. Here is MWE. I only added the lines
\begin{longtable}{...} and \end{longtable} and everything else in between is
auto-generated.


-----------------------
\documentclass[12pt]{article}

\usepackage{amsmath}
\usepackage{longtable}
\usepackage{array}

\begin{document} 


\begin{longtable}{ >{$}c<{$} >{$}c<{$} >{$}c<{$} }
 & {} & \textrm{Let's solve} 
\\
 {} & {} & \left[y^{\prime}=1+2 x , y \left(0\right)=3\right] 
\end{longtable}

\end{document}
--------------------------------

Now compiled using

make4ht -ulm default -a debug A.tex 'mathjax,htm'

and it gave the error shown above.

No error compiling with lualatex.

Using tex4ht under TL 2023

>which make4ht
/usr/local/texlive/2023/bin/x86_64-linux/make4ht
>make4ht --version
make4ht version v0.3m

How can I make this compile with tex4ht?

Thanks
--Nasser








    _______________________________________________________

Reply to this item at:

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

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



More information about the tex4ht mailing list.