Kapil Hari Paranjape <[EMAIL PROTECTED]> wrote:

> Dear Frank,
>
> On Mon, 03 Apr 2006, Frank Küster wrote:
>> Package: tex4ht
>> Version: 20051223-0bpo1
>> Severity: important
>> 
>> After installing tex4ht on unstable and processing a minimal file, I get
>> the following error message:
>
>> t4ht.c (2006-01-04-02:35 kpathsea)
>> t4ht -f/mini.tex 
>>   -coo 
>>   -cvalidate 
>> --- warning --- Can't find/open file `tex4ht.env | .tex4ht'
>> Entering mini.lg
>
> Could this be because you are using the 20051223-0bpo1 version with
> Debian unstable?

No, sorry for not being specific here.  I tried it also in my regular
sid chroot, and anyway I'm using teTeX 3.0 on sarge.

>
> The point is that unstable has a different kpathsea library and that
> may be causing the file /etc/tex4ht/tex4ht.env to be not found.
>
> Normally, /usr/share/texmf/tex4ht/tex4ht.env is a symbolic link
> to /etc/tex4ht/tex4ht.env and the former is the location where
> kpathsea looks for the file.

The symlink is there, but it isn't found by kpathsea:

kpsewhich --progname=tex4ht tex4ht.env

It seems in the binary the file is searched for with

kpse_open_file ("tex4ht.env", kpse_program_text_format)

This seems wrong to me (I'm not sure, though), I think it should be
kpse_tex4ht_text_format: 

,----
|   Two special formats, `kpse_program_text_format' and
| `kpse_program_binary_format' exist, which use `.:$TEXMF/PROGRAM//' as
| their compiled-in search path.  To override this default, you can use
| the variable `PROGRAMINPUTS' in the environment and/or `texmf.cnf'.
| That is to say, the name of the variable is constructed by converting
| the name of the program to upper case, and appending `INPUTS'.
`----

But even with

kpsewhich --progname=tex4ht --format=kpse_tex4ht_text_format tex4ht.env

it isn't found, and 

[EMAIL PROTECTED]:~$ kpsewhich --progname=tex4ht -show-path 
kpse_tex4ht_text_format 
warning: kpsewhich: Ignoring unknown file type `kpse_tex4ht_text_format'.
[EMAIL PROTECTED]:~$ kpsewhich --progname=tex4ht -show-path 
kpse_program_text_format 
warning: kpsewhich: Ignoring unknown file type `kpse_program_text_format'.
[EMAIL PROTECTED]:~$ 

So maybe the truth is that something's wrong with kpathsea?

Regards, Frank
-- 
Frank Küster
Single Molecule Spectroscopy, Protein Folding @ Inst. f. Biochemie, Univ. Zürich
Debian Developer (teTeX)


Reply via email to