Hi Nicolas, thanks a lot, that sounds quite feasible and your suggestions will probably save me a lot of time! I just started writing the book and first need some more content but will look into coding it while it's growing.
I'll post back to the list when I have results in case someone is interested and has a use for it. -- Orm Am Sonntag, den 08. November 2015 um 16:11:03 Uhr (+0100) schrieb Nicolas Goaziou: > Hello, > > Orm Finnendahl <orm.finnend...@selma.hfmdk-frankfurt.de> writes: > > > ok, thanks. I'll look into it. Maybe it's not too hard to > > implement. > > It shouldn't. Basically, you need to: > > 1. Add an optional argument to `org-html-footnote-section' specifying > the scope of footnotes, skip > `org-export-collect-footnote-definitions' altogether and use > `org-element-map' to find "first footnotes references" (see > `org-export-footnote-first-reference-p') in the scope. > > Then with `org-export-get-footnote-definition', you can build the > footnote section. > > 2. Call `org-html-footnote-section' from `org-html-section', with the > parent headline, if any, or the current section otherwise as the > current scope. > > 3. Create a new variable to toggle behaviour of footnotes. > > HTH, > > Regards, > > -- > Nicolas Goaziou