[tex-live] Error with tex4ht on Win32

Akira Kakuto kakuto at fuk.kindai.ac.jp
Sat Aug 29 11:57:51 CEST 2009


> > 2. run
> > htlatex feature1.tex "xhtml,charset=utf-8" " -cunihtf -utf8"
> > I get error:
> 
> Try
> htlatex feature1.tex "xhtml ,charset=utf-8" " -cunihtf -utf8"

I was wrong.  That is a subtlety of the command line in
batch files given to tex4ht.
Please change all back slashes in the last 2 lines in htlatex.bat
into forward slashes as follows:

-        tex4ht %1  -ic:\tex4ht\texmf\tex4ht\ht-fonts\%3 -ec:\tex4ht\texmf\tex4ht\base\win32\tex4ht.env
-        t4ht %1 %4 -ec:\tex4ht\texmf\tex4ht\base\win32\tex4ht.env 
+        tex4ht %1  -ic:/tex4ht/texmf/tex4ht/ht-fonts/%3 -ec:/tex4ht/texmf/tex4ht/base/win32/tex4ht.env
+        t4ht %1 %4 -ec:/tex4ht/texmf/tex4ht/base/win32/tex4ht.env 

Then
htlatex feature1.tex "xhtml,charset=utf-8" " -cunihtf -utf8"
will become ok.

The same changes will be necessary for all batch files for
tex4ht.

Best regards,
Akira Kakuto



More information about the tex-live mailing list