From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/44561 Path: news.gmane.org!not-for-mail From: batela Newsgroups: gmane.comp.tex.context Subject: PiechartMP module and SetupPercent Date: Fri, 3 Oct 2008 18:04:42 +0100 Message-ID: <57d9b8f0801a76f042549c00838d3b57@tugamail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v624) Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1223053647 25994 80.91.229.12 (3 Oct 2008 17:07:27 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 3 Oct 2008 17:07:27 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Fri Oct 03 19:08:23 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 1Klo7b-00008r-F9 for gctc-ntg-context-518@m.gmane.org; Fri, 03 Oct 2008 19:07:19 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 777321FF19; Fri, 3 Oct 2008 19:06:14 +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 20869-01-10; Fri, 3 Oct 2008 19:05:21 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 639021FBA8; Fri, 3 Oct 2008 19:05:21 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 58DAD1FB71 for ; Fri, 3 Oct 2008 19:05:19 +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 20869-01-9 for ; Fri, 3 Oct 2008 19:04:45 +0200 (CEST) Original-Received: from sapo.pt (relay1.ptmail.sapo.pt [212.55.154.21]) by ronja.ntg.nl (Postfix) with SMTP id C87081FBA8 for ; Fri, 3 Oct 2008 19:04:44 +0200 (CEST) Original-Received: (qmail 28453 invoked from network); 3 Oct 2008 17:04:43 -0000 Original-Received: from unknown (HELO sapo.pt) (10.134.37.163) by relay1 with SMTP; 3 Oct 2008 17:04:43 -0000 Original-Received: (qmail 23161 invoked from network); 3 Oct 2008 17:04:43 -0000 X-AntiVirus: PTMail-AV 0.3-0.92.0 X-Virus-Status: Clean (0.00633 seconds) Original-Received: from unknown (HELO [192.168.1.7]) (as9938358@sapo.pt@[85.244.56.66]) (envelope-sender ) by mta13 (qmail-ldap-1.03) with SMTP for ; 3 Oct 2008 17:04:43 -0000 X-Mailer: Apple Mail (2.624) 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:44561 Archived-At: Dear Sirs, I want to include in my document some nice pie charts with the piechartmp module, but i'm find some problems in set the percent symbol. The sentence SetupPercent( this, "%") don't work. Did you know a way to fix that? Thanks a lot best regards \startreusableMPgraphic{P1} input piechartmp; SetupColors((.7, .7),this, this); SetupPercent( this, "%") ; Segment( 50, "first") ; Segment( 30, "second") ; Segment( 10, "third") ; PieChart(4cm, 0.15, 60, 0, 0) ; Label.auto(0)(name)(outwards,0) ; Label(1,2,3)(percent)(inwards,0) withcolor (1,1,0); \stopreusableMPgraphic ___________________________________________________________________________________ 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 ___________________________________________________________________________________