atom feed36 messages in org.oasis-open.lists.docbookRe: Fw: DOCBOOK: programlisting
FromSent OnAttachments
Gert Bultman (Xi)Aug 14, 2002 3:03 am 
Yann DirsonAug 14, 2002 3:13 am 
Gert Bultman (Xi)Aug 14, 2002 4:14 am 
Ramon CasellasAug 14, 2002 5:54 am 
Dave PawsonAug 14, 2002 10:19 am 
Bob StaytonAug 14, 2002 7:17 pm 
Dave PawsonAug 14, 2002 10:08 pm 
John R. DailyAug 14, 2002 10:36 pm 
Bob StaytonAug 15, 2002 12:17 am 
Dave PawsonAug 15, 2002 11:47 am 
Bob StaytonAug 15, 2002 1:41 pm 
John R. DailyAug 15, 2002 1:52 pm 
Dave PawsonAug 15, 2002 10:31 pm 
John R. DailyAug 15, 2002 11:04 pm 
John R. DailyAug 15, 2002 11:23 pm 
peter riegerspergerAug 15, 2002 11:27 pm 
ed nixonAug 16, 2002 5:24 am 
John R. DailyAug 16, 2002 7:07 am 
David CramerAug 16, 2002 7:39 am 
ed nixonAug 16, 2002 7:40 am 
John R. DailyAug 16, 2002 8:30 am 
Dave PawsonAug 16, 2002 10:46 am 
Dave PawsonAug 16, 2002 10:55 am 
John R. DailyAug 16, 2002 10:59 am 
John R. DailyAug 16, 2002 11:23 am 
Norman WalshAug 16, 2002 12:01 pm 
ed nixonAug 16, 2002 12:09 pm 
John R. DailyAug 16, 2002 12:32 pm 
Bob StaytonAug 16, 2002 12:39 pm 
Dave PawsonAug 16, 2002 12:58 pm 
Dave PawsonAug 16, 2002 1:01 pm 
Paul GrossoAug 17, 2002 1:01 am 
Jens StavnstrupAug 18, 2002 11:49 pm 
Dave PawsonAug 19, 2002 9:58 am 
Norman WalshAug 20, 2002 6:32 am 
Dave PawsonAug 20, 2002 10:36 am 
Subject:Re: Fw: DOCBOOK: programlisting
From:Yann Dirson (ydir@fr.alcove.com)
Date:Aug 14, 2002 3:13:20 am
List:org.oasis-open.lists.docbook

On Wed, Aug 14, 2002 at 12:02:39PM +0200, Gert Bultman (Xi) wrote:

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 "role" attribute is here for that. You can use for example <programlisting role="inputfile"> and <programlisting role="outputfile">. You'll probably want to write a customisation layer above the stylesheets, for example to change the "class" attribute in the "<pre>" output.

HTH,