Hi,

I am now implementing comments in ODF using annotations. This works well, but multi-line comments are considered by AsciiDoc to be separate comments, even when trailing th line with a plus (+).

For example:

    // FIXME: Insert the various features from the Release Notes +
    //        include the information from the presentations +
    //        and optionally the rescue creation and recovery workflow

Will create three different annotations instead of one :-/


Also, ODF annotations keep track of the author and a timestamp. Would it be possible to e.g. map the content of the comment to something that can be used ?

Ideally something like this should work:

    // FIXME: Insert the various features from the Release Notes +
    //        include the information from the presentations +
    //        (by dag on 2011-12-03)

this would then generate:

    <text:p text:style-name="empty"><office:annotation>
     <dc:creator>dag</dc:creator>
     <dc:date>2011-12-03T00:00:00</dc:date>
     <text:p>{passtext}</text:p>
    </office:annotation></text:p>

Format could be english-agnostic like (dag/2011-12-03).

How could this be done ? Can we improve the syntax for this ?

--
-- dag wieers, [email protected], http://dag.wieers.com/
-- dagit linux solutions, [email protected], http://dagit.net/

[Any errors in spelling, tact or fact are transmission errors]

--
You received this message because you are subscribed to the Google Groups 
"asciidoc" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/asciidoc?hl=en.

Reply via email to