emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Leonard Randall <leonard.a.randall@gmail.com>
To: emacs-orgmode <emacs-orgmode@gnu.org>
Subject: Moving footnotes
Date: Wed, 21 May 2014 13:23:19 +0100	[thread overview]
Message-ID: <CAMRQoA=Uo8k4pk6=vwYhMuBe-Q85JExnu7s=np3j1_oOR1vb8A@mail.gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 1469 bytes --]

Hi all,
One of the things I really like about org-mode is the ability to quickly
move material between projects. For instance, I sometimes write material as
a conference paper and want to use some sections in my thesis. I also like
to keep a file with old chapter drafts for later reference (I could just
use git for this, but keeping an old-drafts file around makes some jobs
more convenient). One issue that I am running into is that when I move
material with org-refile, footnotes defined in the Footnote section do not
move with it.  Additionally, if I try to export a subtree as an org buffer,
it does not take footnote definitions with it.

The obvious workaround for both problems is to define footnotes inline.
Another option (the one that I am using currently) is to set
org-footnote-section to nil, and to set org-footnote-auto-label to 'random.
This way footnotes are kept at the bottom of the section, so they move with
refile, and they have randomly generated names, so they won't conflict with
any footnote definitions in the destination file.

This solution works, but I wondered if there was any way to get org-refile
and org-export-org to take footnotes definitions with them, wherever they
are located.
With org-export-org, this seems especially important as backends are
supposed to faithfully export footnotes with their definitions.

Additionally, is there a way to easily convert numbered footnotes to
randomly named footnotes?

Thanks,

 Leonard

[-- Attachment #2: Type: text/html, Size: 1664 bytes --]

             reply	other threads:[~2014-05-21 12:23 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-05-21 12:23 Leonard Randall [this message]
2014-05-21 16:39 ` Moving footnotes Nicolas Goaziou
2014-05-30 12:57 ` Bastien
2014-05-30 13:35   ` Nicolas Goaziou
2014-05-30 13:51     ` Bastien
2014-05-31  9:30       ` Nicolas Goaziou
2014-05-31 11:09         ` Bastien
2014-06-01  6:48           ` Nicolas Goaziou
2014-06-01  8:49             ` Bastien
2014-06-02 12:10               ` Leonard Avery Randall

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='CAMRQoA=Uo8k4pk6=vwYhMuBe-Q85JExnu7s=np3j1_oOR1vb8A@mail.gmail.com' \
    --to=leonard.a.randall@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /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).