ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Max Chernoff via ntg-context <ntg-context@ntg.nl>
To: ntg-context@ntg.nl
Cc: Max Chernoff <mseven@telus.net>
Subject: Re: Compiling a large metapost document
Date: Wed, 1 Jun 2022 17:45:57 -0600	[thread overview]
Message-ID: <1f166f27-61d9-e211-0239-b3f9591985de@telus.net> (raw)
In-Reply-To: <CAGraPNcUyLaOrgcH3ydLZH8N435DBgVsqHgpV9mPwCsLe1m+FA@mail.gmail.com>

> 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

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

  parent reply	other threads:[~2022-06-01 23:45 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 [this message]
2022-06-02  2:00     ` Stefan Nedeljkovic via ntg-context
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=1f166f27-61d9-e211-0239-b3f9591985de@telus.net \
    --to=ntg-context@ntg.nl \
    --cc=mseven@telus.net \
    /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).