ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Stefan Nedeljkovic via ntg-context <ntg-context@ntg.nl>
To: Max Chernoff <mseven@telus.net>
Cc: Stefan Nedeljkovic <tsar.srb@gmail.com>,
	mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Compiling a large metapost document
Date: Thu, 2 Jun 2022 04:00:59 +0200	[thread overview]
Message-ID: <CAGraPNfH+F-TytvPZkSY76MURjOKNNSqg8=nz=6CbryOOioPrQ@mail.gmail.com> (raw)
In-Reply-To: <1f166f27-61d9-e211-0239-b3f9591985de@telus.net>


[-- Attachment #1.1: Type: text/plain, Size: 876 bytes --]

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@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
>
>

[-- Attachment #1.2: Type: text/html, Size: 1447 bytes --]

[-- Attachment #2: Type: text/plain, Size: 493 bytes --]

___________________________________________________________________________________
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

  reply	other threads:[~2022-06-02  2:00 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-06-01 14:48 Stefan Nedeljkovic via ntg-context
2022-06-01 16:43 ` Stefan Nedeljkovic via ntg-context
2022-06-01 17:24   ` Bruce Horrocks via ntg-context
2022-06-01 17:35     ` Stefan Nedeljkovic via ntg-context
2022-06-01 18:34       ` Thomas A. Schmitz via ntg-context
2022-06-01 20:15         ` Stefan Nedeljkovic via ntg-context
2022-06-01 20:16           ` Stefan Nedeljkovic via ntg-context
2022-06-01 20:25           ` Thomas A. Schmitz via ntg-context
2022-06-01 21:30             ` Stefan Nedeljkovic via ntg-context
2022-06-01 22:26               ` Bruce Horrocks via ntg-context
2022-06-02  7:18               ` Thomas A. Schmitz via ntg-context
2022-06-02  8:51                 ` Stefan Nedeljkovic via ntg-context
2022-06-02 10:15         ` Hans Hagen via ntg-context
2022-06-02 10:36           ` Stefan Nedeljkovic via ntg-context
2022-06-01 23:45   ` Max Chernoff via ntg-context
2022-06-02  2:00     ` Stefan Nedeljkovic via ntg-context [this message]
2022-06-02  2:22       ` Max Chernoff via ntg-context
2022-06-02  2:41         ` Stefan Nedeljkovic via ntg-context
2022-06-02  3:21           ` Stefan Nedeljkovic via ntg-context

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAGraPNfH+F-TytvPZkSY76MURjOKNNSqg8=nz=6CbryOOioPrQ@mail.gmail.com' \
    --to=ntg-context@ntg.nl \
    --cc=mseven@telus.net \
    --cc=tsar.srb@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).