emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] footnotes position in html export


From: Orm Finnendahl
Subject: Re: [O] footnotes position in html export
Date: Sun, 8 Nov 2015 17:34:11 +0100
User-agent: Mutt/1.5.24 (2015-08-30)

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 <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.
> 
> HTH,
> 
> Regards,
> 
> -- 
> Nicolas Goaziou



reply via email to

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