Re: [O] [patch][ox-html] Support for level based containers

2014-03-19 Thread Rick Frankel
On 2014-03-18 15:41, Rasmus wrote: Rick Frankel writes: On 2014-03-17 23:31, Rasmus wrote: A general rule is that the section element is appropriate only if the element's contents would be listed explicitly in the document's outline. So, using this definition, in html5, the wrappers should

Re: [O] [patch][ox-html] Support for level based containers

2014-03-18 Thread Rasmus
Rick, Rick Frankel writes: > On 2014-03-17 23:31, Rasmus wrote: >> It's a variable that you can set in your project or in your Org file >> or in your init file. I don't see why div × 3 is better than section >> article div or something else conditional on two variables being >> explicitly set t

Re: [O] [patch][ox-html] Support for level based containers

2014-03-18 Thread Rick Frankel
On 2014-03-17 23:31, Rasmus wrote: It's a variable that you can set in your project or in your Org file or in your init file. I don't see why div × 3 is better than section article div or something else conditional on two variables being explicitly set to get fancy HTML5. . . In any case, I don

Re: [O] [patch][ox-html] Support for level based containers

2014-03-17 Thread Rasmus
Rick Frankel writes: > On Mon, Mar 17, 2014 at 11:26:28PM +0100, Rasmus wrote: >> Rick Frankel writes: >> > >> > On Mon, Mar 17, 2014 at 03:15:50AM +0100, Bastien wrote: >> >> Hi Rasmus and Nicolas, >> >> >> > >> >> Nicolas Goaziou writes: >> >> >> >> >> Let me know if you find you'd be willing

Re: [O] [patch][ox-html] Support for level based containers

2014-03-17 Thread Rick Frankel
On Mon, Mar 17, 2014 at 11:26:28PM +0100, Rasmus wrote: > Rick Frankel writes: > > > On Mon, Mar 17, 2014 at 03:15:50AM +0100, Bastien wrote: > >> Hi Rasmus and Nicolas, > >> > > > >> Nicolas Goaziou writes: > >> > >> >> Let me know if you find you'd be willing to merge something like this > >> >

Re: [O] [patch][ox-html] Support for level based containers

2014-03-17 Thread Rasmus
Rick Frankel writes: > On Mon, Mar 17, 2014 at 03:15:50AM +0100, Bastien wrote: >> Hi Rasmus and Nicolas, >> > >> Nicolas Goaziou writes: >> >> >> Let me know if you find you'd be willing to merge something like this >> > >> > I don't know enough HTML to have an opinion here. >> > > I don't thin

Re: [O] [patch][ox-html] Support for level based containers

2014-03-17 Thread Rick Frankel
On Mon, Mar 17, 2014 at 03:15:50AM +0100, Bastien wrote: > Hi Rasmus and Nicolas, > > Nicolas Goaziou writes: > > >> Let me know if you find you'd be willing to merge something like this > > > > I don't know enough HTML to have an opinion here. > I don't think it's a bad change, but i have a coup

Re: [O] [patch][ox-html] Support for level based containers

2014-03-16 Thread Bastien
Hi Rasmus and Nicolas, Nicolas Goaziou writes: >> Let me know if you find you'd be willing to merge something like this > > I don't know enough HTML to have an opinion here. Well, Rick is our HTML expert, let's ping him for such decisions. -- Bastien

Re: [O] [patch][ox-html] Support for level based containers

2014-03-16 Thread Rasmus
Hi, Thanks for the—as always—useful comments. I have attached a new version of the patch with better doc and a bit better functionality, I think. Nicolas Goaziou writes: > I don't know enough HTML to have an opinion here. Then we are two. . . >> and what changes are necessary, if any. > > So

Re: [O] [patch][ox-html] Support for level based containers

2014-03-16 Thread Nicolas Goaziou
Hello, Rasmus writes: > This patch allows different containers in ox-html.el depending on the > level of the heading. For example, it is possible to get a container > structure like this (level . container): > > * . section > ** . article > *** . div > > This is good for HTML5 at least, and