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]

Re: programlisting?


Klaas,

> I like to have the programlisting in a gray block in HTML output.
> This was the case with docbook SGML and dssl stylesheet,
> but with XML + stylesheet it is not the same, it is like normal text.
> Is there a way to achieve this with this tag or when embeded in other
> tags?
> I prefer not to change stylesheets, even if i know how to do this one.

I created an XSLT customization layer on top of Norm's XSL stylesheets
that does this for <programlisting> and also for <screen> and
<synopsis>. You can see my (non-chunking) XSL stylesheet at:

  http://www.e-smith.org/docs/e-smith.xsl

(the chunking one is 'e-smith-chunk.xsl').  The customization is towards
the bottom and there is a comment that notates that.  You can read my
document outlining our process at:

  http://www.e-smith.org/docs/docprocess.html

Regards,
Dan
> 
-- 
Dan York, Director of Training        dyork@e-smith.com
Ph: +1-613-751-4401  Mobile: +1-613-263-4312 Fax: +1-613-564-7739 
e-smith, inc. 150 Metcalfe St., Suite 1500, Ottawa,ON K2P 1P1 Canada
http://www.e-smith.com/            open source, open mind

------------------------------------------------------------------
To unsubscribe from this elist send a message with the single word
"unsubscribe" in the body to: docbook-request@lists.oasis-open.org


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