To use the custom stylesheets one specifies the custom stylesheet as the stylesheet that openjade should use. More than one output format is included in the single custom stylesheet provided in the installation section, the -i option is used to determine which of the output fromats should be used. The generation of HTML output is shown below:
openjade -i output.html -t sgml -d /path/to/stylesheets/common/custom.dsl in.sgml |
HTML output was specified using the -i option with the value output.html. The custom stylesheet was specified using the -d. The generation of intermediate TeX format is shown below:
openjade -i output.print -t tex -d /path/to/docbookdsssl/common/custom.dsl in.sgml |
HTML was specified using the -i with the output.print value. The custom stylesheet was specified using the -d. RTF can be produced by specifying the RTF backend with the -t option.
It is worth taking a look at the custom stylesheets to see how a customisation layer can be created.