From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rasmus Subject: Re: [bug, patch, ox] INCLUDE and footnotes Date: Wed, 10 Dec 2014 01:57:25 +0100 Message-ID: <87iohks4ne.fsf@gmx.us> References: <87h9x5hwso.fsf@gmx.us> <87oarcbppe.fsf@nicolasgoaziou.fr> <87fvcozfhf.fsf@gmx.us> <87h9x4bj33.fsf@nicolasgoaziou.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:44641) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XyVb8-00070M-DD for emacs-orgmode@gnu.org; Tue, 09 Dec 2014 19:57:51 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XyVb2-0007IL-Vr for emacs-orgmode@gnu.org; Tue, 09 Dec 2014 19:57:46 -0500 Received: from plane.gmane.org ([80.91.229.3]:59490) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XyVb2-0007I0-Py for emacs-orgmode@gnu.org; Tue, 09 Dec 2014 19:57:40 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1XyVb1-0003eP-Vn for emacs-orgmode@gnu.org; Wed, 10 Dec 2014 01:57:40 +0100 Received: from 102.201.133.37.dynamic.jazztel.es ([37.133.201.102]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 10 Dec 2014 01:57:39 +0100 Received: from rasmus by 102.201.133.37.dynamic.jazztel.es with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 10 Dec 2014 01:57:39 +0100 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Nicolas Goaziou writes: > Rasmus writes: > >> Clearly the current situation is not satisfactory ("You can use :lines, >> but only if no footnotes are present. . . IOW, :lines supports a subset >> of Org syntax."). >> >> I prefer converting [fn:N] references to [fn::FOOTNOTE] (see my other >> email). Any obvious downsides? > > Yes: inline and regular footnotes are not equivalent. For example, > a regular footnote can contain a table, a plain list... So this is not > an option here. Damn. I only saw this after changing my path to this behavior. Good point anyway. Though the idea of a table in a footnote is truly horrifying. > I think required definitions should be extracted from the included file > and inserted at the end of the source file, without any footnote > section. The "hard" solution. I will look into it. > However, it would be nice to store associations between files > and footnote labels in, e.g., a hash table, in order to avoid inserting > multiple times the same footnote. What is your reasoning for this statement? Aesthetics, performance or something else? —Rasmus -- Dobbelt-A