|Subject:||[O] How to activate pre.src in org-babel html output? Can only get class=example|
|Date:||Mon, 13 Feb 2012 17:04:48 +1300|
|User-agent:||Mozilla/5.0 (Windows NT 6.1; rv:10.0.1) Gecko/20120208 Thunderbird/10.0.1|
Using org-babel, I'm wanting to output Python fragments along with
the resultant output to HTML. |
That bit's easy, and the following works as expected:
#+options: toc:nil num:nilHowever, although I find references to various styling mechanisms (e.g pre.src) in the orgmode documentation, I can't find any way to get any more CSS selectors on both the src and output blocks. The only one that ever appears is "example" as shown here:
<pre class="example">print 355/113If I can find out how to make "pre.src" appear (hopefully only on the source block) , then I can change the background colours or fonts to make the output visibly distinct from the source code.
The full HTML output I get is at http://dl.dropbox.com/u/2671560/org-py-babel.html contains lots of CSS selectors, and I can easily include my my own using #+STYLE lines, but I need some way to differentiate the two blocks.
I'm using Emacs 22.214.171.124 and the lastest orgmode commit b5082974c83a3a4838db86025edce857b11e5847 (Fri Feb 3 15:18:05 2012 +0100)
-- ====================================================================== Dr Giovanni Moretti | School of Engineering and Advanced Technology Senior Lecturer | Massey University, Palmerston North, New Zealand Computer Science | Ph +64-6-3505799x2474 Fax +64-6-3502259 - ZL2GX ====================================================================== http://seat.massey.ac.nz/moretti address@hidden
|[Prev in Thread]||Current Thread||[Next in Thread]|