TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Possible Duplicate:
How to avoid showing the filename when using graphicx?

So I'm using the \includegraphics command to put a PDF image of a table into my LaTeX file here, but this pesky "filename".pdf caption comes up with the image and I can't figure out how to get rid of it. Here's my code:


\caption{Short GRB sample data.}
\includegraphics[trim = 10mm 30mm 8mm 30mm, clip,,width=10in]{Short GRB data table3.pdf}

(References included on next page).


I would post an image if I could, but apparently I can't as a new poster. Help is much appreciated, thanks.

share|improve this question

marked as duplicate by egreg, Werner, Thorsten, Jake, lockstep May 16 '12 at 5:50

This question was marked as an exact duplicate of an existing question.

Welcome to TeX.SX! Please, have a look at the linked question; this should solve your problem, which basically is in the spaces in the file name. – egreg May 15 '12 at 22:50

I think you wish to say, in your output file, the image file name appears at the top of it. Isn't it?

Then, I was in the same problem... It's very easy to solve. Use

\includegraphics[trim = 10mm 30mm 8mm 30mm, clip,,

In your image file name, do not use any space. If you need, use "_". If you have any space at the name of the image file, it will appear at the top of your image on output. So rename your image file and try it. Hope it will solve your problem.

share|improve this answer

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