This is the mail archive of the docbook@lists.oasis-open.org mailing list for the DocBook project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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
 
 
 

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]