Document ClassesBeamer - Undefined control sequence \begin{document}

Information and discussion about specific document classes and how to create your own document classes.
Post Reply
mikkellund42
Posts: 3
Joined: Sun Feb 21, 2010 10:27 pm

Beamer - Undefined control sequence \begin{document}

Post by mikkellund42 »

Hi

I have been using beamer for some time now with TeXLive 2007 and Kile on Ubuntu. Recently I updated to TL2009 and all my LaTeX documents seems to work fine - except my beamer files. All my presentations gives me a bunch of errors and warnings. Most of the errors goes something like

Code: Select all

Undefined control sequence \begin{document}
or

Code: Select all

Missing number, treated as zero \begin{document}
I have tried with this minimal (non-)working example (log file attached) which gives me 32 errors and 4 warnings.

Code: Select all

\documentclass{beamer}
\begin{document}
\begin{frame}
Test
\end{frame}
\end{document}
Any help is really appreciated.
Attachments
beamertest.log
(42.39 KiB) Downloaded 636 times

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org
LaTeX Beginner's Guide LaTeX Cookbook LaTeX TikZ graphics TikZによるLaTeXグラフィックス
phi
Posts: 577
Joined: Tue Oct 21, 2008 8:10 pm

Beamer - Undefined control sequence \begin{document}

Post by phi »

This is caused by a bug that became manifest when geometry was updated only a few days ago. See this discussion for an explanation and a fix.
mikkellund42
Posts: 3
Joined: Sun Feb 21, 2010 10:27 pm

Re: Beamer - Undefined control sequence

Post by mikkellund42 »

Thank you so much! I have been banging my head against the wall all day, trying to solve this, but this simple fix did it! You are my hero :D
phi
Posts: 577
Joined: Tue Oct 21, 2008 8:10 pm

Re: Beamer - Undefined control sequence

Post by phi »

Watch out for updates in the next few days, the bug is already fixed and you should be able to remove the hack: http://tug.org/pipermail/tex-live/2010- ... 24887.html
mikkellund42
Posts: 3
Joined: Sun Feb 21, 2010 10:27 pm

Re: Beamer - Undefined control sequence

Post by mikkellund42 »

I will. Thanks again!
Post Reply