From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/28248 Path: news.gmane.org!not-for-mail From: Jean Magnan de Bornier Newsgroups: gmane.comp.tex.context Subject: Re: Textext Question Date: Fri, 26 May 2006 22:24:26 +0200 Message-ID: <87wtc8ttz9.fsf@borlap.bornier.net> References: <87mzd4yfwu.fsf@bornier.net> <44772883.1030906@boede.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-15" Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1148675083 8378 80.91.229.2 (26 May 2006 20:24:43 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 26 May 2006 20:24:43 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Fri May 26 22:24:41 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 1FjirN-0003CT-Tz for gctc-ntg-context-518@m.gmane.org; Fri, 26 May 2006 22:24:37 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 769CE1280A; Fri, 26 May 2006 22:24: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 17294-02; Fri, 26 May 2006 22:24:33 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id EE7CA1280B; Fri, 26 May 2006 22:24:32 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 91C9D1280B for ; Fri, 26 May 2006 22:24:31 +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 17279-02-2 for ; Fri, 26 May 2006 22:24:28 +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 67EB91280A for ; Fri, 26 May 2006 22:24:28 +0200 (CEST) Original-Received: from borlap.bornier.net (lns-bzn-51f-81-56-145-104.adsl.proxad.net [81.56.145.104]) by smtp1-g19.free.fr (Postfix) with ESMTP id 9CE767AB22 for ; Fri, 26 May 2006 22:24:27 +0200 (CEST) Original-To: mailing list for ConTeXt users In-Reply-To: <44772883.1030906@boede.nl> (Willi Egger's message of "Fri, 26 May 2006 18:10:43 +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:28248 Archived-At: 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: ................................... \setupoutput[pdftex] \runMPgraphicstrue \useMPlibrary[txt] \setuppapersize[S6][S6] \setupcolors[state=3Dstart] \startMPinclusions numeric u; u=3D.8cm; path AX; AX=3D(10u,0)--(0,0)--(0,10u); \stopMPinclusions \starttext \startuseMPgraphic{dummy} pickup pencircle scaled .8mm; drawdblarrow AX withcolor green; label.rt(textext("$3x^2+\pi$"), (5u,6u)); \stopuseMPgraphic \placefigure[left]{bla.bla}{\useMPgraphic{dummy}} \input dawkins \stoptext ................................... I get the same "unknown" in place of the label. On computer one (my everyday machine) context is provided by TeX-Live, and I made the same experiment with my computer two where context is installed via TeTeX. Same result on both! I Think I have followed normal installation procedures (enabling write18 etc.) So I'm confused Thanks for any more help! -- Jean