emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] Footnotes-per-element?


From: Tory S. Anderson
Subject: Re: [O] Footnotes-per-element?
Date: Wed, 01 Nov 2017 09:04:24 -0600
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux)

THanks for this; it may be a workable solution. The trick is, I didn't generate the footnotes myself -- I have concatenated a bunch of html -> orgmode pandoc outputs. Still an elisp find-and-replace might do what I need. I was just hoping for a quick switch to flip for localized footnotes.

Thanks!
- Tory

Kaushal Modi <address@hidden> writes:

On Fri, Oct 27, 2017 at 8:12 AM Tory S. Anderson <
address@hidden> wrote:

    I have a single org file that represents a collection of
    articles;
each article starts with a first-level heading and includes its own footnotes, always restarting from 0. I have a ** Footnotes section in each article with the appropriate footnotes, but it isn't respected when I follow one of the footnote references; following [fn:3] in the any article, for example, will take me to
    [fn:3] of the first article's footnotes. What's the best way
    around this, so that each article will use its own footnotes
    section?


I just increment the footnotes across all the articles. So, for
example, if article 1 has footnotes 1 and 2, article 2 will continue from footnote number 3. The beauty is that if you export article 2,
it will auto-reset the footnote reference to number 1.

The key is to not manually number the footnotes and let C-c C-x f
(bound to org-footnote-action) do its thing.

Hope that helps. 
--

Kaushal Modi



reply via email to

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