ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Nigel King <king@dircon.co.uk>
Subject: Re: MetaPost input boxes
Date: Tue, 21 May 2002 21:28:19 +0100	[thread overview]
Message-ID: <B9106C73.86A6%king@dircon.co.uk> (raw)
In-Reply-To: <B9057904.8479%king@dircon.co.uk>

Replying to my own earlier message in order not to confuse and explain my
error. (Silly now I see it.)
> 
> A feature of MetaPost I have made a lot of use of in the past is the macros
> enabled by input boxes. Such macros as boxjoin, boxit, circleit I have found
> very useful. Is there any intention to make these facilities compatible with
> MetaFun?
> 
Minimal working testfile below
--start---testboxes.tex----
\setupoutput[pdftex]

\startMPinclusions
  input boxes
\stopMPinclusions

\startuseMPgraphic{graphicname}
  boxit.a(btex test box etex);
  drawboxed (a);
\stopuseMPgraphic

\starttext
  \useMPgraphic{graphicname}
\stoptext
---end---testboxes.tex----

My error was that I placed the input boxes line in the
\startuseMPgraphic....\stopuseMPgraphic
which is then between
beginfig(1);...endfig;
rather than before the beginfig(1);

Since it had not worked I assumed that it would not work. I now realise this
is a poor assumption in ConTeXt since most things actually work if you can
only find the right way to make it work!

Thanks for an excellent system
--
Nigel


      reply	other threads:[~2002-05-21 20:28 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-05-13 13:07 Nigel King
2002-05-21 20:28 ` Nigel King [this message]

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=B9106C73.86A6%king@dircon.co.uk \
    --to=king@dircon.co.uk \
    /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).