emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] Bug: Org-mode don't export to html footnotes references inside f


From: Nicolas Goaziou
Subject: Re: [O] Bug: Org-mode don't export to html footnotes references inside footnotes as such. [7.8.03]
Date: Sun, 04 Mar 2012 13:47:27 +0100

Hello,

Achim Gratz <address@hidden> writes:

>>> 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.
>
> There are always workarounds, but footnotes within footnotes aren't
> directly supported by any publishing system I know of, and with good
> reason.  A footnote, just like a marginal, is an expansion on the main
> text that can be skipped without loss of information (but maybe loss of
> detail).

That's what I thought before the OP request. Though, it appears that it
is a not so rare need. For example critical editions seem to use it
quite often.

> So whenever you feel that you need a footnote within a footnote, you
> could just as well have two footnotes at the original place.

I have never needed nested footnotes, so I feel like the Devil's
advocate but anyway...

Imagine a very large footnote, spanning over tens of lines.  You would
like to add a footnote next to a word in the middle of that
text. I suppose it wouldn't make sense to get out of that footnote and
be told there's another reference for a word you read many lines ago.

>> 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.
>
> It would be better to not promote the idea of footnotes within footnotes
> and those who insist on using that construct should be required to
> explicitly request that feature and suffer the consequences.

Note that Org inherently supports nested footnotes.  Forbidding them
would be much like an artificial limitation.

I don't mind such limitation, but knowing that they may happen to be
useful, it's worth pondering if it really should be so.

> Much better would be if starting a footnote while within a footnote
> would simply open a new footnote and add the reference at the same place
> where the first one was opened.

That's a possible workaround I was talking about earlier. And it's
perfectly possible with the experimental exporter.  ODT back-end may
implement it.

That's mostly what I did with the LaTeX back-end. Nested footnotes
definitions are inserted right after the top level footnote definition
containing them.  Only footnotes markers are nested.


Regards,

-- 
Nicolas Goaziou



reply via email to

[Prev in Thread] Current Thread [Next in Thread]