From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: Footnotes and org-export, revisited Date: Thu, 1 Jan 2009 18:10:51 +0100 Message-ID: <5E498B46-C3D1-4BF6-AD0E-4F416CD72EE9@uva.nl> References: <3051994A-5B12-4497-AB58-BAF9A70020D8@uva.nl> 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 1LIR4U-0000lG-2b for emacs-orgmode@gnu.org; Thu, 01 Jan 2009 12:10:58 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LIR4S-0000l2-3S for emacs-orgmode@gnu.org; Thu, 01 Jan 2009 12:10:57 -0500 Received: from [199.232.76.173] (port=55781 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LIR4R-0000kz-Uz for emacs-orgmode@gnu.org; Thu, 01 Jan 2009 12:10:55 -0500 Received: from ey-out-1920.google.com ([74.125.78.146]:8155) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LIR4R-0005qH-Ci for emacs-orgmode@gnu.org; Thu, 01 Jan 2009 12:10:55 -0500 Received: by ey-out-1920.google.com with SMTP id 4so655394eyg.24 for ; Thu, 01 Jan 2009 09:10:54 -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 Hi Matt, the bug is fixed now, thanks for the report. Also, you can set org-footnote-section to nil if you want non-inline footnotes to be defined in the outline node where they are referenced, instead of a special outline node "Footnotes". - Carsten On Jan 1, 2009, at 5:48 PM, Matthew Lundin wrote: > > Hi Carsten, > > First of all, let me say thank you for this wonderful addition to > org-mode. I will certainly do more of my writing in org-mode now. > Incredible! > > I've tested the new footnote feature and can get everything to work > except anonymous footnotes. When using more than one anonymous > footnote, all subsequent anonymous footnotes are exported with the > number of the first footnote and their notes are lost. (The same > happens when normalizing footnotes in org-mode.) I've included the > source and output below. At the moment, I'm using Emacs 22.2.1 (Carbon > Emacs). > > Happy New Year! > > - Matt > > ----------- > > A. Here is the org source: > > --begin source-- > > * Testing the new footnotes function > > Here is a footnote.[fn:: The first anonymous footnote.] And here is > another footnote.[fn:: The second anonymous footnote.] And a third > anonymous footnote.[fn:: The third anonymous footnote.] Now a footnote > with a definition.[fn:label] Here is the footnote with a > definition.[fn:special: Inline definition.] Here is a reference to > that same footnote.[fn:special] And a traditional numbered > footnote.[2] > > [fn:label] Named footnote. > > [2] Numbered footnote. > > --end source-- > > B. Here's what the exported html looks like (copied from w3m): > > ---begin exported html--- > > Table of Contents > > * 1 Testing the new footnotes function > > 1 Testing the new footnotes function > > Here is a footnote.^1 And here is another footnote.^1 And a third > anonymous footnote.^1 Now a footnote with a definition.^2 Here is the > footnote with a definition.^3 Here is a reference to that same > footnote.^3 And a traditional numbered footnote.^4 > > Footnotes: > > ^1 The first anonymous footnote. > > ^2 Named footnote. > > ^3 Inline definition. > > ^4 Numbered footnote. > > ---end exported html--- > > C. Finally, here are the results when I normalize the footnotes in > org-mode: > > * Testing the new footnotes function > > Here is a footnote.[1] And here is another footnote.[1] And a third > anonymous footnote.[1] Now a footnote with a definition.[2] Here is > the footnote with a definition.[3] Here is a reference to that same > footnote.[3] And a traditional numbered footnote.[4] > > * Footnotes > > [1] The first anonymous footnote. > > [2] Named footnote. > > [3] Inline definition. > > [4] Numbered footnote. > > Carsten Dominik writes: > >> Hi, >> >> the result of this discussion about footnotes is now >> in the latest git version, see >> >> http://orgmode.org/Changes.html#sec-1.1.1 >> >> for more information. >> >> - Carsten