URL: <http://puszcza.gnu.org.ua/bugs/?587>
Summary: tex4ht fails on including image with math in caption after loading hyperref package Project: tex4ht Submitted by: nma123 Submitted on: Sun Dec 25 03:16:52 2022 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 https://tex.stackexchange.com/questions/669581/tex4ht-fails-on-including-image-with-math-in-caption-after-loading-hyperref-pack his MWE compiles OK with lualatex but fails in tex4ht once hyperref is added. ------------------------------------------- \documentclass{article} \usepackage{amsmath} \usepackage{graphicx} \usepackage{hyperref} \begin{document} \begin{figure} \includegraphics[width=0.5\textwidth]{example-image-a} \caption{Phase plot $y^{\prime \prime}\left(t \right)+9 y \left(t \right)-\left(\left\{\begin{array}{cc} 8 \sin \left(t \right) & 0<t <\pi \\ 0 & \pi <t \end{array}\right.\right) = 0$} \end{figure} \end{document} ---------------------------- And now make4ht -ulm default -a debug foo.tex "mathjax,htm" gives /usr/local/texlive/2022/texmf-dist/tex/generic/tex4ht/html5.4ht)) (/usr/local/texlive/2022/texmf-dist/tex/latex/l3backend/l3backend-dvips.def) (./foo.aux) (/usr/local/texlive/2022/texmf-dist/tex/latex/base/ts1cmr.fd) [1] [2] l.9 --- TeX4ht warning --- File `"example-image-a.xbb"' not found --- l.9 --- TeX4ht warning --- Cannot determine size of graphic in "example-image-a .xbb" (no BoundingBox) --- ! Undefined control sequence. <argument> \EndPicture l.14 \end{array}\right.\right) = 0$} ? Removing hyperref it compiles clean. (ps. I used test image above so it can compile as is). Is there a workaround for this? TL 2022 on Linux Thank you, --Nasser _______________________________________________________ Reply to this item at: <http://puszcza.gnu.org.ua/bugs/?587> _______________________________________________ Message sent via/by Puszcza http://puszcza.gnu.org.ua/