From mboxrd@z Thu Jan 1 00:00:00 1970 From: Karl Voit Subject: Re: Process diagrams with dot and some glue using Org-mode Date: Wed, 26 Jun 2013 19:03:17 +0200 Message-ID: <2013-06-26T18-59-53@devnull.Karl-Voit.at> References: <2013-06-26T17-08-48@devnull.Karl-Voit.at> <5b90a6852c7b87d077016cbb0479ff23@mail.rickster.com> Reply-To: news1142@Karl-Voit.at Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:42546) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Urt84-0002XH-SA for emacs-orgmode@gnu.org; Wed, 26 Jun 2013 13:03:38 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Urt82-0001mI-HA for emacs-orgmode@gnu.org; Wed, 26 Jun 2013 13:03:36 -0400 Received: from plane.gmane.org ([80.91.229.3]:53496) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Urt82-0001lQ-B6 for emacs-orgmode@gnu.org; Wed, 26 Jun 2013 13:03:34 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1Urt7w-0004Vl-92 for emacs-orgmode@gnu.org; Wed, 26 Jun 2013 19:03:28 +0200 Received: from mail.michael-prokop.at ([88.198.6.110]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 26 Jun 2013 19:03:28 +0200 Received: from news1142 by mail.michael-prokop.at with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 26 Jun 2013 19:03:28 +0200 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org * Rick Frankel wrote: > > Two things: > > 1. You don't need to write table parsing code, as passing in a > table as an argument to a code block will convert it to an > array. > > #+name: ptable >| head1 | head2 | >|-------+-------| >| a | 1 | >| b | 2 | [...] > #+RESULTS: >| a | 1 | >| b | 2 | [...] > t=[["a", 1], ["b", 2]] You're right, I totally forgot about this neat feature. However, the header information seems to get lost. This requires hard-coded column content which is a minor drawback of this method. > 2. You can also use the pydot or pygraphviz libraries for > generating the graph directly from python instead of generating > dot code. Thanks for the pointer! If somebody else is looking for an example (or some less formal documentation), take a look at [1] which gave me a much better start-up than the pydot web page. 1. https://pythonhaven.wordpress.com/tag/pydot/ -- mail|git|SVN|photos|postings|SMS|phonecalls|RSS|CSV|XML to Org-mode: > get Memacs from https://github.com/novoid/Memacs < https://github.com/novoid/extract_pdf_annotations_to_orgmode + more on github