[tex4ht] Error with tex4ht on Win32

Vladimir Lomov lomov.vl at gmail.com
Sat Aug 29 07:55:29 CEST 2009


Hi.

Seems I found misconfiguration of tex4ht on win32 (tested with
texlive2009 and miktex 2.7).
My sample document
[document name="feature1.tex"]
\documentclass{article}

\begin{document}

This is a \textbf{test}.

\end{document}
[/document]

Now I do steps
1. run 'htlatex' without any options:
htlatex feature1.tex
I get 'feature1.html' file.
2. run
htlatex feature1.tex "xhtml,charset=utf-8" " -cunihtf -utf8"
I get error:
...
D:\Users\Lomov\Temp>t4ht feature1.tex
-ec:\tex4ht\texmf\tex4ht\base\win32\tex4ht.env
----------------------------
t4ht.c (2009-01-31-07:34 kpathsea)
t4ht feature1.tex
  -ec:\tex4ht\texmf\tex4ht\base\win32\tex4ht.env
(c:/texlive2009/texmf-dist/tex4ht/base/win32/tex4ht.env)

and I don't get 'simple.html' file. I check
$SELFAUTOPARENT/texmf-dist/tex4ht/base/win32/tex4ht.env and found
<default>
ic:\tex4ht\texmf\tex4ht\ht-fonts\iso8859\1\!
...
while
kpsewhich -varvalue=SELFAUTOPARENT => C:/texlive2009
For some reason paths in configuration file for Windows are hard coded
but 'unix' are not:
<default>
i~/tex4ht.dir/texmf/tex4ht/ht-fonts/iso8859/1/!
...


On Linux these steps run without problems.

Also I attached log files gathered from console output and written by latex.
(STDOUT is named as feature1.logging, STDERR is named as feature1.errs.logging)


---
WBR, Vladimir Lomov

Pablo Picasso  - "Computers are useless. They can only give you answers."
-------------- next part --------------
A non-text attachment was scrubbed...
Name: feature1.errs.logging
Type: application/octet-stream
Size: 1087 bytes
Desc: not available
URL: <http://tug.org/pipermail/tex4ht/attachments/20090829/d4eaa697/attachment-0003.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: feature1.log
Type: application/octet-stream
Size: 11583 bytes
Desc: not available
URL: <http://tug.org/pipermail/tex4ht/attachments/20090829/d4eaa697/attachment-0004.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: feature1.logging
Type: application/octet-stream
Size: 9787 bytes
Desc: not available
URL: <http://tug.org/pipermail/tex4ht/attachments/20090829/d4eaa697/attachment-0005.obj>


More information about the tex4ht mailing list