[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] footnotes position in html export

From: Nicolas Goaziou
Subject: Re: [O] footnotes position in html export
Date: Sun, 08 Nov 2015 16:11:03 +0100


Orm Finnendahl <address@hidden> 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.



Nicolas Goaziou

reply via email to

[Prev in Thread] Current Thread [Next in Thread]