in my doc I have this:

=mydoc
:backend:odp


blabla



== chapter1{backend$odp::[[2]]}


blabla



I got this error:
asciidoc: ERROR: <stdin>: line 88: illegal attribute syntax: {backend$odp::<text:bookmark text:name="2"/>}

shell returned 1



I learned this from here:
http://www.methods.co.nz/asciidoc/userguide.html#_conditional_attribute_references

|{<names>$<regexp>::<value>}|

   Substitutes |<value>| if |<names>| does not match |<regexp>|
   otherwise the result is undefined and the containing line is dropped.



so It seems I need to escape the [[]] mark?
then I tried this:
== chapter1{backend$odp::\\[[2]]}

now I got:
asciidoc: WARNING: <stdin>: line 88: blank section title


please help.
thanks!

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