[pdftex] Wrong search path for PDF/PNG/JPG files

Pawel Jackowski jackos1 at poczta.onet.pl
Fri Oct 14 09:10:43 CEST 2005


Hello,

> PDF/PNG/JPG files are searched in
> 
>    .../tex/plain//
>    .../tex/generic//
>    .../tex///
> 
> The search path for PDF files is documented in the
> `example.tex' file (distributed with tetex, for example):
> 
> -----------------------------
> \pdfximage {pic.pdf}    % read image pic.pdf (from path TEXPSHEADERS)
> -----------------------------

Thanks for note, but now there is:

------------------------------
\pdfximage {pic.pdf} % read image pic.pdf (search for it in TEXINPUTS path)
------------------------------

> Note that pdftex treats PDF/PNG/JPG files as tex sources
> (kdebug:kpse_find_file: searching for pic.jpg of type tex
>     (from texmf.cnf))
> That is strange.
> 
> Could the pdfetex program be told to search for PDF/PNG/JPG
> files in subdirectories of `figures' directory for example?

Ok, meybe it is strange, but make things simple. Why not to modify 
TEXINPUTS variable so that kpathsea checks ./figures directory?

-- 
Pawe/l Jackowski
P.Jackowski at gust.org.pl



More information about the pdftex mailing list