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: Proper settings for tj3 report directory/output?
Date: Wed, 29 Oct 2014 18:39:56 -0500	[thread overview]
Message-ID: <CA+M2ft-sH60Re8XP01zJkhkwhJAxVDvUR5THpYCOBLGZe11wJw@mail.gmail.com> (raw)

I just re-set up tj3 on a new work computer and am a bit puzzled by
the report directory structure.

Here's what I get when running C-e J j
~/working_dir/file.org
~/working_dir/file.tjp

If I use C-e J p instead, I get:
~/working_dir/file.org
~/working_dir/file.tjp
~/working_dir/reports/Overview.html
~/working_dir/reports/taskjuggler/{css,examples,icons,scripts}

Opening Overview.html doesn't pick up the css, though. I have to put
Overview.html inside of taskjuggler.

If I manuall run tj3 on the file, I get the same taskjuggler
directory, but Overview.html is generated inside of ~/working_dir
instead.

I'm a bit confused by both behaviors. The variables I've defined in .emacs are:

org-taskjuggler-target-version: 3.5
org-taskjuggler-default-reports: include "reports.tji" (custom report
I've defined)

As far as I know, these are relevant but left as the default that came with org:
org-taskjuggler-proces-command: "tj3 --silent --no-color --output-dir %o %f"
org-taskjuggler-reports-directory: "reports"

I don't think it matters... but here's my pretty simple gantt chart
reports.tji file used above:

#+begin_src reports.tji

textreport frame "" {
  header -8<-
    == Example report ==
    <[navigator id="navbar"]>
  ->8-
  footer "----"

 textreport index "Overview" {
    formats html
    center '<[report id="overview"]>'
  }

}

taskreport overview "" {
  header -8<-
    === Timeline/Deliverables ===
  ->8-
  columns bsi { title 'WBS' },
          name, start, duration, chart { width 1200 ${TaskTip} scale hour}

  # For this report we like to have the abbreviated weekday in front
  # of the date. %a is the tag for this.
  timeformat "%d %H:%M"
  period 2014-11-03-06:00 + 72h
  loadunit minutes
  hideresource 1
  sorttasks tree

}

#+end_src


Thanks for any suggestions,
John

             reply	other threads:[~2014-10-29 23:40 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-10-29 23:39 John Hendy [this message]
2014-10-31 13:36 ` Proper settings for tj3 report directory/output? Christian Egli
2014-11-01  1:10   ` John Hendy
2014-11-01  1:11     ` John Hendy
2014-11-01 21:29 ` 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:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  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-sH60Re8XP01zJkhkwhJAxVDvUR5THpYCOBLGZe11wJw@mail.gmail.com \
    --to=jw.hendy@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

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).