emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: John Hendy <jw.hendy@gmail.com>
To: emacs-orgmode <emacs-orgmode@gnu.org>
Subject: taskjuggler (tj3) export issues and proposals
Date: Tue, 31 Jan 2012 22:59:21 -0600	[thread overview]
Message-ID: <CA+M2ft-VrzSxSDdUxp1RunjPcdGD7Se6hrdxwwZ0eE7i-DneGQ@mail.gmail.com> (raw)

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

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,

@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 :)

             reply	other threads:[~2012-02-01  4:59 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-02-01  4:59 John Hendy [this message]
2012-02-01 14:09 ` Christian Egli
2012-02-01 14:18   ` Rainer M Krug
2012-02-01 15:20     ` John Hendy
2012-02-01 15:54     ` Christian Egli
2012-02-01 17:47       ` John Hendy
2012-02-02  7:10         ` Christian Egli
2012-02-02 15:49           ` John Hendy
2012-02-02 16:08             ` OT: taskjuggler question [was: Re: taskjuggler (tj3) export issues and proposals] Nick Dokos
2012-02-02 16:22               ` John Hendy
2012-02-02 16:24               ` OT: taskjuggler question Christian Egli
2012-02-02 17:13                 ` Nick Dokos
2012-02-01 18:36       ` taskjuggler (tj3) export issues and proposals Rainer M Krug
2012-02-01 15:07   ` John Hendy
2012-02-02  8:23     ` Christian Egli
2012-05-07  4:26 ` Eric S Fraga
2012-05-08  8:16   ` Bastien
2012-05-08  9:14     ` Eric Fraga
2012-05-08 14:36   ` John Hendy

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CA+M2ft-VrzSxSDdUxp1RunjPcdGD7Se6hrdxwwZ0eE7i-DneGQ@mail.gmail.com \
    --to=jw.hendy@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --subject='Re: taskjuggler (tj3) export issues and proposals' \


* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

Code repositories for project(s) associated with this inbox:


This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).