[tex4ht] [bug #514] tex4ht gives error on code that compiles OK with lualatex
Nasser M. Abbasi
puszcza-hackers at gnu.org.ua
Sun Jun 13 04:44:08 CEST 2021
URL:
<http://puszcza.gnu.org.ua/bugs/?514>
Summary: tex4ht gives error on code that compiles OK with
lualatex
Project: tex4ht
Submitted by: nma123
Submitted on: Sun Jun 13 05:44:08 2021
Category: None
Priority: 5 - Normal
Severity: 5 - Normal
Status: None
Privacy: Public
Assigned to: None
Originator Email:
Open/Closed: Open
Discussion Lock: Any
_______________________________________________________
Details:
reference and images
https://tex.stackexchange.com/questions/601030/tex4ht-in-tl-2021-gives-error-on-code-that-compiles-ok-with-lualatex
Here is a MWE to reproduce it
============================
\documentclass[12pt]{article}
\usepackage{graphicx}
\begin{document}
The following is plot of solution
\begin{figure}[h]
\centering
\includegraphics[scale=0.45]{example-image}
\caption{$\displaystyle {y \left(x \right) =
-\frac{\left(\left(\left\{\begin{array}{cc}
{\mathrm e}^{-2 x} & x \le 1
\\
{\mathrm e}^{-2} & 1<x
\end{array}\right.\right)-7\right) {\mathrm e}^{2 x}}{2}}$
}
\end{figure}
\end{document}
=================
The above compiles OK with lualatex
The same file in tex4ht gives this error in TL 2021
(/usr/local/texlive/2021/texmf-dist/tex/generic/tex4ht/html4-math.4ht)
(/usr/local/texlive/2021/texmf-dist/tex/generic/tex4ht/html5.4ht))
(./foo3.aux)
[1] [2]
l.16 --- TeX4ht warning --- File `"example-image.xbb"' not found ---
l.16 --- TeX4ht warning --- Cannot determine size of graphic in
"example-image.
xbb" (no BoundingBox) ---
! Argument of \im:g has an extra }.
<inserted text>
\par
l.22 }
?
This is on Linux.
_______________________________________________________
Reply to this item at:
<http://puszcza.gnu.org.ua/bugs/?514>
_______________________________________________
Message sent via/by Puszcza
http://puszcza.gnu.org.ua/
More information about the tex4ht
mailing list.