emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Proper settings for tj3 report directory/output?
@ 2014-10-29 23:39 John Hendy
  2014-10-31 13:36 ` Christian Egli
  2014-11-01 21:29 ` John Hendy
  0 siblings, 2 replies; 5+ messages in thread
From: John Hendy @ 2014-10-29 23:39 UTC (permalink / raw)
  To: emacs-orgmode

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2014-11-01 21:29 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-10-29 23:39 Proper settings for tj3 report directory/output? John Hendy
2014-10-31 13:36 ` Christian Egli
2014-11-01  1:10   ` John Hendy
2014-11-01  1:11     ` John Hendy
2014-11-01 21:29 ` John Hendy

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