ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Hans Hagen <pragma@wxs.nl>
Cc: ntg-context@ntg.nl
Subject: Re: How powerful is mp?
Date: Wed, 07 Nov 2001 18:32:44 +0100	[thread overview]
Message-ID: <5.1.0.14.1.20011107183011.04289690@server-1> (raw)
In-Reply-To: <20011107123024.A3646@wimsey>

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
-------------------------------------------------------------------------


  parent reply	other threads:[~2001-11-07 17:32 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-11-07 12:30 Marco Kuhlmann
2001-11-07 15:56 ` Taco Hoekwater
2001-11-07 16:17   ` Marco Kuhlmann
2001-11-07 17:32 ` Hans Hagen [this message]
2001-11-07 17:49   ` Marco Kuhlmann
2001-11-08  8:33     ` Taco Hoekwater
2001-11-08 11:16       ` Marco Kuhlmann
2001-11-09  9:06         ` Taco Hoekwater
2001-11-14 20:07       ` Marco Kuhlmann
2001-11-08  8:43     ` Hans Hagen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5.1.0.14.1.20011107183011.04289690@server-1 \
    --to=pragma@wxs.nl \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).