This is a two-part problem.
1. Right square bracket in inline footnote prematurely terminates the
footnote.
IMO this is not a bug, it's an inherent and quite reasonable
limitation on the inline footnote format, and is easily solved by
falling back on the block footnote syntax.
#+BEGIN_EXAMPLE
** A heading
This is a broken footnote.[fn:somebook]
[fn:somebook] Some book at [42-24].
#+END_EXAMPLE
2. A number in square brackets is interpreted as a footnote marker
(even inside another footnote).
In ASCII export, as in Aidan's example, this doesn't matter because
footnote markers are exported in ... square brackets. But in other
export formats it's an occasional pain.
Some workarounds for this problem, involving =fn:nil= or invisible
zero-space characters, were recently posted on the list:
http://comments.gmane.org/gmane.emacs.orgmode/28191
Cheers,
Christian
Giovanni Ridolfi wrote:
Aidan Gauland <aidal...@no8wireless.co.nz> writes:
Emacs : GNU Emacs 24.0.50.6 (x86_64-unknown-linux-gnu, GTK+ Version 2.20.1)
of 2010-08-29 on dimension8
Package: Org-mode version 7.01trans
It is impossible to have closing brackets in a footnote, because they
are treated as the closing bracket for the foot note.
Example...
* A heading
This is a broken footnote.[fn:: Some book at [42-24].]
This will export to (as ASCII, for example)...
1 A heading
~~~~~~~~~~~~
This is a broken footnote.[1].]
This will export to (as ASCII, for example)...
[1] Some book at [42-24
This is how I am required to cite books for my academic essays, so this
is a pretty serious bug for me (and no doubt other students, as well).
GNU Emacs 23.2.1 (i386-mingw-nt5.1.2600) of 2010-05-08 on G41R2F1
Org-mode version
7.01trans-commit-1d1439f91e63e71f39e93622a0af439762522c00
Also escaping the brackets does not work Example:
** A heading
This is a broken footnote.[fn:: Some book at \[42-24\].]
Exports to:
1 A heading
~~~~~~~~~~~~
This is a broken footnote.[1].]
[1] Some book at \[42-24\
Giovanni
_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode
--
Christian Moe
E-mail: m...@christianmoe.com
Website: http://christianmoe.com
_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode