[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[O] Re: [PATCH] org-latex: Don't append newline to end of footnote
From: |
Lawrence Mitchell |
Subject: |
[O] Re: [PATCH] org-latex: Don't append newline to end of footnote |
Date: |
Wed, 30 Mar 2011 10:14:05 +0100 |
User-agent: |
Gnus/5.110014 (No Gnus v0.14) Emacs/24.0.50 (gnu/linux) |
Nicolas wrote:
> Hello,
> Lawrence Mitchell <address@hidden> 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.
Lawrence
--
Lawrence Mitchell <address@hidden>