ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Aditya Mahajan <adityam@umich.edu>
Subject: Re: runMPgraphicstrue produces undefined figure
Date: Tue, 12 Sep 2006 18:07:24 -0400 (EDT)	[thread overview]
Message-ID: <Pine.WNT.4.63.0609121802570.712@nqvgln> (raw)
In-Reply-To: <E1GNFz0-0002ci-TE@approximate.corpus.cam.ac.uk>

On Tue, 12 Sep 2006, Sanjoy Mahajan wrote:

> I'm playing with simple files in order to learn metafun.  The following
> small example produces an undefined figure.  It illustrates either a
> context problem or, more likely, a confusion on my part.
>
> ================= cut here ===========================================
> \runMPgraphicstrue
> \starttext
>
> \startreusableMPgraphic{a}
> fill fullcircle scaled 2cm;
> \stopreusableMPgraphic
>
> \placefigure[here,none]{}{\reuseMPgraphic{a}}
> \input tufte
> \stoptext
> ================= cut here ===========================================
>
> The figure is a square saying 'undefined'.  Taking away the
> \runMPgraphicstrue line produces the expected filled circle.
>
> I use a web2c distribution (linux) with
>
>  context version 2006.08.08 21:51,
>  TeXExec | version 6.2.0 - 1997-2006 - PRAGMA ADE/POD

Strange... It works fine here with

ConTeXt  ver: 2006.09.10 13:33 MK II  fmt: 2006.9.10  int: 
english/english

Normally, runMPgraphics is set to true in one of the files, so you do 
not need to set it to true. I have no idea why you should be getting 
'undefined'. Check your log file for

systems         : system commands are enabled

and

system(mpost  -progname=metafun -mem=metafun mptest-mpgraph)...executed.


Aditya

  reply	other threads:[~2006-09-12 22:07 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-09-12 21:39 Sanjoy Mahajan
2006-09-12 22:07 ` Aditya Mahajan [this message]
2006-09-13  4:12   ` Sanjoy Mahajan
2006-09-13  7:34     ` Hans Hagen
2006-09-13 13:32       ` Sanjoy Mahajan
2006-09-13 13:38       ` Sanjoy Mahajan

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=Pine.WNT.4.63.0609121802570.712@nqvgln \
    --to=adityam@umich.edu \
    --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).