[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] inlinetask html export template
From: |
Jambunathan K |
Subject: |
Re: [O] inlinetask html export template |
Date: |
Mon, 08 Aug 2011 14:09:07 +0530 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (windows-nt) |
suvayu ali <address@hidden> writes:
> 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 "<div class=\"inlinetask\"><b>%s%s</b><br />%s</div>"
> '((unless (eq todo "")
> (format "<span class=\"%s %s\">%s%s</span> " class todo todo
> priority))
> heading content))
>
Put your html file in nxml-mode and do a C-c C-n. You will know the
reason. Basically it produces an invalid xhtml.
--8<---------------cut here---------------start------------->8---
<p>
<span style="text-decoration:underline;">Questions</span>:
<div class="inlinetask"><b>Detector effects</b><br />
</p><ol> ############### PROBLEM HERE
<li>How is the Gaussian used for smearing of proper time resolution
derived? <a href="http://www.google.com";>Google</a> this.
</li>
<li>Why is the proper time error PDF needed? Why is
smearing of time resolution not enough?
</li>
</ol>
--8<---------------cut here---------------end--------------->8---
> 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?
--