From mboxrd@z Thu Jan 1 00:00:00 1970 From: torys.anderson@gmail.com (Tory S. Anderson) Subject: Re: Footnotes-per-element? Date: Wed, 01 Nov 2017 09:04:24 -0600 Message-ID: <87375yt4zr.fsf@gmail.com> References: <87po984wpm.fsf@byu.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:48854) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e9uZF-0005Tg-Bl for emacs-orgmode@gnu.org; Wed, 01 Nov 2017 11:04:34 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e9uZA-00079h-FS for emacs-orgmode@gnu.org; Wed, 01 Nov 2017 11:04:33 -0400 Received: from mail-pf0-x22c.google.com ([2607:f8b0:400e:c00::22c]:45019) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1e9uZA-00079G-9H for emacs-orgmode@gnu.org; Wed, 01 Nov 2017 11:04:28 -0400 Received: by mail-pf0-x22c.google.com with SMTP id x7so2179377pfa.1 for ; Wed, 01 Nov 2017 08:04:27 -0700 (PDT) In-Reply-To: (Kaushal Modi's message of "Fri, 27 Oct 2017 12:16:43 +0000") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: Kaushal Modi Cc: orgmode list , "Tory S. Anderson" 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 writes: > On Fri, Oct 27, 2017 at 8:12 AM Tory S. Anderson < > torys.anderson@gmail.com> 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