Re: [Orgmode] Re: How to customize the org-mode's BEGIN_SRC HTML output

2010-09-01 Thread Puneeth
Rafael, This has been Done. Happy Blogging, Puneeth On Sun, Aug 29, 2010 at 11:48 PM, Rafael wrote: > > Now, in case you wanted to have some more feature requests, ;-), here > they are: > > 1. Making an option to disable the inclusion of ':light="true"'. > > 2. Note that Wordpress also includes

Re: [Orgmode] Re: How to customize the org-mode's BEGIN_SRC HTML output

2010-08-29 Thread Eric S Fraga
On Sun, 29 Aug 2010 15:07:11 +0530, Puneeth wrote: [...] > This has been fixed. Thanks to a patch from Benjamin Beckwith. You can > now use any WP shortcode blocks in your org2blog posts, without losing > line breaks. > > Also, org2blog now directly posts babel src blocks as WP's sourcecode > b

Re: [Orgmode] Re: How to customize the org-mode's BEGIN_SRC HTML output

2010-08-29 Thread Puneeth
On Wed, Aug 25, 2010 at 6:21 PM, Puneeth wrote: >> Oh, and by the way, with Org-mode version 7.01h I concur with Eric in >> that I unfortunately still lose the linebreaks and get LaTeX code >> modified with Benjamin's new version.. > > The line breaks being stripped off is due to code in org2blog.

Re: [Orgmode] Re: How to customize the org-mode's BEGIN_SRC HTML output

2010-08-25 Thread Benjamin Beckwith
Eric, I should mention that I am using the "Syntaxhighlighter Evolved" plugin for Wordpress. It allows shortcodes with just the language name. I probably should use the [sourcecode lang="..."] variant instead. Maybe that is why my version did not work for you? My latest page created with my co

Re: [Orgmode] Re: How to customize the org-mode's BEGIN_SRC HTML output

2010-08-25 Thread Eric S Fraga
On Wed, 25 Aug 2010 18:21:22 +0530, Puneeth wrote: > > Hi All, > > I'm not sure if I should've jumped into the discussion much earlier, > but anyways, > > On Wed, Aug 25, 2010 at 5:53 PM, Rafael wrote: > > I think Benjamin means that he has customized this > > > > http://en.support.wordpress.c

Re: [Orgmode] Re: How to customize the org-mode's BEGIN_SRC HTML output

2010-08-25 Thread Puneeth
Hi All, I'm not sure if I should've jumped into the discussion much earlier, but anyways, On Wed, Aug 25, 2010 at 5:53 PM, Rafael wrote: > I think Benjamin means that he has customized this > > http://en.support.wordpress.com/shortcodes/ > > so that his code works directly. But it is not clear t

Re: [Orgmode] Re: How to customize the org-mode's BEGIN_SRC HTML output

2010-08-25 Thread Eric S Fraga
On Tue, 24 Aug 2010 23:32:01 -0400, Benjamin Beckwith wrote: > > Rafael, > > I had my shortcodes setup to accept the language directly. Your change > should work as you indicated. I have an additional fix to my code that > should behave better for you. I add a property, org-protected, that >

Re: [Orgmode] Re: How to customize the org-mode's BEGIN_SRC HTML output

2010-08-25 Thread Eric S Fraga
On Tue, 24 Aug 2010 21:36:40 -0500, Rafael wrote: > > Benjamin Beckwith writes: > > > Hi, I also was interested in posting these blocks (through org2blog in > > wordpress). The code I posted below is added to > > 'org-export-preprocess-hooks' where it looks for BEGIN_SRC blocks as > > well as