WARNING: This e-mail has been altered by the NFIT virus/spamfilter. Please see
below for a record of the changes made.
. In case of problems consider contacting the sender or [email protected]
-------Change report:
An attachment named htlatex.bat was removed from this document as it
constituted a security hazard. If you require this document, please contact
the sender and arrange an alternate means of receiving it.
Hi Ulrike,
the following batch file works for me. Hope it will help you.
Use: htlatex.bat yourfile.tex
Regards,
Jaroslav
Dne 29.5.2011 18:43, Ulrike Fischer napsal(a):
Hello,
I'm using miktex 2.9 and have problems to generate utf8-encoded
html-file with tex4ht.
I'm trying to compile this example with htlatex:
\documentclass{article}
\usepackage[ansinew]{inputenc}
\usepackage[T1]{fontenc}
\begin{document}
äöüß
\end{document}
The three first steps (the latex runs) from htlatex.bat are not a
problem, but the tex4ht step didn't work, the result was always a
8-bit-encoded html.
I played around with the options of tex4ht on the command line and
found out that I can get an utf8-html with this command:
==================================================
tex4ht test-ansinew -i"J:\MiKTeX2.9\tex4ht\ht-fonts\unicode!" -utf8
tex4ht.c (2009-01-31-07:33 Windows kpathsea)
tex4ht test-ansinew
-iJ:\MiKTeX2.9\tex4ht\ht-fonts\unicode!
-utf8
(J:/MiKTeX2.9/tex4ht/base/win32/tex4ht.env)
(J:\MiKTeX2.9\tex4ht\ht-fonts\unicode\charset\unicode.4hf)
(J:/MiKTeX2.9/fonts/tfm/jknappen/ec/ecrm1000.tfm)
(J:/MiKTeX2.9/tex4ht/ht-fonts/alias/ec/ec.htf)
Searching `lm-ec.htf' for `ecrm1000.htf'
(J:\MiKTeX2.9\tex4ht\ht-fonts\unicode\lm\lm-ec.htf)
[1 file test-ansinew.html
file test-ansinew.css
file test-ansinew.tmp
]
Execute script `test-ansinew.lg'
===================================================
But the -cunihtf option simply doesn't work:
==================================================
I:\Z-Test>tex4ht test-ansinew -cunihtf -utf8
----------------------------
tex4ht.c (2009-01-31-07:33 Windows kpathsea)
tex4ht test-ansinew
-cunihtf
-utf8
(J:/MiKTeX2.9/tex4ht/base/win32/tex4ht.env)
(J:/MiKTeX2.9/fonts/tfm/jknappen/ec/ecrm1000.tfm)
(J:/MiKTeX2.9/tex4ht/ht-fonts/alias/ec/ec.htf)
Searching `lm-ec.htf' for `ecrm1000.htf'
(J:/MiKTeX2.9/tex4ht/ht-fonts/unicode/lm/lm-ec.htf)
--- error --- Illegal storage address
==================================================
Has someone an idea what could be wrong?