From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: Minor bug in footnotes Date: Mon, 5 Jan 2009 13:28:58 +0100 Message-ID: <65172C44-FBF0-48E5-9F35-042BB8E94AF6@uva.nl> References: Mime-Version: 1.0 (Apple Message framework v929.2) Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LJoZv-0003i0-8P for emacs-orgmode@gnu.org; Mon, 05 Jan 2009 07:29:07 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LJoZr-0003eE-Jr for emacs-orgmode@gnu.org; Mon, 05 Jan 2009 07:29:06 -0500 Received: from [199.232.76.173] (port=44372 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LJoZr-0003e3-Af for emacs-orgmode@gnu.org; Mon, 05 Jan 2009 07:29:03 -0500 Received: from ug-out-1314.google.com ([66.249.92.168]:35272) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LJoZq-0007cZ-UJ for emacs-orgmode@gnu.org; Mon, 05 Jan 2009 07:29:03 -0500 Received: by ug-out-1314.google.com with SMTP id 36so2046430uga.17 for ; Mon, 05 Jan 2009 04:29:00 -0800 (PST) In-Reply-To: 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: Matthew Lundin Cc: emacs-orgmode@gnu.org Fixed, thanks. - Carsten On Jan 5, 2009, at 2:14 AM, Matthew Lundin wrote: > > Hi Carsten, > > After some additional testing of footnote options, I discovered > another minor quirk. It occurs when org-footnote-section is set to a > value such as "Footnotes" (the default value). When > org-footnote-action is called for the very first time in an org > buffer, the "Footnotes" headline is automatically created, but the > footnote is placed above the headline. > > I believe this occurs when the "Footnotes" headline is the last line > in the buffer, which is the case when the headline is automatically > created. Once an empty line is placed beneath the "Footnotes" > headline, new footnotes are correctly placed beneath it. > > The example below illustrates the behavior. > > Thanks, > > Matt > > ----begin org file-------- > > * Headline one > > The first footnote.[fn:1] The second footnote.[fn:2] Now I will add a > an empty line beneath the "Footnotes" section.[fn:3] > > [fn:1] Notice that this footnote is inserted above the "Footnotes" > section. > > [fn:2] The same behavior. > > * Footnotes > > [fn:3] Notice that the footnote is now placed below the footnote > section. > > -----end org file----- > > > _______________________________________________ > Emacs-orgmode mailing list > Remember: use `Reply All' to send replies to the list. > Emacs-orgmode@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-orgmode