all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Nicolas Goaziou <n.goaziou@gmail.com>
To: Jambunathan K <kjambunathan@gmail.com>
Cc: emacs-orgmode@gnu.org,
	"Bruno Félix Rezende Ribeiro" <oitofelix@gmail.com>
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	[thread overview]
Message-ID: <87bood5sn1.fsf@gmail.com> (raw)
In-Reply-To: <81aa3xo2nw.fsf@gmail.com> (Jambunathan K.'s message of "Sun, 04 Mar 2012 01:52:27 +0530")

Hello,

Jambunathan K <kjambunathan@gmail.com> writes:

> Nicolas Goaziou <n.goaziou@gmail.com> writes:
>
>> Hello,
>>
>> oitofelix@gmail.com (Bruno Félix 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<text:note-body>
> | 
> | The <text:note-body> element contains the content of a note. It does not
> | have any attributes.
> | 
> | 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,

-- 
Nicolas Goaziou

  reply	other threads:[~2012-03-03 20:38 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-02-25  2:28 Bug: Org-mode don't export to html footnotes references inside footnotes as such. [7.8.03] Bruno Félix Rezende Ribeiro
2012-02-26 12:43 ` Nicolas Goaziou
2012-03-03 20:22   ` Jambunathan K
2012-03-03 20:36     ` Nicolas Goaziou [this message]
2012-03-04 10:30       ` Achim Gratz
2012-03-04 12:47         ` Nicolas Goaziou

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87bood5sn1.fsf@gmail.com \
    --to=n.goaziou@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=kjambunathan@gmail.com \
    --cc=oitofelix@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.