From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/41062 Path: news.gmane.org!not-for-mail From: Taco Hoekwater Newsgroups: gmane.comp.tex.context Subject: Re: missing btex ..etex in mp figure Date: Fri, 16 May 2008 11:49:59 +0200 Message-ID: <482D58C7.40003@elvenkind.com> References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1210931513 32449 80.91.229.12 (16 May 2008 09:51:53 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 16 May 2008 09:51:53 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Fri May 16 11:52:28 2008 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 lo.gmane.org with esmtp (Exim 4.50) id 1Jwwbt-00009l-4M for gctc-ntg-context-518@m.gmane.org; Fri, 16 May 2008 11:52:21 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 99E461FBF1; Fri, 16 May 2008 11:51:34 +0200 (CEST) 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 10631-02-23; Fri, 16 May 2008 11:51:00 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 6D2511FB5B; Fri, 16 May 2008 11:50:44 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 346E21FB49 for ; Fri, 16 May 2008 11:50:36 +0200 (CEST) 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 14440-01-4 for ; Fri, 16 May 2008 11:50:00 +0200 (CEST) Original-Received: from tullamore.elvenkind.com (elvenknd.xs4all.nl [82.95.203.226]) by ronja.ntg.nl (Postfix) with ESMTP id 5FC981FC7A for ; Fri, 16 May 2008 11:50:00 +0200 (CEST) Original-Received: from glenlivet.elvenkind.com (glenlivet.elvenkind.com [10.10.0.6]) by tullamore.elvenkind.com (Postfix) with ESMTP id 1FABC305028D for ; Fri, 16 May 2008 11:50:00 +0200 (CEST) User-Agent: Thunderbird 2.0.0.12 (X11/20080305) In-Reply-To: X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.9 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:41062 Archived-At: luigi scarso wrote: > In > > \starttext > \startTEXpage > \startlua > metapost.process("metafun",{"beginfig(1);", > "a=.7in; b=0.5in;", > "z0=(0,0); z1=(a,0); z2=(0,b);", > "z0=.5[z1,z3]=.5[z2,z4];", > "draw z1..z2..z3..z4..cycle;", > "drawarrow z0..z1;", > "drawarrow z0..z2;", > "label.top(btex $a$ etex, .5[z0,z1]);", > "label.lft(btex $b$ etex, .5[z0,z2]);", > "endfig;"}) > \stoplua > \stopTEXpage > \stoptext > > there are no labels, but I believe that it's wrong. The MPlib library embedded in luatex does not actually support btex .. etex blocks. It is planned to intercept such blocks in the mkiv lua code, but for now, just use textext(). Best wishes, Taco ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________