I have a directory structure with following directories (upper-cased) and files as follows:
Main Folder
masterfile.tex
Chapter
content.tex
tempfile.tex
Figures
figure1.pdf
All the text of my document is in content.tex, though it includes the graphic figure1.pdf. Both the masterfile.tex and tempfile.tex input content.tex. In masterfile.tex, I use \input{Chapter/content}; in tempfile.tex, I use \input{content}.
How do I properly reference figure1.pdf within content.tex?
If I use \includegraphics{figure1}, then neither masterfile.tex nor tempfile.tex can find it.
If I use \includegraphics{Figures/figure1}, then tempfile.tex can find it, though masterfile.tex can't.
If I use \includegraphics{Chapter/Figures/figure1}, then tempfile.tex can't find it, though masterfile.tex can.
I can't seem to find the right relative pathname to make it work. Martin's solution to this problem seems applicable, but I can't make that work, either.
Yes, I know one solution is to change to location of my files, but let's just say that can't be done.
\includegraphics{Figures/figure1.pdf}work? – Bobyandbob Jun 13 '17 at 16:12main Folderbut perhaps simpler is not to put paths in the commands and just use\input{content}and\includegraphics{figure1}– David Carlisle Jun 13 '17 at 16:13Figuresfolder is within theChapterfolder, using just\includegraphics{Figures/figure1.pdf}isn't found when I compilemasterfile.tex, though it is found when compilingtempfile.tex. – GregH Jun 13 '17 at 20:32