My document is based on PDFLaTeX
, if I run the TeX
application file through PDFLaTeX
, then I don't have any issues, but if I run the same file for HTML
conversion through TeX4ht
, then the following error comes:
My code is follows:
\documentclass{book}
\usepackage[pdftex]{graphicx}
\begin{document}
\chapter{Test Chapter}
This is for test
\end{document}
Note that I am using MikTeX V2.9 and the conversion command is used as:
htlatex test "xhtml,fn-in" " -cunifht" "-cvalidate -p"
Also note that for the whole project most of the figures are in .pdf format and some of the images are in .jpg
and .png
format and very few in .eps format, hence I have used epstopdf.sty
...
Please suggest...
[pdftex]
? – Keks Dose Aug 4 '17 at 8:55htlatex
can work withPDF
images, but it needs to be configured for that. – michal.h21 Aug 4 '17 at 9:09