ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* MetaPost bug? in MKIV
@ 2010-03-02 16:34 Troy Henderson
  2010-03-02 18:42 ` Peter Rolf
  0 siblings, 1 reply; 9+ messages in thread
From: Troy Henderson @ 2010-03-02 16:34 UTC (permalink / raw)
  To: mailing list for ConTeXt users

The following example produces expected output with MKII (texexec) but
fails the compilation process with MKIV (context).

\startuseMPgraphic{foo}
   input graph;
   path p;
   gdata("data.d", $, augment.p($1,$2););
   draw begingraph(4in,2.5in);
      gdraw p;
   endgraph;
\stopuseMPgraphic
\starttext
   \useMPgraphic{foo}
\stoptext


The data stored in data.d is as follows:
0  0
1  1
2  4

When compiling with MKIV, the following error occurs:

!mplib          : mp terminal:
(/opt/context-minimals/tex/texmf/metapost/base/graph.mp
! Redundant equation.
<to be read again>
                   ;
l.143 Gmargin.low=-.07;
                                              % bbox fraction for default ra...

! Redundant equation.
<to be read again>
                   ;
l.144 Gmargin.high=1.07;
                                              % bbox fraction for default ra...

)

!mplib          : mp error: unknown, no error, terminal or log messages
!mplib          : mp terminal: [1]

!mplib          : mp error: unknown, no error, terminal or log messages

-- 
Troy Henderson
___________________________________________________________________________________
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
___________________________________________________________________________________


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

end of thread, other threads:[~2010-03-08  8:58 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-03-02 16:34 MetaPost bug? in MKIV Troy Henderson
2010-03-02 18:42 ` Peter Rolf
2010-03-02 19:25   ` Taco Hoekwater
2010-03-02 19:33   ` Peter Rolf
2010-03-02 20:02     ` Troy Henderson
2010-03-02 22:53       ` Peter Rolf
2010-03-03 20:21         ` Troy Henderson
2010-03-03 20:26           ` Wolfgang Schuster
2010-03-08  8:58             ` Hans Hagen

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