From mboxrd@z Thu Jan 1 00:00:00 1970 From: suvayu ali Subject: Re: [RFC] inline task formatting in odt/doc (was Re: Org-odt fails to export when inline tasks are present) Date: Mon, 8 Aug 2011 20:17:06 +0200 Message-ID: References: <81vcua60rm.fsf@gmail.com> <81sjpbhm8o.fsf_-_@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Return-path: Received: from eggs.gnu.org ([140.186.70.92]:57198) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QqUOG-0000wk-CY for emacs-orgmode@gnu.org; Mon, 08 Aug 2011 14:17:29 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QqUOF-0002Hy-JC for emacs-orgmode@gnu.org; Mon, 08 Aug 2011 14:17:28 -0400 Received: from mail-ey0-f171.google.com ([209.85.215.171]:56966) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QqUOF-0002Hs-Eq for emacs-orgmode@gnu.org; Mon, 08 Aug 2011 14:17:27 -0400 Received: by eyg24 with SMTP id 24so5398210eyg.30 for ; Mon, 08 Aug 2011 11:17:26 -0700 (PDT) In-Reply-To: <81sjpbhm8o.fsf_-_@gmail.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: Jambunathan K Cc: org-mode mailing list Hi Jambu, On Mon, Aug 8, 2011 at 7:00 PM, Jambunathan K wrote: > > Suvayu / Others > >> Looks like I need to create an entry in >> >> C-h v org-inlinetask-export-templates. > > Are there any opinions/preferences on how inline tasks could be exported > in to odt format. I think having an ability to quickly navigate through > all the inline tasks in the exported document would be a > pre-requisite. > > I am thinking of exporting them as "Insert->Comments" and from > OpenOffice help it seems one can quickly visit such comments in order. > > I am unsure how big the inline tasks typically are. From the mailing > lists it seems that the (unarticulated) expectation is that they are > simple notes (with mostly no body text or very little text) > I tried out the comments feature in OOo. I think it serves the purpose very well. However I have an observation. For single heading inlinetasks, you correctly say there is little text and the comment feature works wonderfully. But for inlinetasks with an END heading, it is common to find an enclosed list or a longer note. Something like below. *************** Some note + with a few pointers + like these *************** END Since comments in OOo don't support things like lists, it might be a good idea to translate the shorter inlinetasks into comments and the longer ones into highlighted blocks (as in latex export). Since the format for inlinetask export templates already provides support to adapt the template based on the content[1], this might be a feasible feature request. But then again, I am not doing the work. ;) > Jambunathan K. > I hope this helps. Footnotes: [1] org-inlinetask-export-templates is a variable defined in `org-inlinetask.el'. ... Moreover, the following special keywords are provided: `todo', `priority', `heading', `content', `tags'. If some of them are not defined in an inline task, their value is the empty string. -- Suvayu Open source is the future. It sets us free.