You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The following is an example. I use tex4ebook --format epub3 "main.tex".
% main.tex
\documentclass{article}
\usepackage{graphicx}
\title{Test}
\author{Test}
\date{2023-08-12}
\begin{document}
\maketitle
\tableofcontents
\begin{figure}
\caption{123}
\includegraphics{test.png}
\end{figure}
%%%% The following is fine.
% \begin{figure}
% \includegraphics{test.png}
% \caption{123}
% \end{figure}
\end{document}
The mainli1.xhtml in the output file main.epub is incorrect by EPUBCheck.
Validating using EPUB version 3.2 rules.
ERROR(RSC-005): [path]/main.epub/OEBPS/mainli1.xhtml(19,33): Error while parsing file: element "img" not allowed here; expected the element end-tag
It should be fixed in the development version of make4ht. Until it is available in TeX Live (I am not sure when I will release the new version), you can use this build file:
The following is an example. I use
tex4ebook --format epub3 "main.tex"
.The
mainli1.xhtml
in the output filemain.epub
is incorrect by EPUBCheck.The text was updated successfully, but these errors were encountered: