From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tom Slee Subject: Re: taskjuggler_report questions Date: Mon, 15 Jul 2013 11:36:50 -0400 Message-ID: References: <87r4f0gkz9.fsf@sbs.ch> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=047d7b5d4f2e4329e404e18ea29a Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:48504) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Uykpw-0006M5-4H for emacs-orgmode@gnu.org; Mon, 15 Jul 2013 11:37:20 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Uykpr-0000Ph-MW for emacs-orgmode@gnu.org; Mon, 15 Jul 2013 11:37:16 -0400 Received: from mail-oa0-x235.google.com ([2607:f8b0:4003:c02::235]:65313) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Uykpr-0000PR-El for emacs-orgmode@gnu.org; Mon, 15 Jul 2013 11:37:11 -0400 Received: by mail-oa0-f53.google.com with SMTP id k14so15597655oag.26 for ; Mon, 15 Jul 2013 08:37:10 -0700 (PDT) In-Reply-To: <87r4f0gkz9.fsf@sbs.ch> 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@gnu.org --047d7b5d4f2e4329e404e18ea29a Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Thanks Christian, I have done the same as you - using a reports.tji file to hold the report definitions. It limits you to one project per directory of course. Defining macros in org-taskjuggler-default-global-header does work, but I think it doesn't provide any real benefit over including them in reports.tji. Tom On Mon, Jul 15, 2013 at 6:45 AM, Christian Egli wrot= e: > Tom Slee writes: > > > I'd like to include the report spec in my org file as a heading tagged > > taskjuggler_report but I am having a few issues getting it to work. I > > hope someone can help. > > The possibility to create (tj3) report definitions in orgmode is a neat > feature and probably works in very simple cases. However I never was > able to use it for the reasons you mention below (e.g. no support for > multi-line properties) > > What I usually do is to either define the report using M-x > customize-variable org-export-taskjuggler-default-reports or I set > org-export-taskjuggler-default-reports to simply "include > \"reports.tji\"" and then define the reports externally (using full tj3 > syntax). > > > How do you get a task id into the report? eg report-id in taskreport > > report-id "FileName" {..." > > > > Is it possible to do multi-line properties? I'm looking at rich text > > markup using -8<- > > I think for both of these you might have to define the report in tj3 > syntax using either of the methods above. > > > Can you export macro definitions into the file? > > You could try customizing org-taskjuggler-default-global-header. > > HTH > Christian > -- > Christian Egli > Swiss Library for the Blind, Visually Impaired and Print Disabled > Grubenstrasse 12, CH-8045 Z=FCrich, Switzerland > > > --047d7b5d4f2e4329e404e18ea29a Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
Thanks Christian,

I have done the same = as you - using a reports.tji file to hold the report definitions. It limits= you to one project per directory of course.=A0

De= fining macros in org-taskjuggler-default-global-header does work, but I thi= nk it doesn't provide any real benefit over including them in reports.t= ji.

Tom


On Mon, Jul 15, 2013 at 6:45 AM, Christian Egli <christian.egli@sbs.ch> wrote:
Tom Slee <slee.tom@gmail.com> writes:

> I'd like to include the report spec in my org file as a heading ta= gged
> taskjuggler_report but I am having a few issues getting it to work. I<= br> > hope someone can help.

The possibility to create (tj3) report definitions in orgmode is a ne= at
feature and probably works in very simple cases. However I never was
able to use it for the reasons you mention below (e.g. no support for
multi-line properties)

What I usually do is to either define the report using M-x
customize-variable org-export-taskjuggler-default-reports or I set
org-export-taskjuggler-default-reports to simply "include
\"reports.tji\"" and then define the reports externally (usi= ng full tj3
syntax).

> How do you get a task id into the report? eg report-id in taskreport > report-id "FileName" {..."
>
> Is it possible to do multi-line properties? I'm looking at rich te= xt
> markup using -8<-

I think for both of these you might have to define the report in tj3<= br> syntax using either of the methods above.

> Can you export macro definitions into the file?

You could try customizing org-taskjuggler-default-global-header.

HTH
Christian
--
Christian Egli
Swiss Library for the Blind, Visually Impaired and Print Disabled
Grubenstrasse 12, CH-8045 Z=FCrich, Switzerland



--047d7b5d4f2e4329e404e18ea29a--