[NTG-context] Compiling a large metapost document

Hans Hagen j.hagen at xs4all.nl
Thu Jun 2 12:15:34 CEST 2022


On 6/1/2022 8:34 PM, Thomas A. Schmitz via ntg-context wrote:
> 
> 
> On 6/1/22 19:35, Stefan Nedeljkovic via ntg-context wrote:
>> Sorry, i just updated the file, should now compile, but fail due to 
>> resources. Are the configuration options to context that would enable 
>> this file to be compiled?
> The question still stands: what do you expect us to do? Hunt for a 
> problem through a huge file? What have you done to identify this 
> problem? Is there a minimal example?
due to a mail server crash i lost todays and last nights mail sop here s 
a partial reply

(Just put that large mp blob in a file and call that one instead of 
passing through tex's tokenizer:

\startMPpage
     input test.mp ;
\stopMPpage

then in order to save runtime do

draw image (
draw (220.852, 127.175) ;
draw (226.248, 128.606) ;
draw (221.840, 129.541) ;
draw (280.733, 100.927) ;
draw (276.968, 83.053) ;
draw (251.644, 83.879) ;
) withpen pencircle scaled 0.16875 withcolor (0.976, 0.702, 0.204) ;


Hans

-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
        tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-----------------------------------------------------------------


More information about the ntg-context mailing list