From mboxrd@z Thu Jan 1 00:00:00 1970 From: suvayu ali Subject: inlinetask html export template Date: Mon, 8 Aug 2011 09:35:55 +0200 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Return-path: Received: from eggs.gnu.org ([140.186.70.92]:39844) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QqKNl-0003z7-Eo for emacs-orgmode@gnu.org; Mon, 08 Aug 2011 03:36:18 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QqKNk-00013m-Fg for emacs-orgmode@gnu.org; Mon, 08 Aug 2011 03:36:17 -0400 Received: from mail-fx0-f41.google.com ([209.85.161.41]:49061) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QqKNk-00013f-6I for emacs-orgmode@gnu.org; Mon, 08 Aug 2011 03:36:16 -0400 Received: by fxg9 with SMTP id 9so4367364fxg.0 for ; Mon, 08 Aug 2011 00:36:15 -0700 (PDT) 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: org-mode mailing list Hi, org exports inlinetasks to HTML as preformatted text, and uses the style class inlinetask. I wanted to export inlinetasks as a section ("div" ?) but with the same style. I don't know any HTML, but with some guess work I customised the html template like this: (html "
%s%s
%s
" '((unless (eq todo "") (format "%s%s " class todo todo priority)) heading content)) This takes care of replacing the preformatted block with a section but the style isn't applied any more. Any ideas how I can achieve that? -- Suvayu Open source is the future. It sets us free.