From mboxrd@z Thu Jan 1 00:00:00 1970 From: Samuel Wales Subject: Re: [BUG] [ODT] Annotations break paragraphs Date: Sun, 24 Mar 2013 22:59:44 -0700 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Return-path: Received: from eggs.gnu.org ([208.118.235.92]:58409) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UK0Rf-0006rB-EG for Emacs-orgmode@gnu.org; Mon, 25 Mar 2013 01:59:48 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UK0Re-00069Y-6H for Emacs-orgmode@gnu.org; Mon, 25 Mar 2013 01:59:47 -0400 Received: from mail-wi0-x22f.google.com ([2a00:1450:400c:c05::22f]:59393) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UK0Rd-00069T-VP for Emacs-orgmode@gnu.org; Mon, 25 Mar 2013 01:59:46 -0400 Received: by mail-wi0-f175.google.com with SMTP id c10so4338914wiw.14 for ; Sun, 24 Mar 2013 22:59:45 -0700 (PDT) In-Reply-To: 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: Christian Moe Cc: Emacs-orgmode@gnu.org Hi Christian, On 3/21/13, Christian Moe wrote: > The new exporter adds paragraph breaks around the anchor for the > marginal comment. This is the wrong behavior in all cases. These > comments are meant to be anchored inside paragraphs that are not meant > to be broken. (Using a fresh Org-mode version 8.0-pre on Emacs 24.3.1.) A similar issue arises with inline footnotes. Over the years I have built a lot of documents, each a subtree, that use them. To me, this naturally and definitely looks like a single paragraph with a 2-paragraph footnote, regardless of what the new exporter thinks: a[fn::b c] d e. In my case I was able with Nicolas's supplied code to create a hook that normalized footnotes before export. Maybe extracting in a hook will work for you. However, I fear that incorporating the parser into the font lock engine will break these paragraphs. :( Samuel -- The Kafka Pandemic: http://thekafkapandemic.blogspot.com The disease DOES progress. MANY people have died from it. ANYBODY can get it. There is NO hope without action. This means YOU.