From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/28236 Path: news.gmane.org!not-for-mail From: Willi Egger Newsgroups: gmane.comp.tex.context Subject: Re: Textext Question Date: Fri, 26 May 2006 18:10:43 +0200 Message-ID: <44772883.1030906@boede.nl> References: <87mzd4yfwu.fsf@bornier.net> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1148659871 15889 80.91.229.2 (26 May 2006 16:11:11 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 26 May 2006 16:11:11 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Fri May 26 18:11:09 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 1Fjets-0002jU-QV for gctc-ntg-context-518@m.gmane.org; Fri, 26 May 2006 18:10:57 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 60B9B12807; Fri, 26 May 2006 18:10:56 +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 11992-02; Fri, 26 May 2006 18:10:50 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id ADEFD127B0; Fri, 26 May 2006 18:10:50 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 8B418127B0 for ; Fri, 26 May 2006 18:10:48 +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 12106-02-4 for ; Fri, 26 May 2006 18:10:46 +0200 (CEST) Original-Received: from smtp-vbr3.xs4all.nl (smtp-vbr3.xs4all.nl [194.109.24.23]) by ronja.ntg.nl (Postfix) with SMTP id B064B127A0 for ; Fri, 26 May 2006 18:10:46 +0200 (CEST) Original-Received: from [127.0.0.1] (a80-126-172-1.adsl.xs4all.nl [80.126.172.1]) (authenticated bits=0) by smtp-vbr3.xs4all.nl (8.13.6/8.13.6) with ESMTP id k4QGAjXi043802 for ; Fri, 26 May 2006 18:10:45 +0200 (CEST) (envelope-from w.egger@boede.nl) User-Agent: Thunderbird 1.5.0.2 (Windows/20060308) Original-To: mailing list for ConTeXt users In-Reply-To: <87mzd4yfwu.fsf@bornier.net> X-Virus-Scanned: by XS4ALL Virus Scanner 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:28236 Archived-At: 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. Kind regards Willi Jean Magnan de Bornier wrote: > Hello, > I'm having some trouble with MPgraphics; here is a minimal example: > ............................. > \setupoutput[pdftex] > \runMPgraphicstrue > \setuppapersize[S6][S6] > > \setupcolors[state=start] > > \startMPinclusions > numeric u; u=.8cm; > path AX; AX = drawdblarrow (10u,0) -- (0,0) -- (0,10u); > \stopMPinclusions > > \starttext > \startuseMPgraphic{dummy} > > pickup pencircle scaled 1mm; > draw AX withcolor blue; > label.rt(textext("$3x^2+\pi$"), (5u,6u)); > \stopuseMPgraphic > > \placefigure[left]{bla.bla}{\useMPgraphic{dummy}} > > \input dawkins > \stoptext > ............................. > > > After compilation with texexec I get "unknown" instead of the expected > label. > > What is wrong with me? > > TeXExec 5.4.3 - ConTeXt / PRAGMA ADE 1997-2005 > > texexec : TeXExec 5.4.3 - ConTeXt / PRAGMA ADE 1997-2005 > texutil : TeXUtil 9.0.0 - ConTeXt / PRAGMA ADE 1992-2004 > tex : pdfeTeXk, 3.141592-1.30.4-2.2 (Web2C 7.5.5) > context : ver: 2005.10.27 > cont-en : ver: 2005.10.27 fmt: 2006.4.28 mes: english > > Thanks ia >