Re: [tex4ht] two versions of unicode.4ht

2016-08-03 Thread Michal Hoftich
Quoting Ulrike Fischer (2016-08-03 18:02:41)
> 
> > 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
> 

I don't really understand how tex4ht selects unicode.4hf files. On my
machine, it always selects the one in charset subdir, I don't even know
how it is possible to select one in another subdir. Surely with
tex4ht.env edit. So it is definitely strange that in Miktex it selects
unicode.4hf in charset/uni dir. Does it work in this way also in Windows
TL? Maybe there is an old version of tex4ht.exe? 

Michal



Re: [tex4ht] two versions of unicode.4ht

2016-08-03 Thread Ulrike Fischer
Hello Michal,

>> I found two versions of unicode.4ht in
>> 
>> \ht-fonts\iso8859\1 
>> 
>> one in
>> 
>>   D:exlive\2016exmf-distex4ht\ht-fonts\iso8859\1\charset\
>> 
>> the other in
>> 
>>   D:exlive\2016exmf-distex4ht\ht-fonts\iso8859\1\charset\uni\
>> 
>> Their content is not identical, the one in charset has two extra
>> lines:
>> 
>> '' ''  'fi'   ''
>> '' ''  '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:ne...@nililand.de




[tex4ht] two versions of unicode.4ht

2016-08-03 Thread Ulrike Fischer
I found two versions of unicode.4ht in 

\ht-fonts\iso8859\1 

one in

  D:\texlive\2016\texmf-dist\tex4ht\ht-fonts\iso8859\1\charset\

the other in

  D:\texlive\2016\texmf-dist\tex4ht\ht-fonts\iso8859\1\charset\uni\

Their content is not identical, the one in charset has two extra
lines:

'' ''  'fi'   ''
'' ''  '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. 



-- 
Ulrike Fischer 
http://www.troubleshooting-tex.de/