ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "Meer, H. van der" <H.vanderMeer@uva.nl>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: metapost to pdf on the fly
Date: Mon, 3 Oct 2011 08:12:23 +0000	[thread overview]
Message-ID: <5B8041F2-7991-4977-ABC2-1E2D92D95FB5@uva.nl> (raw)
In-Reply-To: <B053BBEF-E7DF-48BB-A0BF-1BF6E7C41CB0@googlemail.com>

Thanks, this works indeed. But I hoped to be able to produce in this manner at one stroke a series of separate figures, each in its own pdf file. Or is this an impossible action?

Hans van der Meer

On 3 okt. 2011, at 09:09, Wolfgang Schuster wrote:

> 
> Am 03.10.2011 um 09:05 schrieb Meer, H. van der:
> 
>> I am afraid I don't completely understand this. Doing:
>> \startbuffer[fig-1]
>> \startMPcode
>> draw origin-(20,0) .. origin+(0,20) .. origin+(20,0) .. origin+(0,-20) .. cycle withcolor darkgreen;
>> label(textext("Test"),origin);
>> \stopMPcode
>> \stopbuffer
>> \starttext
>> \processMPbuffer[fig-1]
>> \stoptext
> 
> This works:
> 
> \startbuffer[fig-1]
> draw (-20,0) .. (0,20) .. (20,0) .. (0,-20) .. cycle withcolor \MPcolor{darkgreen};
> label(textext("Test"),origin);
> \stopbuffer
> 
> \starttext
> \processMPbuffer[fig-1]
> \stoptext
> 
> Wolfgang
> 
> ___________________________________________________________________________________
> 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://tex.aanhet.net
> archive  : http://foundry.supelec.fr/projects/contextrev/
> wiki     : http://contextgarden.net
> ___________________________________________________________________________________

___________________________________________________________________________________
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


  reply	other threads:[~2011-10-03  8:12 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-09-29 18:37 Meer, H. van der
2011-09-29 19:21 ` Aditya Mahajan
2011-10-03  7:05   ` Meer, H. van der
2011-10-03  7:09     ` Wolfgang Schuster
2011-10-03  8:12       ` Meer, H. van der [this message]
2011-10-03  9:33         ` Mojca Miklavec

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=5B8041F2-7991-4977-ABC2-1E2D92D95FB5@uva.nl \
    --to=h.vandermeer@uva.nl \
    --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).