From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/24758 Path: news.gmane.org!not-for-mail From: Taco Hoekwater Newsgroups: gmane.comp.tex.context Subject: Re: Passing text to Metapost functions Date: Tue, 27 Dec 2005 09:09:47 +0100 Message-ID: <43B0F6CB.5070008@elvenkind.com> References: <8B3296E7-0060-4D06-84AE-C3A5816A4F5E@cox.net> <43AFD7AB.7020607@wxs.nl> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1135670983 32385 80.91.229.2 (27 Dec 2005 08:09:43 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 27 Dec 2005 08:09:43 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Tue Dec 27 09:09:42 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 1Er9tt-0007a5-KA for gctc-ntg-context-518@m.gmane.org; Tue, 27 Dec 2005 09:09:41 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id A58EB127DF; Tue, 27 Dec 2005 09:09:40 +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 06614-06; Tue, 27 Dec 2005 09:09:36 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 39E3E127C1; Tue, 27 Dec 2005 09:09:36 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 68B40127C1 for ; Tue, 27 Dec 2005 09:09:34 +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 06684-02-4 for ; Tue, 27 Dec 2005 09:09:33 +0100 (CET) Original-Received: from post-24.mail.nl.demon.net (post-24.mail.nl.demon.net [194.159.73.194]) by ronja.ntg.nl (Postfix) with ESMTP id 836B5127B9 for ; Tue, 27 Dec 2005 09:09:33 +0100 (CET) Original-Received: from boo.demon.nl ([82.161.175.147]:40000 helo=[192.168.1.3]) by post-24.mail.nl.demon.net with esmtp (Exim 4.51) id 1Er9tk-000EAK-7l for ntg-context@ntg.nl; Tue, 27 Dec 2005 08:09:33 +0000 User-Agent: Mozilla Thunderbird 1.0 (X11/20050215) X-Accept-Language: en-us, en Original-To: mailing list for ConTeXt users In-Reply-To: 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:24758 Archived-At: 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