[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How to combine two org files that each have footnotes?
From: |
Kyle Meyer |
Subject: |
Re: How to combine two org files that each have footnotes? |
Date: |
Thu, 11 Feb 2021 18:54:04 -0500 |
Christian Moe writes:
> Hi,
>
> This is actually easy because Org allows named footnotes (numbers are
> really just a special case of names).
>
> Make backup copies of your files for safety's sake, then visit file1.org
> and M-% to replace all instances of "fn:" with (for example)
> "fn:file1_". The footnotes will now be named fn:file1_1, fn:file1_2,
> etc. At this point all your footnotes across the two documents are
> already uniquely named (but you can of course also do the corresponding
> thing to file2 if you like). Merge away.
Yeah, that's the main method I can think of too
(<https://orgmode.org/list/87imi9iim3.fsf@kyleam.com>). And after
merging, you can convert the references back to numbers by normalizing
with 'C-c C-x f n' if you'd like (and assuming what I wrote at the above
thread is correct).