Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Homework Help: Inserting Figures in pdftex

  1. Jan 4, 2010 #1
    1. The problem statement, all variables and given/known data

    I am using the TeXnicCenter editor, and I cannot figure out how to insert a non-photographic image into my pdftex document. I have the image saved in the same folder as the .tex file. In fact, I have the image there in .eps, .pdf, and .png format, just to make sure I have the right format. No matter what I do, I keep getting the build error:

    ! Package pdftex.def Error: File `\color@endgroup .png' not found.

    I don't know what this error means. I looked in the program folder for mikTex (which is...sort of the engine TeXnikCenter uses to build, I'm not sure what to call it), and, sure enough, there isn't anything called \color@endgroup .png there, but what is it and where can I get it?

    I have tried both

    in the preamble. Where the figures needs to be, I have

    \caption[Figure 1]
    \includegraphics[width=10 cm, height=10 cm]{valleyOfStability}

    The image is named valleyOfStability. I've tried typing both with and without the various file extensions. I've tried leaving out the options in brackets before the file name.

    2. Relevant equations

    3. The attempt at a solution
    Last edited: Jan 4, 2010
  2. jcsd
Share this great discussion with others via Reddit, Google+, Twitter, or Facebook

Can you offer guidance or do you also need help?
Draft saved Draft deleted