From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rainer M Krug Subject: Re: Re: [PATCH] org-latex: Don't append newline to end of footnote Date: Wed, 30 Mar 2011 16:46:33 +0200 Message-ID: <4D934249.5020602@gmail.com> References: <4D91DA12.1070707@gmail.com> <87d3l9kesc.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Return-path: Received: from [140.186.70.92] (port=47889 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q4wfY-0000j0-SB for emacs-orgmode@gnu.org; Wed, 30 Mar 2011 10:46:53 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Q4wfO-0003Bd-PR for emacs-orgmode@gnu.org; Wed, 30 Mar 2011 10:46:48 -0400 Received: from mail-ww0-f41.google.com ([74.125.82.41]:48016) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Q4wfO-0003BW-Jj for emacs-orgmode@gnu.org; Wed, 30 Mar 2011 10:46:38 -0400 Received: by wwi18 with SMTP id 18so4007914wwi.0 for ; Wed, 30 Mar 2011 07:46:37 -0700 (PDT) In-Reply-To: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Lawrence Mitchell Cc: n.goaziou@gmail.com, emacs-orgmode@gnu.org -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 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. > > Lawrence > - -- Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, UCT), Dipl. Phys. (Germany) Centre of Excellence for Invasion Biology Natural Sciences Building Office Suite 2039 Stellenbosch University Main Campus, Merriman Avenue Stellenbosch South Africa Tel: +33 - (0)9 53 10 27 44 Cell: +27 - (0)8 39 47 90 42 Fax (SA): +27 - (0)8 65 16 27 82 Fax (D) : +49 - (0)3 21 21 25 22 44 Fax (FR): +33 - (0)9 58 10 27 44 email: Rainer@krugs.de Skype: RMkrug -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk2TQkkACgkQoYgNqgF2egq+5QCfTwNa+7H/mDa59SJOo65OdtHN 7EsAn3U9Rk8dpDq69BxInxlEZHS6o1Ec =ObWr -----END PGP SIGNATURE-----