[tex4ht] two versions of unicode.4ht
Ulrike Fischer
news3 at nililand.de
Wed Aug 3 18:02:41 CEST 2016
Hello Michal,
>> I found two versions of unicode.4ht in
>>
>> \ht-fonts\iso8859\1
>>
>> one in
>>
>> D: exlive\2016 exmf-dist ex4ht\ht-fonts\iso8859\1\charset\
>>
>> the other in
>>
>> D: exlive\2016 exmf-dist ex4ht\ht-fonts\iso8859\1\charset\uni\
>>
>> Their content is not identical, the one in charset has two extra
>> lines:
>>
>> 'fi' '' 'fi' ''
>> 'fl' '' 'fl' ''
>>
>> I'm not quite sure if both are really from the texlive installation
>> -- perhaps one of them remained from a test I did to compare the
>> location with the one from miktex, but I mention it anyway just in
>> case. Also I would like to know which one is the correct one.
> There is quite a lot of unicode.4hf versions generated from
> tex4ht-fonts-4hf.tex:
Yes I know. I'm not wondering about this.
But why do I have two in the iso8859/1/charset folder?
Only "iso8859/1" has a "uni" subfolder in the charset folder with an
additional unicode.4ht.
E.g. compare in your list iso88859/1 with iso8859/2:
2 versions here:
> tex4ht.dir/texmf/tex4ht/ht-fonts/iso8859/2/charset/unicode.4hf
> tex4ht.dir/texmf/tex4ht/ht-fonts/iso8859/2/html/charset/unicode.4hf
but 3 versions here:
> tex4ht.dir/texmf/tex4ht/ht-fonts/iso8859/1/charset/uni/unicode.4hf
^^^ odd
> tex4ht.dir/texmf/tex4ht/ht-fonts/iso8859/1/charset/unicode.4hf
> tex4ht.dir/texmf/tex4ht/ht-fonts/iso8859/1/html/charset/unicode.4hf
> It seems that issue someone had on TeX.sx with Miktex [1] is that wrong
> `unicode.4hf` file is used, it can't find the one in `unicode` dir and
> instead the one in `iso8859/1` is used, which results in file with
> declared `utf-8` encoding, but characters in `iso8859` encoding.
> I am not sure what is the issue here. It seems that the .4hf files are
> in correct places, but tex4ht can't find them.
That's a bug in miktex.
somehow the ! in e.g.
i~/tex4ht.dir/texmf/tex4ht/ht-fonts/unicode/!
is not correctly interpreted and doesn't work if the subfolder is
exactly one level down, so files in
texmf/tex4ht/ht-fonts/unicode/charset are not found, while
texmf/tex4ht/ht-fonts/unicode/charset/uni works.
--
Mit freundlichen Grüßen
Ulrike Fischer
mailto:news3 at nililand.de
More information about the tex4ht
mailing list