Re: [NTG-context] question about mplib/mkiv

2008-04-25 Thread Thomas Schmitz
On Thu, 24 Apr 2008 08:38:51 +0200 Taco Hoekwater [EMAIL PROTECTED] wrote: That error indeed comes from mplib, but from the overflow test in realloc(), not the memory array overflow function. You get this error when you attempt to allocate more than 2^31 bytes. Since that clearly

Re: [NTG-context] question about mplib/mkiv

2008-04-24 Thread Taco Hoekwater
Hans Hagen wrote: Thomas A. Schmitz wrote: Hi, for my presentations, I have a graphical counter on every slide, so metapost has to write a graphic for every slide/page that ConTeXt produces. This works with mkii, but when I process my file in mkiv, I get this error after page 16:

Re: [NTG-context] question about mplib/mkiv

2008-04-24 Thread Thomas A. Schmitz
On Apr 24, 2008, at 8:38 AM, Taco Hoekwater wrote: That error indeed comes from mplib, but from the overflow test in realloc(), not the memory array overflow function. You get this error when you attempt to allocate more than 2^31 bytes. Since that clearly should not happen, there is a bug

Re: [NTG-context] question about mplib/mkiv

2008-04-24 Thread Hans Hagen
Thomas A. Schmitz wrote: On Apr 24, 2008, at 8:38 AM, Taco Hoekwater wrote: That error indeed comes from mplib, but from the overflow test in realloc(), not the memory array overflow function. You get this error when you attempt to allocate more than 2^31 bytes. Since that clearly should

[NTG-context] question about mplib/mkiv

2008-04-23 Thread Thomas A. Schmitz
Hi, for my presentations, I have a graphical counter on every slide, so metapost has to write a graphic for every slide/page that ConTeXt produces. This works with mkii, but when I process my file in mkiv, I get this error after page 16: report error: 15 output files written: ..

Re: [NTG-context] question about mplib/mkiv

2008-04-23 Thread Hans Hagen
Thomas A. Schmitz wrote: Hi, for my presentations, I have a graphical counter on every slide, so metapost has to write a graphic for every slide/page that ConTeXt produces. This works with mkii, but when I process my file in mkiv, I get this error after page 16: report error: 15

Re: [NTG-context] question about mplib/mkiv

2008-04-23 Thread Thomas A. Schmitz
On Apr 24, 2008, at 1:44 AM, Hans Hagen wrote: hm, maybe something messy with the graphic ... i allocate 2MB of memory for metafun so ... anyhow, \appendtoks\ctxlua{metapost.reset(metafun)}\to\everyshipout or so, may help, although it's better to see what's the real reason does