[tex4ht] tex4ht and utf8 / -cunihtf-option doesn't work.
Jaroslav Sobota
jsobota at kky.zcu.cz
Sun May 29 23:51:23 CEST 2011
An embedded and charset-unspecified text was scrubbed...
Name: warning1.txt
URL: <http://tug.org/pipermail/tex4ht/attachments/20110529/26fee4ad/attachment.txt>
-------------- next part --------------
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?
>
>
More information about the tex4ht
mailing list