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
?
XeLaTeXorTeX->PS->PDFroute is used with warnings about fadings of TikZ. So one of them is eating up the dimen registers in the PDF driver. – percusse Feb 01 '13 at 12:10\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 01 '13 at 12:20\documentclass{beamer}, add\usepackage{etex}. – Paul Gaborit Feb 01 '13 at 12:36