I'm no wizard, but this worked for me in a similar situation, so fingers crossed it might work for you too
Change the input stack size by editing your texmf.cnf file. Mine is in /etc/texmf/texmf.cnf, but yours might be different. Look in that file for the line that says: stack_size=300 and change it to something bigger ( I don't know how much! ). The wizardry bit is that you have to run `fmtutil -all' to update your TeX installation to use the new stack_size. Incidentally, my Debian distribution says I'm not allowed to edit texmf.cnf directly, I have to edit stack_size in the file /etc/texmf/texmf.d/95NonPath/ and then run update-texmf before I run fmtutil. James magni wrote: >I just installed the new version 1.2.0, and although it works fairly well I >have a big problem with RevTeX. The install went clean, BTW. >Whenever I make a NewFromTemplate->RevTeX4, and compile it without modifying >it, I get 4 errors the first being: >TeX capacity exceeded, sorry (input stack size=300). If you really absolutely >need more capacity, you can ask a wizard to enlarge me. >Now, not being a wizard myself, my only hope is to find one among you ;-) > >Oh, NewFromTemplate->RevTeX gives me 29 similar errors, just at the beginning >of the document > > >