From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id iG8mBdvDJWCiawAA0tVLHw (envelope-from ) for ; Thu, 11 Feb 2021 23:55:07 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id gBzWANvDJWCqEgAAB5/wlQ (envelope-from ) for ; Thu, 11 Feb 2021 23:55:07 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 493529402B1 for ; Thu, 11 Feb 2021 23:55:06 +0000 (UTC) Received: from localhost ([::1]:45210 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lALnc-0003Eq-Ge for larch@yhetil.org; Thu, 11 Feb 2021 18:55:04 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:51496) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lALmp-0003Ef-6j for Emacs-orgmode@gnu.org; Thu, 11 Feb 2021 18:54:15 -0500 Received: from out2.migadu.com ([188.165.223.204]:15773) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lALml-00041A-Kx for Emacs-orgmode@gnu.org; Thu, 11 Feb 2021 18:54:14 -0500 X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kyleam.com; s=key1; t=1613087645; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=VIYfkC7e1CsKtG2m1+ozMSQQ6AoatsAySIVrPVRmNFQ=; b=c0ctyvDLZFJn9+MZjVxrhqepQIPt4az5P2TKXf2PBbYsy0ebJ6SJVSyjL5GWkMHX+MLLY9 wv0sKiFxHAqSAFF8JEEfGe3J2ogLofFls7g09yVs7qjgjJc9r5cOQT+c3sHm5EGht2wfMz XzLk0NDLk0GPsMBk5Rc+m7IqQ5seZmFE4X40y7A63xXKzZkmUR+Qy+AB1CEplMUdi+a+BS fwX5Oxl+OYpQZv0Uk4N3uDCdz9iqi96gYotUxymXgzPY+/zV5FPkzfqXelFhNepfppsdwX qTODGjLtJu82OTjHVdMttkdp4vWCzEDnkvYxpRFq2h7uNZjpcVM9aYwIebEiPA== From: Kyle Meyer To: Christian Moe , arozbiz@gmail.com Subject: Re: How to combine two org files that each have footnotes? In-Reply-To: <87czx6wesw.fsf@christianmoe.com> References: <87czx6wesw.fsf@christianmoe.com> Date: Thu, 11 Feb 2021 18:54:04 -0500 Message-ID: <87tuqi88kj.fsf@kyleam.com> MIME-Version: 1.0 Content-Type: text/plain X-Migadu-Auth-User: kyle@kyleam.com Received-SPF: pass client-ip=188.165.223.204; envelope-from=kyle@kyleam.com; helo=out2.migadu.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Emacs-orgmode@gnu.org Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -1.56 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=kyleam.com header.s=key1 header.b=c0ctyvDL; dmarc=none; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Queue-Id: 493529402B1 X-Spam-Score: -1.56 X-Migadu-Scanner: scn1.migadu.com X-TUID: Gx1Ht0b3cOCB 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 (). 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).