From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/6020 Path: main.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: How powerful is mp? Date: Wed, 07 Nov 2001 18:32:44 +0100 Sender: owner-ntg-context@let.uu.nl Message-ID: <5.1.0.14.1.20011107183011.04289690@server-1> References: <20011107123024.A3646@wimsey> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-Trace: main.gmane.org 1035396572 6637 80.91.224.250 (23 Oct 2002 18:09:32 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 23 Oct 2002 18:09:32 +0000 (UTC) Cc: ntg-context@ntg.nl Original-To: Marco Kuhlmann In-Reply-To: <20011107123024.A3646@wimsey> Xref: main.gmane.org gmane.comp.tex.context:6020 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:6020 At 12:30 PM 11/7/2001 +0000, you wrote: > Dear list, > >I am currently re-considering my policy regarding graphics, and >would like to have your advice. > >Up to now, I am using the Functional MetaPost (FMP) front-end >to MP, which is quite nice if you want to draw trees according >to the generic algorithm proposed by Kennedy (see the paper at >http://citeseer.nj.nec.com/kennedy96drawing.html). Well, to be >honest: it is mostly therefore that I use FMP. :-) > >Now my question: Do you think that one can actually write a >program in MP/ConTeXt directly that implements Kennedy's >algorithm? It should take a structural description of a tree as >input (XML seems to be a good choice for the format here) and >produce a drawing of the tree as output. The tree structure >should be placeable inside a ConTeXt document. > >Using FMP, the necessary calculations are done in beforehand, >and MP already gets the exact measures (distances between >nodes, levels etc). This additional algorithmical level I have >considered as one of the major advantages of FMP. On the other >hand, it needs to be run separately. you want the simple binary trees graphics from the paper (incredible: after all these years people still post tex files with bitmaps) i'm too stupid to read this kind of algorhitms so i would probably start from scratch -) not too hard to do in xml i think [there is already an xml version of the context flowchart module] Hans ------------------------------------------------------------------------- Hans Hagen | PRAGMA ADE | pragma@wxs.nl Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com -------------------------------------------------------------------------