|
|
|
|
|
|
|
|
|
|
|
|
|
"Skins" may be used to change various aspects related to the output documents appearance, including such things as the url for the home page on which the material will be published, information on the credit band, and for html documents colours and icons used in navigation bars. Skins are ruby files which permit changing of the default values set within the program for SiSU output.
There are a few examples provided, on untarring the source tarball:
conf/sisu/skin/doc/
data/doc/sisu/markup-samples/samples/_sisu/skin/doc/
and on installation under:
/etc/sisu/skin/doc/
/usr/share/doc/sisu-markup-samples/v2/samples/_sisu/skin/doc
The following paths are searched:
./_sisu/skin
~/.sisu/skin
/etc/sisu/skin
Skins under the searched paths in a per document directory, a per directory directory, or a site directory, named:
doc [may be specified individually in each document]
dir [used if identifier part of name matches markup directory name]
site
It is usual to place all skins in the document directory, with symbolic links as required from dir or site directories.
The appearance of html and XML related output can be changed for an ouput collection directory by prepareing and placing a new css file in one of the sisu css directories searched in the sisu configuration path. These are located at:
_./_sisu/css
~/.sisu/css
and
/etc/sisu/css
The contents of the first directory found in the search path are copied to the corresponding sisu output directory with the commnd:
sisu -CC
The SiSU standard css files for SiSU output are:
dom.css html.css html_tables.css index.css sax.css xhtml.css
A document may specify its own/bespoke css file using the css header.
\@css:
[expand]