Bugzilla will be upgraded to version 5.0 on a still to be determined date in the near future. The original upgrade date has been delayed.
Bug 11433 - pdflatex does not use the TEXINPUTS environment variable
pdflatex does not use the TEXINPUTS environment variable
Product: Red Hat Linux
Classification: Retired
Component: tetex (Show other bugs)
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Tim Waugh
Depends On:
  Show dependency treegraph
Reported: 2000-05-16 03:57 EDT by dedu
Modified: 2008-05-01 11:37 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2001-09-26 09:39:06 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description dedu 2000-05-16 03:57:06 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.
Comment 1 Tim Waugh 2001-09-19 14:46:58 EDT
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 03:10:03 EDT
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 09:07:51 EDT
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 09:39:01 EDT
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 10:30:28 EDT
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.