Michal Suszko wrote:
* Taco Hoekwater
[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.
It could be a bug in mplib then, but I can't test that without an input example. Can you create me one? (it could consist of one massive \dorecurse call, I assume?). Best wishes, Taco