I'm writing my master thesis using texmaker as editor... I have a multi-file project with a main-file as master document and another file used as input. Here is my MWE:



in the part1.tex file I used include graphics to get a PDF image:

\caption{Availability diagram}

but I keep getting the following error:

! Package pdftex.def Error: File '../images/RAM.pdf' not found.

So, what I have to do to sole it?

  • 2
    it seems a relative-path issue. Since \input does nothing else than expanding code in your subfile, the relative path of your graphic (\includegraphics[<options>]{<path>}) should be indicated relatively to your <master-file>.tex
    – ebosi
    May 23, 2016 at 11:13
  • 2
    BTW: this has nothing to do with texmaker (common confusion among new users), texmaker just calls latex
    – daleif
    May 23, 2016 at 11:16
  • @ebo i will try that and come back to you May 23, 2016 at 11:19
  • @daleif oh yes i'm a new user :) May 23, 2016 at 11:19
  • May be a dumb question, but does your file "RAM.pdf" is actually named like that? What I mean is that in LINUX you can avoid having the extension of the file (e.g. .pdf, .png, etc.) and that cause problems while compiling in LaTeX. I recommend you to make sure of that and try to recompile it. Another problem may be is that your relative path is incorrect and that's the reason LaTeX doesn't find it. Hope this may help you.
    – Rand67231
    May 23, 2016 at 11:52


You must log in to answer this question.

Browse other questions tagged .