Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

Possible Duplicate:
No room for a new \dimen

I obtain an error when using simultaneously the above 4 elements. When removing one of them (which I do not wish), the output is fine.

\documentclass{beamer}
\usepackage{tikz}                 % 1
\usetikzlibrary{decorations.text} % 1
\usepackage{caption}              % 2
\usepackage{booktabs}             % 3
\usetheme{progressbar}            % 4

\begin{document}
\begin{frame}

\end{frame}
\end{document}

The progressbar theme comes from Sylvain Bouveret's webpage.

The error message output by pdfLaTeX is the following (LaTeX does not return any error):

*geometry* detected driver: pdftex
(/usr/local/texlive/2012/texmf-dist/tex/context/base/supp-pdf.mkii
[Loading MPS to PDF converter (version 2006.09.02).]
! No room for a new \dimen .
\ch@ck ...\else \errmessage {No room for a new #3}
                                              \fi 
l.1253 \newdimen\MPscratchDim
                          % will be assigned global
? 
share|improve this question

marked as duplicate by Axel Sommerfeldt, lockstep, Andrew Swann, Claudio Fiandrino, Thorsten Feb 1 '13 at 15:07

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

    
It works if XeLaTeX or TeX->PS->PDF route is used with warnings about fadings of TikZ. So one of them is eating up the dimen registers in the PDF driver. –  percusse Feb 1 '13 at 12:10
    
Welcome to TeX.sx! This seems to be a case already dealt with in No room for a new \dimen. If this solves your issue, please tell us, so that this question can be closed; otherwise, tell why the suggested workaround does not apply. –  egreg Feb 1 '13 at 12:20
    
Just after \documentclass{beamer}, add \usepackage{etex}. –  Paul Gaborit Feb 1 '13 at 12:36
    
Loading the etex package solves the issue, indeed. Thank you all. I am surprised that this minimal example saturates Pdftex. –  Jef Feb 1 '13 at 12:51

1 Answer 1

To use the extended pool for \dimen, you need to use the etex package:

\documentclass{beamer}
\usepackage{etex}
\usepackage{tikz}                 % 1
\usetikzlibrary{decorations.text} % 1
\usepackage{caption}              % 2
\usepackage{booktabs}             % 3
\usetheme{progressbar}            % 4

\begin{document}
\begin{frame}

\end{frame}
\end{document}
share|improve this answer
    
Thank you, that works! –  Jef Feb 1 '13 at 12:49
    
Your answer solved a slightly different problem. Thanks anyway. –  Dohn Joe May 7 at 20:02

Not the answer you're looking for? Browse other questions tagged or ask your own question.