- #1
darkchild
- 155
- 0
Homework Statement
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
\usepackage[pdftex]{graphicx}
and
\usepackage{graphicx}
in the preamble. Where the figures needs to be, I have
\begin{figure}[h]
\centering
\caption[Figure 1]
\includegraphics[width=10 cm, height=10 cm]{valleyOfStability}
\end{figure}
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.
Homework Equations
The Attempt at a Solution
Last edited: