[OS X TeX] pgf and stack overflow

Peter Lichtner lichtner at lanl.gov
Sat Jan 28 20:19:49 CET 2006


When trying to run an example from the pgf graphics package I get:
This is pdfeTeX, Version 3.141592-1.30.4-2.2 (Web2C 7.5.5)
\write18 enabled.
entering extended mode
(./pgf-test.tex
LaTeX2e <2003/12/01>
...
! TeX capacity exceeded, sorry [input stack size=5000].


I am trying to run the example on the cover of the TikZ and pgf  
manual (version 1.01):

\begin{tikzpicture}[grow cyclic]
\tikzstyle{level 1}=[sibling angle=120]
\tikzstyle{level 2}=[sibling angle=60]
\tikzstyle{level 3}=[sibling angle=30]
\tikzstyle{every node}=[fill]
\tikzstyle{edge from parent}=[snake=expanding waves,segment  
length=1mm,segment angle=10,draw]
\tikz [grow cyclic,shape=circle,very thick,level  
distance=13mm,cap=round]
\node {} child [color=\A] foreach \A in {red,green,blue}
{ node {} child [color=\A!50!\B] foreach \B in {red,green,blue}
{ node {} child [color=\A!50!\B!50!\C] foreach \C in {black,gray,white}
{ node {} }
}
};
\end{tikzpicture}

How do I go about increasing the TeX stack capacity---or is something  
else wrong? I was able to run all the other examples I tried in the  
manual. I am using MacOSX 10.4.4 with TeXShop 2.09.
Thanks for any help, ...Peter

<><><><><><><><><><><><><><><><><><><><><>
Peter C. Lichtner (lichtner at lanl.gov)
LANL EES-6: MS D469
(505) 667-3420 (o)
(505) 665-3285 (fax)
Los Alamos National Laboratory
SM-30 Bikini Atoll Road
Los Alamos, NM 87545
<><><><><><><><><><><><><><><><><><><><><>



------------------------- Info --------------------------
Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
          & FAQ: http://latex.yauh.de/faq/
TeX FAQ: http://www.tex.ac.uk/faq
List Archive: http://tug.org/pipermail/macostex-archives/




More information about the macostex-archives mailing list