I am trying to define a central graphics path for my thesis, however, the chapters are included with the \include command and by using \include with \graphicspath, pdflatex complains about it can not find the pictures, is not that possible to use \graphicspath and \include together, for which I do not see a sound reasoning behind.
I use in the preamble
\graphicspath{{/home/utab/thesis/phd_text/figures_all//}}
and use
\include{ch9}
Then it can can not find the pictures on the above mentioned directories recursively.
/at the end. That's the only thing I see here. – Martin Scharrer Apr 16 '11 at 16:07graphicsor in the base LaTeX code, but it might be handled by the(pdf)latexexecutable itself. However, in my tests it doesn't work at all, neither for\included files or in the main file. – Martin Scharrer Apr 16 '11 at 16:57\gdef\FindFile#1{% \directlua{local function find_file(...) return kpse.find_file(...) or "" end tex.sprint(find_file("#1"))}} \FindFile{myimage.png}and enter the path as is shown. Change filename to one of your images. See also http://www.tex.ac.uk/cgi-bin/texfaq2html?label=graphicspath – yannisl Apr 16 '11 at 17:05//is an extension of MikTeX. It would explain that it doesn't work with TeXLive under Linux, but that I find some posts online which tell that it works fine. – Martin Scharrer Apr 16 '11 at 17:29\graphicspath{{figures\}}– deepsen Oct 13 '20 at 15:27