Installing the ModularDocBook Stylesheets

Norman Walsh (one of your intrepid authors ;-) maintains two DSSSL stylesheets for DocBook, one for print and one for online (HTML) output. You can obtain both of these stylesheets from http://nwalsh.com/docbook/dsssl/ . (A recent version is also on the CD-ROM.)

  1. If you have not already done so, download and install the DocBook DTD as described in the Section called Installing the DocBook DTD.

  2. Likewise, if Jade is not installed on your system, download and install it as described in the Section called Installing Jade.

  3. Download and unpack the stylesheet distribution.

  4. Test the installation by processing test.sgm (from the previous section) with Jade:

    jade -t rtf -d d:\where-you-unpacked-the-stylesheets\docbook\print\docbook.dsl test.sgm
    

    This command should silently produce test.rtf. If not, and the preceding test succeeded, something has gone wrong—contact the maintainer.

    To test the HTML stylesheet, run:

    jade -t sgml -d d:\where-you-unpacked-the-stylesheets\docbook\html\docbook.dsl test.sgm
    

    This command should silently produce c01.htm. If not, and the preceding test succeeded, something has gone wrong—contact the maintainer.