[O] TaskJuggler 3.1 export (tj3)

2012-02-01 Thread Rainer M Krug
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi

I would like to use the export to taskjuggler, but somehow I don't get
it working - might be me or the fact that I have taskjuggler 3.1.0.

I am trying the example on

http://orgmode.org/worg/org-tutorials/org-taskjuggler.html

but I somehow don't get it to work.

My questions are:

1) does the taskjuggler export work with tj3 (version 3.1.0) (John
Hendy says it doesn't (taskjuggler (tj3) export issues and
proposals), but there are patches which should have made it work
(e.g. Christian Egli, small edits to org-taskjuggler.el for tj3).
So: what is the actual status?

2) does the example (url above) work for tj3?

3) if no, could somebody provide a simple example org file which works
with tj3?

Thanks a lot,

Rainer

- -- 
Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation
Biology, UCT), Dipl. Phys. (Germany)

Centre of Excellence for Invasion Biology
Stellenbosch University
South Africa

Tel :   +33 - (0)9 53 10 27 44
Cell:   +33 - (0)6 85 62 59 98
Fax :   +33 - (0)9 58 10 27 44

Fax (D):+49 - (0)3 21 21 25 22 44

email:  rai...@krugs.de

Skype:  RMkrug
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk8pAV4ACgkQoYgNqgF2egp0mQCcC6iKvpfYJAxNwKbKadHxfcBN
0SAAoIWxde0BPy2HdSflFQtHOFXYddFw
=7GDo
-END PGP SIGNATURE-



Re: [O] TaskJuggler 3.1 export (tj3)

2012-02-01 Thread d . tchin
Hello,

Rainer M Krug r.m.krug at gmail.com writes:

 
 
 Hi
 
 I would like to use the export to taskjuggler, but somehow I don't get
 it working - might be me or the fact that I have taskjuggler 3.1.0.
 
 I am trying the example on
 
 http://orgmode.org/worg/org-tutorials/org-taskjuggler.html
 
 but I somehow don't get it to work.
 

I tried to make this example work with tj3 some time ago but I didn't manage 
to make it work with the current taskjuggler export procedure. It seems that 
the instruction change a lot beetween tj2 and tj3 and as far I understand the 
export function was written for tj2.

 My questions are:
 
 1) does the taskjuggler export work with tj3 (version 3.1.0) (John
 Hendy says it doesn't (taskjuggler (tj3) export issues and
 proposals), but there are patches which should have made it work
 (e.g. Christian Egli, small edits to org-taskjuggler.el for tj3).
 So: what is the actual status?
 

I put here the link where you can see the change. 
Indeed it works with the change proposed by this patch.
http://thread.gmane.org/gmane.emacs.orgmode/40550

This change is apparently not implemented in the current org-taskjuggler.el 
file.






Re: [O] TaskJuggler 3.1 export (tj3)

2012-02-01 Thread Rainer M Krug
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 01/02/12 13:25, d.tchin wrote:
 Hello,
 
 Rainer M Krug r.m.krug at gmail.com writes:
 
 
 
 Hi
 
 I would like to use the export to taskjuggler, but somehow I
 don't get it working - might be me or the fact that I have
 taskjuggler 3.1.0.
 
 I am trying the example on
 
 http://orgmode.org/worg/org-tutorials/org-taskjuggler.html
 
 but I somehow don't get it to work.
 
 
 I tried to make this example work with tj3 some time ago but I
 didn't manage to make it work with the current taskjuggler export
 procedure. It seems that the instruction change a lot beetween tj2
 and tj3 and as far I understand the export function was written for
 tj2.

Yes - that is my understanding and experience so far as well.

 
 My questions are:
 
 1) does the taskjuggler export work with tj3 (version 3.1.0)
 (John Hendy says it doesn't (taskjuggler (tj3) export issues
 and proposals), but there are patches which should have made it
 work (e.g. Christian Egli, small edits to org-taskjuggler.el for
 tj3). So: what is the actual status?
 
 
 I put here the link where you can see the change. Indeed it works
 with the change proposed by this patch. 
 http://thread.gmane.org/gmane.emacs.orgmode/40550
 
 This change is apparently not implemented in the current
 org-taskjuggler.el file.

Oversight? Is somebody looking at enabling export for tj3? Or is there
a way that I can install tj2 on Ubuntu Oneiric?

Cheers,

Rainer

 
 
 
 


- -- 
Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation
Biology, UCT), Dipl. Phys. (Germany)

Centre of Excellence for Invasion Biology
Stellenbosch University
South Africa

Tel :   +33 - (0)9 53 10 27 44
Cell:   +33 - (0)6 85 62 59 98
Fax :   +33 - (0)9 58 10 27 44

Fax (D):+49 - (0)3 21 21 25 22 44

email:  rai...@krugs.de

Skype:  RMkrug
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk8pNmcACgkQoYgNqgF2egoNwACfTZiTCBFiwsseIyOTQkKo5V4q
vCcAn0rynuwgaWaWG4qTbqRIiKfdykVS
=gFJ9
-END PGP SIGNATURE-



Re: [O] TaskJuggler 3.1 export (tj3)

2012-02-01 Thread John Hendy
On Wed, Feb 1, 2012 at 6:25 AM, d.tchin d.tc...@voila.fr wrote:
 Hello,

 Rainer M Krug r.m.krug at gmail.com writes:

[...]


 1) does the taskjuggler export work with tj3 (version 3.1.0) (John
 Hendy says it doesn't (taskjuggler (tj3) export issues and
 proposals), but there are patches which should have made it work
 (e.g. Christian Egli, small edits to org-taskjuggler.el for tj3).
 So: what is the actual status?


 I put here the link where you can see the change.
 Indeed it works with the change proposed by this patch.
 http://thread.gmane.org/gmane.emacs.orgmode/40550


I just tried to apply that patch and get:
---
$ patch -p1  ../tj3.patch
patching file org-taskjuggler.el
patch:  malformed patch at line 9: completed, chart
---

Not sure what's wrong.

Even so, see my most recent thread
(http://www.mail-archive.com/emacs-orgmode@gnu.org/msg51502.html).
Even if that patch works, it's not a viable solution. It sets a
default value, but this is really *the* value as in there's no way
to override it from the file. If you want a different export format,
you have to edit your emacs config. The variable should be called
'org-taskjuggler-export-report'. I think the ability to include a .tji
file is the way to go. Write your report definition, add =include
reports.tji= to the exporter and you're all set.

John

 This change is apparently not implemented in the current org-taskjuggler.el
 file.




Re: [O] TaskJuggler 3.1 export (tj3)

2012-02-01 Thread John Hendy
On Wed, Feb 1, 2012 at 6:56 AM, Rainer M Krug r.m.k...@gmail.com wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 On 01/02/12 13:25, d.tchin wrote:
 Hello,

 Rainer M Krug r.m.krug at gmail.com writes:

[...]


 Oversight? Is somebody looking at enabling export for tj3? Or is there
 a way that I can install tj2 on Ubuntu Oneiric?


If you can bear an extra step, set
'org-export-taskjuggler-default-reports' to nothing (or just comment
out the defaults with a preceding # for safekeeping). Add your
report definitions into a file called reports.tji (yes, it seems to
have to be reports.tji and nothing-else.tji). Then export from the
org file, open up the generated .tjp and add =include reports.tji=
as the last line. Should work like a charm.

Try the tutorial report from the taskjuggler documentation perhaps as
a test? It worked for me.


John



Re: [O] TaskJuggler 3.1 export (tj3)

2012-02-01 Thread Rainer M Krug
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 01/02/12 14:50, John Hendy wrote:
 On Wed, Feb 1, 2012 at 6:56 AM, Rainer M Krug r.m.k...@gmail.com
 wrote:
 -BEGIN PGP SIGNED MESSAGE- Hash: SHA1
 
 On 01/02/12 13:25, d.tchin wrote:
 Hello,
 
 Rainer M Krug r.m.krug at gmail.com writes:
 
 [...]
 
 
 Oversight? Is somebody looking at enabling export for tj3? Or is
 there a way that I can install tj2 on Ubuntu Oneiric?
 
 
 If you can bear an extra step, set 
 'org-export-taskjuggler-default-reports' to nothing (or just
 comment out the defaults with a preceding # for safekeeping). Add
 your report definitions into a file called reports.tji (yes, it
 seems to have to be reports.tji and nothing-else.tji). Then
 export from the org file, open up the generated .tjp and add
 =include reports.tji= as the last line. Should work like a
 charm.

Sounds like an option, but definitely not one I would prefer.
I'll wait and see what happens.

I'll come back to your suggestion if 'll use it anyway.

 
 Try the tutorial report from the taskjuggler documentation perhaps
 as a test? It worked for me.

I'll do.

Thanks a lot,

Rainer

 
 
 John


- -- 
Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation
Biology, UCT), Dipl. Phys. (Germany)

Centre of Excellence for Invasion Biology
Stellenbosch University
South Africa

Tel :   +33 - (0)9 53 10 27 44
Cell:   +33 - (0)6 85 62 59 98
Fax :   +33 - (0)9 58 10 27 44

Fax (D):+49 - (0)3 21 21 25 22 44

email:  rai...@krugs.de

Skype:  RMkrug
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk8pREkACgkQoYgNqgF2egoncgCaA1bIq98jlbS1nTVvyA5fcm8V
c+cAnjfMTc6ikQIEbJW5g/dk5pTzvFAC
=Hs7b
-END PGP SIGNATURE-



Re: [O] TaskJuggler 3.1 export (tj3)

2012-02-01 Thread Christian Egli
Hi Rainer

Rainer M Krug r.m.k...@gmail.com writes:

 I would like to use the export to taskjuggler, but somehow I don't get
 it working - might be me or the fact that I have taskjuggler 3.1.0.

 I am trying the example on

 http://orgmode.org/worg/org-tutorials/org-taskjuggler.html

 but I somehow don't get it to work.

Export to a file which can be consumed by tj3 should work. Opening the
exported file with tj2 silently fails if you do not have tj2 installed.
What exactly isn't working?

 My questions are:

 1) does the taskjuggler export work with tj3 (version 3.1.0) (John
 Hendy says it doesn't (taskjuggler (tj3) export issues and
 proposals), but there are patches which should have made it work
 (e.g. Christian Egli, small edits to org-taskjuggler.el for tj3).
 So: what is the actual status?

As I said, export to tj3 should work. See also my resonse to John Hendy.

 2) does the example (url above) work for tj3?

The example file should work. Set org-export-taskjuggler-target-version
to 3 and set the org-export-taskjuggler-default-reports to something
that tj3 understands. Export to tj3 should be done using C-c C-e j 
(org-export-taskjuggler), as C-c C-e J silently fails if you don't have
TaskJugglerUI (aka tj2.4) installed. On the resulting tjp file run tj3
and open the result in a browser.

 3) if no, could somebody provide a simple example org file which works
 with tj3?

The example file works if I follow the steps above. Let me know if you
have any problems. 

Thanks
Christian

-- 
Christian Egli
Swiss Library for the Blind, Visually Impaired and Print Disabled
Grubenstrasse 12, CH-8045 Z├╝rich, Switzerland




Re: [O] TaskJuggler 3.1 export (tj3)

2012-02-01 Thread d . tchin
John Hendy jw.hendy at gmail.com writes:

 
 On Wed, Feb 1, 2012 at 6:25 AM, d.tchin d.tchin at voila.fr wrote:
  Hello,
 
  Rainer M Krug r.m.krug at gmail.com writes:
 
 
 Even so, see my most recent thread
 (http://www.mail-archive.com/emacs-orgmode at gnu.org/msg51502.html).
 Even if that patch works, it's not a viable solution. It sets a
 default value, but this is really *the* value as in there's no way
 to override it from the file. If you want a different export format,
 you have to edit your emacs config. The variable should be called
 'org-taskjuggler-export-report'. I think the ability to include a .tji
 file is the way to go. Write your report definition, add =include
 reports.tji= to the exporter and you're all set.

Thank you for the suggestion and for the link to thread. After several trials 
and make it work. As far I understand the tj2 is not maintained anymore and if 
users want to use the taskjuggler they will obtain tj3 version. Maybe this 
configuration should be described in the info file or perhaps in the tutorial.

 
 John
 
  This change is apparently not implemented in the current org-taskjuggler.el
  file.
 
 
 


Thanks for the help and I would to thank people who invest their time and 
skill to develop orgmode and all these extensions. 

Regards





Re: [O] TaskJuggler 3.1 export (tj3)

2012-02-01 Thread John Hendy
On Wed, Feb 1, 2012 at 1:48 PM, d.tchin d.tc...@voila.fr wrote:
 John Hendy jw.hendy at gmail.com writes:


 On Wed, Feb 1, 2012 at 6:25 AM, d.tchin d.tchin at voila.fr wrote:
  Hello,
 
  Rainer M Krug r.m.krug at gmail.com writes:


 Even so, see my most recent thread
 (http://www.mail-archive.com/emacs-orgmode at gnu.org/msg51502.html).
 Even if that patch works, it's not a viable solution. It sets a
 default value, but this is really *the* value as in there's no way
 to override it from the file. If you want a different export format,
 you have to edit your emacs config. The variable should be called
 'org-taskjuggler-export-report'. I think the ability to include a .tji
 file is the way to go. Write your report definition, add =include
 reports.tji= to the exporter and you're all set.

 Thank you for the suggestion and for the link to thread. After several trials
 and make it work. As far I understand the tj2 is not maintained anymore and if
 users want to use the taskjuggler they will obtain tj3 version. Maybe this
 configuration should be described in the info file or perhaps in the tutorial.


Glad you got it working. I'm planning to look into updating the
manual/worg (hopefully in return for someone with lisp knowledge to
tweak some things just a smidge) :)

John


 John

  This change is apparently not implemented in the current org-taskjuggler.el
  file.
 




 Thanks for the help and I would to thank people who invest their time and
 skill to develop orgmode and all these extensions.

 Regards