I now have a long input file with many independent sections. For the moment it is processed as follows:
\starttext \startTEXpage \startMPcode % variable declarations % macro definitions with drawing code input input_data; \stopMPcode \stopTEXpage \stoptext Now this becomes a bit too large for one page, I tried a Metapost run in luatex but after taking some 12 GB of memory it gave up. The idea is thus to have one contiguous input which at certain points produces a new startTEXpage. That will flush the internal memory I guess and makes long documents possible. I'd rather not split the input_data in seperate files: making a thousand of more files seems no nice prospect to me. Any ideas how to best structure things? I should mention that I have a lot of control over the writing of the input_data. Hans van der Meer ___________________________________________________________________________________ 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 ___________________________________________________________________________________