SUSE XSL Stylesheets 2.0.12
1. Requirements for Building
These stylesheets can be used as-is for DocBook 4 content.
To use them with DocBook 5 content, build them with
For a successful build, you will need:
standard GNU utilities (
2. Requirements for Use
3. Requirements for Testing
4. Running the Tests
The current tests are not run automatically and need some manual intervention for use. They are based upon creating reference images of test documents, making a code change and then creating updated images of the test documents. Then, you can compare the updated images to the reference images.
On the command line, this works out to the following:
In the first invocation, run
./run_dapscompare.sh reference(from the
tests/directory). This will create reference images, that is the baseline from which you can judge if what you did was correct or not).
Do the stylesheet changes.
./run_dapscompare.sh(without any arguments) again. This will create the comparison images. If there are changes between reference and comparison images, those will be shown to you in a GUI.
The reference images are currently not stored centrally: They differ somewhat depending on, for example, font rendering settings between different computers.