From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/64837 Path: news.gmane.org!not-for-mail From: "Martin 'golodhrim' Scholz" Newsgroups: gmane.comp.tex.context Subject: Re: How to get graph module (metapost) to work with ConTeXt minimals? Date: Thu, 30 Dec 2010 12:03:53 +0000 (UTC) Message-ID: References: <4D1C59EF.3080403@ziggo.nl> Reply-To: scholz.m82@googlemail.com, mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1293710675 14192 80.91.229.12 (30 Dec 2010 12:04:35 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 30 Dec 2010 12:04:35 +0000 (UTC) To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Thu Dec 30 13:04:30 2010 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PYHF6-0005m0-GK for gctc-ntg-context-518@m.gmane.org; Thu, 30 Dec 2010 13:04:28 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id F10BECA926; Thu, 30 Dec 2010 13:04:27 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id usIjDXfRri5q; Thu, 30 Dec 2010 13:04:25 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 6494BCA8BF; Thu, 30 Dec 2010 13:04:25 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 98B21CA8BF for ; Thu, 30 Dec 2010 13:04:23 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id eTzMgSZEOl91 for ; Thu, 30 Dec 2010 13:04:12 +0100 (CET) Original-Received: from filter2-til.mf.surf.net (filter2-til.mf.surf.net [194.171.167.218]) by balder.ntg.nl (Postfix) with ESMTP id 11F56CA88B for ; Thu, 30 Dec 2010 13:04:12 +0100 (CET) Original-Received: from lo.gmane.org (lo.gmane.org [80.91.229.12]) by filter2-til.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id oBUC4AOi001661 for ; Thu, 30 Dec 2010 13:04:10 +0100 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1PYHEj-0005gJ-Jx for ntg-context@ntg.nl; Thu, 30 Dec 2010 13:04:05 +0100 Original-Received: from 109.120.68.218 ([109.120.68.218]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 30 Dec 2010 13:04:05 +0100 Original-Received: from scholz.m82 by 109.120.68.218 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 30 Dec 2010 13:04:05 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 100 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: 109.120.68.218 User-Agent: slrn/0.9.9p1 (Linux) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=80.91.229.12; country=NO; latitude=62.0000; longitude=10.0000; http://maps.google.com/maps?q=62.0000,10.0000&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0bDNo4ayq - d22b1178be83 - 20101230 X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.218 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.12 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:64837 Archived-At: In article <4D1C59EF.3080403@ziggo.nl>, Verhaag, G.C.H.M. wrote: > 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 > ___________________________________________________________________________________ > Hi Gerard, that's because of a change in ConTeXts metapost, you can use \startMPpage \stopMPpage MetaPost from ConTeXt is not able without big changes to run standalone, so you might need to load the MetaPost version from TeXlive, the way how to do so depends on your OS... Greetings -- Martin 'golodhrim' Scholz Auf dem Sattler 4 34516 Ederbringhausen Germany Phone: +49 6454 799623 mobile: +49 176 63301749 Fax: +49 6454 7990138 e-Mail: scholz.m82@googlemail.com You ain't learning nothing when you're talking. ___________________________________________________________________________________ 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 ___________________________________________________________________________________