On 22 July 2012 14:28, ping <[email protected]> wrote: > manual page 23/88 says: > > If the 'listing' style is applied to a LiteralBlock it will be > rendered as a ListingBlock (this is handy if you have a listing > containing a *Listing*Block). > > shouldn't it be: > > If the 'listing' style is applied to a LiteralBlock it will be > rendered as a ListingBlock (this is handy if you have a listing > containing a *Literal*Block). >
No, its correct, a listing containing a listing block would terminate incorrectly at the embedded block so you can't do that. By putting it in a literal block the embedded listing block doesn't terminate the block, and by applying the listing style the output still looks like a listing. Cheers Lex > ? > > maybe my understanding is wrong. > 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. > -- 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.
