Thanks for taking the time to read my inquiry.
I have, until recently, been using MiKTeX 2.7. Under 2.7 my document compiled without grief, either to dvi or directly to pdf. Upon upgrading to MiKTeX 2.8, that same document compiles flawlessly to dvi, but blows up when complied to pdf. I'm hoping to elicit some guidance from someone as to why this is happening. In my preamble I have, after the inclusion of several other packages, the following two cases:
Code: Select all
\ifpdf %if we're running under pdftex, do the following
\usepackage[final,verbose,letterpaper,pdftex,pagebackref=true]{hyperref}
\usepackage[pdftex]{graphicx}
\usepackage{epstopdf} % make sure we convert all eps figures to pdf on the fly
%\DeclareGraphicsExtensions{.eps,.pdf}
%\DeclareGraphicsRule{.eps}{pdf}{.pdf}{`epstopdf --gsopt="-dPDFSETTINGS=/prepress -dAutoFilterColorImages=false -dAutoFilterGrayImages=false -sColorImageFilter=FlateEncode -sGrayImageFilter=FlateEncode -sCompressPages=false -dPreserveHalftoneInfo=true" #1 }
\hypersetup{pdftitle=Document Title,pdfauthor = My Name,pdfpagemode = UseThumbs}
\else %if we're running under normal latex, do the following
\usepackage[dvips]{graphicx}
\fi
Code: Select all
<use figures_theory_nmr_and_mri_section/three_projections/three_projections-eps
-converted-to.pdf>
pdftex: define anchor at line 365: subsubsection.2.2.3
! TeX capacity exceeded, sorry [parameter stack size=10000].
\@gobble #1->
l.365 ...}$-Space Acquisition Using the Hahn Echo}
If you really absolutely need more capacity,
you can ask a wizard to enlarge me.
Here is how much of TeX's memory you used:
6758 strings out of 495269
103853 string characters out of 3180097
387707 words of memory out of 3000000
9682 multiletter control sequences out of 15000+200000
78155 words of font info for 66 fonts, out of 3000000 for 9000
14 hyphenation exceptions out of 8191
9978i,12n,10001p,1796b,358s stack positions out of 50000i,500n,10000p,200000b,50000s
! ==> Fatal error occurred, no output PDF file produced!
So how do I get past this? What's going wrong? I'm a little clueless on this one, actually. It's been my experience that when one runs up against TeX capacity errors like this one is doing something wrong. This document is, as previously stated, pretty big, though. Moreover, in selecting my labels for cross-referencing I'm very verbose - it really helps me to keep things straight in this monster. Is it appropriate to increase stack sizes any more? How do I do this for the "n", "p", "b" and "s" stack parameters? Heck, what do those even mean?
Any help anyone could provide would be much appreciated. If I'm being stupid, I assure you, I'm unaware and I apologize. Please be gentle! Also, this document is one of about 13 "pots" on my stove at the moment. If you respond with assistance or a further query and I don't get back to you right away, please accept my apologies (and gratitude, in advance!). I promise: I'll be back!
Thanks again for your time!
Christian