From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/9668 Path: main.gmane.org!not-for-mail From: "Adam Lindsay" Newsgroups: gmane.comp.tex.context Subject: MP Graph and texnum.mpx Date: Sun, 27 Oct 2002 16:12:15 +0000 Sender: ntg-context-admin@ref.ntg.nl Message-ID: <20021027161215.19954@news.comp.lancs.ac.uk> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Trace: main.gmane.org 1035736809 20274 80.91.224.249 (27 Oct 2002 16:40:09 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 27 Oct 2002 16:40:09 +0000 (UTC) Return-path: Original-Received: from ref.vet.uu.nl ([131.211.172.13] helo=ref.ntg.nl) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 185qSN-0005Gp-00 for ; Sun, 27 Oct 2002 17:40:07 +0100 Original-Received: from ref.ntg.nl (localhost.localdomain [127.0.0.1]) by ref.ntg.nl (Postfix) with ESMTP id E195610AE0; Sun, 27 Oct 2002 17:41:15 +0100 (MET) Original-Received: from carbon.btinternet.com (carbon.btinternet.com [194.73.73.92]) by ref.ntg.nl (Postfix) with ESMTP id F0FA510ADD for ; Sun, 27 Oct 2002 17:40:23 +0100 (MET) Original-Received: from host213-122-157-17.in-addr.btopenworld.com ([213.122.157.17]) by carbon.btinternet.com with esmtp (Exim 3.22 #8) id 185qSS-0007Ox-00 for ntg-context@ntg.nl; Sun, 27 Oct 2002 16:40:13 +0000 Original-To: ConTeXt X-Mailer: CTM PowerMail 4.0.1 carbon Errors-To: ntg-context-admin@ref.ntg.nl X-BeenThere: ntg-context@ref.ntg.nl X-Mailman-Version: 2.0.13 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.comp.tex.context:9668 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:9668 Hi ConTeXters, I've been using the MPGraph part of MetaPost and its corresponding m- graph ConTeXt module this week. I've been getting very attractive results that I will encourage my partner to use in her PhD. I was baffled for a while why I could get graphing to work beautifully in one directory, but in no others. I finally tracked it down to the system requiring texnum.mpx in the current working directory. I believe this file contains the MP-ified numbers that MPGraph puts on the axes. My question is: why should this be? I *think* I have done everything else necessary to get MP working in ConTeXt. How can I automatically generate texnum.mpx in a way that 1) another user doesn't have to worry about it or 2) it sits in the path permanently? Some system details: I'm running a fresh TeXLive 7 install, with the latest ConTeXt from the website. I have \write18 enabled, \runMPfraphicstrue, \runMPTEXgraphicstrue, and MPXCOMMAND = texexec -- mptex. On the slightly unusual side, I have \forceMPTEXgraphictrue, which seemed necessary at one point, and no \recycleMPslotstrue, which seemed unnecessary. I'm thrilled with the integration of MetaPost's Graph capabilities, beyond this strange behaviour that took a long time to track down. It was very easy to get very attractive results from simple data files. As a side question, would I have to fiddle with texmf/metapost/base/ texnum.mp to affect the font of the x- and y-axis numbers on an MPGraph plot? They seem to stick to CMR no matter what I do to defaultfont in MetaPost. Thanks, adam -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Adam Lindsay +44(0)1524 594 537 atl@comp.lancs.ac.uk http://www.comp.lancs.ac.uk/computing/users/atl/ -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=