suvayu ali <fatkasuvayu+li...@gmail.com> 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? --