Re: [O] [ox-html] Multiple wraps around sections

2014-03-16 Thread Nicolas Goaziou
Rasmus writes: > With a filter the endpoint isn't a problem. Only identifying the > top-level can be tricky—but you could use tags, assuming they are > not varying. You can also use a hook function that will mark first level headlines with some special string before export. Within the filter,

Re: [O] [ox-html] Multiple wraps around sections

2014-03-16 Thread Rasmus
Hi, Nicolas Goaziou writes: > Hello, > > Rasmus writes: > >> The thing is semantics are pretty easy to mess up in HTML-like >> languages compared to, say, LaTeX, since I have to figure out the >> ending point. > > You don't have to figure that out. When using a headline filter, the > first head

Re: [O] [ox-html] Multiple wraps around sections

2014-03-16 Thread Nicolas Goaziou
Hello, Rasmus writes: > The thing is semantics are pretty easy to mess up in HTML-like > languages compared to, say, LaTeX, since I have to figure out the > ending point. You don't have to figure that out. When using a headline filter, the first headline relative tag always opens the current he

Re: [O] [ox-html] Multiple wraps around sections

2014-03-16 Thread Rasmus
Hi Christian and Nicolas, Christian Moe writes: > Rasmus writes: > >> Is there any way I can easily get an /extra/ container around my >> sections? > > You would probably want to create an export filter for sections. See the > manual, Export > Advanced configuration > Filters. The thing is sema

Re: [O] [ox-html] Multiple wraps around sections

2014-03-16 Thread Nicolas Goaziou
Hello, Rasmus writes: > I'm trying to make a personal website with ox-html and ox-publish. In > terms of output I am looking for something like: > > #+begin_src html > > > Section title > my text > > > #+end_src > > This seems to be how these fancy pages get colored boxes and in

[O] [ox-html] Multiple wraps around sections

2014-03-15 Thread Rasmus
Hi, I'm trying to make a personal website with ox-html and ox-publish. In terms of output I am looking for something like: #+begin_src html Section title my text #+end_src This seems to be how these fancy pages get colored boxes and indented text¹. . . I can almost get it with