ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* MP Graph and texnum.mpx
@ 2002-10-27 16:12 Adam Lindsay
  2002-10-28 12:35 ` Hans Hagen
  0 siblings, 1 reply; 4+ messages in thread
From: Adam Lindsay @ 2002-10-27 16:12 UTC (permalink / raw)


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/
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2002-10-28 16:50 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-10-27 16:12 MP Graph and texnum.mpx Adam Lindsay
2002-10-28 12:35 ` Hans Hagen
2002-10-28 15:59   ` Adam T. Lindsay
2002-10-28 16:50     ` Hans Hagen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).