Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I'm trying to compile my .tex file to html, suitable for conversion to an ebook. I'm using the following command:

C:\...\write-up>mk4ht htlatex diss.tex 'xhtml,charset=utf-8,pmathml' ' -cunihtf -utf8 -cvalidate'

But after a while I get the error message:

! I can't find file `'xhtml.cfg'.
<to be read again>
                   \relax
l.42 \begin{document}

Please type another input file name:

and I'm not sure what to do. What am I missing? I'm using MiKTeX on Windows 7.

share|improve this question
    
Also: removing everything after diss.tex in the command gives the same error, but with can't find file '.cfg'. –  fredley May 15 '11 at 11:34
    
Do double quotes in place of single quotes help? See tug.org/applications/tex4ht/mn-commands.html –  Matthew Leingang May 15 '11 at 16:05
add comment

closed as too localized by lockstep, Martin Scharrer Sep 18 '11 at 14:25

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.

Browse other questions tagged or ask your own question.