From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/20809 Path: news.gmane.org!not-for-mail From: andrea valle Newsgroups: gmane.comp.tex.context Subject: importing figures in metapost Date: Sat, 11 Jun 2005 16:52:42 +0200 Message-ID: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 (Apple Message framework v619.2) Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1118558468 2119 80.91.229.2 (12 Jun 2005 06:41:08 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 12 Jun 2005 06:41:08 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Sun Jun 12 08:41:05 2005 Return-path: 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 1DhM9V-0001XI-EB for gctc-ntg-context-518@m.gmane.org; Sun, 12 Jun 2005 08:41:01 +0200 Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 6B8F712795; Sun, 12 Jun 2005 08:45:38 +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 08574-05-2; Sun, 12 Jun 2005 08:45:36 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id EA69A127B7; Sun, 12 Jun 2005 08:45:32 +0200 (CEST) Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 5BFC7127A5 for ; Sat, 11 Jun 2005 16:52:47 +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 22497-04 for ; Sat, 11 Jun 2005 16:52:46 +0200 (CEST) Original-Received: from swip.net (mailfe08.tele2.it [212.247.154.237]) by ronja.ntg.nl (Postfix) with ESMTP id 672951279A for ; Sat, 11 Jun 2005 16:52:45 +0200 (CEST) X-T2-Posting-ID: K+vsftSFIw076cEyPj85jnAdTvyyxk/k4XBbHoCgE7s= Original-Received: from [83.176.117.218] ([83.176.117.218] verified) by mailfe08.swip.net (CommuniGate Pro SMTP 4.3.2) with ESMTP id 194234115 for ntg-context@ntg.nl; Sat, 11 Jun 2005 16:52:45 +0200 Original-To: ntg-context@ntg.nl X-Mailer: Apple Mail (2.619.2) X-Virus-Scanned: amavisd-new at ntg.nl X-Mailman-Approved-At: Sun, 12 Jun 2005 08:45:31 +0200 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.5 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-Spam-Checker-Version: SpamAssassin 3.0.3 (2005-04-27) on smtp.ntg.nl X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:20809 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:20809 Hi to all, newbie here, so please pardon me if I'm asking obvious things. I'm a latex user, but I am fascinated by context. I've a project and I'd like to know if it's possible to do it in context. The idea is the following: I have to draw a directed graph representing relations between musical elements. My graph is made of nodes and links. Links are represented as arrows as usual, but they should include a label with text displayed near to each of them. Nodes should be blocks of musical notation. Now, I'm using lilypond to generate musical fragments (www.lilypond.org). Lilypond outputs ps, pdf and png also. For my project actually I am using the pgf package under latex. In this way I can create graphs: I can draw lines with arrows, I can give each vertex an xy pair of coordinates, and I can associate each vertex an external figure. But I'n not satisfied with the output, and I like very much context capabilties: more, metafun is amazing. Taking a look at the metafun doc, it seems to me that the drawing the edges should be a very simple task. But: is it possible to import an external figure inside metapost giving it a precise place in terms of xy coordinates? Thanks a lot -a-