Re: [O] Styling HTML output

2011-08-26 Thread Bastien
Hi Ken, ken.willi...@thomsonreuters.com writes: I wanted to share some CSS code that I've found useful for exported HTML documents. It adds a little R or sh or Perl (etc.) label to the top of a source block. Cool - it deserves to be put on Worg org-hacks.org! Thanks, -- Bastien

Re: [O] Styling HTML output

2011-08-26 Thread Eric S Fraga
ken.willi...@thomsonreuters.com writes: I wanted to share some CSS code that I've found useful for exported HTML documents. It adds a little R or sh or Perl (etc.) label to the top of a source block. [...] Very nice. Thanks. I've already started using it, having added some other

Re: [O] Styling HTML output

2011-08-26 Thread Ken.Williams
On 8/26/11 4:01 AM, Bastien b...@altern.org wrote: Cool - it deserves to be put on Worg org-hacks.org! Good idea, here's a patch (I hope attachments work on this list?) that adds it. -- Ken Williams Senior Research Scientist Thomson Reuters http://labs.thomsonreuters.com

Re: [O] Styling HTML output

2011-08-26 Thread Nick Dokos
ken.willi...@thomsonreuters.com wrote: On 8/26/11 4:01 AM, Bastien b...@altern.org wrote: Cool - it deserves to be put on Worg org-hacks.org! Good idea, here's a patch (I hope attachments work on this list?) that adds it. Two things: o application/octet-stream is not the right

Re: [O] Styling HTML output

2011-08-26 Thread Ken.Williams
On 8/26/11 2:26 PM, Nick Dokos nicholas.do...@hp.com wrote: Two things: o application/octet-stream is not the right MIME type for the attachment.[...] o Presumaby the following should say pre class=src src-perl:[...] Thanks, I think this update is better. Unfortunately I don't think my

Re: [O] Styling HTML output

2011-08-26 Thread Bastien
Hi Ken, ken.willi...@thomsonreuters.com writes: Thanks, I think this update is better. Unfortunately I don't think my mailer (stupid Outlook) can change the attachments, so I'll inline it here. Applied, thanks! -- Bastien

[O] Styling HTML output

2011-08-25 Thread Ken.Williams
I wanted to share some CSS code that I've found useful for exported HTML documents. It adds a little R or sh or Perl (etc.) label to the top of a source block. (setq org-export-html-style style type=\text/css\ !--/*--![CDATA[/*!--*/ .src { background-color: #F5FFF5;