From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/26254 Path: news.gmane.org!not-for-mail From: Renaud AUBIN Newsgroups: gmane.comp.tex.context Subject: metaobj and colors Date: Mon, 06 Mar 2006 18:36:40 +0100 Message-ID: <440C7328.8010805@nibua-r.org> 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 1141667785 31283 80.91.229.2 (6 Mar 2006 17:56:25 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 6 Mar 2006 17:56:25 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Mon Mar 06 18:56:21 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 1FGJwK-0006yp-0H for gctc-ntg-context-518@m.gmane.org; Mon, 06 Mar 2006 18:56:12 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 42BC012797; Mon, 6 Mar 2006 18:56:11 +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 02066-02; Mon, 6 Mar 2006 18:56:05 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 73EA21278B; Mon, 6 Mar 2006 18:56:05 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id C1D581278B for ; Mon, 6 Mar 2006 18:56:03 +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 02065-02-2 for ; Mon, 6 Mar 2006 18:56:02 +0100 (CET) Original-Received: from soleil.uvsq.fr (soleil.uvsq.fr [193.51.24.1]) by ronja.ntg.nl (Postfix) with SMTP id 3D31E12780 for ; Mon, 6 Mar 2006 18:56:02 +0100 (CET) Original-Received: from apollon.lrv.uvsq.fr (root@apollon.lrv.uvsq.fr [193.51.28.20]) by soleil.uvsq.fr (8.13.4/jtpda-5.4) with ESMTP id k26Hae41000590 for ; Mon, 6 Mar 2006 18:36:40 +0100 (CET) Original-Received: from [193.51.28.104] (renaud@ [193.51.28.104]) by apollon.lrv.uvsq.fr (8.12.3/jtpda-5.2) with ESMTP id k26HGGDm011309 for ; Mon, 6 Mar 2006 18:16:17 +0100 User-Agent: Mozilla Thunderbird 1.0.7 (X11/20051017) X-Accept-Language: fr, en Original-To: ConTeXt Mailing List X-Enigmail-Version: 0.93.0.0 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-1.7.5 (soleil.uvsq.fr [193.51.24.1]); Mon, 06 Mar 2006 18:36:40 +0100 (CET) X-Miltered: at soleil.uvsq.fr with ID 440C7328.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Virus-Scanned: ClamAV 0.88/1315/Sun Mar 5 11:31:57 2006 on soleil.uvsq.fr X-Virus-Status: Clean 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:26254 Archived-At: Hi all ! According to previous posts entitled [NTG-context] metafun "boxes", I use metaobj but I have a small problem. After reading the metaobj manual, I would change the color of several "ellipse" shapes... But using b.option_framecolor_:=blue; or newEllipse.a(btex a framed text etex) "framecolor(red)"; do not work... Any idea ? \startuseMPgraphic{grapheliaison1mec} input metaobj; % here because if I put this in MPinclusions, % it corrupts other graphics (i.e. strange results with drawarrow anglebetween) newEllipse.a(btex $S_1$ etex) "fit(false)"; newEllipse.b(btex $S_2$ etex) "fit(false)"; newEllipse.c(btex $S_3$ etex) "fit(false)"; newEllipse.d(btex $S_4$ etex) "fit(false)"; newEllipse.e(btex $S_5$ etex) "fit(false)"; newEllipse.f(btex $S_6$ etex) "fit(false)"; newEllipse.g(btex $S_0$ etex) "fit(false)"; b.option_framecolor_:=blue; newMatrix.mat(3,5)(nb,b,d,nb,nb, a,nb,nb,f,g, nb,c,e,nb,nb) "hsep(1.5cm)", "vsep(1.5cm)"; mcarc.mat(2,1,1,2) "name(ab)"; ObjLabel.mat(btex $L_{12}$ etex) "labpathname(ab)","labdir(ulft)"; mcarc.mat(2,1,3,2) "name(ac)"; ObjLabel.mat(btex $L_{13}$ etex) "labpathname(ac)","labdir(llft)"; mcarc.mat(1,2,1,3) "name(bd)"; ObjLabel.mat(btex $L_{24}$ etex) "labpathname(bd)","labdir(top)"; mcarc.mat(3,2,3,3) "name(ce)"; ObjLabel.mat(btex $L_{35}$ etex) "labpathname(ce)","labdir(bot)"; mcarc.mat(1,3,2,4) "name(df)"; ObjLabel.mat(btex $L_{46}$ etex) "labpathname(df)","labdir(urt)"; mcarc.mat(3,3,2,4) "name(ef)"; ObjLabel.mat(btex $L_{56}$ etex) "labpathname(ef)","labdir(lrt)"; mcarc.mat(2,4,2,5) "name(fg)"; ObjLabel.mat(btex $L_{60}$ etex) "labpathname(fg)","labdir(top)"; mat.c = origin; drawObj(mat); \stopuseMPgraphic Cheers, Renaud