[NTG-context] Compiling a large metapost document

Stefan Nedeljkovic tsar.srb at gmail.com
Thu Jun 2 04:00:59 CEST 2022


Thank you very much Max! It works indeed! One more question. How would I
import the eps file back into MPpage, so I could do trickery with text.


)

On Thu, Jun 2, 2022 at 1:46 AM Max Chernoff <mseven at telus.net> wrote:

> > 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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ntg.nl/pipermail/ntg-context/attachments/20220602/1b037062/attachment.htm>


More information about the ntg-context mailing list