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

Ulrike Fischer news3 at nililand.de
Mon May 30 12:32:11 CEST 2011


Am Sun, 29 May 2011 23:51:23 +0200 schrieb Jaroslav Sobota:

> Hi Ulrike,
> the following batch file works for me. Hope it will help you.

No, sorry it doesn't help. It uses the line

tex4ht %1 -cunihtf -utf8 .....

and again the "-cunihtf"-option gives the error 
--- error --- Illegal storage address


But I could get around the problem by changing in tex4ht.env the
pathes in the unihtf section to

<unihtf>
iJ:\MiKTeX2.9\tex4ht\ht-fonts\unicode\!
iJ:\MiKTeX2.9\tex4ht\ht-fonts\ascii\!
iJ:\MiKTeX2.9\tex4ht\ht-fonts\alias\!
</unihtf>

I get a similar error with other sections e.g. with -ciso2htf. They
disappeared if I remove e.g. the alias path from the section (but
then often the resulting html was not as wanted). 

I think there is something wrong in the parsing of the tex4ht.env
file. Perhaps only windows is affected because of the slashes in
pathes. 


I couldn't adapt htlatex.bat so that one can pass the " -cunihtf
-utf" in its second argument to tex4ht. But this is not so
problematic, I can write a bat which contains the arguments
directly. 

-- 
Ulrike Fischer 



More information about the tex4ht mailing list