%general-entities; ]> $LastChangedBy$ $Date$ DocBook DSSSL Stylesheets-&docbook-dsssl-version; DocBook DSSSL Stylesheets Introduction to <application>DocBook <acronym>DSSSL</acronym> Stylesheets</application> The DocBook DSSSL Stylesheets package contains DSSSL stylesheets. These are used by OpenJade or other tools to transform SGML and XML DocBook files. Package information Download (HTTP): Download (FTP): Download MD5 sum: &docbook-dsssl-md5sum; Download size: &docbook-dsssl-size; Estimated disk space required: &docbook-dsssl-buildsize; Estimated build time: &docbook-dsssl-time; Additional downloads Documentation and test data: Download MD5 sum: &docbook-dsssl-doc-md5sum; Download size: &docbook-dsssl-doc-size; <application>DocBook <acronym>DSSSL</acronym> Stylesheets</application> dependencies Required Required (to test the DocBook <acronym>SGML</acronym> toolchain) , and Installation of <application>DocBook <acronym>DSSSL</acronym> Stylesheets</application> Ensure you unpack both the source and documentation tarballs before beginning the build. Install DocBook DSSSL Stylesheets by running the following commands as the root user: install -v -m755 bin/collateindex.pl /usr/bin && install -v -m644 bin/collateindex.pl.1 /usr/share/man/man1 && install -v -d -m755 /usr/share/sgml/docbook/dsssl-stylesheets-&docbook-dsssl-version; && cp -v -R * /usr/share/sgml/docbook/dsssl-stylesheets-&docbook-dsssl-version; && install-catalog --add /etc/sgml/dsssl-docbook-stylesheets.cat \ /usr/share/sgml/docbook/dsssl-stylesheets-&docbook-dsssl-version;/catalog && install-catalog --add /etc/sgml/dsssl-docbook-stylesheets.cat \ /usr/share/sgml/docbook/dsssl-stylesheets-&docbook-dsssl-version;/common/catalog && install-catalog --add /etc/sgml/sgml-docbook.cat \ /etc/sgml/dsssl-docbook-stylesheets.cat Command explanations The above commands create a make install script for this package. Testing the DocBook <acronym>SGML</acronym> toolchain (optional) The following commands will perform the necessary tests to confirm that your installed DocBook SGML toolchain will produce desired results. You must have the , and packages installed and perform the tests as the root user. All tests will be performed from the /usr/share/sgml/docbook/dsssl-stylesheets-&docbook-dsssl-version;/doc/testdata directory: cd /usr/share/sgml/docbook/dsssl-stylesheets-&docbook-dsssl-version;/doc/testdata The first test should produce no output to stdout (your screen) and create a file named jtest.rtf in the current directory: openjade -t rtf -d jtest.dsl jtest.sgm The next test should return only the following line to stdout: onsgmls:I: "OpenSP" version "1.5.1" onsgmls -sv test.sgm The next test should produce no output to stdout and create a file named test.rtf in the current directory: openjade -t rtf \ -d /usr/share/sgml/docbook/dsssl-stylesheets-&docbook-dsssl-version;/print/docbook.dsl \ test.sgm The last test should produce no output to stdout and create a file named c1.htm in the current directory: openjade -t sgml \ -d /usr/share/sgml/docbook/dsssl-stylesheets-&docbook-dsssl-version;/html/docbook.dsl \ test.sgm Contents Installed Program Installed Libraries Installed Files Installed Directory collateindex.pl None DSSSL stylesheets /usr/share/sgml/docbook/dsssl-stylesheets-&docbook-dsssl-version; Short Descriptions collateindex.pl is a Perl script that creates a DocBook index from raw index data. collateindex.pl