At 04:12 PM 10/27/2002 +0000, Adam Lindsay wrote:
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.
get the latest version from out site, and load graph module: \usemodule[graph] This will provide you with integration of the graph package (with a few advantages, like properly typeset labels and so); 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.
no, texnum cum suis are actulay spoiling the game, but it should work ok now Hans ------------------------------------------------------------------------- Hans Hagen | PRAGMA ADE | pragma@wxs.nl Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com ------------------------------------------------------------------------- information: http://www.pragma-ade.com/roadmap.pdf documentation: http://www.pragma-ade.com/showcase.pdf -------------------------------------------------------------------------