# Error presenting an image [closed]

I want the third page of my document to include an image (JPEG) but I can't figure out what's wrong with my code. Here's the MWE:

\documentclass{beamer}

\usetheme{Warsaw}
\title[Artificial Neural Network]{Introduction  to ANN\\Artificial Neural Network}
\author{Gigili}
\date{January 6, 2013}
\begin{document}

\begin{frame}
\titlepage{}

\end{frame}

\begin{frame}{continue}

\includegraphics{<Sample>}

\end{frame}

\end{document}


Here's the folder where I saved the image and the sample code:

The error I am getting is:

-

## closed as too localized by Martin Schröder, Andrew Swann, Claudio Fiandrino, lockstep, Harish KumarJan 3 '13 at 13:33

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.

Try to remove <> in \includegraphics{<Sample>} and then compile it. I tried it with an image of mine and it worked. –  xfoo Jan 3 '13 at 12:20
@ChristianR.: That worked, thank you. –  Gigili Jan 3 '13 at 12:22
You should always state the exact error message you get so others can help you better. Also examples should be minimal, e.g. the first frame here is not required etc. –  Martin Scharrer Jan 3 '13 at 12:45
@MartinScharrer: You're right. I was talking about it in chat and forgot other people here don't know what I am talking about! I'll edit my question accordingly. –  Gigili Jan 3 '13 at 12:48

• first, it's not recommended to choose the same name for your .tex file and your image.
• As mentioned in the comments, I removed '<>' and it worked:

  \includegraphics[scale=0.5]{neuron}


Note that the image was renamed to neuron.

-
The <..> are often used, including on this site, to mark a variable text, e.g., <name> means to add a name here and <filename> means to add a file name here. The < > act here as delimiters to see where the template starts and ends and should be replaced when filling in the real content. –  Martin Scharrer Jan 3 '13 at 12:47
–  Please don't touch Jan 3 '13 at 12:57
This answer does not show how to include a jpeg picture because it doesn't refer to the extension of the filename. Of course it's possible to rely on the capability of the graphicx package to define a default file extension, define conversions, and search paths, but this is not a MWE that shows how to use them. –  Marc van Dongen Jan 3 '13 at 13:06
@MarcvanDongen: I didn't claim that it is. –  Gigili Jan 3 '13 at 13:46
Well, your question is about presenting a JPEG picture and you provide an answer to your question, which suggests the answer demonstrates how to include a JPEG picture. –  Marc van Dongen Jan 3 '13 at 14:31