i'm using some listing blocks.
First one like:
The first one is rendered (using docbook+dblatex) as an highlighted
source block, the second is not highlighted: normal.
Both are using monospace font: normal
But the second one is seen as an Example (numeroted and inserted in the
table of examples in frontmatter) while the first isn't. Why adding
source style is changing that, and how can I get a consistent behavior
(preferably the one with both source highlighting and example table).
The source filter generates a DocBook programlisting element, to have it appear
as an example it would have to be enveloped by an example element. It makes
sense that if should behave like the normal listing block -- I've added a change
to the trunk which renders titled source listings as examples: