SiSU is a way of preparing, publishing, managing and searching documents.
Up to date information on SiSU downloads, and their installation should be available from: <http://www.jus.uio.no/sisu/SiSU/download.html> or at: <http://www.jus.uio.no/sisu/sisu_download/download.html>
There you should find links to the latest source tarball, and instructions on how to install SiSU.
Sample marked up documents are are available at /usr/share/doc/sisu/sisu_markup_samples/dfsg or equivalent directory, or online, see <http://www.jus.uio.no/sisu/SiSU/2.html>
man 1 sisu has a syntax table along with processing commands.
SiSU also provides some help via the command: sisu --help and selecting an appropriate subject, e.g.
sisu --help commands
sisu --help markup
sisu --help headers
sisu --help env
The rest of this note is on post installation setup
After installation of sisu-complete, move to the document samples directory,
[this is not where you would normally work but provides sample documents for testing, you may prefer instead to copy the contents of that directory to a local directory before proceeding]
and in that directory, initialise the output directory with the command
sisu -1 free_as_in_freedom.rms_and_free_software.sam_williams.sst
or the same:
sisu -NhwpoabxXyv free_as_in_freedom.rms_and_free_software.sam_williams.sst
look at output results, see the "sisu_manifest" page created for the document
for an overview of your current sisu setup, type:
sisu --help env
To generate a document from a remote url accessible location move to a writable directory, (create a work directory and cd into it) as the file will be downloaded there and e.g.
sisu -1 http://www.jus.uio.no/sisu/gpl3.fsf/gpl3.fsf.sst
sisu -3 http://www.jus.uio.no/sisu/free_culture.lawrence_lessig/free_culture.lawrence_lessig.sst
examine source document, vim has syntax highlighting support
additional markup samples in <http://www.jus.uio.no/sisu/SiSU/2.html>
it should also be possible to run sisu against sisupods (prepared zip files, created by running the command sisu -S [filename]), whether stored locally or remotely.
sisu -3 http://www.jus.uio.no/sisu/free_culture.lawrence_lessig/sisupod.zip
there is a security issue associated with the running of document skins that are not your own, so these are turned of by default, and the use of the following command, which switches on the associated skin is not recommended:
sisu -3 --trust http://www.jus.uio.no/sisu/free_culture.lawrence_lessig/sisupod.zip
For help man sisu
sisu --help env for the way sisu "sees/maps" your system
sisu --help commands for list of commands and so on
Document markup directory
Perhaps the easiest way to begin is to create a directory for sisu marked up documents within your home directory, and copy the file structure (and document samples) provided in the document sample directory: mkdir ~/sisu_test
cp -a /usr/share/doc/sisu/sisu_markup_samples/dfsg/* ~/sisu_test/.
Tip: the markup syntax examples may be of interest <http://www.jus.uio.no/sisu/sample/>
Tip: sisu -U [sisu markup filename] should printout the different possible outputs and where sisu would place them.
Tip: if you want to toggle ansi color add c to your flags.
SiSU configuration file search path is:
It is best you see <http://www.jus.uio.no/sisu/SiSU/download.html#debian> for up the most up to date information.
notes taken from the Debian control file (end edited), gives an idea of additional packages that SiSU can make use of if available, (the use/requirement of some of which are interdependent for specific actions by SiSU):
Depends: ruby (>= 1.8.2), libwebrick-ruby, unzip, zip
Conflicts: vim-sisu, sisu-vim, sisu-remote
Replaces: vim-sisu, sisu-vim
Recommends: sisu-pdf, sisu-sqlite, sisu-postgresql, librmagick-ruby, trang, tidy, librexml-ruby, openssl, rsync, openssh-client lsh-client, keychain, hyperestraier, kdissert Suggests: rcs cvs, lv, texinfo, pinfo
Depends: ruby (>= 1.8.2), sisu, sisu-pdf, sisu-postgresql, sisu-sqlite
Depends: sisu, texlive-latex-base, texlive-fonts-recommended, texlive-latex-recommended, texlive-latex-extra
Suggests: evince, xpdf
Depends: sisu, libdbd-pg-ruby, libdbi-ruby, libdbm-ruby, postgresql
Depends: sisu, sqlite, libdbd-sqlite-ruby, libdbi-ruby, libdbm-ruby
Description: documents - structuring, publishing in multiple formats and search
SiSU is a lightweight markup based, command line oriented, document structuring, publishing and search framework for document collections.
With minimal preparation of a plain-text, (UTF-8) file, using its native markup syntax in your text editor of choice, SiSU can generate various document formats (most of which share a common object numbering system for locating content), including plain text, HTML, XHTML, XML, OpenDocument text (ODF:ODT), LaTeX, PDF files, and populate an SQL database with objects (roughly paragraph-sized chunks) so searches may be performed and matches returned with that degree of granularity: your search criteria is met by these documents and at these locations within each document. Object numbering is particularly suitable for "published" works (finalized texts as opposed to works that are frequently changed or updated) for which it provides a fixed means of reference of content. Document outputs also share semantic meta-data provided.
SiSU also provides concordance files, document content certificates and manifests of generated output.
A vim syntax highlighting file and an ftplugin with folds for sisu markup is provided, as are syntax highlighting files for kate, kwrite, gedit and diakonos. Vim 7 includes syntax highlighting for SiSU.
man pages, and interactive help are provided.
Dependencies for various features are taken care of in sisu related packages. The package sisu-complete installs the whole of SiSU.
Additional document markup samples are provided in the package sisu-markup-samples which is found in the non-free archive the licenses for the substantive content of the marked up documents provided is that provided by the author or original publisher.
~/.sisu/sisurc.yaml /etc/sisu/[sisu version]/sisurc.yaml sisu program defaults
default document appearance may be modified using skins contained in sub-directories located at the following paths:
./_sisu/skin ~/.sisu/skin /etc/sisu/skin
more specifically, the following locations (or their /etc/sisu equivalent) should be used:
~/.sisu/skin/doc skins for individual documents;
~/.sisu/skin/dir skins for directories of matching names;
~/.sisu/skin/site site-wide skin modifying the site-wide appearance of documents.
Usually all skin files are placed in the document skin directory: ~/.sisu/skin/doc with softlinks being made to the skins contained there from other skin directories as required.
For more information on SiSU see: <http://www.jus.uio.no/sisu>
or man sisu