I am trying to compile a LaTeX document to HTML using tex4ht, using the MiKTeX's tex4ht and Texmaker. I am trying to do this using a user command:
C:\MiKTeX\miktex\bin\x64\tex4ht.exe htlatex %.tex
The my file compiles fine to PDF, but using this user command gives the following error:
Process started
---------------------------- tex4ht.c (2010-12-16-08:39 Windows MiKTeX) C:\MiKTeX\miktex\bin\x64\tex4ht.exe htlatex helloworld.tex
--- warning --- Can't find/open file `helloworld.dvi' --- error --- Can't find/open file `helloworld.dvi'
Process exited with error(s)
The file I am using is a simple Hello World, and is saved as helloworld.tex
\documentclass{article}
\begin{document}
Hello World!
\end{document}
I have looked at this question, which says that it is an error, but a file should have been produced, but I cannot find any output. Also the code suggested there gives me the same problem.
Lastly, I looked at the tex4ht troubleshooting site which says a filter should be installed, but doesn't say how.
Anybody know this problem. Or can tell me how I can use tex4ht on miktex.
EDIT:
Using htlatex directly gives:
C:\test>htlatex test.tex
======================================================================
htlatex: Cannot start MiKTeX package manager.
htlatex: Data: Invalid syntax
======================================================================
htlatex: The Windows command script file could not be found.
htlatex: Data: scripts/tex4ht/htlatex.bat