ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Taco Hoekwater <taco@elvenkind.com>
Subject: Re: Passing text to Metapost functions
Date: Tue, 27 Dec 2005 09:09:47 +0100	[thread overview]
Message-ID: <43B0F6CB.5070008@elvenkind.com> (raw)
In-Reply-To: <CD8D05FF-290C-4E1E-A9CC-2287A90C5727@cox.net>

David Arnold wrote:
> Hans,
> 
> I've tried various things without much success. I cannot seem to  access 
> the contents of xlbl below.
> 
> Is this approach ever going to work?

I can make your example work by passing the argument as
a true metapost string:

   * remove the \MPstring command: draw textext.origin(xlbl);
   * create_axes(xmin,xmax,ymin,ymax,ux,uy)("x");

But it is out of sync: you always have to call texexec twice
whenever you make changes.

Cheers,
Taco

  parent reply	other threads:[~2005-12-27  8:09 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-12-26  3:34 David Arnold
2005-12-26 11:44 ` Hans Hagen
2005-12-26 18:04   ` David Arnold
2005-12-26 20:03     ` Willi Egger
2005-12-26 21:17       ` David Arnold
2005-12-27  8:09     ` Taco Hoekwater [this message]
2005-12-27  8:24       ` David Arnold
2005-12-27  8:58         ` Taco Hoekwater

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=43B0F6CB.5070008@elvenkind.com \
    --to=taco@elvenkind.com \
    --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).