Red Hat Bugzilla – Bug 11433
pdflatex does not use the TEXINPUTS environment variable
Last modified: 2008-05-01 11:37:55 EDT
TEXINPUTS environment variable is used when wanted to store image files
(for example) into one directory and find them in whatever directory
pdflatex is executed. The tetex distribution with RedHat 6.2 does not take
this variable into accout when used with pdflatex.
Do you know when, if ever, this last worked? tetex-1.0.7-31 will have an
updated pdftex (0.14h), so that might be worth a spin.
I have just checked on RedHat 7.1 with tetex-1.0.7-15 and pdfTeX (Web2C 7.3.1)
3.14159-0.13d, and it does not work. I cannot check on tetex-1.0.7-31 with
pdftex (0.14h) because it is not installed.
If you can show me the exact test case that you are trying, I will be able to
verify whether or not 1.0.7-31 really fixes this. Thanks.
eminescu:~/work$ echo $TEXINPUTS
eminescu:~/work$ ls supelec.*
ls: supelec.*: No such file or directory
eminescu:~/work$ ls /usr/users/staginfo/dedu/doc/images/supelec.*
Here is the file "test.tex"
eminescu:~/work$ latex test.tex
[...] it's OK [TEXINPUTS taken into account]
After commenting out the eps line and removing % from the pdf line in file
eminescu:~/work$ pdflatex test.tex
This is pdfTeX, Version 3.14159-13d (Web2C 7.3.1)
LaTeX2e <1998/12/01> patch level 1
Babel <v3.6x> and hyphenation patterns for american, french, german, ngerman, n
Document Class: article 1999/01/07 v1.4a Standard LaTeX document class
loading : Context Support Macros / Missing
loading : Context Support Macros / PDF
Error: pdflatex (file supelec.pdf): cannot open image file
Of course, if we put the file supelec.pdf in the current directory, all works
fine with pdflatex.
Okay, this works fine for me with pdftex 0.14h. Since pdftex 0.14h is
included in tetex-1.0.7-31 and later, I'm marking this closed.
Thanks for the test case.