From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/26216 Path: news.gmane.org!not-for-mail From: Renaud AUBIN Newsgroups: gmane.comp.tex.context Subject: metafun "boxes" Date: Thu, 02 Mar 2006 20:41:14 +0100 Message-ID: <44074A5A.5030001@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 1141329520 2164 80.91.229.2 (2 Mar 2006 19:58:40 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 2 Mar 2006 19:58:40 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Thu Mar 02 20:58:39 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 1FEtwP-0004hB-JT for gctc-ntg-context-518@m.gmane.org; Thu, 02 Mar 2006 20:58:28 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id C2C2E12793; Thu, 2 Mar 2006 20:58:24 +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 00984-06; Thu, 2 Mar 2006 20:58:20 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id DC9F41277E; Thu, 2 Mar 2006 20:58:19 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 34B441277E for ; Thu, 2 Mar 2006 20:58:19 +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 00784-08 for ; Thu, 2 Mar 2006 20:58:17 +0100 (CET) Original-Received: from 26.mail-out.ovh.net (26.mail-out.ovh.net [213.186.42.179]) by ronja.ntg.nl (Postfix) with SMTP id 9C15D12772 for ; Thu, 2 Mar 2006 20:58:17 +0100 (CET) Original-Received: (qmail 1690 invoked by uid 503); 2 Mar 2006 19:41:37 -0000 Original-Received: (QMFILT: 1.0); 02 Mar 2006 19:41:37 -0000 Original-Received: from b7.ovh.net (HELO mail147.ha.ovh.net) (213.186.33.57) by 26.mail-out.ovh.net with SMTP; 2 Mar 2006 19:41:37 -0000 Original-Received: from b0.ovh.net (HELO queue-out) (213.186.33.50) by b0.ovh.net with SMTP; 2 Mar 2006 19:41:16 -0000 Original-Received: from mail147.ha.ovh.net (10.0.50.147) by mail147.ha.ovh.net with SMTP; 2 Mar 2006 19:41:15 -0000 Original-Received: from b0.ovh.net (HELO queue-pre) (213.186.33.50) by b0.ovh.net with SMTP; 2 Mar 2006 19:41:15 -0000 Original-Received: from d83-179-6-146.cust.tele2.fr (HELO ?192.168.78.10?) (aubin@nibua-r.org@83.179.6.146) by ns0.ovh.net with SMTP; 2 Mar 2006 19:41:15 -0000 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-Ovh-Remote: 83.179.6.146 (d83-179-6-146.cust.tele2.fr) X-Ovh-Local: 213.186.33.20 (ns0.ovh.net) X-Spam-Check: fait|type 1&3|0.0|H 0.5 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:26216 Archived-At: Hi all, Yesterday, I have tried to put "\input boxes" within a MPgraphic. As a result, I obtain errors at compilation. After discussing this issue with Taco on #context, it appears that boxes.mp and metafun interaction is not safe at all. Ok, but since my needs remain the same, solutions are : 1. just do it, but manually (not smart at all) 2. use metapost then include the result in my document through ps or pdf files (this solution needs the user takes care of fonts + manually metaposting -> not "really" smart) 3. use charts (but depends on what you want achieve -> ok, but not for all purposes) 4. define some metafun macros (time consuming at the beginning but it's best to invest for the long term) X. others solutions I don't know yet... (feel free to add yours !) My thought is to finally obtain in metafun: 1. Nodes with text (multiline text!) and a collection of "simple" shapes to use like box, circle, box with rounded corner... 2. Nodes must be placed freely accroding to the metapost coordinate system 3. Connections between nodes (using boundaries of each nodes + possibility to give angles from...to for each connections) PSTricks can do that but it can be nice if metafun can provide this kind of features. See http://renolab.lrv.uvsq.fr/perso/ConTeXt/sample.png to have an idea (nodes are aligned in this figure but it is a particular case)... Maybe a solution exists, but since I don't know it, I send this post: 1. Are other people interested ? 2. What is the best solution to implement this feature in metafun ? My idea is to use \framed + shapes + path + ... Feel free to give your opinion/need/contribution/whateveryouwant.... ;-) Cheers, Renaud