From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: Footnotes and org-export Date: Sun, 5 Oct 2008 07:22:11 +0200 Message-ID: <98882E15-F69C-49D7-BC06-2AC2A8C2B6DE@uva.nl> References: Mime-Version: 1.0 (Apple Message framework v929.2) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KmM4S-0003ms-2O for emacs-orgmode@gnu.org; Sun, 05 Oct 2008 01:22:20 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KmM4O-0003lu-Mj for emacs-orgmode@gnu.org; Sun, 05 Oct 2008 01:22:19 -0400 Received: from [199.232.76.173] (port=54186 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KmM4O-0003lp-Ck for emacs-orgmode@gnu.org; Sun, 05 Oct 2008 01:22:16 -0400 Received: from ey-out-1920.google.com ([74.125.78.149]:18849) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KmM4O-00050R-II for emacs-orgmode@gnu.org; Sun, 05 Oct 2008 01:22:16 -0400 Received: by ey-out-1920.google.com with SMTP id 4so674640eyg.24 for ; Sat, 04 Oct 2008 22:22:15 -0700 (PDT) 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: mdl@imapmail.org Cc: emacs-orgmode@gnu.org Hi Matthew, I guess one way to do this would be to write a hook function that, prior to export, colectes all the footnotes you have produced in your favorite markup and to put them in the normal ASCII format that Org can digest. I am not convinced that this is a good approach. Org ist supposed to be and ASCII format, easily readable and exportable. To write text with extensive use of footnotes may well be stretching the envelope of Org. Having said this, I have had quite good experiences with Steve L. Baur's footnote-mode. But maybe I have never used it to the extend you do? How exactly does it fail? Can you make an example? Or a bug report to Steve? - Carsten On Oct 3, 2008, at 7:04 PM, mdl@imapmail.org wrote: > > First, let me say thank you to Carsten and everyone else for this > wonderful note-taking/PIM/spreadsheet/everything-but-the-kitchen-sink > software. It is one of the best computer tools I've ever used. As an > Emacs neophyte, I remained humbled by the generosity of those with far > superior computer skills. > > I am an academic and I use LaTeX footnotes extensively in my writing. > I'd like to be able to write my drafts in org-mode and then export > them both to HTML and LaTeX. The problem is that the emacs footnote > mode is not very robust (being designed for emails with one or two > footnotes). Trying to add more than a handful of footnotes to a > document with footnote.el quickly becomes a nightmare (ordering gets > broken, the count gets messed up, etc.) > > And now for the question (which will betray my ignorance about emacs > lisp). How complicated would it be to write a function for org-export > that would transform the LaTeX markup for footnotes (i.e., > \footnote{text}) into hyperref footnotes? I'd like to be able to enter > the LaTeX footnote markup directly in my org file and then export it > to html.[1] > > Or, if this wouldn't work, how complicated would it be to create a > different footnote markup altogether for org-export? One possibility, > I imagine, would be a footnote markup with unique labels for each > footnote, such as: > > Here is a sentence with a footnote.[fn:label] > > ... > > [fn id=label] And here is the footnote. > > This latter option would allow for the arbitrary placement of > footnotes in html documents. > > Thanks for your suggestions! > > ---- > > Matthew Lundin > mdl at imapmail dot org > > ---- > > [1] I've checked the mailing lists and documentation, and as far as I > can tell, \footnote is not one of the embedded LaTeX macros that org > recognizes. Please do correct me if I am wrong. > > > _______________________________________________ > 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