From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/64843 Path: news.gmane.org!not-for-mail From: "Verhaag, G.C.H.M." Newsgroups: gmane.comp.tex.context Subject: Re: How to get graph module (metapost) to work with ConTeXt minimals? Date: Thu, 30 Dec 2010 15:18:08 +0100 Message-ID: <4D1C94A0.5050900@ziggo.nl> References: <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 1293718510 15924 80.91.229.12 (30 Dec 2010 14:15:10 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 30 Dec 2010 14:15:10 +0000 (UTC) To: scholz.m82@googlemail.com, mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Thu Dec 30 15:15:05 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 1PYJHU-0005SU-K9 for gctc-ntg-context-518@m.gmane.org; Thu, 30 Dec 2010 15:15:04 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 39614CA946; Thu, 30 Dec 2010 15:15:03 +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 onFDCzLzYGvR; Thu, 30 Dec 2010 15:15:00 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 72234CA924; Thu, 30 Dec 2010 15:15:00 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id EAFDDCA924 for ; Thu, 30 Dec 2010 15:14:58 +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 jNJjpSvcwici for ; Thu, 30 Dec 2010 15:14:47 +0100 (CET) Original-Received: from filter3-til.mf.surf.net (filter3-til.mf.surf.net [194.171.167.219]) by balder.ntg.nl (Postfix) with ESMTP id 3E2EDCA8E8 for ; Thu, 30 Dec 2010 15:14:47 +0100 (CET) Original-Received: from smtpq3.gn.mail.iss.as9143.net (smtpq3.gn.mail.iss.as9143.net [212.54.34.166]) by filter3-til.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id oBUEEkg2021574 for ; Thu, 30 Dec 2010 15:14:46 +0100 Original-Received: from [212.54.34.135] (helo=smtp4.gn.mail.iss.as9143.net) by smtpq3.gn.mail.iss.as9143.net with esmtp (Exim 4.71) (envelope-from ) id 1PYJHC-0005mm-AF; Thu, 30 Dec 2010 15:14:46 +0100 Original-Received: from 541c2cdc.cm-5-5a.dynamic.ziggo.nl ([84.28.44.220]) by smtp4.gn.mail.iss.as9143.net with esmtp (Exim 4.71) (envelope-from ) id 1PYJH9-0006mC-JK; Thu, 30 Dec 2010 15:14:43 +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 In-Reply-To: X-ZiggoSMTP-MailScanner-Information: Please contact the ISP for more information X-ZiggoSMTP-MailScanner-ID: 1PYJH9-0006mC-JK 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.34.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: 0eDNqeKob - 21ca2ecbc44e - 20101230 X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.219 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:64843 Archived-At: Martin 'golodhrim' Scholz wrote: >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 > > Hi Martin, Okay, thanks for your answer! Embedding the code in my ConTeXt file works well, but I was used to obtain my MetaPost figures seperately using the mpost-command! Regards, Gerard Verhaag ___________________________________________________________________________________ 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 ___________________________________________________________________________________