Graphics, Figures & Tablesdcpic | Incompatible with the 'beamer' class

Information and discussion about graphics, figures & tables in LaTeX documents.
Post Reply
jocaps
Posts: 2
Joined: Thu Jul 21, 2011 7:24 pm

dcpic | Incompatible with the 'beamer' class

Post by jocaps »

Hi,

When using beamer and the dcpic package I get an odd error:

Code: Select all

! Missing number, treated as zero
<to be read again>

l.4 \begin{document}

I tried it with a superslim .tex file:

Code: Select all

\documentclass{beamer}
\usepackage{dcpic}
\begin{document}
\begin{frame}{Some frame title}
blabla
\end{frame}
\end{document}
I read somewhere that this is some old beamer bug, I haven't updated my beamer package for quite a while. Any help/suggestion would be appreciated. Thanks :)

Recommended reading 2024:

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

Learn LaTeX easily with newest books:

The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis

The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more

LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis

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

dcpic | Incompatible with the 'beamer' class

Post by localghost »

I don't know which of them is the culprit, but I can comprehend the problem. At first you can try to update all related stuff to remedy that. As an alternative for your commutative diagrams you could use the pgf/tikZ package. Internally the beamer class already uses PGF. So you could be sure that this combination will work. The package manual has the details. In case of upcoming questions, feel free to ask.


Best regards and welcome to the board
Thorsten
jocaps
Posts: 2
Joined: Thu Jul 21, 2011 7:24 pm

Re: dcpic | Incompatible with the 'beamer' class

Post by jocaps »

well my solution was to switch to powerdot as I can't afford not working with dcpic right now. My presentation comes from a work that makes extensive use of dcpic and trying to switch to pgf would mean rewriting all of the diagrams. powerdot seems to require less from your system too, so I'm pretty ok with that. Thanks for the help though.

Jose

PS: dcpic uses pictex
Post Reply