From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/24763 Path: news.gmane.org!not-for-mail From: David Arnold Newsgroups: gmane.comp.tex.context Subject: Re: Passing text to Metapost functions Date: Tue, 27 Dec 2005 00:24:46 -0800 Message-ID: <4CCCB60B-C582-47A3-96C6-5F525A681272@cox.net> References: <8B3296E7-0060-4D06-84AE-C3A5816A4F5E@cox.net> <43AFD7AB.7020607@wxs.nl> <43B0F6CB.5070008@elvenkind.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 (Apple Message framework v746.2) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1135672195 2175 80.91.229.2 (27 Dec 2005 08:29:55 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 27 Dec 2005 08:29:55 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Tue Dec 27 09:29:54 2005 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by ciao.gmane.org with esmtp (Exim 4.43) id 1ErADR-0005E9-Fi for gctc-ntg-context-518@m.gmane.org; Tue, 27 Dec 2005 09:29:53 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 1A804127D8; Tue, 27 Dec 2005 09:29:53 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 07713-01; Tue, 27 Dec 2005 09:29:52 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 8964A127E0; Tue, 27 Dec 2005 09:26:04 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id D7A86127E0 for ; Tue, 27 Dec 2005 09:26:02 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 07273-01-2 for ; Tue, 27 Dec 2005 09:26:01 +0100 (CET) Original-Received: from fed1rmmtao07.cox.net (fed1rmmtao07.cox.net [68.230.241.32]) by ronja.ntg.nl (Postfix) with ESMTP id 5D88B127D8 for ; Tue, 27 Dec 2005 09:26:00 +0100 (CET) Original-Received: from [10.0.1.2] (really [70.191.56.23]) by fed1rmmtao07.cox.net (InterMail vM.6.01.05.02 201-2131-123-102-20050715) with ESMTP id <20051227082517.ZAMJ3131.fed1rmmtao07.cox.net@[10.0.1.2]> for ; Tue, 27 Dec 2005 03:25:17 -0500 In-Reply-To: <43B0F6CB.5070008@elvenkind.com> Original-To: mailing list for ConTeXt users X-Mailer: Apple Mail (2.746.2) X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.5 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:24763 Archived-At: OK. But I need it set as btex $x$ etex at the right end of the horizontal axis. On Dec 27, 2005, at 12:09 AM, Taco Hoekwater wrote: > 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 > _______________________________________________ > ntg-context mailing list > ntg-context@ntg.nl > http://www.ntg.nl/mailman/listinfo/ntg-context