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 23:36:31 +0100 Message-ID: References: <871ub3o6mn.fsf@bzg.ath.cx> <87ip4f9zqa.fsf@bzg.ath.cx> <87r4j35ejb.fsf@bzg.ath.cx> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:49043) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UKFz2-0001X3-8V for Emacs-orgmode@gnu.org; Mon, 25 Mar 2013 18:35:17 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UKFz1-0000jg-1E for Emacs-orgmode@gnu.org; Mon, 25 Mar 2013 18:35:16 -0400 Received: from mail2.b1.hitrost.net ([91.185.211.205]:33613) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UKFz0-0000j1-Qc for Emacs-orgmode@gnu.org; Mon, 25 Mar 2013 18:35:14 -0400 In-reply-to: <87r4j35ejb.fsf@bzg.ath.cx> 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: Bastien Cc: Emacs-orgmode@gnu.org Hi Bastien, Thanks for giving it a try. Let's see what Nicolas comes up with. > > I would not favor a solution that allows more #+begin_ blocks to > be inlined. We've had this one for a while. It's always been a bit anomalous though. > The proper way to handle this is to introduce a new syntax for > inlined annotations and to treat them appropriately in exporters. I think I'd agree. > Since we have both #+begin_src and src_{...} I'd suggest > having annotation_{...} or something similar. But if annotations are not meant to live in blocks anyway, that analogy fails. Aren't annotations/comments more analogous to footnotes? They expand on the text, but you don't want to clutter the text with them. Could we imagine e.g. an [cmt:: This is an inline comment] syntax? (It would be good to support timestamps and authornames, though. Maybe colons aren't good separators if we put timestamps inside. Hm, needs thinking about.) > The LaTeX exporter could use \marginpar{...} and the HTML back-end > could make them appear when hovering with the mouse on the annotated > parts (just an idea.) Whatever the solution it would be good to have it work for all backends where it makes sense. > Maybe we will have to live with the current "regression" for 8.0 > and implement the new syntax for 8.1. Or for 8.0, if Nicolas thinks > the change is okay and not too error prone. I can always go back to inserting ODT annotations with macros, for the time being. Yours, Christian