Possible Duplicate:
No room for a new \dimen
I have a fairly large document which uses 30 or so packages. I was going to add some TikZ graphics, so I added the following to my header file:
\usepackage{tikz,pgfplots}
However, this gave me a lot of errors of the type
! No room for a new \dimen .
After looking around, this seems to be related to a limitation of TeX. Is it not possible to use TikZ with many other packages? I am using MikTeX 2.9 and pdflatex.
-enable-etexswitch but it didn't help. – Ben Dec 29 '10 at 04:42etexpackage modifies how LaTeX allocates registers to use e-TeX. The command-line switch you added (which is on by default anyway) only makes the extensions available: it does not change how LaTeX actually works. – Joseph Wright Dec 29 '10 at 07:42pgfplotsloadstikzinternally and you need to ensure that theetexpackage is loaded beforetikzis loaded, thus beforepgfplotsis loaded as well. – Andrew Stacey Apr 13 '12 at 12:28