Bug 11433 - pdflatex does not use the TEXINPUTS environment variable
Summary: pdflatex does not use the TEXINPUTS environment variable
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: tetex
Version: 6.2
Hardware: i386
OS: Linux
Target Milestone: ---
Assignee: Tim Waugh
QA Contact:
Depends On:
TreeView+ depends on / blocked
Reported: 2000-05-16 07:57 UTC by dedu
Modified: 2008-05-01 15:37 UTC (History)
0 users

Clone Of:
Last Closed: 2001-09-26 13:39:06 UTC

Attachments (Terms of Use)

Description dedu 2000-05-16 07:57:06 UTC
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.

Comment 1 Tim Waugh 2001-09-19 18:46:58 UTC
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.

Comment 2 dedu 2001-09-20 07:10:03 UTC
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.

Comment 3 Tim Waugh 2001-09-26 13:07:51 UTC
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.

Comment 4 dedu 2001-09-26 13:39:01 UTC
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"

Hello world1.


Hello world2.

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
ohyphenation, loaded.
Document Class: article 1999/01/07 v1.4a Standard LaTeX document class
(/usr/share/texmf/tex/latex/graphics/pdftex.def))) (test.aux)
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.


Comment 5 Tim Waugh 2001-09-26 14:30:28 UTC
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.

Note You need to log in before you can comment on or make changes to this bug.