From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: Bug: Org-mode don't export to html footnotes references inside footnotes as such. [7.8.03] Date: Sat, 03 Mar 2012 21:36:18 +0100 Message-ID: <87bood5sn1.fsf@gmail.com> References: <87ipivy7cu.fsf@felix-laptop.gnung> <87zkc5g3z2.fsf@gmail.com> <81aa3xo2nw.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([208.118.235.92]:52726) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S3vj1-0006cm-AC for emacs-orgmode@gnu.org; Sat, 03 Mar 2012 15:38:44 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1S3viy-0000WC-MM for emacs-orgmode@gnu.org; Sat, 03 Mar 2012 15:38:42 -0500 Received: from mail-we0-f169.google.com ([74.125.82.169]:60256) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S3viy-0000Vr-DH for emacs-orgmode@gnu.org; Sat, 03 Mar 2012 15:38:40 -0500 Received: by werj55 with SMTP id j55so2173512wer.0 for ; Sat, 03 Mar 2012 12:38:38 -0800 (PST) In-Reply-To: <81aa3xo2nw.fsf@gmail.com> (Jambunathan K.'s message of "Sun, 04 Mar 2012 01:52:27 +0530") 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: Jambunathan K Cc: emacs-orgmode@gnu.org, Bruno =?utf-8?Q?F=C3=A9lix?= Rezende Ribeiro Hello, Jambunathan K writes: > Nicolas Goaziou writes: > >> Hello, >> >> oitofelix@gmail.com (Bruno F=C3=A9lix Rezende Ribeiro) writes: >> >>> Consider the following org code: >>> >>> -- >>> This is only a text.[1] >>> >>> [1] This is a text body's footnote.[2] >>> [2] This is a footnote's footnote. >>> -- >>> >>> When org-mode exports this code to html, despite the fact that >>> footnote 2 is present in the final document, it don't exports >>> footnote 2 reference as a link to footnote 2; it's exported just >>> like plain text. >> >> There's no official support for nested footnotes in current exporter. >> Implementing it would be non trivial (it may be for the HTML back-end, >> but clearly not for the LaTeX one). Since we're working on a new export >> engine, I don't think it's worth the effort. >> >> Though, your report made me implement it in the experimental exporter. > > From OpenDocument-1.2 spec has the following note > > ,---- > | 6.3.4 > |=20 > | The element contains the content of a note. It does not > | have any attributes. > |=20 > | Note: The schema allows for the inclusion of notes into the note > | body. While this may be reasonable for note types, it is not reasonable > | for footnotes and endnotes. Conforming consumers need not support notes > | inside notes. > `---- > > LibreOffice doesn't support notes inside notes. So for all practical > purposes, nested footnotes cannot be supported with ODT export (in both > the legacy and in-the-works experimental version). > > If one intends to export his Org file to ODT, then nested footnote > construction should be avoided like plague. It isn't really supported in LaTeX too, but there are workarounds. If such thing isn't possible, ODT back-end will ignore any footnote contained in another footnote (i.e. whose genealogy contains an element with an `footnote-reference' or `footnote-definition' type) and send a message to the user. Regards, --=20 Nicolas Goaziou