SiSU - Commands [0.58]
	 
	
		Ralph Amissah
	 
	
		Copyright (C) Ralph Amissah 2007, part of SiSU documentation, License GPL 3
	 
	
		information
	 
	
		ebook, epublishing, electronic book, electronic publishing, electronic document, electronic citation, data structure, citation systems, search
	 
	
		2007-09-16
	 
	
	
		SiSU - Commands [0.58], 
	1 
 
	
		SiSU Commands
	 
	2 
 
	
		1. Commands Summary 
	 
	3 
 
	
		1.1 Synopsis
	 
	4 
 
	
		SiSU  - Structured information, Serialized Units - a document
publishing system
	 
	5 
 
	
		sisu [ -abcDdFHhIiMmNnopqRrSsTtUuVvwXxYyZz0-9 ] [ filename/ wildcard ]
	 
	6 
 
	
		sisu [ -Ddcv ] [ instruction ]
	 
	7 
 
	
		sisu [ -CcFLSVvW ]
	 
	8 
 
	
		Note: commands should be issued from within the directory that contains
the marked up files, cd to markup directory.
	 
	9 
 
	
		1.2 Description
	 
	10 
 
	
		SiSU  SiSU  is a document publishing system, that from a
simple single marked-up document, produces multiple of output formats
including: plaintext, html, LaTeX, pdf, xhtml, XML, info, and SQL
(PostgreSQL and SQLite), which share numbered text objects ("object
citation numbering") and the same document structure information. For
more see: < 
	11 
 
	
		1.3 Document Processing Command Flags
	 
	12 
 
	
		-a [filename/wildcard]   
	13 
 
	
		-b [filename/wildcard]   
	14 
 
	
		-C [--init-site]   
	15 
 
	
		-CC   
	16 
 
	
		-c [filename/wildcard]   
	17 
 
	
		-D [instruction] [filename]   
	18 
 
	
		-d [--db-[database type (sqlite|pg)]] --[instruction] [filename]
  
	19 
 
	
		-F [--webserv=webrick]   
	20 
 
	
		-H [filename/wildcard]   
	21 
 
	
		-h [filename/wildcard]   
	22 
 
	
		-I [filename/wildcard]   
	23 
 
	
		-L   
	24 
 
	
		-M [filename/wildcard/url]   
	25 
 
	
		-m [filename/wildcard/url]   
	26 
 
	
		-N [filename/wildcard/url]   
	27 
 
	
		-n [filename/wildcard/url]   
	28 
 
	
		-o [filename/wildcard/url]   
	29 
 
	
		-p [filename/wildcard]   
	30 
 
	
		-q [filename/wildcard]   
	31 
 
	
		-R [filename/wildcard]   
	32 
 
	
		-r [filename/wildcard]   
	33 
 
	
		-S   
	34 
 
	
		-S [filename/wildcard]  SiSU  commands can be run
directly against a sisupod contained in a local directory, or provided
as a url on a remote site. As there is a security issue with skins
provided by other users, they are not applied unless the flag --trust
or --trusted is added to the command instruction, it is recommended
that file that are not your own are treated as untrusted. The directory
structure of the unzipped file is understood by sisu, and sisu commands
can be run within it. Note: if you wish to send multiple files, it
quickly becomes more space efficient to zip the sisu markup directory,
rather than the individual files for sending). See the -S option
without [filename/wildcard].
	 
	35 
 
	
		-s [filename/wildcard]   
	36 
 
	
		-t [filename/wildcard (*.termsheet.rb)]   
	37 
 
	
		-U [filename/wildcard]   
	38 
 
	
		-u [filename/wildcard]   
	39 
 
	
		-V  SiSU  version and
environment information (sisu --help env)
	 
	40 
 
	
		-V [filename/wildcard]   
	41 
 
	
		-v  SiSU  version information
	 
	42 
 
	
		-v [filename/wildcard]   
	43 
 
	
		-W   
	44 
 
	
		-w [filename/wildcard]   
	45 
 
	
		-X [filename/wildcard]   
	46 
 
	
		-x [filename/wildcard]   
	47 
 
	
		-Y [filename/wildcard]   
	48 
 
	
		-y [filename/wildcard]   
	49 
 
	
		-Z [filename/wildcard]   
	50 
 
	
		-z [filename/wildcard]   
	51 
 
	
		2. command line modifiers 
	 
	52 
 
	
		--no-ocn   
	53 
 
	
		--no-annotate  *1  denoted by asterisk or dagger/plus sign
	 
	
		*1 square brackets
	 
	54 
 
	
		--no-asterisk  *2  denoted by asterisk sign
	 
	
		*2 square brackets
	 
	55 
 
	
		--no-dagger  +1  denoted by dagger/plus sign
	 
	
		+1 square brackets
	 
	56 
 
	
		3. database commands 
	 
	57 
 
	
		dbi - database interface
	 
	58 
 
	
		-D or --pgsql set for postgresql -d or --sqlite default set for sqlite
-d is modifiable with --db=[database type (pgsql or sqlite)]
	 
	59 
 
	
		-Dv --createall   
	60 
 
	
		-Dv --import   
	61 
 
	
		-Dv --update   
	62 
 
	
		-D --remove   
	63 
 
	
		-D --dropall   
	64 
 
	
		The v in e.g. -Dv is for verbose output.
	 
	65 
 
	
		4. Shortcuts, Shorthand for multiple flags 
	 
	66 
 
	
		--update [filename/wildcard]   
	67 
 
	
		-0 to -5 [filename or wildcard]   
	68 
 
	
		-0   
	69 
 
	
		-1   
	70 
 
	
		-2   
	71 
 
	
		-3   
	72 
 
	
		-4   
	73 
 
	
		-5   
	74 
 
	
		add -v for verbose mode and -c for color, e.g. sisu -2vc [filename or
wildcard]
	 
	75 
 
	
		consider -u for appended url info or -v for verbose output
	 
	76 
 
	
		4.0.1 Command Line with Flags - Batch Processing
	 
	77 
 
	
		In the data directory run sisu -mh filename or wildcard eg. "sisu -h
cisg.sst" or "sisu -h *.{sst,ssm}" to produce html version of all
documents.
	 
	78 
 
	
		Running sisu (alone without any flags, filenames or wildcards) brings
up the interactive help, as does any sisu command that is not
recognised. Enter to escape.
	 
	79