ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* How to get graph module (metapost) to work with ConTeXt minimals?
@ 2010-12-30 10:07 Verhaag, G.C.H.M.
  2010-12-30 12:03 ` Martin 'golodhrim' Scholz
                   ` (2 more replies)
  0 siblings, 3 replies; 16+ messages in thread
From: Verhaag, G.C.H.M. @ 2010-12-30 10:07 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Hi,

This might not be the right place to ask this question, but want to give 
it a try anyway!

I've installed the ConTeXt minimals (Mark IV!) recently, and running the 
command:

  context --version

yields the following output:

  ...
  MTXrun | current version: 2010.07.30 11:35

Now I want to generate a few plots using the graph-module (by John D. 
Hobby) of MetaPost, which I used in the past to make high-quality plots. 
But when I add the following statement:

  input graph ;

to the preamble of my MetaPost file and run the command:

  mpost plot.mp

The run aborts with the following messages:

 >> texnum.mp
 >> texnum.mpx
! Unable to make mpx file.
l.17 init_numbers(btex
                      $-$etex, btex$1$etex, btex${\times}10$etex,
Transcript written on texnum.log.
TeXExec | processing graphic 'texnum.mpx'
TeXExec | runtime: 1.547143


 >> texnum.mp
 >> texnum.mpx
! Unable to make mpx file.
l.17 init_numbers(btex
                      $-$etex, btex$1$etex, btex${\times}10$etex,
Transcript written on plot.log.

So where to go from here? Do I need to install additional TeX related 
stuff to get it working? Anybody any suggestions, please? Thanks in advance!

Regards,
Gerard Verhaag

P.S.

By the way, if I use MetaPost within ConTeXt using:

\loadmarkfile{m-graph}

\starttext
 \startMPcode
            .
    /[MetaPost code]
               .
/ \stopMPcode
\stoptext

than everything works just fine!

___________________________________________________________________________________
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] 16+ messages in thread
[parent not found: <4BF11A07.10609@tiscali.cz>]

end of thread, other threads:[~2011-01-03  9:39 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-12-30 10:07 How to get graph module (metapost) to work with ConTeXt minimals? Verhaag, G.C.H.M.
2010-12-30 12:03 ` Martin 'golodhrim' Scholz
2010-12-30 14:18   ` Verhaag, G.C.H.M.
2010-12-31 12:49     ` Alan BRASLAU
2010-12-30 12:53 ` contextgarden down? Jan-Erik Hägglöf
2010-12-30 13:12   ` luigi scarso
2010-12-30 13:27     ` Khaled Hosny
2010-12-30 13:43       ` luigi scarso
2010-12-30 13:49         ` Jan-Erik Hägglöf
2010-12-30 14:20   ` Martin Schröder
2010-12-30 15:16     ` Patrick Gundlach
2010-12-30 15:03 ` How to get graph module (metapost) to work with ConTeXt minimals? Wolfgang Schuster
2010-12-31  9:36   ` Verhaag, G.C.H.M.
2011-01-01 20:03     ` Wolfgang Schuster
2011-01-03  9:39       ` Verhaag, G.C.H.M.
     [not found] <4BF11A07.10609@tiscali.cz>
2010-05-17 13:52 ` contextgarden down? Patrick Gundlach

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