Document Classesxcolor package and beamer

Information and discussion about specific document classes and how to create your own document classes.
User avatar
Stefan Kottwitz
Site Admin
Posts: 10334
Joined: Mon Mar 10, 2008 9:44 pm

Re: xcolor package and beamer

Post by Stefan Kottwitz »

I strongly recommend to update your LaTeX installation. MiKTeX 2.4 is obsolete since a long time, even MiKTeX 2.5 package support will end this year. The current version is MiKTeX 2.7. Of course your beamer class and your pgf versions are also too old as I can see in the log file.
Probably the problem will vanish if this update would have been made.

Stefan
LaTeX.org admin

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

phi
Posts: 577
Joined: Tue Oct 21, 2008 8:10 pm

Re: xcolor package and beamer

Post by phi »

My version of pgf (around 2007) contains only two \RequirePackage lines for xcolor, both without any options. So I'm quite sure the problem will go away after an upgrade.
dejan85
Posts: 8
Joined: Sat Nov 08, 2008 3:14 pm

xcolor package and beamer

Post by dejan85 »

I tried to uninstall previous tex version from add/remove programs, and it didn't work. I had two directories with tex: "C:\localtexmf","C:\texmf" and I not delete it. So, I install MikTex 2.7 on "C:\Program Files\MiKTeX 2.7", and in MikTex Option I add path to new version. Now, it's working except one error

Code: Select all

(C:\Program Files\MiKTeX 2.7\tex\generic\babel\babel.def
File: babel.def 2008/07/06 v3.8l Babel common definitions
LaTeX Info: Redefining \textlatin on input line 82.
! Undefined control sequence.
\main@language ...bbl@main@language \bbl@patterns 
                                                  {\languagename }
l.131 \main@language{english}
If I type "r" I can sea the pdf, and it's look fine, except for the first slide where there are two words : "english" above the slide. Maybe, there is some conflict with previous version, because there are now all tree path in MikTex Option->roots, and if I remove some of them, it's not working at all.
User avatar
Stefan Kottwitz
Site Admin
Posts: 10334
Joined: Mon Mar 10, 2008 9:44 pm

xcolor package and beamer

Post by Stefan Kottwitz »

Hi,

have a look at Updating babel, this could solve it.

Stefan
LaTeX.org admin
dejan85
Posts: 8
Joined: Sat Nov 08, 2008 3:14 pm

Re: xcolor package and beamer

Post by dejan85 »

It works nice.
Thanks.
argo2d
Posts: 1
Joined: Tue Dec 13, 2011 6:10 am

Re: xcolor package and beamer

Post by argo2d »

sorry about reviving an old thread but i'm a little new to this and am undergoing the same problems despite having tried all the solutions. I keep getting the undefined color error and i'm not sure what's going on! this happens whether or not i include the xcolor package with the table argument (and if i do, it gives me the package error!) i've attached a simple version of my slide. I am using texniccenter to compile this.
Attachments
LaTeX1.tex
(2.34 KiB) Downloaded 382 times
dim
Posts: 3
Joined: Thu Aug 26, 2010 1:21 pm

Re: xcolor package and beamer

Post by dim »

I am not good in LateX, but maybe I can help. I get error with color for rowcolor, command \rowcolor{NavyBlue}. If I change color for example to lightgray,orange,... it is work. I don't find why is that, but maybe it can help you.
Post Reply