ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Taco Hoekwater <taco@elvenkind.com>
Subject: Re: developing large numbers of MP files for inclusion in	source
Date: Sun, 25 Dec 2005 08:50:24 +0100	[thread overview]
Message-ID: <43AE4F40.3070802@elvenkind.com> (raw)
In-Reply-To: <1ED3A921-3CB2-4201-9D57-4F37A5BBC23B@cox.net>

David Arnold wrote:
> Do you have one metapost file with many figures in it? Is it possible  
> to just compile for the figurein that file that you want? 

Usually I have all in one file. You can comment out figures
you do not need, using:

   if false:
   beginfig(1)
   ...
   endfig;
   ..
   fi

So I normally do that with the first ten when I am working on the
eleventh. Later, I just change the 'false' to 'true'.

Sometimes metaposts "input" command is handier, but I prefer not
to have too many files on disk.

> Is there  a 
> command that will compile then show the result?

I use ghostscript for preview (gv, actually) or xpdf if there is
embedded math/nontrivial text, by running mptopdf first.

Like I said before: my setup is not hightech at all.

Cheers, Taco

  parent reply	other threads:[~2005-12-25  7:50 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-12-24  0:18 David Arnold
2005-12-24  9:17 ` Taco Hoekwater
2005-12-24 20:10   ` David Arnold
     [not found]     ` <6faad9f00512241617n4a2102c6mcdde847afc67ea48@mail.gmail.com>
2005-12-25  0:25       ` David Arnold
2005-12-25  7:50     ` Taco Hoekwater [this message]
2005-12-24 15:05 ` Henning Hraban Ramm

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=43AE4F40.3070802@elvenkind.com \
    --to=taco@elvenkind.com \
    --cc=ntg-context@ntg.nl \
    /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).