ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "Adam Lindsay" <atl@comp.lancs.ac.uk>
Subject: MP Graph and texnum.mpx
Date: Sun, 27 Oct 2002 16:12:15 +0000	[thread overview]
Message-ID: <20021027161215.19954@news.comp.lancs.ac.uk> (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/
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

             reply	other threads:[~2002-10-27 16:12 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-10-27 16:12 Adam Lindsay [this message]
2002-10-28 12:35 ` Hans Hagen
2002-10-28 15:59   ` Adam T. Lindsay
2002-10-28 16:50     ` Hans Hagen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20021027161215.19954@news.comp.lancs.ac.uk \
    --to=atl@comp.lancs.ac.uk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).