From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christian Moe Subject: Re: [BUG] [ODT] Annotations break paragraphs Date: Mon, 25 Mar 2013 18:39:45 +0100 Message-ID: References: <871ub3o6mn.fsf@bzg.ath.cx> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:49811) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UKBLq-0007bD-MQ for emacs-orgmode@gnu.org; Mon, 25 Mar 2013 13:38:32 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UKBLp-0006Kr-DG for emacs-orgmode@gnu.org; Mon, 25 Mar 2013 13:38:30 -0400 Received: from mail2.b1.hitrost.net ([91.185.211.205]:29543) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UKBLp-0006KP-6K for emacs-orgmode@gnu.org; Mon, 25 Mar 2013 13:38:29 -0400 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: Achim Gratz Cc: emacs-orgmode@gnu.org Achim Gratz writes: > It can't be fixed this way since annotations end the paragraph and > whatever comes next is a new element. The ODT exporter gets two > paragraphs and has no way of knowing that these should actually be > exported as a single paragraph. Yeah, that's what I was afraid of. > Inline source blocks might work (i.e. > src_ANNOTATION{...}), I don't know. Sure. I had a macro solution going before I discovered Jambunathan had put in an annotation feature. I've updated it now to use export snippets: #+MACRO: comment @@odt:@@{{{author}}}@@odt:@@{{{date(%Y-%m-%dT%T)}}}@@odt:$1@@ That allows using annotations like this{{{comment(You can annotate with macros\, but remember to escape your commas)}}}. Yours, Christian