From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: Re: [PATCH] Suppress extra newlines around source code in LaTeX export Date: Wed, 16 Dec 2009 11:48:20 +0100 Message-ID: <1F1A6413-DF3E-41F8-8BEF-8FBD598E4107@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> <51b0095d0912150255n290a383dm1574a1b1c44c1b4a@mail.gmail.com> Mime-Version: 1.0 (Apple Message framework v936) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NKrQj-000695-A4 for emacs-orgmode@gnu.org; Wed, 16 Dec 2009 05:48:29 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NKrQe-00065s-Li for emacs-orgmode@gnu.org; Wed, 16 Dec 2009 05:48:28 -0500 Received: from [199.232.76.173] (port=40582 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NKrQe-00065f-9q for emacs-orgmode@gnu.org; Wed, 16 Dec 2009 05:48:24 -0500 Received: from mail-ew0-f224.google.com ([209.85.219.224]:50768) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NKrQd-0000Po-VC for emacs-orgmode@gnu.org; Wed, 16 Dec 2009 05:48:24 -0500 Received: by ewy24 with SMTP id 24so898614ewy.26 for ; Wed, 16 Dec 2009 02:48:23 -0800 (PST) In-Reply-To: <51b0095d0912150255n290a383dm1574a1b1c44c1b4a@mail.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: Nicolas Girard Cc: emacs-orgmode On Dec 15, 2009, at 11:55 AM, Nicolas Girard wrote: > 2009/12/14 Carsten Dominik : >> Actually, I cannot reproduce this problem - I do not see the extra >> newline. >> > 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 ? I do agree and have tried to fix it. Please verify. - Carsten