From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jambunathan K Subject: Re: [PATCH][ANN] org-html/org-odt Date: Tue, 26 Apr 2011 21:39:31 +0530 Message-ID: <8162q16ll0.fsf@gmail.com> References: <811v21sjy9.fsf@gmail.com> <4D87C26A.2070700@christianmoe.com> <81zknveumx.fsf@gmail.com> <4DB56D72.806@christianmoe.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([140.186.70.92]:43601) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QEkpk-0000L0-F5 for emacs-orgmode@gnu.org; Tue, 26 Apr 2011 12:09:53 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QEkpi-00069z-5H for emacs-orgmode@gnu.org; Tue, 26 Apr 2011 12:09:52 -0400 Received: from mail-pv0-f169.google.com ([74.125.83.169]:65153) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QEkpi-00069k-0W for emacs-orgmode@gnu.org; Tue, 26 Apr 2011 12:09:50 -0400 Received: by pvc12 with SMTP id 12so762465pvc.0 for ; Tue, 26 Apr 2011 09:09:49 -0700 (PDT) In-Reply-To: <4DB56D72.806@christianmoe.com> (Christian Moe's message of "Mon, 25 Apr 2011 14:47:46 +0200") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: mail@christianmoe.com Cc: Org Mode Hello Christian >>> - Paragraphs were frequently split up, mid-sentence, by unwanted >>> paragraph breaks. This bug is a bit of a mystery. The extra >>> paragraph breaks appear where there is a newline in the text. But I >>> can't discern any pattern as to why breaks are inserted at these >>> newlines and not others. Nothing similar happens in HTML export. >> >> Doest his problem still exists with the new odt exporter. Can you send >> me a sample .org file and the generated .odt file. > > This problem persists. From experimenting a bit, it seems that the > *line break before a line containing a footnote* is turned into a > paragraph break. I will send a small sample separately. Thanks for analysing and isolating the issue. The problem happens (or is visible) only if the footnote reference occurs in second or subsequent lines in a paragraph and *not* in the first line [1]. I have a pushed a fix few hours back and the small sample document that you provided me gets exported just fine. I haven't addressed other concerns that you had recorded. I will let you know once I address them. I hope the exporter is usable with this new fix. Jambunathan K. Footnotes: [1] In my original test.org file all the footnote references occur in the first (and the only) line of paragraph. This is the reason it wasn't caught by my unit test file. Subsequent to your bug report, I have updated the test.org file so that future regressions could be easily caught. --