From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/9682 Path: main.gmane.org!not-for-mail From: "Adam Lindsay" Newsgroups: gmane.comp.tex.context Subject: Re: Re: MP Graph Date: Wed, 30 Oct 2002 10:12:58 +0000 Sender: ntg-context-admin@ref.ntg.nl Message-ID: <20021030101258.17955@news.comp.lancs.ac.uk> References: <5.1.0.14.1.20021030095234.02ccbe98@server-1> 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 1035972810 24768 80.91.224.249 (30 Oct 2002 10:13:30 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 30 Oct 2002 10:13:30 +0000 (UTC) Cc: 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 186pqr-0006RM-00 for ; Wed, 30 Oct 2002 11:13:29 +0100 Original-Received: from ref.ntg.nl (localhost.localdomain [127.0.0.1]) by ref.ntg.nl (Postfix) with ESMTP id 781E010AEA; Wed, 30 Oct 2002 11:14:38 +0100 (MET) Original-Received: from carbon.btinternet.com (carbon.btinternet.com [194.73.73.92]) by ref.ntg.nl (Postfix) with ESMTP id 5A78910AE1 for ; Wed, 30 Oct 2002 11:13:24 +0100 (MET) Original-Received: from host213-122-134-95.in-addr.btopenworld.com ([213.122.134.95]) by carbon.btinternet.com with esmtp (Exim 3.22 #8) id 186pqk-0007ZI-00; Wed, 30 Oct 2002 10:13:23 +0000 Original-To: "Hans Hagen" In-Reply-To: <5.1.0.14.1.20021030095234.02ccbe98@server-1> 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:9682 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:9682 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/ -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=