[tex4ht] tex4ht and utf8 / -cunihtf-option doesn't work.

Jaroslav Sobota jsobota at kky.zcu.cz
Mon May 30 00:00:19 CEST 2011


Due to security reasons, I'm re-sending the batch. Rename the attached 
file to *.bat

Jaroslav

Dne 29.5.2011 23:51, Jaroslav Sobota napsal(a):
> 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?
>>
>>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: htlatex.tex
URL: <http://tug.org/pipermail/tex4ht/attachments/20110530/6146f847/attachment.ksh>


More information about the tex4ht mailing list