emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* How to combine two org files that each have footnotes?
@ 2021-02-11 17:49 arozbiz
  2021-02-11 18:26 ` Russell Adams
  2021-02-11 20:05 ` Christian Moe
  0 siblings, 2 replies; 5+ messages in thread
From: arozbiz @ 2021-02-11 17:49 UTC (permalink / raw)
  To: Emacs-orgmode

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

Most of my writing is academic and involves lots of footnotes. Sometimes it
is useful to be able to combine two separate files, each of which have
footnotes. How do I do so in a way that automatically renumbers the
footnotes in the file that comes second?

More specifically, I have file1.org and file2.org, and each of them have
three footnotes ([fn:1], [fn:2], and [fn:3]). I want to create file3.org,
which simply merges file1.org and file2.org, with the contents of file2.org
coming after the contents of file1.org. The problem is that the footnote
calls ([fn:#]) in the file2 section will end up pointing the file1
footnotes. What I really want is to automatically renumber all the
footnotes [fn:1]...[fn:6], but I don't know how to do this, given that org
permits multiple footnote calls to the same footnote.

Thanks,
Alan

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2021-02-14  0:05 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-02-11 17:49 How to combine two org files that each have footnotes? arozbiz
2021-02-11 18:26 ` Russell Adams
2021-02-11 20:05 ` Christian Moe
2021-02-11 23:54   ` Kyle Meyer
2021-02-14  0:03     ` arozbiz

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).