From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/28256 Path: news.gmane.org!not-for-mail From: Jean Magnan de Bornier Newsgroups: gmane.comp.tex.context Subject: Re: Textext Question Date: Sat, 27 May 2006 08:18:34 +0200 Message-ID: <87u07ckn2d.fsf@borlap.bornier.net> References: <87mzd4yfwu.fsf@bornier.net> <44772883.1030906@boede.nl> <87wtc8ttz9.fsf@borlap.bornier.net> <8673D235-F9BB-4136-998C-33C8E48DDE03@gmail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1148710727 3321 80.91.229.2 (27 May 2006 06:18:47 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 27 May 2006 06:18:47 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Sat May 27 08:18:45 2006 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 1Fjs8L-0000Ha-4l for gctc-ntg-context-518@m.gmane.org; Sat, 27 May 2006 08:18:45 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id A093712819; Sat, 27 May 2006 08:18:44 +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 23767-05; Sat, 27 May 2006 08:18:38 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 8744012812; Sat, 27 May 2006 08:18:38 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 6910512812 for ; Sat, 27 May 2006 08:18:37 +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 23840-02 for ; Sat, 27 May 2006 08:18:36 +0200 (CEST) Original-Received: from smtp1-g19.free.fr (smtp1-g19.free.fr [212.27.42.27]) by ronja.ntg.nl (Postfix) with SMTP id 2062312809 for ; Sat, 27 May 2006 08:18:35 +0200 (CEST) Original-Received: from borlap.bornier.net (unknown [81.56.145.104]) by smtp1-g19.free.fr (Postfix) with ESMTP id 755DD9A9A1 for ; Sat, 27 May 2006 08:18:35 +0200 (CEST) Original-To: mailing list for ConTeXt users In-Reply-To: <8673D235-F9BB-4136-998C-33C8E48DDE03@gmail.com> (Otared Kavian's message of "Sat, 27 May 2006 00:06:16 +0200") User-Agent: Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (gnu/linux) X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.7 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:28256 Archived-At: Le 27 mai =E0 00:06:16 Otared Kavian =E9crit notamment: > On 26 mai 2006, at 22:24, Jean Magnan de Bornier wrote: > >> Le 26 mai =E0 18:10:43 Willi Egger =E9crit notamment: >> >>> Hi Jean Magnan, >>> >>> You should add \useMPlibrary[txt] in order to get textext working. >>> Further define AX as a path only. >>> In the dummy-graphic say drawdblarrow AX.withcolor blue; >>> >>> After these changes I got the label as well as the double arrow. >> Hi, >> thanks to you and Renaud; I changed my file to this: [....] > > Hi, > > Actually I tried your file and got the same "Undefined" message in = > place of the graphics. > However the following works for me (latest ConTeXt installed with i- = > Installer on Mac OS X 10.4.6): > > \setuppapersize[S6][S6] > \setupcolors[state=3Dstart] > > \starttext > \startbuffer[essai] > numeric u; u =3D .4cm; > path p; p =3D (10u,0)--(0,0)--(0,10u); > pickup pencircle scaled .8mm; > drawdblarrow p withcolor red; > label.rt(textext("$3x^2+\pi$"), (5u,6u)); > \stopbuffer > > \placefigure[left]{bla.bla}{\processMPbuffer[essai]} > \input dawkins > \stoptext > > If I add > \useMPlibrary[txt] > at the beginning everything works fine as well. But if I add > \runMPgraphicstrue > then I get the "Undefined" message in the PDF. So it seems that the = > problem comes from this latter command. Hi all, I tried various ways as suggested on my file with the setups \useMPlibrary[txt] and \runMPgraphicstrue. The only combination that's working is to have \useMPlibrary[txt] and not the other. Is it proper to my installation, as others seem to have other requirements? = As for "texmfstart texexec" it is unknown on my machine, I don't have ruby installed anyway (is it necessary?). Thanks to all! -- = jean