I'm sort of stumped on this one. I'm trying to include some graphics that I created with Stata in a document. I'm using pdfLaTeX and graphicx. When I try to compile, I get the error message:
ERROR: Text line contains an invalid character.
--- TeX said ---
l.1 ^^@
^^PJFIF^^@^^A^^A^^A^^A,^^A,^^@^^@^^@C^^@^^A^^A^^A^^A^^A^^A^^A^^..."
My file is very simple:
\documentclass{article}
\usepackage{graphicx}
\usepackage{graphicx}
\begin{document}
\input{jpeg/math.eps.jpeg}
\end{document}
I've tried using EPS, JPEG and PDF with the pdftex option for graphicx.
Any ideas?

\includegraphics{...}, not\input{..}. And also remove the dot between math and eps in the file name. – Ulrike Fischer Mar 20 '12 at 15:18graphicxtwice? Also, with an up-to-date system, you usually don't need to include apdftexoption or the like; I think there might actually be reasons not to do it. – doncherry Mar 20 '12 at 16:44graphicxit is ctan.org/pkg/graphicx – tohecz Mar 21 '12 at 0:13