ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "Adam Lindsay" <atl@comp.lancs.ac.uk>
Cc: <ntg-context@ntg.nl>
Subject: Re: Re: MP Graph
Date: Wed, 30 Oct 2002 10:12:58 +0000	[thread overview]
Message-ID: <20021030101258.17955@news.comp.lancs.ac.uk> (raw)
In-Reply-To: <5.1.0.14.1.20021030095234.02ccbe98@server-1>

Hi Hans.

I believe Hans Hagen said this around Wed, 30 Oct 2002:

>Maybe something has changed to graph.mp (esp the trigger for reloading it),
>
>in mp-form add a line at the top:
>
>   boolean mant_font ; mant_font := true ;
>
>this will prevent loading form.mp (which is replaced by a sligthly extended 
>version mp-form) and therefore loading of texnum

I did that as instructed, (and remade metafun (oops, didn't do that at
first) in the right place (oops again)), and it was successful.

Thanks! That solves the big issue.

It'll take me a bit longer to figure out how to use init_numbers so that
I can have the axis numbering be in the font I want (expecially because
it depends on the math font). My initial experiment with the following
ugly hack didn't work:

 init_numbers(btex$-$etex, btex{\ss 1}etex, btex${\times}${\ss 10}etex,
  btex${}^-$etex, btex${}^2$etex);

>Also in your graphic: use the simpler \startMPcode ... \stopMPcode and not 
>the low level macros; also saves keying.

Ah, right. I had only skimmed through the metafun docs, and didn't notice
that simpler approach while I was reading chapter 3: Embedded graphics.
Keying isn't a big concern as I'm planning on wrapping those calls into
macros of some sort, but it helps to use the "right" command.

>if you have the *.d files and m-graph.tex on the same path, you can run
>
>   texexec --mode=demo --pdf m-graph
>
>to get a test file

Yup. That's how I got started.
And if other people want to find those *.d files, take a look in:
 texmf/doc/metapost/base/


Many 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-30 10:12 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20021028210944.28543@news.comp.lancs.ac.uk>
2002-10-30  8:55 ` Hans Hagen
2002-10-30 10:12   ` Adam Lindsay [this message]
2002-10-30 13:46     ` Hans Hagen
2002-10-31 16:05       ` Nigel King
2002-10-31 23:28         ` Hans Hagen
2002-11-03 22:05           ` Re: MP Graph - Berry problems 23/10/2002 Nigel King
2002-11-04  8:59             ` Jens-Uwe Morawski
2002-11-04 10:48               ` Nigel King
2002-11-04 14:00                 ` Jens-Uwe Morawski
2002-11-04 15:34                   ` Nigel King
2002-11-04 20:32                     ` Jens-Uwe Morawski

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=20021030101258.17955@news.comp.lancs.ac.uk \
    --to=atl@comp.lancs.ac.uk \
    --cc=ntg-context@ntg.nl \
    /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).