From mboxrd@z Thu Jan 1 00:00:00 1970 From: John Hendy Subject: Re: taskjuggler - using gaplength or gapduration Date: Wed, 12 Feb 2014 15:31:13 -0600 Message-ID: References: <52FBD572.7040604@breengeosci.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:39856) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WDhOl-0001KG-P9 for emacs-orgmode@gnu.org; Wed, 12 Feb 2014 16:31:16 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WDhOk-0005oM-LE for emacs-orgmode@gnu.org; Wed, 12 Feb 2014 16:31:15 -0500 Received: from mail-ob0-x22e.google.com ([2607:f8b0:4003:c01::22e]:56122) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WDhOk-0005oC-Gu for emacs-orgmode@gnu.org; Wed, 12 Feb 2014 16:31:14 -0500 Received: by mail-ob0-f174.google.com with SMTP id uy5so11106959obc.5 for ; Wed, 12 Feb 2014 13:31:13 -0800 (PST) In-Reply-To: <52FBD572.7040604@breengeosci.com> 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: frank Cc: emacs-orgmode On Wed, Feb 12, 2014 at 2:11 PM, frank wrote: > > One issue that I am having is regarding gaplength and gapduration for tasks. Under the TJ3 syntax, the command would be > " depends !!PHII {gapduration 7w} ". > > I added gaplength and gapduration under ' Org Taskjuggler Valid Task Attributes ' and added the following in my org-mode file: > Ah, my apologies. Now I understand. I think you'll need Nicholas' or someone else's help with this regarding the tj3 exporter. The typical mapping is simply: - Org :property: value - tj3 task { property value } I just re-read how gaplength and gapduration work, and you'll need new mapping of the :property: value to the output format so it ends up in curly braces. I didn't catch that initially. The gapduration and gaplength docs don't really make that clear, but the depends page does: - http://www.taskjuggler.org/tj3/manual/depends.html So, no, you didn't do anything wrong, I just don't think the exporter is setup to handle this sort of mapping. John > *** PSF > :PROPERTIES: > :Task_id: PSF > :depends: PHII > :gaplength: 7w > :duration: 10d > :END: > > The resulting export comes out: > depends !!PHII > duration 10d > gaplength 7w > > which is incorrect. What am I doing wrong. > > Frank >