From mboxrd@z Thu Jan 1 00:00:00 1970 From: Manish Subject: Re: HTML export of inline tasks Date: Wed, 9 May 2012 22:15:52 +0530 Message-ID: References: <87lil1g5se.fsf@ucl.ac.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Return-path: Received: from eggs.gnu.org ([208.118.235.92]:59406) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SSA23-00076u-8t for emacs-orgmode@gnu.org; Wed, 09 May 2012 12:46:37 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SSA1w-0005mZ-W9 for emacs-orgmode@gnu.org; Wed, 09 May 2012 12:46:30 -0400 Received: from mail-pb0-f41.google.com ([209.85.160.41]:61856) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SSA1w-0005mC-NP for emacs-orgmode@gnu.org; Wed, 09 May 2012 12:46:24 -0400 Received: by pbbrp2 with SMTP id rp2so818719pbb.0 for ; Wed, 09 May 2012 09:46:22 -0700 (PDT) In-Reply-To: <87lil1g5se.fsf@ucl.ac.uk> 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: Manish , Org-Mode On Wed, May 9, 2012 at 1:11 PM, Eric S Fraga wrote: > Manish writes: > >> Dear List, >> >> How can I export SCHEDULED, DEADLINE and tags for inlinetasks? I have >> org-inlinetask.el loaded and am using older HTML exporter (the one not >> based on org-elements.el). I looked at variable >> org-inlinetasl-export-template but still unsure how should I set it to >> exposed scheduling information in HTML. I am using the default css. >> >> GNU Emacs 24.1.50.1 on Windows 7 >> Org-mode from Git as of May 7 2012 with head on commit >> b797c88d700a5e636c0f9fdb108d1846ce6e1f08 >> >> Thanks! >> -- >> Manish > > Sorry, I missed that you had already looked at that variable. I set it > as follows, which might help you figure this out: > > > (setq org-inlinetask-export-templates > '((html "
  • %s%s

    %s

" > '((unless > (eq todo "") > (format "%s%s " class todo todo priority)) > heading content)))) > > This assumes the default CSS so that the appropriate TODO styles have > been defined. > > I must admit that I seldom export to HTML (esp. now with the ODT > exporter) so I cannot remember if this was a good template or not. > > Hope this helps. > Thanks for looking, Eric. I think that setting is pretty much the default. Following note from the source file and a look at org-inlinetask-export-handler makes me believe that these were never supposed to be treated as proper todos (I don't speak elisp so I could be mistaken though). ,---- | ;; Export commands do not treat these nodes as part of the sectioning | ;; structure, but as a special inline text that is either removed, or | ;; formatted in some special way. This in handled by | ;; `org-inlinetask-export' and `org-inlinetask-export-templates' | ;; variables. `---- Out of curiosity I tried ODT export and that produces weird results for inlinetasks. Does it work for you? Cheers! Manish