0

I have an image stored in my file system under the following path:

file:///C:/Users/jacob/Documents/Unix%20CW/ERD.png

I have imported the graphicx package using

\usepackage{graphicx}

and have declared the path:

\graphicspath{ {C:/Users/jacob/Documents/Unix%20CW/} }

but when I use includegraphics

\includegraphics{ERD.png}

It says that the file cannot be found. Where have I gone wrong? I can include the rest of my code if needed.

  • 1
    I would expect it's due to the % in the file name? – user31729 Apr 18 '16 at 9:46
  • I dont know why it includes the %20? In my file system that file is just called "Unix CW" – John Smith Apr 18 '16 at 9:49
  • Ill try it without – John Smith Apr 18 '16 at 9:49
  • - Didn't fix it – John Smith Apr 18 '16 at 9:50
  • 1
    You need to upload the image if you are typesetting online. It can't use an image on your computer. – cfr Apr 19 '16 at 1:32
0

If you're compiling your LaTeX in the directory where your *.tex file is, and your graphics are in the same folder, you don't need to set your graphics path

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.