[tex4ht] tex4ht and utf8 / -cunihtf-option doesn't work.
Ulrike Fischer
news3 at nililand.de
Sun May 29 18:43:54 CEST 2011
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?
--
Mit freundlichen Grüßen
Ulrike Fischer
mailto:news3 at nililand.de
More information about the tex4ht
mailing list