Sign up ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I'm using TexWorks to compile a math article and want to add some PNG images in between.

As is said on LaTeX/Importing Graphics -- Including graphics

  1. I've included the graphicx package
  2. and at the place where I want the image to be, I've used \includegraphics{myimage} The image file and .tex file, both are on the desktop.

The error shown is:

! LaTeX Error: File `myimage' not found.

I'm a complete novice in TeX. So, please explain in detail but in simple terms.

share|improve this question

closed as too localized by Jake, lockstep, egreg, Paulo Cereda, Joseph Wright Jul 15 '12 at 14:22

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.

Hi, welcome to! Have a look at If you're still stuck after reading that article, please edit your question to include more details (it's much too general at the moment). –  Jake Jul 15 '12 at 11:26
Thanks, I've edited the question. –  user16437 Jul 15 '12 at 11:34
Ah, sorry, you can't include GIFs, they need to be either PNG or JPG (see…). You'll have to convert them first. –  Jake Jul 15 '12 at 11:37
Is the file called myimage.png? And are you sure both files are in the same directory, and you're calling pdflatex from the same directory? –  Jake Jul 15 '12 at 11:41
By calling \includegraphics for each file. Please don't ask follow-up questions in comments, but edit your original question or open a new one. Also, you need to show some research effort and make your question more precise. It's not at all clear what you mean by "multiple images in a row". Do you want to include all images in a certain directory? Or a number of images in a sequence (like image1.png, image2.png...)? Or three completely separate images? –  Jake Jul 15 '12 at 11:50