ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Alan BRASLAU <alan.braslau@cea.fr>
To: ntg-context@ntg.nl
Subject: Metapost+mpgraph and mkiv
Date: Sat, 7 Nov 2009 13:25:15 +0100	[thread overview]
Message-ID: <200911071325.15634.alan.braslau@cea.fr> (raw)
In-Reply-To: <alpine.LNX.2.00.0909221242570.22260@ybpnyubfg.ybpnyqbznva>

mpgraph does not appear to work properly under mkiv.

%% minimal example %%
\starttext

\startuseMPgraphic{test}
input graph
draw begingraph(16cm,12cm);
	setrange(whatever,whatever,whatever,whatever);
	gdraw (0,0) -- (1,1) ;
	endgraph;
\stopuseMPgraphic

\startTEXpage
\useMPgraphic{test}
\stopTEXpage

\stoptext
%%%%%%%%%%%%%%%%%%%%%


Works correctly under mkii (texexec) but not under mkiv (context).
Error message:
mplib | mp terminal: (/home/local/context/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


Alan
___________________________________________________________________________________
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:[~2009-11-07 12:25 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-09-22 12:44 Metapost " Otared Kavian
2009-09-22 16:03 ` Hans Hagen
2009-09-22 16:45   ` Aditya Mahajan
2009-11-07 12:25     ` Alan BRASLAU [this message]
2009-11-07 12:39       ` Metapost+mpgraph " Taco Hoekwater
     [not found] ` <200911071613.35924.alan.braslau@cea.fr>
     [not found]   ` <4AF59E70.1020705@elvenkind.com>
2009-11-07 17:58     ` Alan BRASLAU
2009-11-07 18:00       ` Wolfgang Schuster
2009-11-08 15:17         ` Alan BRASLAU
2009-11-08 15:31         ` Metapost+mpgraph withcolor Alan BRASLAU

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=200911071325.15634.alan.braslau@cea.fr \
    --to=alan.braslau@cea.fr \
    --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).