From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: [BUG] [ODT] Annotations break paragraphs Date: Mon, 25 Mar 2013 21:10:41 +0100 Message-ID: <87txnzxmta.fsf@gmail.com> References: <871ub3o6mn.fsf@bzg.ath.cx> <87ip4f9zqa.fsf@bzg.ath.cx> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:39851) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UKDjL-0002NE-2q for emacs-orgmode@gnu.org; Mon, 25 Mar 2013 16:10:59 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UKDjF-0001qB-Jk for emacs-orgmode@gnu.org; Mon, 25 Mar 2013 16:10:54 -0400 Received: from mail-wi0-x22e.google.com ([2a00:1450:400c:c05::22e]:55505) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UKDjF-0001q1-3M for emacs-orgmode@gnu.org; Mon, 25 Mar 2013 16:10:49 -0400 Received: by mail-wi0-f174.google.com with SMTP id hj8so2552626wib.13 for ; Mon, 25 Mar 2013 13:10:48 -0700 (PDT) In-Reply-To: (Achim Gratz's message of "Mon, 25 Mar 2013 18:13:36 +0100") 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: Achim Gratz Cc: emacs-orgmode@gnu.org Hello, Achim Gratz writes: > Am 25.03.2013 18:05, schrieb Bastien: >> I gave it another try. Please let me know. > > Now add an annotation at the end of a paragraph... it simply doesn't > work unless org-element gets proper support for telling the exporter > which Org "paragraph" elements should be exported together as a single > paragraph. Each export back-end has full control over the parse tree generated by Elements, and each transcoding function has full access to the context of the element being transcoded. There are a few examples of this already in back-ends. Hence, ox-latex will wrap contiguous tables sharing the same math mode within the same environment. I didn't look at the problem (nor at Bastien's solution): could someone post the proper code that should be generated? Regards, -- Nicolas Goaziou