Document ClassesCompiling BEAMER slides

Information and discussion about specific document classes and how to create your own document classes.
Post Reply
drorata
Posts: 8
Joined: Mon Jul 14, 2008 9:29 am

Compiling BEAMER slides

Post by drorata »

Dear all,

today I tried to create a new presentation using BEAMER and I got an error. Here is the code I used:

Code: Select all

\documentclass[ucs,9pt,hyperref={pdfpagelabels=false}]{beamer}
\usepackage{default}
\title{Title}
\author{Me}
\begin{document}
\begin{frame}
\titlepage
\end{frame}
\begin{frame}{Origins}
Some text
\end{frame}
\end{document}
and I got the following error:
Undefined control sequence. \begin{document}
as the first error.

I then tried to compile old sources and in all I got the same error.

Finally, I have found the problem. Or at least a solution that worked for me. According to these: http://groups.google.com/group/comp.tex ... 525b7fcddb and http://www.tug.org/pipermail/tex-live/2 ... 24848.html

It seems like the problem is related to the geometry package. For me both solutions worked, and I think I'll be using the second one, since otherwise I will have to change all my old .tex beamer files.

I hope you'd find this useful,
Dror
Last edited by drorata on Fri Mar 12, 2010 4:35 pm, edited 1 time in total.
Ubuntu 8.04 + Kile 3.5.10 + TeXLive. Question?

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

frabjous
Posts: 2064
Joined: Fri Mar 06, 2009 12:20 am

Re: Compiling BEAMER slides

Post by frabjous »

Your sample code compiles just fine for me.

If the problem persists, try adding \listfiles to the source, and post the complete log file here.
drorata
Posts: 8
Joined: Mon Jul 14, 2008 9:29 am

Re: Compiling BEAMER slides

Post by drorata »

Thanks for the quick reply!

As I have updated, for me the problem was real, and the solution worked fine.

As far as I understood, this is sort of a known issue.
Ubuntu 8.04 + Kile 3.5.10 + TeXLive. Question?
Post Reply