From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/40682 Path: news.gmane.org!not-for-mail From: Gour Newsgroups: gmane.comp.tex.context Subject: Re: metapsot vs. graphviz Date: Thu, 24 Apr 2008 17:16:50 +0200 Message-ID: <8763u7mgf1.fsf@nitai.hr> References: <87wsmnnwzo.fsf@nitai.hr> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0363971363==" X-Trace: ger.gmane.org 1209050334 14779 80.91.229.12 (24 Apr 2008 15:18:54 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 24 Apr 2008 15:18:54 +0000 (UTC) To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Thu Apr 24 17:19:19 2008 connect(): Connection refused 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 lo.gmane.org with esmtp (Exim 4.50) id 1Jp3E5-0000BK-5p for gctc-ntg-context-518@m.gmane.org; Thu, 24 Apr 2008 17:19:09 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 658791FCC7; Thu, 24 Apr 2008 17:18:27 +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 15931-01-7; Thu, 24 Apr 2008 17:17:42 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 82DEA1FC8E; Thu, 24 Apr 2008 17:17:42 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id B2F501FC8E for ; Thu, 24 Apr 2008 17:17:41 +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 15021-02-6 for ; Thu, 24 Apr 2008 17:17:07 +0200 (CEST) Original-Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by ronja.ntg.nl (Postfix) with ESMTP id 542B41FC51 for ; Thu, 24 Apr 2008 17:17:07 +0200 (CEST) Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1Jp3C1-00070T-II for ntg-context@ntg.nl; Thu, 24 Apr 2008 15:17:01 +0000 Original-Received: from 208-200.dsl.iskon.hr ([89.164.208.200]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 24 Apr 2008 15:17:01 +0000 Original-Received: from gour by 208-200.dsl.iskon.hr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 24 Apr 2008 15:17:01 +0000 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 68 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 208-200.dsl.iskon.hr User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) Cancel-Lock: sha1:Q/JgLjq+pwiImTkVmz0Wr+CRtgs= X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.9 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:40682 Archived-At: --===============0363971363== Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" --=-=-= Content-Transfer-Encoding: quoted-printable >>>>> "Aditya" =3D=3D Aditya Mahajan writes: Hello Aditya! Aditya> Metapost is for drawing all kinds of graphics. It give you a Aditya> very fine control on where to place objects, and is very well Aditya> integrated with ConTeXt (your labels will be the same font as Aditya> the rest of the document). With the new mplib, using metapost Aditya> in ConTeXt is very fast (for me I do not notice any difference; Aditya> with mkii it used to take aboud 3-4 sec). This is very nice feature... Aditya> Graphviz is good for automatic positioning of nodes. If you have Aditya> a large number of nodes, it can figure out the best way to place Aditya> them. There are different versions, dot (for directed graphs), Aditya> circo (for circular graphs), neato (for undirected graphs), fps Aditya> (uses a different model for undirected graphs). For most of the Aditya> cases, the output is average: the node placement is very good, Aditya> but then it is difficult to get tex to process the labels, it is Aditya> limited in terms of color effects that you can get. I find it Aditya> very hard to modify the output. I will probably not deal with many modes, but having support for all kinds of graphics is preferred. Aditya> Graphiz does give metapost output, but I found it to be a bit Aditya> akward to use. The good part about graphiz is that is very easy Aditya> to learn, and for most cases the output is acceptable. But, as you wrote above, it is not a 'general' graphic package? Aditya> There is dot2tex, which a python script that converts from dot Aditya> (graphviz) to tikz. I have not tried it, but from the examples Aditya> it appears to remove all the drawbacks of integrated graphviz Aditya> with tex. It is tailored towards integration with latex, but it Aditya> should not be too hard to configure it for context. Thanks a lot for your input. It seems that metapost is not the most easy way, but considering that luatex & context are future, it looks worth to sit & have metafun ;) Sincerely, Gour =2D-=20 Gour | Zagreb, Croatia | GPG key: C6E7162D =2D--------------------------------------------------------------- --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.8 (GNU/Linux) iEYEARECAAYFAkgQpGMACgkQlMjHkcbnFi3qrACghG+Ay8Z4Jip9aibYS5OQHaXX PxEAn1ueXPCR3+VFrngUl3TERwcJJMia =gqWs -----END PGP SIGNATURE----- --=-=-=-- --===============0363971363== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ --===============0363971363==--