From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/1198 Path: main.gmane.org!not-for-mail From: ecashin@coe.uga.edu (Ed L. Cashin) Newsgroups: gmane.comp.tex.context Subject: metapost getting broken Date: 11 Nov 1999 17:27:03 -0500 Sender: owner-ntg-context@let.uu.nl Message-ID: NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1035392035 30762 80.91.224.250 (23 Oct 2002 16:53:55 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 23 Oct 2002 16:53:55 +0000 (UTC) Original-To: NTG-ConTeXt mailing list Xref: main.gmane.org gmane.comp.tex.context:1198 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:1198 Hi. With the help of several documents, including "TeX as a Presentation Tool" (art-pres.pdf) I have configured my teTeX installation so that it's ready for inline MetaPost in ConTeXt. I made a little yellow circle. (Whoo!!!) But when I tried to add a label I noticed that the mp source was getting broken: \setupcolors[state=start] \def\myMPFig% {\startreusableMPgraphic{} input mp-tool; fill fullcircle scaled (1in) withcolor (1, 1, 0); label.rt(btex first inline etex, (.5in, .25in)); \stopreusableMPgraphic \reuseMPgraphic{}} \starttext hi \myMPFig bye \stoptext ... resulting in mpgraph.mp: mpgraph:=1; beginfig(1); input mp-tool; fill fullcircle scaled (1in) withcolor (1, 1, 0); label.rt(btex first inline etex; , (.5in, .25in)); endfig; end. ... which doesn't work, of course. Why is the semicolon getting added before the comma? Are there constraints on how to write mp code inside of context? -- --Ed Cashin PGP public key: ecashin@coe.uga.edu http://www.coe.uga.edu/~ecashin/pgp/