[tex4ht] tex4ht and utf8 / -cunihtf-option doesn't work.
jsobota at kky.zcu.cz
Mon Jun 6 17:25:54 CEST 2011
Excellent hint, thanks a lot. Have you possibly found a way how to
obtain unicode xhtml files without modifying the paths in tex4ht.env
file? In MikTeX 2.7 everything worked neat with the default (although
non-existing) paths but now, after an update to MikTeX 2.9, I have to
update the paths in tex4ht.env manually, which I'd like to avoid.
On 30.5.2011 14:18, Ulrike Fischer wrote:
> Am Mon, 30 May 2011 12:32:11 +0200 schrieb Ulrike Fischer:
>> I couldn't adapt htlatex.bat so that one can pass the " -cunihtf
>> -utf" in its second argument to tex4ht.
> I found it. The variables (%3, %4, %5) are wrong. When used like
> this the quotes around the parameters are still present and so e.g.
> tex4ht %1 %3 tries to run "tex4ht file "-cunihtf -utf8". When the
> %3 is directly after an -i<path> it gets somehow eaten.
> One must use a tilde ~ to get rid of the quotes.
> So the correct line for tex4ht is
> tex4ht %1 -ic:\tex4ht\texmf\tex4ht\ht-fonts\ %~3
> Then it also doesn't matter if the path use backslash or slashes.
> (Contrary to the claim in
> Actually on miktex
> tex4ht %1 %~3
> is enough as it finds the tex4ht.env through kpathsea.
> %4 (t4ht) and %5 (latex) should be adapted similary.
More information about the tex4ht