ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* runMPgraphicstrue produces undefined figure
@ 2006-09-12 21:39 Sanjoy Mahajan
  2006-09-12 22:07 ` Aditya Mahajan
  0 siblings, 1 reply; 6+ messages in thread
From: Sanjoy Mahajan @ 2006-09-12 21:39 UTC (permalink / 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

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2006-09-13 13:38 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-09-12 21:39 runMPgraphicstrue produces undefined figure Sanjoy Mahajan
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

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).