Hello, Rainer M Krug writes: > Additional information: I changed to 7.5 (released version) and it works > there as expected. > > Rainer > > > On 30/03/11 11:14, Lawrence Mitchell wrote: >> Nicolas wrote: >>> Hello, >> >>> Lawrence Mitchell writes: >> >> >> [...] >> >>> The analysis is good, but unfortunately the patch has a flaw. >> >>> In fact, your patch work in that particular situation, but not if >>> a footnote definition ends with a list, nor if it ends with a link. To >>> solve the latter, you need to insert a white-space before the closing >>> bracket. To solve the former, I thought adding a newline instead of the >>> white-space was enough, but it now appears it was a bad idea. >> >>> Thus, the solution lies elsewhere. >> >> Ugh, indeed. I wonder whether it would be enough to add the >> correct list indent to the beginning of the line with the closing >> brace. >> >> ALthough I notice without my patch, the export of a footnote >> containing a list which is in a list also does not work: >> >> - Hello [fn:1] >> >> * Footnotes >> >> [fn:1] Goodbye >> - an item >> >> No idea how to fix this though, sorry. Would the attached patch work ? I've tested it successfully on the following buffer: --8<---------------cut here---------------start------------->8--- #+title: Test footnotes * Titre Text [fn:1] and a list - [fn:2] - three Another try [fn:3] * Footnotes [fn:1] A definition with - a list - of two elements [fn:2] Test [fn:3] [[file:~/.bashrc][bashrc]] --8<---------------cut here---------------end--------------->8--- Regards, -- Nicolas