From: "Denis B. Roegel" <Denis.Roegel@loria.fr>
Cc: roegel@lorraine.loria.fr (Denis B. Roegel)
Subject: is there a problem with local definitions in metafun?
Date: Fri, 8 Dec 2000 17:41:42 +0100 (MET) [thread overview]
Message-ID: <200012081641.RAA27218@bar.loria.fr> (raw)
When porting a standard metapost example to context,
I noticed that there was a problem with local definitions.
For instance, in my original file, I had
beginfig(1);
...
def ...
vardef ...
other code
endfig;
end
But I first naively translated this into
\startuseMPgraphic{dummy}
...
def ...
vardef ...
other code
\stopuseMPgraphic
(as it works for an example in the metafun manual)
It didn't work with my example and I had to split the code:
\startMPinclusions
...
def ...
vardef ...
\stopMPinclusions
\startuseMPgraphic{dummy}
other code
\stopuseMPgraphic
Is there an explanation for this?
Thanks,
Denis
next reply other threads:[~2000-12-08 16:41 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-12-08 16:41 Denis B. Roegel [this message]
2000-12-08 19:18 ` Hans Hagen
2000-12-08 21:25 ` Denis B. Roegel
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=200012081641.RAA27218@bar.loria.fr \
--to=denis.roegel@loria.fr \
--cc=roegel@lorraine.loria.fr \
/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).