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

Reply via email to