|
From: | Achim Gratz |
Subject: | Re: [O] [BUG] [ODT] Annotations break paragraphs |
Date: | Tue, 26 Mar 2013 07:28:17 +0100 |
User-agent: | Mozilla/5.0 (Windows NT 5.1; rv:17.0) Gecko/20130307 Thunderbird/17.0.4 |
Am 25.03.2013 23:15, schrieb Nicolas Goaziou:
The proper way to handle this is to introduce a new syntax for inlined annotations and to treat them appropriately in exporters. Since we have both #+begin_src and src_<lang>{...} I'd suggest having annotation_{...} or something similar.I would suggest [annotation:label] or [note:label] a dedicated section for contents, much like footnotes (aren't they just special footnotes, after all?). That way, they can be inlined while still being able to contain paragraphs.
That only solves this single problem. Provide something like an (implicit) P-Block that will become a paragraph in each exporter and can contain other elements like all other blocks. I suggest to follow the lead of (La)TeX and determine begin and end of such blocks by blank lines.
So this would be a single P-Block with an annotation inside: ----8<---- There is an annotation by the original author here #+BEGIN_ANNOTATION I never meant to break this paragraph. #+END_ANNOTATION in the middle of the paragraph. ---->8---- This would be two P-Blocks with an annotation at the end of the first: ----8<---- There is an annotation by the original author here #+BEGIN_ANNOTATION I never meant to break this paragraph. #+END_ANNOTATION But here's the start of a new paragraph. ---->8---- Regards, -- Achim. (on the road :-)
[Prev in Thread] | Current Thread | [Next in Thread] |