[NTG-context] Setting expansion depth limit for metapost

Michal Suszko michal at dry.pl
Wed Mar 17 12:57:13 CET 2010


* Taco Hoekwater <taco at elvenkind.com> [2010-03-17 10:27:41 +0100]:

> Michal Suszko wrote:
> > I'm preparing quite long presentation -- nearly 3000 sides,
> > 900 figures (500 distinct PNG files). 
> > I'm using ConTeXt MkIV installed using minimals (2010.03.12 19:49).
> > Recently I'm hitting MetaPost capacity limit on expansion depth:
> > 
> > !mplib          : mp terminal: ! MetaPost capacity exceeded, sorry [expansion depth=10000].
> > 
> > Increasing expand_depth in texmf.cnf and regenerating formats with
> > context --make doesn't help. expansion depth is still at 10000 in error 
> > message.
> 
> This is because recursion in metapost takes place on the C stack,
> and that does not allow growth. But do you really need 10000 expansion
> levels? That seems a little weird.

I don't see where this could come from. If I split document in half both
parts are building fine.

Michał


More information about the ntg-context mailing list