[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: |
Tue, 26 Mar 2013 10:38:00 +0100 |
User-agent: |
mu4e 0.9.9.5-dev6; emacs 24.3.1 |
Hi,
Patch applied and tested -- looks good! Thanks.
Annotations now work again both inside and at the end of paragraphs and
list items, without introducing unwanted paragraph breaks or swallowing
wanted ones. I haven't looked specifically for corner cases, but I've
successfully exported a fairly long document with lots of annotations.
Minor cosmetic annoyance: An extra space is inserted
before the annotation.
Pending the introduction of a dedicated syntax, could we have this fix
in master please?
Yours,
Christian
Nicolas Goaziou writes:
> Hello,
>
> Bastien <address@hidden> writes:
>
>> okay, I reverted my wrong fixes. I'll let Nicolas have a look.
>
> I attach a patch (hardly tested) for that. Does it work as expected?
>
>> I would not favor a solution that allows more #+begin_ blocks to
>> be inlined.
>
> Neither would I. Blocks are containers.
>
>> 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.
>
>> 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.)
>>
>> 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.
>
>
> Regards,
- Re: [O] [BUG] [ODT] Annotations break paragraphs, (continued)
- Re: [O] [BUG] [ODT] Annotations break paragraphs, Christian Moe, 2013/03/25
- Re: [O] [BUG] [ODT] Annotations break paragraphs, Bastien, 2013/03/25
- Re: [O] [BUG] [ODT] Annotations break paragraphs, Nicolas Goaziou, 2013/03/25
- Re: [O] [BUG] [ODT] Annotations break paragraphs, Achim Gratz, 2013/03/26
- Re: [O] [BUG] [ODT] Annotations break paragraphs, Nicolas Goaziou, 2013/03/27
- Re: [O] [BUG] [ODT] Annotations break paragraphs, Achim Gratz, 2013/03/28
- Re: [O] [BUG] [ODT] Annotations break paragraphs, Nicolas Goaziou, 2013/03/28
- Re: [O] [BUG] [ODT] Annotations break paragraphs, Achim Gratz, 2013/03/28
- Re: [O] [BUG] [ODT] Annotations break paragraphs, Christian Moe, 2013/03/28
- Re: [O] [BUG] [ODT] Annotations break paragraphs, Christian Moe, 2013/03/28
- Re: [O] [BUG] [ODT] Annotations break paragraphs,
Christian Moe <=
- Re: [O] [BUG] [ODT] Annotations break paragraphs, Nicolas Goaziou, 2013/03/27
- Re: [O] [BUG] [ODT] Annotations break paragraphs, Christian Moe, 2013/03/28
- Re: [O] [BUG] [ODT] Annotations break paragraphs, Christian Moe, 2013/03/28
- Re: [O] [BUG] [ODT] Annotations break paragraphs, Christian Moe, 2013/03/25