emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] [BUG] [ODT] Annotations break paragraphs


From: Christian Moe
Subject: Re: [O] [BUG] [ODT] Annotations break paragraphs
Date: Mon, 25 Mar 2013 22:12:07 +0100
User-agent: mu4e 0.9.9.5-dev6; emacs 24.3.1

Nicolas Goaziou writes:
> I didn't look at the problem (nor at Bastien's solution): could someone
> post the proper code that should be generated?

Hi,

I'll try.

This Org code:

   A paragraph.
   #+begin_annotation
     An annotation.
   #+end_annotation

   Another paragraph.


...should result in this ODT XML snippet:


<text:p text:style-name="Text_20_body">A 
paragraph.<office:annotation><dc:creator>Christian Moe</dc:creator><text:p 
text:style-name="Text_20_body">An 
annotation.</text:p></office:annotation></text:p>
<text:p>Another paragraph.</text:p>


It should not close the first paragraph before the <office:annotation>
element, and it should not wrap that element in a paragraph of its own,
as it did before this evening's fixes.

But it should close the first paragraph with </text:p> after the
<office:annotation> element, and it should open a new <text:p> element
for the second paragraph. The fixes I tested did not.

Hope this made sense.

Yours,
Christian



reply via email to

[Prev in Thread] Current Thread [Next in Thread]