We're using teTeX-1.0 on a Solaris system. When I run pdflatex on this file:

\documentclass[12pt]{article}
\usepackage[pdftex]{graphics}

\begin{document}
\graphicspath{{PDF/}}
\includegraphics{logo2}
\end{document}

(yes, the file logo2.pdf is in the PDF directory), I get:

 > [maya.pppl.gov|159] pdflatex test.tex
 > This is pdfTeX, Version 3.14159-13d (Web2C 7.3.1)
 > (test.tex[/usr/local/teTeX-1.0/share/texmf/pdftex/config/pdftex.cfg]
 > LaTeX2e <1998/12/01> patch level 1
 > Babel <v3.6x> and hyphenation patterns for american, french, german, ngerman, n
 > ohyphenation, loaded.
 > (/usr/local/teTeX-1.0/share/texmf/tex/latex/base/article.cls
 > Document Class: article 1999/01/07 v1.4a Standard LaTeX document class
 > (/usr/local/teTeX-1.0/share/texmf/tex/latex/base/size12.clo))
 > (/usr/local/teTeX-1.0/share/texmf/tex/latex/graphics/graphics.sty
 > (/usr/local/teTeX-1.0/share/texmf/tex/latex/graphics/trig.sty)
 > (/usr/local/teTeX-1.0/share/texmf/tex/latex/config/graphics.cfg)
 > (/usr/local/teTeX-1.0/share/texmf/tex/latex/graphics/pdftex.def)) (test.aux)
 > (/usr/local/teTeX-1.0/share/texmf/tex/context/base/supp-pdf.tex
 > (/usr/local/teTeX-1.0/share/texmf/tex/context/base/supp-mis.tex
 > loading : Context Support Macros / Missing
 > )
 > loading : Context Support Macros / PDF
 > )
 > Error: pdflatex (file logo2.pdf): cannot open image file

Ideally, I would like to have the logo2.pdf file in a directory
listed in my TEXINPUTS search path. Since that didn't work, I instead
(as above) tried forcing graphicx to look in a specific directory.
I *can* give includegraphics an absolute or relative path name to
the desired file. But, I'm still wondering why the above doesn't work.

I spent about 2 hours searching the Web / archives for this without
finding any hints. Any suggestions?
                Thanks,
                   Daren Stotler


________________________________________________________________________
Daren Stotler
http://w3.pppl.gov/~dstotler
Research Physicist 
Princeton Plasma Physics Laboratory
MS 27
P. O. Box 451
Princeton, NJ 08543
609-243-2063

You can visit the home page of the Princeton Plasma Physics Laboratory at
http://www.pppl.gov

Reply via email to