Changing metapost capacities

Reinhard Kotucha <[email protected]>
Newsgroups gmane.comp.tex.tetex.general
Message-ID <[email protected]>
>>>>> "Daniel" == Daniel Russel <[email protected]> writes:

    > I am trying to process a metapost file consisting of a fairly
    > large number of rectangles (defined using "draw (x,y)--..--(xp,
    > yp)--cycle"). I get the error:

    > MetaPost capacity exceeded, sorry [input stack size=300].

    > I tried changing /usr/share/texmf/web2c/texmf.cnf to increase
    > all of the capacities and then running "texconfig init" which I

You can't increase metapost's input stack size without recompiling
metapost.  Usually, a value of 300 should be sufficient.

Maybe there is something wrong with the definition of your rectangle
macro.

It's best to write a minimal .mp file that shows this error and ask on
the NTG-Metapost mailing list <[email protected]>.

Look at http://www.ntg.nl/mailman/listinfo/metapost

Regards,
  Reinhard

-- 
----------------------------------------------------------------------------
Reinhard Kotucha			              Phone: +49-511-4592165
Marschnerstr. 25
D-30167 Hannover	                      mailto:[email protected]
----------------------------------------------------------------------------
Microsoft isn't the answer. Microsoft is the question, and the answer is NO.
----------------------------------------------------------------------------
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.