[metapost] Reaching the limit of beginfig

Taco Hoekwater taco at elvenkind.com
Wed Nov 15 09:24:26 CET 2006

Peng Yu wrote:
> Hi
> I need to generate thousands of figures from the same metapost program.
> But the command "beginfig(6000)" or "fignumber := 6000; beginfig(fignumber);"
> gives me some errors. Is there any walkaround?

If you set

	warningcheck := 0;

(like the message proposed) you can go up to 32767, but then metapost
no longer reports on some of the overflow checks, so you have to be
sure that your figures are not so large they produce wrong results.

Greetings, Taco

More information about the metapost mailing list