TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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> 
<*> 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}
\DeclareGraphicsExtensions{.pdf,.png,.jpg, .gif} 


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

share|improve this question
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}. – Jubobs 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


if really needed!

share|improve this answer
As requested here is ALL THE CODE – matthew Apr 30 '13 at 12:13
Here is the code structure 2shared.com/document/n_nQpUAJ/Code_structure_file.html here is the log file 2shared.com/document/-FITxNB1/Logfile_Latex.html – matthew Apr 30 '13 at 12:17
Are you not able to find the lines with the above mentioned \includegraphics? You have several of it. Simply delete the bb= ... – Herbert Apr 30 '13 at 14:06

(More of a comment, but I lack the reputation)

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 \].

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.