|
|
|
|
|
|
|
|
|
|
|
|
|
After installation of sisu-complete, move to the document samples directory,
cd /usr/share/doc/sisu/markup-samples/samples
[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 -CC
then run:
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
or
sisu -V
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.
examine source document, vim has syntax highlighting support
gvim free_as_in_freedom.rms_and_free_software.sam_williams.sst
additional markup samples in
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.
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/pod/free_culture.lawrence_lessig.sst.zip›
For help
man sisu
sisu --help
sisu --help env for the way sisu "sees/maps" your system
sisu --help commands for list of commands and so on
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
cd ~/sisu_test
cp -a /usr/share/doc/sisu/markup-samples/samples/* ~/sisu_test/.
better if you have installed sisu-markup-samples
cp -a /usr/share/doc/sisu/markup-samples-non-free/samples/* ~/sisu_test/.
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:
./_sisu/sisurc.yaml
~/.sisu/sisurc.yaml
/etc/sisu/sisurc.yaml
.\"%% Debian Installation Note
It is best you see
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):
Package: sisu
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), EPUB, 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.
Homepage: ‹http://www.sisudoc.org›
old homepage: ‹http://www.jus.uio.no/sisu›
sisu resource configuration information is obtained from sources (where they exist):
~/.sisu/sisurc.yaml
/etc/sisu/[sisu version]/sisurc.yaml
sisu program defaults
Skins 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.
SiSU Book Samples and Markup Examples
Viral Spiral - How the Commoners Built a Digital Republic of Their Own
David Bollier
2009
The Wealth of Networks - How Social Production Transforms Markets and Freedom
Yochai Benkler
2006
Free Culture - How Big Media Uses Technology and the Law to Lock Down Culture and Control Creativity
Lawrence Lessig
2004
CONTENT - Selected Essays on Technology, Creativity, Copyright and the Future of the Future
Cory Doctorow
2008
Eric von Hippel
2005
Free As In Freedom - Richard Stallman's Crusade for Free Software
Sam Williams
2002
Two Bits - The Cultural Significance of Free Software
Christopher Kelty
2008
Free For All - How Linux and the Free Software Movement Undercut the High Tech Titans
Peter Wayner
2002
The Cathedral & the Bazaar - Musings on Linux and Open Source by an Accidental Revolutionary
Erik S. Raymond
1999
Cory Doctorow
2008
Down and Out in the Magic Kingdom
Cory Doctorow
2003
Cory Doctorow
2008
Free Software Foundation - FSF
GPL - GNU General Public License