DOCBOOK: programlisting

From
Gert Bultman (Xi) <>
Date
2002-08-14T11:15:04+00:00
ID
017401c24377$f7aeea40$
Thread
DOCBOOK: programlisting
Hi All,

 

I would like to have two diffrent types of 
programlisting (for instance one for inputfiles and one for 
outputfiles). They should be identical, except perhaps for the text or 
background colour. How can I achive this in docbook? (And yes, I realize this is 
a presentation issue).

The HTML that is produced is a table with a <pre 
class="programlisting"> embedded. I can influence the class by using an 
appropriate css, but how can i achive that the programlistings have two 
different classes assigned to them? 

And of course this doesn't solve the case for the 
pdf. 

 

Any other solutions besides defining a new 
tag+template (<programlistingtwo>). 

 

Thanks for any and all help,

Gert Bultman

Xi advies bv