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

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


Follow-up Comment #1, bug #624 (project tex4ht):

I found a workaround. So I am OK for now.

In tex4ht mode, I changed to using \begin{array}{ccc} instead. And now it
compiled OK and produces same output as PDF. Here is the new MWE


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

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

\begin{document} 

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

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

But it will good to know why it failed in the first version just in case it is
a bug in tex4ht.

--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.