Setting expansion depth limit for metapost

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. texmf.cnf in texmf-local I've changed is reported by context as first one in log line starting with "mkiv lua stats : used config path" What am I missing? Michal

* Taco Hoekwater
Trying to prepare minimal working example of this problem I isolated it in the process. There were 3 MP graphics each one used once on each page. After change them from \startuseMPgraphic ... \stopuseMPgraphic and \useMPgraphic to \startreusableMPgraphic ... \stopreusableMPgraphic and \useMPgraphic error messages disappeared. Michał

On 2/18/2016 11:03 PM, Michal Suszko wrote:
if that can be used it's always better (more efficient) but it's anyway strange so there is an issue in your graphic ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
participants (3)
-
Hans Hagen
-
Michal Suszko
-
Taco Hoekwater