Re: [O] Is there a variable/way to change div id=content to something else, e.g. div class=container for use with Bootstrap CSS?

2014-05-26 Thread Omid
Eric, Thanks a lot for the pointer to the Filter System. I was not aware of it and, as you pointed out, the org-export-filter-final-output-functions variable will help me achieve what I was looking for. Cheers, Omid Sent from my Emacs On 05/26/2014 01:11 AM, Eric Abrahamsen wrote: Omid

[O] Is there a variable/way to change div id=content to something else, e.g. div class=container for use with Bootstrap CSS?

2014-05-25 Thread Omid
Hello, - I am trying to build a statically-generated website purely with Org mode. I would like to use Bootstrap CSS to make the site mobile friendly. Bootstrap uses div class=container for the main part of the body of HTML; Org mode export produces div id=content for that part. Is

Re: [O] Is there a variable/way to change div id=content to something else, e.g. div class=container for use with Bootstrap CSS?

2014-05-25 Thread Eric Abrahamsen
Omid omidl...@gmail.com writes: Hello, - I am trying to build a statically-generated website purely with Org mode. I would like to use Bootstrap CSS to make the site mobile friendly. Bootstrap uses div class=container for the main part of the body of HTML; Org mode export produces div

Re: [O] Is there a variable/way to change div id=content to something else, e.g. div class=container for use with Bootstrap CSS?

2014-05-25 Thread Omid
Thank you, Eric for your quick response. - I am using Org mode 8.2.6 (from ELPA) and Emacs 24.3.1. - org-html-divs does almost what I have been looking for, except for one, unfortunately crucial, shortcoming: I don't see any way of changing the id tag to class. Bootstrap's container is a class

Re: [O] Is there a variable/way to change div id=content to something else, e.g. div class=container for use with Bootstrap CSS?

2014-05-25 Thread Omid
I think I found the answer to my second question: in org-publish-project-alist, there is the property completion-function that can be set to a (list of) functions to do some post processing. My first question still stands, though. Omid Sent from my Emacs On 05/26/2014 12:08 AM, Omid wrote:

Re: [O] Is there a variable/way to change div id=content to something else, e.g. div class=container for use with Bootstrap CSS?

2014-05-25 Thread Eric Abrahamsen
Omid omidl...@gmail.com writes: I think I found the answer to my second question: in org-publish-project-alist, there is the property completion-function that can be set to a (list of) functions to do some post processing. My first question still stands, though. Yup, that's a bit of a pain.