From mboxrd@z Thu Jan 1 00:00:00 1970 From: Shelagh Manton Subject: Re: org and taskjuggler Date: Tue, 16 Dec 2008 03:52:30 +0000 (UTC) Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LCQzH-0005hG-1C for emacs-orgmode@gnu.org; Mon, 15 Dec 2008 22:52:47 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LCQzE-0005fp-Jd for emacs-orgmode@gnu.org; Mon, 15 Dec 2008 22:52:45 -0500 Received: from [199.232.76.173] (port=47038 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LCQzE-0005fe-Gf for emacs-orgmode@gnu.org; Mon, 15 Dec 2008 22:52:44 -0500 Received: from main.gmane.org ([80.91.229.2]:52959 helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LCQzE-00076O-1h for emacs-orgmode@gnu.org; Mon, 15 Dec 2008 22:52:44 -0500 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1LCQz7-0006IF-O4 for emacs-orgmode@gnu.org; Tue, 16 Dec 2008 03:52:37 +0000 Received: from 203-219-222-168-cbr-pow-ts2-2600.tpgi.com.au ([203.219.222.168]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 16 Dec 2008 03:52:37 +0000 Received: from shelagh.manton by 203-219-222-168-cbr-pow-ts2-2600.tpgi.com.au with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 16 Dec 2008 03:52:37 +0000 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 On Mon, 15 Dec 2008 11:37:07 +0100, Christian Egli wrote: > Shelagh Manton writes: > >> One of the set tasks for the project scenario is to produce a Gantt >> chart. >> >> Or perhaps someone knows another way to get a Gantt chart out of >> org-mode data. > > I'm using a very hackish "works-for-me" python script that converts a > tsv export from an org-mode file to a taskjuggler file. Probably has > lots of implizit assumptions which not even I remember. > > The basic work-flow is to create your hierarchy of tasks, add some > effort estimates and some other properties, export this to a csv and run > the attached python script on it. This will generate a taskjuggler > include file (tji) which can be used in a main taskjuggler file (tjp). > > You could use the following Makefile snippet to automate the process: > > projectPlan.csv: projectPlan.org > $(EMACS) -batch \ > -eval "(progn (find-file \"$<\") (re-search-forward \"^| Task\") > (org-table-export \"$@\"))" -kill > > projectPlan.tji: projectPlan.csv > $(CSV2TASKJUGGLER) < $< > $@ > > projectPlan.taskreport.html: projectPlan.tjp projectPlan.tji > $(TASKJUGGLER) $< > > Attached is the python script, an example org file and an example for a > tjp file. Let me know if this works for you. > > I meant to write a tutorial about this but you know how it is. Maybe you > could write one as you get this to work :-) > > Hope this helps > Christian Oh very interesting. I know it will take me a while but I will look at this closely to understand what is happening. Another think I'm slowly working through is to understand etask which uses LaTeX and pstricks to make a Gantt chart. Shelagh [snip]