From mboxrd@z Thu Jan 1 00:00:00 1970 From: Erik Butz Subject: org-babel python/shell or gantt charts with gnuplot from within org-mode Date: Tue, 13 Apr 2010 20:02:28 +0200 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1O1kRX-0003HG-4u for emacs-orgmode@gnu.org; Tue, 13 Apr 2010 14:02:35 -0400 Received: from [140.186.70.92] (port=59501 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O1kRV-0003H5-TJ for emacs-orgmode@gnu.org; Tue, 13 Apr 2010 14:02:34 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1O1kRU-0001mo-1t for emacs-orgmode@gnu.org; Tue, 13 Apr 2010 14:02:33 -0400 Received: from mail-bw0-f223.google.com ([209.85.218.223]:47656) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O1kRT-0001mW-Mh for emacs-orgmode@gnu.org; Tue, 13 Apr 2010 14:02:31 -0400 Received: by bwz23 with SMTP id 23so3941677bwz.26 for ; Tue, 13 Apr 2010 11:02:28 -0700 (PDT) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Hi all, I have been playing around with org-mode and have been thinking about the possibility to create gantt charts with org-mode. I did not find anything in the archives, and todays thread about taskjuggler brought me back to the subject. This is a python script hovering around the web (gantt.py) which enables gant charts with gnuplot. I played around with this a bit so as to have it accept ISO timestamps (%Y-%m-%dT%H:%M:%S) and or durations. Now I am looking for a way to execute this from within org-mode probably using org-babel The (bash) syntax would be something like python gantt.py -t "Title" -i input.txt | gnuplot -persist I would like to pass an org table to the script instead of the input file so the equivalent of doing cat input | python gantt.py -t "Title" | gnuplot -persist The input structure is (e.g.) Task 1 2010-4-2T12:00:00 1 validate Task 2 2010-4-5T12:00:00 5.25 something Task 3 2010-4-5T12:00:00 2010-4-10T0:00:00 otherthing Task 4 5.5 yet another thing which could well be the column mode representation of a file probably. I am sorry should this be a bit vague. Please let me know if I can provide any more information to clarify the problem Cheers and thanks, Erik