Document Classesbeamer undefined control sequence \set@color ->\pdfliteral

Information and discussion about specific document classes and how to create your own document classes.
dfmoram
Posts: 7
Joined: Tue May 27, 2008 3:22 pm

beamer undefined control sequence \set@color ->\pdfliteral

Post by dfmoram »

Hi.. I am Diego

I am new with Beamer and I try to build a presentation, I installed the need files but appears an undefined control sequence :

! Undefined control sequence.
\set@color ->\pdfliteral
{\current@color }\aftergroup \reset@color
l.1095 \color{black}

can anybody help ? thanks

Recommended reading 2024:

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

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

User avatar
Stefan Kottwitz
Site Admin
Posts: 10321
Joined: Mon Mar 10, 2008 9:44 pm

beamer undefined control sequence \set@color ->\pdfliteral

Post by Stefan Kottwitz »

Hi Diego,

welcome to the LaTeX Community board!
Could you show us a minimal working example, that gives that error? Just a small compilable document that shows how you build the presentation and includes the error. The we could test it and suggest a specific adjustment.

Stefan
LaTeX.org admin
dfmoram
Posts: 7
Joined: Tue May 27, 2008 3:22 pm

Re: beamer undefined control sequence

Post by dfmoram »

Hi Stefan

This is What I made
Attachments
presentacionfinal.tex
(298 Bytes) Downloaded 470 times
dfmoram
Posts: 7
Joined: Tue May 27, 2008 3:22 pm

Re: beamer undefined control sequence

Post by dfmoram »

Again
Attachments
presentacionfinal.tex
(298 Bytes) Downloaded 441 times
User avatar
Stefan Kottwitz
Site Admin
Posts: 10321
Joined: Mon Mar 10, 2008 9:44 pm

Re: beamer undefined control sequence

Post by Stefan Kottwitz »

Hi Diego,

I can see that you are using special characters. On my Linux system they are not shown, but I can compile without error. Do you use Windows, or Linux or what?
Does this example presentacionfinal.tex give the error too? Does it work if you remove the 4 special characters for testing this example?

Stefan
LaTeX.org admin
dfmoram
Posts: 7
Joined: Tue May 27, 2008 3:22 pm

beamer undefined control sequence \set@color ->\pdfliteral

Post by dfmoram »

Hi Stefan The code looks like

Code: Select all

\documentclass[compress]{beamer}
\mode<presentation>
\usetheme{Warsaw} ...
I am using Windows and Winedt v5.4. the mistake appears in xcolor.sty
User avatar
Stefan Kottwitz
Site Admin
Posts: 10321
Joined: Mon Mar 10, 2008 9:44 pm

beamer undefined control sequence \set@color ->\pdfliteral

Post by Stefan Kottwitz »

Now that I know you are using Windows I converted the encoding of your document from latin1 to utf8 and I can see all symbols.
Because you type those characters directly into your source code you should use the inputenc package. Just add this line to your preamble:

Code: Select all

\usepackage[latin1]{inputenc}
Does that already help?

Stefan
LaTeX.org admin
dfmoram
Posts: 7
Joined: Tue May 27, 2008 3:22 pm

Re: beamer undefined control sequence

Post by dfmoram »

Hi Stefan

I added that line but the problem still persists.
User avatar
Stefan Kottwitz
Site Admin
Posts: 10321
Joined: Mon Mar 10, 2008 9:44 pm

Re: beamer undefined control sequence

Post by Stefan Kottwitz »

Could you attach your logfile? Perhaps I can find out something by examining that.

Stefan
LaTeX.org admin
dfmoram
Posts: 7
Joined: Tue May 27, 2008 3:22 pm

Re: beamer undefined control sequence

Post by dfmoram »

here it is
Attachments
presentacionfinal.log
(4.89 KiB) Downloaded 419 times
Post Reply