[NTG-context] Compiling a large metapost document

Max Chernoff mseven at telus.net
Thu Jun 2 01:45:57 CEST 2022


> I have a large .tex file with metapost embedded in it and want to compile
> it, but it fails. Do you know of a way to compile it?

Just use plain MetaPost:

     diff --git a/belgrade_gm.tex b/belgrade_gm.mp
     index 3281754..d536b64 100644
     --- a/belgrade_gm.tex
     +++ b/belgrade_gm.mp
     @@ -1 +1 @@
     -\startMPpage
     +beginfig(1)
     @@ -125187 +125187 @@ drawdot (264.352, 116.362) withpen pencircle scaled 1.35 withcolor (0.929, 0.110
     -\stopMPpage
     \ No newline at end of file
     +endfig; end;

Then compile with:
     
     mpost belgrade_gm
     ps2pdf belgrade_gm.1

-- Max



More information about the ntg-context mailing list