ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Hans Hagen <pragma@wxs.nl>
Subject: Re: MPenvironment ignored for btex..etex (or should I use	sometxt)?
Date: Fri, 29 Sep 2006 09:32:22 +0200	[thread overview]
Message-ID: <451CCC06.6060401@wxs.nl> (raw)
In-Reply-To: <E1GTAoj-00059B-Rg@approximate.corpus.cam.ac.uk>

Sanjoy Mahajan wrote:
> Oh, wait, if metapost is fine with the file but ConTeXt isn't, then the
> error above must be from ConTeXt parsing the metapost code and seeing
> the \2, then complaining.  So am I supposed to use the global option to
> \startMPenvironment?  If it's needed in this case, I think it would be
> needed in every case (ConTeXt would see all the metapost uses of the
> definition).  Or is btex deprecated and I should use \sometxt (except in
> loops)?  Or am I just confused?!
>   
indeed commands in an mp environment are not expanded when writing an mp graphic to file; it's always a bit of a trade of (i didn't expect users to cook up all kind of commands in environments; when i have to do that, inormally put them in an environment and load that in the mp graphic (since one load tex files there) 

Hans 


-----------------------------------------------------------------
                                          Hans Hagen | PRAGMA ADE
              Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
     tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
                                             | www.pragma-pod.nl
-----------------------------------------------------------------

      reply	other threads:[~2006-09-29  7:32 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-09-29  5:21 Sanjoy Mahajan
2006-09-29  7:32 ` Hans Hagen [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=451CCC06.6060401@wxs.nl \
    --to=pragma@wxs.nl \
    --cc=ntg-context@ntg.nl \
    /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).