[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]
Subject: Re: DOCBOOK: ProgramListing shading
On Tuesday 06 August 2002 08:54, Robert P. J. Day wrote: <snip> > http://docbook.sourceforge.net/release/xsl/current/doc/html/index.html > is the HTML parameter reference, and under "miscellaneous", you'll > find the entries for shade.verbatim and shade.verbatim.style that > you can use when you transform docbook to html. i just tried it -- > works fine. <snip> This got me going. I also deduced that I should have specified that I am using DSSSL instead of XSL. I did this: $ grep -r shade /usr/share/sgml/docbook/* Then I did this (as root): $ vi /usr/share/sgml/docbook/dsssl-stylesheets-1.72/html/dbparam.dsl I searched on "shade" and found: (define %shade-verbatim% #f) which I changed to: (define %shade-verbatim% #t) Then I ran my Makefile and reloaded the HTML output. Voila! Shading! On Tuesday 06 August 2002 09:11, Yann Dirson wrote: <snip> > You'll have to write a small customisation layer to have this > parameter set, or you can call "openjade -V%verbatim-shading%" to set > it from the command-line. I liked this better than editing the dbparam.dsl file. So I undid the changes I made above. I edited my Makefile to include the -V option noted above. Eventually I found that "-V%shade-verbatim%" worked. > See http://docbook.sourceforge.net/release/dsssl/current/doc/ for > documentation on how to write a customisation layer. Thanks for the links. I was actually looking for these before I wrote. I have them bookmarked. Thank you for the help. This experience is yet another example of how well open source communities work. -- m
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]
Powered by eList eXpress LLC