From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/64836 Path: news.gmane.org!not-for-mail From: "Verhaag, G.C.H.M." Newsgroups: gmane.comp.tex.context Subject: How to get graph module (metapost) to work with ConTeXt minimals? Date: Thu, 30 Dec 2010 11:07:43 +0100 Message-ID: <4D1C59EF.3080403@ziggo.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1293703487 16637 80.91.229.12 (30 Dec 2010 10:04:47 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 30 Dec 2010 10:04:47 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Thu Dec 30 11:04:42 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 1PYFNB-0005g2-0x for gctc-ntg-context-518@m.gmane.org; Thu, 30 Dec 2010 11:04:41 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 435E8CA925; Thu, 30 Dec 2010 11:04:40 +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 bPHmHAdnfReG; Thu, 30 Dec 2010 11:04:37 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 91E96CA8BF; Thu, 30 Dec 2010 11:04:37 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 39ABBCA8BF for ; Thu, 30 Dec 2010 11:04:36 +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 MKZl1i90hiK6 for ; Thu, 30 Dec 2010 11:04:24 +0100 (CET) Original-Received: from filter5-ams.mf.surf.net (filter5-ams.mf.surf.net [192.87.102.73]) by balder.ntg.nl (Postfix) with ESMTP id D6FF6CA88B for ; Thu, 30 Dec 2010 11:04:24 +0100 (CET) Original-Received: from smtpq3.tb.mail.iss.as9143.net (smtpq3.tb.mail.iss.as9143.net [212.54.42.166]) by filter5-ams.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id oBUA4Ncf022007 for ; Thu, 30 Dec 2010 11:04:24 +0100 Original-Received: from [212.54.42.141] (helo=smtp10.tb.mail.iss.as9143.net) by smtpq3.tb.mail.iss.as9143.net with esmtp (Exim 4.71) (envelope-from ) id 1PYFMt-0008Ez-RB for ntg-context@ntg.nl; Thu, 30 Dec 2010 11:04:23 +0100 Original-Received: from 541c2cdc.cm-5-5a.dynamic.ziggo.nl ([84.28.44.220]) by smtp10.tb.mail.iss.as9143.net with esmtp (Exim 4.71) (envelope-from ) id 1PYFMo-0006Gn-ED for ntg-context@ntg.nl; Thu, 30 Dec 2010 11:04:18 +0100 User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.8) Gecko/20050513 Debian/1.7.8-1 X-Accept-Language: en X-ZiggoSMTP-MailScanner-Information: Please contact the ISP for more information X-ZiggoSMTP-MailScanner-ID: 1PYFMo-0006Gn-ED X-ZiggoSMTP-MailScanner: Found to be clean X-ZiggoSMTP-MailScanner-SpamCheck: geen spam, SpamAssassin (niet cached, score=0.978, vereist 5, ALL_TRUSTED -1.00, BAYES_50 0.80, HELO_DYNAMIC_DHCP 0.21, RDNS_DYNAMIC 0.98, T_RP_MATCHES_RCVD -0.01) X-ZiggoSMTP-MailScanner-From: verhaaggchm@ziggo.nl X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=212.54.42.166; country=NL; region=05; city=Maastricht; latitude=50.8500; longitude=5.6833; http://maps.google.com/maps?q=50.8500,5.6833&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0BDNm4nUL - 9d3c81967ba9 - 20101230 X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.73 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:64836 Archived-At: 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 ___________________________________________________________________________________