Document ClassesBeamer problem: my old beamer files no longer compile

Information and discussion about specific document classes and how to create your own document classes.
Post Reply
TetheredSun
Posts: 3
Joined: Wed Jan 19, 2011 3:39 pm

Beamer problem: my old beamer files no longer compile

Post by TetheredSun »

Greetings!

I've just reinstalled my system (upgrading from Vista to Windows 7), so I had to reinstall MiKTeX as well. I've installed MiKTeX 2.9.

My problem is, my trusty old beamer files (that worked like a charm under MiKTeX 2.7 and Vista) no longer compile. I tried uninstalling MiKTeX 2.9 and reverting to the old 2.7 repository I store on my computer, but to no avail.

I've tried to google the error messages, but I haven't found anything that could help. I've tried to update MiKTeX, but it says no updates are available (no wonder since I use a freshly downloaded repository).

The error messages I get depend on the beamer opions and themes I use.

1) With

Code: Select all

\documentclass[10pt, blackandwhite, xcolor = {x11names, svgnames}]{beamer}
and Szeged, infolines, circles themes I get the following error:

! Argument of \@gobble has an extra }.

2) With

Code: Select all

\documentclass[10pt, xcolor = {x11names, svgnames}]{beamer}
and infolines, rounded, serif themes, I get

! Use of \beamer@alt doesn't match its definition.

and

! Use of \beamer@label doesn't match its definition.

I am very much dependent on these beamer files in my teaching. I've been using them for years without problem, and now I can't see a solution.

I should appreciate any help or hint from the community. Thank you very much in advance!

Péter
Last edited by TetheredSun on Fri Jan 21, 2011 12:24 pm, edited 1 time in total.

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

localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Beamer problem: my old beamer files no longer compile

Post by localghost »

It is always helpful to prepare a minimal example. Here it is indispensable. With this poor information the problem is not comprehensible.


Best regards and welcome to the board
Thorsten
TetheredSun
Posts: 3
Joined: Wed Jan 19, 2011 3:39 pm

Beamer problem: my old beamer files no longer compile

Post by TetheredSun »

Dear Localghost

First of all, I am sincerely sorry for having breached the rules. My head was reeling from hours of useless search. And so much the worse as in trying to find a minimal example, I have found the solution.

The minimal example:

Code: Select all

\documentclass{beamer} 
\usepackage[magyar]{babel} 
\usepackage{caption} 

\begin{document} 
\begin{frame} 
        \frametitle{Title} 
                \begin{figure}[h] 
                        \centering 
                        \includegraphics[width = 0.5\textwidth]{Forms} 
                        \label{Forms} 
                \end{figure} 
\end{frame} 
\end{document}


Further conditions for the error to occur:
1) The magyar.ldf language definition is the old one included in the
MiKTeX distribution (they keep including the outdated one, even if the
freshest distributions).
2) The figure does not have a caption. If I insert a caption, the
problem is resolved.


The solution was to replace the magyar.ldf with a newer (1.5) version
(downloadable from http://www.math.bme.hu/latex/ ).

My sincerest apologies and thank you for the advice.

Yours sincerely
Péter
Last edited by TetheredSun on Fri Jan 21, 2011 12:21 pm, edited 1 time in total.
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Beamer problem: my old beamer files no longer compile

Post by localghost »

Now that the problem is solved, please be so kind and mark the topic accordingly as written in Section 3 of the Board Rules.
TetheredSun wrote:[…] 1) The magyar.ldf language definition is the old one included in the MiKTeX distribution (they keep including the outdated one, even if the freshest distributions). […]
This is worth a note to the maintainer of the MiKTeX distribution.
TetheredSun wrote:[…] 2) The figure does not have a caption. If I insert a caption, the problem is resolved. […]
Very odd. On my TeX Live 2010 it runs smoothly even with a caption.
TetheredSun wrote:[…] The solution was to replace the magyar.ldf with a newer (1.5) version (downloadable from http://www.math.bme.hu/latex/ ). […]
As mentioned above the MiKTeX maintainer should be informed to fix this.

Looking at the final solution, this problem should not only occur with the beamer class because it seems to be far from being specific for that class.
TetheredSun
Posts: 3
Joined: Wed Jan 19, 2011 3:39 pm

Re: Beamer problem: my old beamer files no longer compile

Post by TetheredSun »

I've done as instructed, including notifying Christian Schenk at the MikTeX project of the problem. Sorry again for breaching the rules. :oops:
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Beamer problem: my old beamer files no longer compile

Post by localghost »

TetheredSun wrote:I've done as instructed, including notifying Christian Schenk at the MikTeX project of the problem. […]
Feel free to report new insights after his answer.
Post Reply