From: ecashin@coe.uga.edu (Ed L. Cashin)
Subject: metapost getting broken
Date: 11 Nov 1999 17:27:03 -0500 [thread overview]
Message-ID: <m3zowkfyvc.fsf@kali.coe.uga.edu> (raw)
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/
next reply other threads:[~1999-11-11 22:27 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
1999-11-11 22:27 Ed L. Cashin [this message]
1999-11-12 0:51 ` 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=m3zowkfyvc.fsf@kali.coe.uga.edu \
--to=ecashin@coe.uga.edu \
/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).