ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Sanjoy Mahajan <sanjoy@mrao.cam.ac.uk>
Subject: runMPgraphicstrue produces undefined figure
Date: Tue, 12 Sep 2006 17:39:54 -0400	[thread overview]
Message-ID: <E1GNFz0-0002ci-TE@approximate.corpus.cam.ac.uk> (raw)

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

It passes the write18 test given in the metafun-s.pdf manual (p.214 of
the PDF file).

-Sanjoy

`A society of sheep must in time beget a government of wolves.'
   - Bertrand de Jouvenal

             reply	other threads:[~2006-09-12 21:39 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-09-12 21:39 Sanjoy Mahajan [this message]
2006-09-12 22:07 ` Aditya Mahajan
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=E1GNFz0-0002ci-TE@approximate.corpus.cam.ac.uk \
    --to=sanjoy@mrao.cam.ac.uk \
    --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).