On Mon, 12 Dec 2011, Stuart Rackham wrote:

On 12/12/11 11:03, Dag Wieers wrote:
 On Sun, 11 Dec 2011, Dag Wieers wrote:

>  On Sun, 11 Dec 2011, Stuart Rackham wrote:
> > Can we however still allow using comment blocks for ODF ? E.g. by making > the > special 'comment' behaviour optional (but default as is now). I really > want to
>  use comment blocks, rather than listing blocks in this case.

 Still relevant :)

On the face of it, it seems reasonable that comment blocks should consume preceding attribute lists just like other delimited blocks. But I've just discovered that it introduces backward incompatibility and fails the following example from the test suite (from tests/data/testcases.txt):

[[comment_block]]
.Block title
/////////////////////////////////////////////////////////////////////
Delimited comment block does not consume titles or attributes.
/////////////////////////////////////////////////////////////////////
Lorum ipsum.

Both the block title and the comment_block anchor attributes will be consumed by the comment block which is neither the intended or the obvious behavior.

Right, but that should not be a problem if the old behavior is possible by the default 'options'.

In that case, only annotation-style would show the new behavior. That's what I meant before with: making the old behavior optional (but default).

--
-- 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