# Beamer: error ! ==> Fatal error occurred, no output PDF file produced!

Having problems with LaTeX. The PDF file isn't being created and I have looked numerous times online. I think the problems lies in the user packages.

Here is the end the log code:

Package pdftex.def Warning: Option bb' does not make sense,
(pdftex.def)                using viewport' instead on input line 154.

<use riskcenter2.jpg> [12])
Runaway argument?
\let \AtEndDocument \@firstofone \@enddocumenthook \@checkend {docume\ETC.
! File ended while scanning use of \beamer@collect@@body.
<inserted text>
\par
<*> Copulas.tex

! Emergency stop.
<*> Copulas.tex

!  ==> Fatal error occurred, no output PDF file produced!
Transcript written on Copulas.log.


and here is the beginning of the document the user packages;

\documentclass[notes=show, Spanish]{beamer}
\usepackage{graphicx}
\DeclareGraphicsRule{.emf}{bmp}{}{}
\DeclareGraphicsExtensions{.pdf,.png,.jpg, .gif}

\usepackage[Spanish]{babel}
\usepackage{amssymb}
\usepackage{eurosym}
%%%%%%%%%%%%%%%%%%%%%%%%
\usepackage{mathpazo}
\usepackage{hyperref}
\usepackage{multimedia}
\usepackage[latin1]{inputenc}
\usepackage{color}
\definecolor{Red}{rgb}{0.9,0.05,0.05}
%\usepackage{subfig}


If you need me to send the files I can do so.

• Welcome to TeX.SX. A tip: If you indent lines by 4 spaces, then they're marked as a code sample. You can also highlight the code and click the "code" button ({}) or hit Ctrl+K. – Claudio Fiandrino Apr 30 '13 at 10:29
• Welcome to TeX.sx! Please add a minimal working example (MWE) that illustrates your problem. It will be much easier for us to reproduce your situation and find out what the issue is when we see compilable code, starting with \documentclass{...} and ending with \end{document}. – jub0bs Apr 30 '13 at 10:30
• Could you please post a full example, complete with begin document and end document, and also, smallest such document that produces this error (so, start from the beginning, put line by line and stop when this is the error or any equivalent algorithms...) – kan Apr 30 '13 at 10:31
• There seeems to be a problem with bb as an option. Perhaps you had something like \begin{figure}[bb]? – Mario S. E. Apr 30 '13 at 10:40
• Please add the offending frame code too. Otherwise we can't see the problem just by looking at the error message. – percusse Apr 30 '13 at 11:00

in your document you have a \includegraphics[bb=...]{...} which makes no sense. You should use
\includegraphics[viewport=...,clip]{...}

You seem to be using some control sequences that do not exist. Use < and > instead, or \textgreater (\textless respectively). (The Comprehensive Latex Symbol List] is a good place to look if you don't know how to obtain certain symbols)
Also, $ and $ delimit math-mode - you should not use $ $ inside a statement bracketed by $ and $.