From mboxrd@z Thu Jan 1 00:00:00 1970 From: Karl Maihofer Subject: Sorting and renumbering footnotes Date: Tue, 30 Jun 2009 16:38:23 +0200 Message-ID: <20090630163823.182264ws2zu75qck@webmail.df.eu> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; DelSp="Yes"; format="flowed" Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MLeTh-0002Hr-FZ for emacs-orgmode@gnu.org; Tue, 30 Jun 2009 10:38:33 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MLeTb-0002Cy-60 for emacs-orgmode@gnu.org; Tue, 30 Jun 2009 10:38:33 -0400 Received: from [199.232.76.173] (port=38058 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MLeTb-0002Co-0H for emacs-orgmode@gnu.org; Tue, 30 Jun 2009 10:38:27 -0400 Received: from smtprelay06.ispgateway.de ([80.67.18.44]:40644) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MLeTa-0002GL-I6 for emacs-orgmode@gnu.org; Tue, 30 Jun 2009 10:38:26 -0400 Received: from [80.67.16.112] (helo=localhost) by smtprelay06.ispgateway.de with esmtpa (Exim 4.68) (envelope-from ) id 1MLeTX-00011o-RX for emacs-orgmode@gnu.org; Tue, 30 Jun 2009 16:38:23 +0200 Content-Disposition: inline List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org I use Org to write quite long documents with many footnotes and I am wondering if there is a way to renumber the footnotes when sorting with "C-u C-c C-x f s". "n" at the end is not what I am looking for. I'd like the footnotes to stay at the position set by org-footnote-section. Simple visual example: ------------------------------------------- * First Headline Org-mode is for keeping[fn:2] notes, maintaining ToDo lists, doing project[fn:3] planning, and authoring with a fast and effective[fn:1] plain-text system. [fn:1] Third Footnote. [fn:2] Frist Footnote. [fn:3] Second Footnote. * Second Headline --------------------------------------------- Pressing "C-u C-c C-x f s" resuls in the following: ---------------------------------------------- * First Headline Org-mode is for keeping[fn:2] notes, maintaining ToDo lists, doing project[fn:3] planning, and authoring with a fast and effective[fn:1] plain-text system. [fn:2] Frist Footnote. [fn:3] Second Footnote. [fn:1] Third Footnote. * Second Headline ----------------------------------------------- How can I achieve this: ----------------------------------------------- * First Headline Org-mode is for keeping[fn:1] notes, maintaining ToDo lists, doing project[fn:2] planning, and authoring with a fast and effective[fn:3] plain-text system. [fn:1] Frist Footnote. [fn:2] Second Footnote. [fn:3] Third Footnote. * Second Headline -------------------------------------------------- Karl