Am 19.06.2012 05:57, schrieb Lex Trotman:
On 19 June 2012 13:47, Wilhelm Meier<[email protected]>  wrote:
Hi all,

I would like to have the possibility to distinguish different types of
listings blocks, say one style for shell-language rsp. shell-commands typed
in and another style for C++ source-code examples. A simple example would be
to give the shell-language a light-red background and the C++ source a
lightgrey background.

So, the question is: is the a possibility to give additional attributes to a
listing-block that are passed (uninterpreted) to the backend, so the e.g.
xslt-processor can use them?


Hi,

Thats what the role attribute is for, is made into a role=attribute on
docbook or class= on xhtml

oh, I missed that in the (good) documentation!

Thanks for pointing me to the right direction.


Cheers
Lex


--
Wilhelm

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




--
Wilhelm

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