From mboxrd@z Thu Jan 1 00:00:00 1970 From: John Hendy Subject: taskjuggler (tj3) export issues and proposals Date: Tue, 31 Jan 2012 22:59:21 -0600 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Return-path: Received: from eggs.gnu.org ([140.186.70.92]:42338) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RsSI1-0001qj-S2 for emacs-orgmode@gnu.org; Tue, 31 Jan 2012 23:59:27 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RsSHz-00064k-Rl for emacs-orgmode@gnu.org; Tue, 31 Jan 2012 23:59:25 -0500 Received: from mail-bk0-f41.google.com ([209.85.214.41]:35625) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RsSHz-00064R-F6 for emacs-orgmode@gnu.org; Tue, 31 Jan 2012 23:59:23 -0500 Received: by bkbzs2 with SMTP id zs2so782777bkb.0 for ; Tue, 31 Jan 2012 20:59:21 -0800 (PST) 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 Leading my first project and decided to dig into taskjuggler again. It just seems so natural to have everything in org if possible, so I took another look at the exporter, manual, and worg tutorial. [1][2] As is, as far as I can tell, the exporter does not work out of the box with tj3. I /think/ I could get it to work if I added in a massive report definition (which now seems mandatory for tj3) under =org-export-taskjuggler-default-reports=, but that just feels clumsy. For one, not every project will have the same report. Secondly, it seems odd to tweak report definitions through my .emacs file? I didn't see a way to specify it in the orgmode file itself. Any non-headline text appears to be stripped during export. Based on my fiddling tonight, here are some suggestions/inquiries: 1) Could there be something equivalent to #+latex/#+begin_latex that would let me export some literal taskjuggler syntax into a file? Perhaps throw everything between a #+begin/end_taskjuggler just before the closing "}" for the task? 2) Could a different naming convention be used? It seems the currently it's either what is defined by the property :task_id: or defaults to the first word of the headline. If the default were more likely to be unique, it would spare having to define a ton of =task_id= properties; instead one could define dependencies based on headline names because the syntax for naming was known and not likely to clash with another headline's ID. --- First word of the parent headline + "_" + first word of actual headline? --- Bump it to the first two words of each headline? 3) As a piggyback on #1, I am successful with the following process: -- create reports.tji with my report definitions -- org-export-taskjuggler-default-reports set to nothing -- export from orgmode -- edit exported-file.tjp and add: include "reports.tji" to the end -- run =tj3 filename.tjp= Simply allowing the addition of =include "reports.tji"= or even mandating that it exists would allow the use of tj3 with the current exporter. I don't know lisp and feel a bit guilty making potentially code-heavy suggestions about this... That said, I'm happy to pitch in with the manual/worg since they're a but outdated anyway. I don't see an obvious place where one can even download tj 2.x.x anymore. The tj team seems to have left that version behind; perhaps the org exporter should to? Definitely chime in if you're still using it, though. I'd be curious to know! Thanks for any feedback. [1] http://orgmode.org/manual/TaskJuggler-export.html [2] http://orgmode.org/worg/org-tutorials/org-taskjuggler.html Best regards, John @EricFraga: if implementing the LaTeX gantt package has moved into either of the two actionable categories you mentioned in our last discussion (http://lists.gnu.org/archive/html/emacs-orgmode/2011-08/msg01259.html), I'd be happy to hear about it :)