LaTeX forum ⇒ Graphics, Figures & TablesImage not found warning on excisting image

Information and discussion about graphics, figures & tables in LaTeX documents.
yotama9
Posts: 61
Joined: Thu Sep 24, 2009 2:59 pm

Image not found warning on excisting image

Postby yotama9 » Thu Nov 12, 2009 5:27 pm

Hi Guys.

I'm trying to add a figure to my latex document and I get the following warning:

  1. <images/APMS flu and UV in water.png, id=118, 769.6755pt x 561.5379pt>
  2. File: images/APMS flu and UV in water.png Graphic file (type png)
  3. <use images/APMS flu and UV in water.png>


:?:

The correct figure appear but with the filename above it (which is annoying to say the least).

Why is it so? I'm using texmaker and exceuting pdflatex if it's matter

User avatar
gmedina
Posts: 2313
Joined: Wed Jul 11, 2007 11:45 pm

Postby gmedina » Thu Nov 12, 2009 5:30 pm

Hi,

avoid blank spaces both in the path and in the name of your images. If you really need to use spaces, the grffile package could be useful.
1,1,2,3,5,8,13,21,34,55,89,144,233,...

yotama9
Posts: 61
Joined: Thu Sep 24, 2009 2:59 pm

Postby yotama9 » Thu Nov 12, 2009 5:33 pm

no problem I only want to know why some of the file names are ok to have spaces and some not.

User avatar
gmedina
Posts: 2313
Joined: Wed Jul 11, 2007 11:45 pm

Postby gmedina » Thu Nov 12, 2009 7:07 pm

Hi,

yotama9 wrote:no problem I only want to know why some of the file names are ok to have spaces and some not.


The documentation for grffile contains the answer:

grffile documentation wrote:In general it is not possible to use space inside file names, because TEX considers
the space character as termination in its syntax for commands that expect a file
name.
1,1,2,3,5,8,13,21,34,55,89,144,233,...

yotama9
Posts: 61
Joined: Thu Sep 24, 2009 2:59 pm

Postby yotama9 » Sun Nov 15, 2009 5:37 pm

OK. thanks.


Return to “Graphics, Figures & Tables”

Who is online

Users browsing this forum: No registered users and 14 guests