From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id gEvJLhZ3JWC1TgAA0tVLHw (envelope-from ) for ; Thu, 11 Feb 2021 18:27:34 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id 8OzKKhZ3JWB3CQAAbx9fmQ (envelope-from ) for ; Thu, 11 Feb 2021 18:27:34 +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 324939402B5 for ; Thu, 11 Feb 2021 18:27:34 +0000 (UTC) Received: from localhost ([::1]:39620 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lAGge-00079y-E8 for larch@yhetil.org; Thu, 11 Feb 2021 13:27:32 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:40332) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lAGfx-00079r-Tm for emacs-orgmode@gnu.org; Thu, 11 Feb 2021 13:26:49 -0500 Received: from se05.route25.eu ([2a00:f10:121:b00:43f:e2ff:fe00:1cfb]:57705) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lAGfv-00006r-2e for emacs-orgmode@gnu.org; Thu, 11 Feb 2021 13:26:49 -0500 Date: Thu, 11 Feb 2021 19:26:37 +0100 From: Russell Adams To: emacs-orgmode@gnu.org Subject: Re: How to combine two org files that each have footnotes? Message-ID: <20210211182637.GD8384@maokai> Mail-Followup-To: emacs-orgmode@gnu.org References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Originating-IP: 2a00:f10:400:2:446:66ff:fe00:2ce X-SpamExperts-Domain: out.pcextreme.nl X-SpamExperts-Username: 2a00:f10:400:2:446:66ff:fe00:2ce X-SpamExperts-Outgoing-Class: ham X-SpamExperts-Outgoing-Evidence: Combined (0.15) X-Recommended-Action: accept X-Filter-ID: Pt3MvcO5N4iKaDQ5O6lkdGlMVN6RH8bjRMzItlySaT9WLQux0N3HQm8ltz8rnu+BPUtbdvnXkggZ 3YnVId/Y5jcf0yeVQAvfjHznO7+bT5xiExUbNqvmdkLSOzf1W2Y3z8hkeSqZT0W1YMl0fRDa99cV PSoHm0W/3adFfiYl2nvxZCZ3n50mcT1jB+EIjrdX/T4GcPvCLvSpAEEGy7kYxsD3QRUnhlexiXT3 xXuXeIhevFP+kOiMW3ZJfjMJYMEj+gaXrHkgRC7/tI3CjXmVyrwQ4hbiV88kcQKHN8W8zq/Hh0cQ L0Ci0sRm4Wh/iZxmPmKsRAie6X5VUup6QaxbpcztdQUSqk/AeLi65+4s/LrywTM2yEHEhvC9Izsy /NENTMQ3Kg3hL2oXz5A5E5R/dS4GkJ5hfB+qWugfDEytZYoACfRtBjLzEjgIZNLWhI/Mshn3T8Ox KyIrAogwLlirll+u0Sc2bgjgy6NE5WzPnrJ1fJyKyenPq733oZ8bAyJmHQrtppYmxMktfUX7kfB+ UdezYqxGMqsKjARq8PBC4qgxMmglBiLsgrvXOb7qEGUwgxHIagHkgJmlqPNWnLI1oovhSJcbnX/H QqL/X9rNCJCc6iESJvKm1NV8gkr+Wu8ScVDXinOVyuIpITQ9z3M3DOlg+q4ppTtAZ2e9Bd2ywr2g 6Q108PLWCdLy9ErRXnhRBONBtYig5Rfny4px+sh3LkoLldE6gvbeQcfbAZNCT7l1qlEX9arjJ9+p xnLobJ4dttCdYDerqCeOvRnB4u+j6UejVYzsHslhjsy4E9J0QSScrviqAlWKHYPtfqFn7jtLLPde C2osMQ2uc367tvJ8uqBlkBL2blkAqDWoat5k50VyEuGT04b9gsVWM2+4LuLtGBkup+5xvaXqZuDe XCm39khQCTgccimJmAM19bewNIsySgn20L3OodFAxqpA77lhZS8WyGhbAq1g+6AZDLQEq/qoFfEx nVvTD3tgtuO0AvNpkfBVvQOGPHEEDQbM6Mv0w6nIoDr0sXUZ7YZoZ/GZ+pCnjQ2glUiUX9dR/+0i G8uhWw865DeWm1uxY/IOVrR9NUNskyEzRKqJAimkUzqUYuUx00H2pacfURgNN2ut+KhuE0sqJa2Q vZalRN9Wau+QCGVmpNDnLyIWxU519cS3SXoBYYeqaPY98NQFqmPbVLExL7hrJSk60SF3F6RYOYr2 X-Report-Abuse-To: spam@semaster01.route25.eu Received-SPF: pass client-ip=2a00:f10:121:b00:43f:e2ff:fe00:1cfb; envelope-from=rladams@adamsinfoserv.com; helo=se05.route25.eu X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, 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: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -0.86 Authentication-Results: aspmx1.migadu.com; dkim=none; 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: 324939402B5 X-Spam-Score: -0.86 X-Migadu-Scanner: scn1.migadu.com X-TUID: 7/nrU1zrNTcZ On Thu, Feb 11, 2021 at 11:49:32AM -0600, arozbiz@gmail.com wrote: > 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. Is this a case where bibliographic tools like Bibtex come into play? Would "anonymous" footnotes help, then Org can dynamically number them? ------------------------------------------------------------------ Russell Adams RLAdams@AdamsInfoServ.com PGP Key ID: 0x1160DCB3 http://www.adamsinfoserv.com/ Fingerprint: 1723 D8CA 4280 1EC9 557F 66E8 1154 E018 1160 DCB3