emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: torys.anderson@gmail.com (Tory S. Anderson)
To: Kaushal Modi <kaushal.modi@gmail.com>
Cc: orgmode list <emacs-orgmode@gnu.org>,
	"Tory S. Anderson" <torys.anderson@gmail.com>
Subject: Re: Footnotes-per-element?
Date: Wed, 01 Nov 2017 09:04:24 -0600	[thread overview]
Message-ID: <87375yt4zr.fsf@gmail.com> (raw)
In-Reply-To: <CAFyQvY3+v73mUTQO5gwhxTfeHJGEToEvrkrBxo_zJja_qzf-Yg@mail.gmail.com> (Kaushal Modi's message of "Fri, 27 Oct 2017 12:16:43 +0000")

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 <kaushal.modi@gmail.com> 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

  reply	other threads:[~2017-11-01 15:04 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-10-27 12:11 Footnotes-per-element? Tory S. Anderson
2017-10-27 12:16 ` Footnotes-per-element? Kaushal Modi
2017-11-01 15:04   ` Tory S. Anderson [this message]
2017-11-02 10:24     ` Footnotes-per-element? Rasmus

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87375yt4zr.fsf@gmail.com \
    --to=torys.anderson@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=kaushal.modi@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).