From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Girard Subject: Re: Re: [PATCH] Suppress extra newlines around source code in LaTeX export Date: Tue, 15 Dec 2009 11:55:58 +0100 Message-ID: <51b0095d0912150255n290a383dm1574a1b1c44c1b4a@mail.gmail.com> References: <51b0095d0912011303n73abddefjfd37fa9fab055c03@mail.gmail.com> <51b0095d0912050358v4e0ec999k9a4e5826877ea995@mail.gmail.com> <51b0095d0912091421i63a7fee7x418fe1c5da334110@mail.gmail.com> <51b0095d0912101337w3b741b71ke0498a78e1e51f63@mail.gmail.com> <66D2118D-3D77-4034-AE7A-300CFB66CF48@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NKV4a-0006sz-1g for emacs-orgmode@gnu.org; Tue, 15 Dec 2009 05:56:08 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NKV4V-0006pP-H9 for emacs-orgmode@gnu.org; Tue, 15 Dec 2009 05:56:07 -0500 Received: from [199.232.76.173] (port=35264 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NKV4U-0006p5-Vp for emacs-orgmode@gnu.org; Tue, 15 Dec 2009 05:56:03 -0500 Received: from mail-fx0-f225.google.com ([209.85.220.225]:44807) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NKV4U-0001ht-Bt for emacs-orgmode@gnu.org; Tue, 15 Dec 2009 05:56:02 -0500 Received: by fxm25 with SMTP id 25so4026696fxm.26 for ; Tue, 15 Dec 2009 02:56:00 -0800 (PST) In-Reply-To: <66D2118D-3D77-4034-AE7A-300CFB66CF48@gmail.com> 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: emacs-orgmode 2009/12/14 Carsten Dominik : > Actually, =A0I cannot reproduce this problem - I do not see the extra new= line. > Hi Carsten, you're absolutely right, I performed yet another git pull and couldn't reproduce this either. Great ! Now, speaking of extra newlines, I'm puzzled about this: at some stage (which I didn't identify yet, maybe when exporting to LaTeX), Org adds an ID property to some headings in my document ; that is, for instance, * Aa * Bb Text becomes * Aa * Bb :PROPERTIES: :ID: fa489059-d27e-47fb-929d-8ca9c749d079 :END: Text Notice the extra newline between :END: and Text. It's all good except when exporting to LaTeX *and* the concerned heading is to be treated as an item. I've been thinking a bit about this special case ; and it seems to me like, on one side, the extra newline should remain, and on the other side, empty lines following a heading should be ignored by the LaTeX translator when this heading is translated into an item. What do you think ? --=20 Nicolas