emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Jambunathan K <kjambunathan@gmail.com>
To: Nicolas Goaziou <n.goaziou@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: Sun, 04 Mar 2012 01:52:27 +0530	[thread overview]
Message-ID: <81aa3xo2nw.fsf@gmail.com> (raw)
In-Reply-To: <87zkc5g3z2.fsf@gmail.com> (Nicolas Goaziou's message of "Sun, 26 Feb 2012 13:43:13 +0100")

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.

> Thank you.
>
>
> Regards,

-- 

  reply	other threads:[~2012-03-03 20:22 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 [this message]
2012-03-03 20:36     ` Nicolas Goaziou
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

  List information: https://www.orgmode.org/

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

  git send-email \
    --in-reply-to=81aa3xo2nw.fsf@gmail.com \
    --to=kjambunathan@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=n.goaziou@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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).