Document Classesbeamer | Error Sentences displayed in Output

Information and discussion about specific document classes and how to create your own document classes.
Post Reply
Dhanya
Posts: 5
Joined: Thu Jan 17, 2013 12:44 pm

beamer | Error Sentences displayed in Output

Post by Dhanya »

I use MiKTeX version 2.9.4521 and the TeXnicCenter 2 beta 1 as editor. It was working perfect till last month. But now when I tried to compile even a simple beamer presentation as this one.

Code: Select all

\documentclass{beamer}

\usetheme{Warsaw}
\begin{document}
\end{document}
It gives me almost 371 errors and the PDF output displays a lot of junk sentences which I believe are the commands from the package files used by the theme. I'm attaching the snapshot of the output PDF of the same.What could be the reason for this problem?
Attachments
test.PNG
test.PNG (85.89 KiB) Viewed 5932 times
Last edited by localghost on Thu Jan 17, 2013 7:44 pm, edited 2 times 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

Stefan Kottwitz
Site Admin
Posts: 10335
Joined: Mon Mar 10, 2008 9:44 pm

beamer | Error Sentences displayed in Output

Post by Stefan Kottwitz »

Hi Dhanya,

welcome to the board!

Perhaps post your .log file as attachment to a forum post. It would be even better if you would add \listfiles to the preamble before compiling and posting the log., so we would see the package versions.

Stefan
LaTeX.org admin
Dhanya
Posts: 5
Joined: Thu Jan 17, 2013 12:44 pm

beamer | Error Sentences displayed in Output

Post by Dhanya »

Thank you for the reply!
I've added \listfiles in the preamble as you said. Here is the log file.
Attachments
dh.log
(59.6 KiB) Downloaded 351 times
User avatar
Stefan Kottwitz
Site Admin
Posts: 10335
Joined: Mon Mar 10, 2008 9:44 pm

beamer | Error Sentences displayed in Output

Post by Stefan Kottwitz »

I think the problem is caused by outdated packages, which don't work together with newer packages.

In this case and regarding the error messages, beamer.cls and pgf are important.

In your file list I can see:

Code: Select all

beamer.cls    2005/10/23 cvs version 3.06 A class for typesetting presentations (rcs-revision 1.67)
pgfcore.sty    2005/10/25 v1.01 (rcs-revision 1.3)
In my file list - and on the current PC I even don't use the newest ones:

Code: Select all

beamer.cls    2010/06/21 development version 3.10 A class for typesetting presentations (rcs-revision a6b1a8434d30)
pgfcore.sty    2010/04/11 v2.10 (rcs-revision 1.7)
I strongly recommend to update at least beamer and pgf, or the whole TeX installation. MikTeX 2.9 is pretty new though, so check MikTeX Options / Settings, available via the start menu, and look for an "Update" button.

Stefan
LaTeX.org admin
Dhanya
Posts: 5
Joined: Thu Jan 17, 2013 12:44 pm

beamer | Error Sentences displayed in Output

Post by Dhanya »

In the update list of MiKTeX 2.9 beamer and pgf is not there. So should I de-install and re-install them by the MiKTeX Package Manager?
User avatar
Stefan Kottwitz
Site Admin
Posts: 10335
Joined: Mon Mar 10, 2008 9:44 pm

beamer | Error Sentences displayed in Output

Post by Stefan Kottwitz »

A possible explanation would be that those packages were manually installed and so would not be involved in the MiKTeX update process.

I would remove C:\Program Files\MiKTeX 2.9\miktex\localtexmf\tex\latex\beamer\ (localtexmf points to a local installation), perhaps also C:\Program Files\MiKTeX 2.9\tex\latex\pgf\ and C:\Program Files\MiKTeX 2.9\tex\generic\pgf\, and then I would install beamer and pgf with the Package Manager.

Stefan
LaTeX.org admin
Dhanya
Posts: 5
Joined: Thu Jan 17, 2013 12:44 pm

beamer | Error Sentences displayed in Output

Post by Dhanya »

Sorry.It didnt work. :cry:
I removed the folders mentioned by you. Then from package manager i de-installed the beamer and pgf and then reinstalled. I tried to compile the
same tex file after refreshing FNDB. But the output pdf still shows error. :cry:
In the package manager now beamer shows packaged on 2013-01-07 and pgf shows 2011-11-05.
Dhanya
Posts: 5
Joined: Thu Jan 17, 2013 12:44 pm

Re: beamer | Error Sentences displayed in Output

Post by Dhanya »

Stefan,
Finally it worked!!! Thanks alot :D
I removed the local root directory paths from ROOTS of MIKTEX OPTIONS and refreshed FNDB.
Now it works :)
Post Reply