[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]
Subject: Re: Fw: DOCBOOK: programlisting
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, -- Yann Dirson <Yann.Dirson@fr.alcove.com> http://www.alcove.com/ Technical support manager Responsable de l'assistance technique Senior Free-Software Consultant Consultant senior en Logiciels Libres Debian developer (dirson@debian.org) Développeur Debian
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]
Powered by eList eXpress LLC