From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/57185 Path: news.gmane.org!not-for-mail From: Taco Hoekwater Newsgroups: gmane.comp.tex.context Subject: Re: Setting expansion depth limit for metapost Date: Wed, 17 Mar 2010 13:10:19 +0100 Message-ID: <4BA0C6AB.5010406@elvenkind.com> References: <20100316124314.GB83600@bablos.dry.pl> <4BA0A08D.7090500@elvenkind.com> <20100317115713.GF83600@bablos.dry.pl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1268828752 26980 80.91.229.12 (17 Mar 2010 12:25:52 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 17 Mar 2010 12:25:52 +0000 (UTC) Cc: michal@dry.pl To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Wed Mar 17 13:25:48 2010 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1NrsJo-0001yP-Hw for gctc-ntg-context-518@m.gmane.org; Wed, 17 Mar 2010 13:25:48 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 6A9C2C9D6B; Wed, 17 Mar 2010 13:25:47 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id eE3hRbNDh0-i; Wed, 17 Mar 2010 13:25:39 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 11449C9D36; Wed, 17 Mar 2010 13:16:38 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 82B7AC9CAE for ; Wed, 17 Mar 2010 13:16:32 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id UAcMQYCPhFjh for ; Wed, 17 Mar 2010 13:16:23 +0100 (CET) Original-Received: from plane.elvenkind.com (elvenknd.xs4all.nl [82.95.203.226]) by balder.ntg.nl (Postfix) with ESMTP id 0E421C9D3E for ; Wed, 17 Mar 2010 13:10:23 +0100 (CET) Original-Received: from glenlivet.elvenkind.com (glenlivet.elvenkind.com [10.10.0.6]) by plane.elvenkind.com (Postfix) with ESMTP id EBC8B802088A; Wed, 17 Mar 2010 13:10:20 +0100 (CET) User-Agent: Thunderbird 2.0.0.21 (X11/20090319) In-Reply-To: <20100317115713.GF83600@bablos.dry.pl> X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.12 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:57185 Archived-At: 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 ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________