Re: [O] PATCH: Allow class attribute for headline in HTML export

2018-12-08 Thread Jens Lechtenboerger
Hello! On 2018-12-08, at 12:46, Nicolas Goaziou wrote: > Jens Lechtenboerger writes: > >> Function org-reveal-headline calls org-html-headline to generate >> h-elements. Of course, I could parse the generated HTML in >> ox-reveal and add a class attribute based on org properties, but >> doing

Re: [O] PATCH: Allow class attribute for headline in HTML export

2018-12-08 Thread Nicolas Goaziou
Hello, Jens Lechtenboerger writes: > Function org-reveal-headline calls org-html-headline to generate > h-elements. Of course, I could parse the generated HTML in > ox-reveal and add a class attribute based on org properties, but > doing so in ox-html seems much cleaner to me. (Besides, given

Re: [O] PATCH: Allow class attribute for headline in HTML export

2018-12-04 Thread Jens Lechtenboerger
Hello, On 2018-12-04, Nicolas Goaziou wrote: > Jens Lechtenboerger writes: > >> I plan to use that for a table-of-contents plugin [1] of reveal.js, >> which looks for class attributes inside h-elements to exclude them >> selectively. > > Then I suggest to submit it to "ox-reveal" >

Re: [O] PATCH: Allow class attribute for headline in HTML export

2018-12-04 Thread Nicolas Goaziou
Hello, Jens Lechtenboerger writes: > I plan to use that for a table-of-contents plugin [1] of reveal.js, > which looks for class attributes inside h-elements to exclude them > selectively. Then I suggest to submit it to "ox-reveal" (https://github.com/yjwen/org-reveal/) instead. Regards, --

Re: [O] PATCH: Allow class attribute for headline in HTML export

2018-12-02 Thread Jens Lechtenboerger
On 2018-12-02, Nicolas Goaziou wrote: > Jens Lechtenboerger writes: > >> From 068fb45f5276d61e86271988efbcf6c29e08c411 Mon Sep 17 00:00:00 2001 >> From: Jens Lechtenboerger >> Date: Sun, 2 Dec 2018 20:25:38 +0100 >> Subject: [PATCH] ox-html.el: New property HTML_HEADLINE_CLASS for class of >>

Re: [O] PATCH: Allow class attribute for headline in HTML export

2018-12-02 Thread Nicolas Goaziou
Hello, Jens Lechtenboerger writes: > From 068fb45f5276d61e86271988efbcf6c29e08c411 Mon Sep 17 00:00:00 2001 > From: Jens Lechtenboerger > Date: Sun, 2 Dec 2018 20:25:38 +0100 > Subject: [PATCH] ox-html.el: New property HTML_HEADLINE_CLASS for class of > headline Thank you. > *

Re: [O] PATCH: Allow class attribute for headline in HTML export

2018-12-02 Thread Jens Lechtenboerger
On 2018-12-02, at 19:25, Jens Lechtenboerger wrote: > Dear all, > > the attached patch allows to add a class attribute to headline > elements in HTML export. Is that acceptable for inclusion? In that patch, "when" should have been "if", sorry. Fixed version attached. Best wishes Jens >From

[O] PATCH: Allow class attribute for headline in HTML export

2018-12-02 Thread Jens Lechtenboerger
Dear all, the attached patch allows to add a class attribute to headline elements in HTML export. Is that acceptable for inclusion? Best wishes Jens P.S. The change is tiny, but I assigned copyright to the FSF in 2015. >From e8f16b04903bc32c4ea006727c82dbcb40b591a8 Mon Sep 17 00:00:00 2001