ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Renaud AUBIN <aubin@nibua-r.org>
Subject: metafun "boxes"
Date: Thu, 02 Mar 2006 20:41:14 +0100	[thread overview]
Message-ID: <44074A5A.5030001@nibua-r.org> (raw)


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

             reply	other threads:[~2006-03-02 19:41 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-03-02 19:41 Renaud AUBIN [this message]
2006-03-02 21:12 ` Aditya Mahajan
2006-03-02 21:55   ` Renaud AUBIN

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=44074A5A.5030001@nibua-r.org \
    --to=aubin@nibua-r.org \
    --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).