From 582f1bbd8b8a52b6198f6404cefb2763d5e5d3da Mon Sep 17 00:00:00 2001 From: Ralph Amissah Date: Wed, 21 Mar 2012 19:57:53 -0400 Subject: v3: documentation sisu_commands, manpage, html (man2html) --- data/doc/sisu/CHANGELOG_v3 | 5 + data/doc/sisu/html/sisu.1.html | 1586 +++++++++++++++++++++------------------- 2 files changed, 831 insertions(+), 760 deletions(-) (limited to 'data/doc') diff --git a/data/doc/sisu/CHANGELOG_v3 b/data/doc/sisu/CHANGELOG_v3 index ebc81479..27e07187 100644 --- a/data/doc/sisu/CHANGELOG_v3 +++ b/data/doc/sisu/CHANGELOG_v3 @@ -21,6 +21,11 @@ http://www.jus.uio.no/sisu/pkg/src/sisu_3.2.1.orig.tar.xz sisu_3.2.1-1.dsc sisu_3.2.1-1.debian.tar.gz +* v3, documentation sisu_commands, rearranged; update with regard to + excludes; & discreet sqlite output + * manpage + * html (man2html) + * COPYRIGHT add markup samples "Free as in Freedom" %% 3.2.0.orig.tar.xz (2012-03-19:12/1) diff --git a/data/doc/sisu/html/sisu.1.html b/data/doc/sisu/html/sisu.1.html index 106502ee..accc7ac9 100644 --- a/data/doc/sisu/html/sisu.1.html +++ b/data/doc/sisu/html/sisu.1.html @@ -188,26 +188,47 @@ for endnotes --footnotes for footnotes at the end of each paragraph --unix for unix linefeed (default) --msdos for msdos linefeed)

-

-b [filename/wildcard]
-
see --xhtml +
-b [filename/wildcard] +
+
+

see --xhtml +

+ +
-C
+
configure/initialise shared output directory files initialize +shared output directory (config files such as css and dtd files are not +updated if they already exist unless modifier is used). -C --init-site configure/initialise +site more extensive than -C on its own, shared output directory files/force +update, existing shared output config files such as css and dtd files are +updated if this modifier is used. +

+ +
-CC
+
see --configure +

+ +
-c [filename/wildcard] +
+
+

see --color-toggle

--color-toggle [filename/wildcard]
-
screen toggle ansi screen colour -on or off depending on default set (unless -c flag is used: if sisurc colour -default is set to ’true’, output to screen will be with colour, if sisurc -colour default is set to ’false’ or is undefined screen output will be without -colour). Alias -c +
screen toggle ansi screen +colour on or off depending on default set (unless -c flag is used: if sisurc +colour default is set to ’true’, output to screen will be with colour, if +sisurc colour default is set to ’false’ or is undefined screen output will +be without colour). Alias -c

--configure
-
configure/initialise shared output directory -files initialize shared output directory (config files such as css and -dtd files are not updated if they already exist unless modifier is used). -The equivalent of: -C --init-site configure/initialise site, more extensive -than -C on its own, shared output directory files/force update, existing -shared output config files such as css and dtd files are updated if -CC -is used. +
configure/initialise shared output +directory files initialize shared output directory (config files such as +css and dtd files are not updated if they already exist unless modifier +is used). The equivalent of: -C --init-site configure/initialise site, more +extensive than -C on its own, shared output directory files/force update, +existing shared output config files such as css and dtd files are updated +if -CC is used.

--concordance [filename/wildcard]
@@ -217,86 +238,77 @@ not generated for documents of over 260,000 words unless this limit is increased in the file sisurc.yml). Alias -w

-

-C
-
configure/initialise shared -output directory files initialize shared output directory (config files -such as css and dtd files are not updated if they already exist unless -modifier is used). -C --init-site configure/initialise site more extensive than --C on its own, shared output directory files/force update, existing shared -output config files such as css and dtd files are updated if this modifier -is used. +
-D [instruction] [filename]
+
see --pg

-
-CC
-
see --configure -

+
-d [--db-[database  type  (sqlite|pg)]] --[instruction] [filename]
+
see --sqlite -
-c [filename/wildcard]
-
see --color-toggle

-
--dal [filename/wildcard/url] -
-
assumed for most other flags, creates new intermediate files for processing -(document abstraction) that is used in all subsequent processing of other -output. This step is assumed for most processing flags. To skip it see -n. - -

Alias -m +

--dal [filename/wildcard/url]
+
assumed for most other flags, creates new +intermediate files for processing (document abstraction) that is used in +all subsequent processing of other output. This step is assumed for most +processing flags. To skip it see -n. Alias -m

--delete [filename/wildcard]
see --zap

-
-D [instruction] [filename] -
-
-

see --pg -

- -
-d [--db-[database  type  (sqlite|pg)]] --[instruction] [filename]
-
see --sqlite - -

- -
--epub [filename/wildcard]
-
produces an epub document, [sisu  version  >=2  ] -(filename.epub). Alias -e +
--dump[=directory_path] [filename/wildcard]
+
places output in directory +specified, if none is specified in the current directory (pwd). Compare --redirect

-e [filename/wildcard]
see --epub

-
--find [optional - string  part  of  filename]
-
without match string, glob all .sst .ssm files in -directory (including language subdirectories). With match string, find files -that match given string in directory (including language subdirectories). -Alias -f, --glob, -G +
--epub [filename/wildcard]
+
produces +an epub document, [sisu  version  >=2  ] (filename.epub). Alias -e +

+ +
--exc-*
+
exclude +output feature, overrides configuration settings --exc-ocn, (exclude object +citation numbering, affects html (seg, scroll), epub, xhtml, xml); --exc-toc, +(exclude table of contents, affects html (scroll), epub, pdf); --exc-links-to-manifest, +--exc-manifest-links, (exclude links to manifest, affects html (seg, scroll)); +--exc-search-form, (exclude search form, affects html (seg, scroll), manifest); +--exc-minitoc, (exclude mini table of contents, affects html (seg), concordance, +manifest); --exc-manifest-minitoc, (exclude mini table of contents, affects +manifest); --exc-html-minitoc, (exclude mini table of contents, affects html +(seg), concordance); --exc-html-navigation, (exclude navigation, affects html +(seg)); --exc-html-navigation-bar, (exclude navigation bar, affects html (seg)); +--exc-html-search-form, (exclude search form, affects html (seg, scroll)); --exc-html-right-pane, +(exclude right pane/column, affects html (seg, scroll)); --exc-html-top-band, +(exclude top band, affects html (seg, scroll), concordance (minitoc forced +on to provide seg navigation)); --exc-segsubtoc (exclude sub table of contents, +affects html (seg), epub); see also --inc-*

-F [--webserv=webrick]
see --sample-search-form +

-
-f [optional - string  part  of  filename]
+
-f [optional  string  part  of  filename]
see --find

-
--git [filename/wildcard]
-
produces or -updates markup source file structure in a git repo (experimental and subject -to change). Alias -g +
--find [optional  string  part + of  filename]
+
without match string, glob all .sst .ssm files in directory +(including language subdirectories). With match string, find files that +match given string in directory (including language subdirectories). Alias +-f, --glob, -G

-
--glob [optional  string  part  of  filename]
-
see --find -

- -
-G -[optional  string  part  of  filename]
+
-G [optional  string  part  of  filename]
see --find

@@ -306,22 +318,35 @@ to change). Alias -g

see --git

+

--git [filename/wildcard]
+
produces or updates markup source file +structure in a git repo (experimental and subject to change). Alias -g +

+ +
--glob +[optional  string  part  of  filename]
+
see --find +

+ +
-h [filename/wildcard]
+
see --html +

+
--harvest *.ss[tm]
-
makes two lists of sisu output based on the sisu markup -documents in a directory: list of author and authors works (year and titles), -and; list by topic with titles and author. Makes use of header metadata -fields (author, title, date, topic_register). Can be used with maintenance -(-M) and remote placement (-R) flags. +
makes two lists of sisu output based on the sisu +markup documents in a directory: list of author and authors works (year +and titles), and; list by topic with titles and author. Makes use of header +metadata fields (author, title, date, topic_register). Can be used with +maintenance (-M) and remote placement (-R) flags.

--help [topic]
-
provides help on the selected -topic, where topics (keywords) include: list, (com)mands, short(cuts), -(mod)ifiers, (env)ironment, markup, syntax, headers, headings, endnotes, -tables, example, customise, skin, (dir)ectories, path, (lang)uage, db, -install, setup, (conf)igure, convert, termsheet, search, sql, features, - -

license +

provides help +on the selected topic, where topics (keywords) include: list, (com)mands, +short(cuts), (mod)ifiers, (env)ironment, markup, syntax, headers, headings, +endnotes, tables, example, customise, skin, (dir)ectories, path, (lang)uage, +db, install, setup, (conf)igure, convert, termsheet, search, sql, features, +license.

--html [filename/wildcard]
@@ -330,83 +355,113 @@ with table of contents (toc.html and index.html) and the document in a single file (scroll.html). Alias -h

-

-h [filename/wildcard]
-
see --html +
-I [filename/wildcard]
+
see --texinfo

-
-I [filename/wildcard] +
-i [filename/wildcard]
-

see --texinfo +

see --manpage

-
-i [filename/wildcard]
-
see --manpage +
--inc-*
+
include output feature, overrides configuration settings, +(usually the default if none set), has precedence over --exc-* (exclude output +feature). Some detail provided under --exc-*, see --exc-* +

+ +
-j [filename/wildcard] +
+
copies images associated with a file for use by html, xhtml & xml outputs +(automatically invoked by --dump & redirect).

--keep-processing-files [filename/wildcard/url]
-
see --maintenance +
+

see --maintenance

-L
prints license information.

-
--machine [filename/wildcard/url] +
-M [filename/wildcard/url]
-
see --dal (document abstraction level/layer) +
+

see --maintenance

-
--maintenance [filename/wildcard/url]
-
maintenance mode, interim processing files are preserved and their locations -indicated. (also see -V). Aliases -M and --keep-processing-files +
-m [filename/wildcard/url]
+
see --dal (document abstraction +level/layer)

-
--manpage [filename/wildcard]
-
produces man page of file, not suitable for all outputs. Alias -i +
--machine [filename/wildcard/url]
+
see --dal (document abstraction +level/layer)

-
-M [filename/wildcard/url]
-
see --maintenance +
--maintenance [filename/wildcard/url]
+
maintenance mode, interim +processing files are preserved and their locations indicated. (also see +-V). Aliases -M and --keep-processing-files.

-
-m [filename/wildcard/url]
-
see --dal (document abstraction -level/layer) +
--manpage [filename/wildcard]
+
produces +man page of file, not suitable for all outputs. Alias -i

-
--no-ocn
-
[with  --html  --pdf  or  --epub] switches off object citation -numbering. Produce output without identifying numbers in margins of html -or LaTeX/pdf output. +
-N [filename/wildcard/url] +
+
document digest or document content certificate ( DCC ) as md5 digest tree +of the document: the digest for the document, and digests for each object +contained within the document (together with information on software versions +that produced it) (digest.txt). -NV for verbose digest output to screen.

-
-N [filename/wildcard/url]
-
document digest or document -content certificate ( DCC ) as md5 digest tree of the document: the digest -for the document, and digests for each object contained within the document -(together with information on software versions that produced it) (digest.txt). --NV for verbose digest output to screen. +
-n +[filename/wildcard/url]
+
skip the creation of intermediate processing files +(document abstraction) if they already exist, this skips the equivalent +of -m which is otherwise assumed by most processing flags.

-
-n [filename/wildcard/url]
-
skip the creation of intermediate processing files (document abstraction) if -they already exist, this skips the equivalent of -m which is otherwise assumed -by most processing flags. +
--no-*
+
see --exc-* + +

+ +
--no-ocn
+
[with  --html  --pdf  or  --epub] switches off object citation numbering. Produce +output without identifying numbers in margins of html or LaTeX/pdf output. + +

+ +
-o [filename/wildcard/url]
+
see --odt

--odf [filename/wildcard/url]
see --odt +

-
--odt [filename/wildcard/url]
-
output basic document in opendocument file format (opendocument.odt). Alias --o +
--odt [filename/wildcard/url]
+
output basic document in opendocument file +format (opendocument.odt). Alias -o

-
-o [filename/wildcard/url]
-
see --odt +
-P [language_directory/filename  language_directory] +
+
+

see --po4a +

+ +
-p [filename/wildcard]
+
see --pdf

--pdf [filename/wildcard]
@@ -436,13 +491,14 @@ language code, e.g. en/ fr/ es/. The sisu config file must set the output directory structure to multilingual. v3, experimental

-

-P [language_directory/filename - language_directory]
-
see --po4a +
-Q [filename/wildcard] +
+
+

see --qrcode

-
-p [filename/wildcard]
-
see --pdf +
-q [filename/wildcard]
+
see --quiet

--qrcode [filename/wildcard] @@ -455,31 +511,45 @@ directory structure to multilingual. v3, experimental
quiet less output to screen.

-
-Q [filename/wildcard]
-
see --qrcode +
-R [filename/wildcard]
+
see --rsync

-
-q [filename/wildcard] +
-r [filename/wildcard]
-
see --quiet +
+

see --scp

-
--rsync [filename/wildcard]
-
copies sisu output files to remote -host using rsync. This requires that sisurc.yml has been provided with information -on hostname and username, and that you have your "keys" and ssh agent in -place. Note the behavior of rsync different if -R is used with other flags -from if used alone. Alone the rsync --delete parameter is sent, useful for -cleaning the remote directory (when -R is used together with other flags, -it is not). Also see --scp. Alias -R +
--redirect[=directory_path] [filename/wildcard]
+
places output in +subdirectory under specified directory, subdirectory uses the filename +(without the suffix). If no output directory is specified places the subdirectory +under the current directory (pwd). Compare --dump

-
-R [filename/wildcard]
-
see --rsync +
--rsync [filename/wildcard] +
+
copies sisu output files to remote host using rsync. This requires that +sisurc.yml has been provided with information on hostname and username, +and that you have your "keys" and ssh agent in place. Note the behavior +of rsync different if -R is used with other flags from if used alone. Alone +the rsync --delete parameter is sent, useful for cleaning the remote directory +(when -R is used together with other flags, it is not). Also see --scp. Alias -R

-
-r [filename/wildcard]
-
see --scp +
-S
+
see --sisupod +

+ +
-S [filename/wildcard]
+
see --sisupod +

+ +
-s [filename/wildcard] +
+
+

see --source

--sample-search-form [--webserv=webrick]
@@ -496,7 +566,8 @@ work directory which must be writable, (with screen instructions given that they be copied to the cgi-bin directory). Alias -F

-

--scp [filename/wildcard]
+
--scp [filename/wildcard] +
copies sisu output files to remote host using scp. This requires that sisurc.yml has been provided with information on hostname and username, and that you have your "keys" and ssh agent in place. Also see --rsync. Alias -r @@ -504,23 +575,28 @@ have your "keys" and ssh agent in place. Also see --rsync. Alias -r
--sqlite --[instruction] [filename]
-
database type default set to sqlite, (for which ---sqlite may be used instead) or to specify another database --db-[pgsql,  sqlite] -(however see -D) possible instructions include: --createdb; --create; --dropall; ---import [filename]; --update [filename]; --remove [filename]; see database section -below. Alias -d +
database type set to sqlite, this produces one +of two possible databases, without additional database related instructions +it produces a discreet sqlite file for the document processed; with additional +instructions it produces a common sqlite database of all processed documents +that (come from the same document preparation directory and as a result) +share the same output directory base path (possible instructions include: +--createdb; --create; --dropall; --import [filename]; --update [filename]; --remove +[filename]); see database section below. Alias -d

--sisupod
-
produces a sisupod a zipped sisu directory of markup -files including sisu markup source files and the directories local configuration -file, images and skins. Note: this only includes the configuration files -or skins contained in ./_sisu not those in ~/.sisu -S [filename/wildcard] -option. Note: (this option is tested only with zsh). Alias -S +
produces a sisupod +a zipped sisu directory of markup files including sisu markup source files +and the directories local configuration file, images and skins. Note: this +only includes the configuration files or skins contained in ./_sisu not +those in ~/.sisu -S [filename/wildcard] option. Note: (this
+ option is tested only with zsh). Alias -S

--sisupod [filename/wildcard]
-
produces a zipped file of the prepared document specified along with associated +
produces +a zipped file of the prepared document specified along with associated images, by default named sisupod.zip they may alternatively be named with the filename extension .ssp This provides a quick way of gathering the relevant parts of a sisu document which can then for example be emailed. A sisupod @@ -543,115 +619,109 @@ rather than the individual files for sending). See the -S option without file to output directory. Alias -s

-
-S
-
see --sisupod -

- -
-S [filename/wildcard] +
-T [filename/wildcard  (*.termsheet.rb)]
-
see --sisupod -

- -
-s [filename/wildcard]
-
see --source -

- -
--texinfo [filename/wildcard] -
-
produces texinfo and info file, (view with pinfo). Alias -I +
standard form document builder, preprocessing feature

-
--txt [filename/wildcard] +
-t [filename/wildcard]
-
produces plaintext with Unix linefeeds and without markup, (object numbers -are omitted), has footnotes at end of each paragraph that contains them -[  -A for  equivalent  dos  (linefeed)  output  file] [see  -e  for endnotes]. (Options -include: --endnotes for endnotes --footnotes for footnotes at the end of each -paragraph --unix for unix linefeed (default) --msdos for msdos linefeed). Alias -t -

- -
-T [filename/wildcard  (*.termsheet.rb)]
-
standard form document builder, preprocessing feature +
+

see --txt

-
-t [filename/wildcard]
-
see --txt +
--texinfo [filename/wildcard]
+
produces texinfo and info file, (view +with pinfo). Alias -I

-
--urls [filename/wildcard]
-
prints url output list/map for the available processing flags options and -resulting files that could be requested, (can be used to get a list of -processing options in relation to a file, together with information on -the output that would be produced), -u provides url output mapping for those -flags requested for processing. The default assumes sisu_webrick is running -and provides webrick url mappings where appropriate, but these can be switched -to file system paths in sisurc.yml. Alias -U +
--txt [filename/wildcard]
+
produces plaintext with Unix +linefeeds and without markup, (object numbers are omitted), has footnotes +at end of each paragraph that contains them [  -A for  equivalent  dos  (linefeed) + output  file] [see  -e  for endnotes]. (Options include: --endnotes for endnotes +--footnotes for footnotes at the end of each paragraph --unix for unix linefeed +(default) --msdos for msdos linefeed). Alias -t

-U [filename/wildcard]
see --urls -

-u [filename/wildcard]
-
provides url mapping of output files for the flags -requested for processing, also see -U -

- -
--v2 [filename/wildcard]
-
invokes the -sisu v2 document parser/generator. This is the default and is normally omitted. - -

- -
--v3 [filename/wildcard]
-
invokes the sisu v3 document parser/generator. Currently -under development and incomplete, v3 requires >= ruby1.9.2p180. You may run -sisu3 instead. -

- -
--verbose [filename/wildcard]
-
provides verbose output of what -is being generated, where output is placed (and error messages if any), -as with -u flag provides a url mapping of files created for each of the -processing flag requests. Alias -v +
provides url mapping of output files for the +flags requested for processing, also see -U +

+ +
--urls [filename/wildcard]
+
prints +url output list/map for the available processing flags options and resulting +files that could be requested, (can be used to get a list of processing +options in relation to a file, together with information on the output +that would be produced), -u provides url output mapping for those flags +requested for processing. The default assumes sisu_webrick is running and +provides webrick url mappings where appropriate, but these can be switched +to file system paths in sisurc.yml. Alias -U

-V
-
on its own, provides SiSU version and -environment information (sisu --help env) +
on its own, provides SiSU +version and environment information (sisu --help env)

-
-V [filename/wildcard]
+
-V [filename/wildcard] +
even more verbose than the -v flag.

-v
-
on its own, provides SiSU version information +
on its own, provides SiSU version +

information

-v [filename/wildcard]
see --verbose

-
--webrick
-
starts ruby’s webrick webserver -points at sisu output directories, the default port is set to 8081 and -can be changed in the resource configuration files. [tip:  the  webrick  server - requires  link  suffixes,  so  html output  should  be  created  using  the  -h  option - rather  than -H  ;  also,  note  -F  webrick  ]. Alias -W +
--v2 [filename/wildcard] +
+
invokes the sisu v2 document parser/generator. This is the default and is +normally omitted. +

+ +
--v3 [filename/wildcard]
+
invokes the sisu v3 document parser/generator. +Currently under development and incomplete, v3 requires >= ruby1.9.2p180. You +may run sisu3 instead. +

+ +
--verbose [filename/wildcard]
+
provides verbose output +of what is being generated, where output is placed (and error messages +if any), as with -u flag provides a url mapping of files created for each +of the processing flag requests. Alias -v

-W
see --webrick

-
--wordmap [filename/wildcard]
-
see --concordance +
-w [filename/wildcard] +
+
+see --concordance

-
-w [filename/wildcard]
+
--webrick
+
starts ruby’s webrick webserver points at sisu +output directories, the default port is set to 8081 and can be changed +in the resource configuration files. [tip:  the  webrick  server  requires  link + suffixes,  so  html output  should  be  created  using  the  -h  option  rather  than +-H  ;  also,  note  -F  webrick  ]. Alias -W +

+ +
--wordmap [filename/wildcard]
see --concordance

@@ -666,12 +736,15 @@ can be changed in the resource configuration files. [tip:  the  webric deep document structure, in the nature of dom. Alias -X

-

--xml-sax [filename/wildcard]
+
--xml-sax [filename/wildcard] +
produces XML output shallow structure (sax parsing). Alias -x

-
-X [filename/wildcard]
-
see --xml-dom +
-X [filename/wildcard] +
+
+see --xml-dom

-x [filename/wildcard]
@@ -692,17 +765,17 @@ metadata (sisu_manifest.html). This step is assumed for most processing flags.

-

--zap [filename/wildcard]
-
Zap, if used with other processing flags deletes -output files of the type about to be processed, prior to processing. If --Z is used as the lone processing related flag (or in conjunction with a -combination of -[mMvVq]), will remove the related document output directory. -Alias -Z -

-
-Z [filename/wildcard]
see --zap

+ +
--zap [filename/wildcard]
+
Zap, if used with +other processing flags deletes output files of the type about to be processed, +prior to processing. If -Z is used as the lone processing related flag (or +in conjunction with a combination of -[mMvVq]), will remove the related +document output directory. Alias -Z +

3. Command Line Modifiers

@@ -764,14 +837,15 @@ and underscores. to postgresql db (rb.dbi) [  -dv and search --import  sqlite  equivalent]

-

--pg -v --update
+
--pg +-v --update
[filename/wildcard] updates/imports specified data to postgresql db (rb.dbi) [  -dv  --update  sqlite  equivalent]

--pg --remove
-
[filename/wildcard] removes specified data to postgresql -db (rb.dbi) [  -d --remove  sqlite  equivalent] +
[filename/wildcard] +removes specified data to postgresql db (rb.dbi) [  -d --remove  sqlite  equivalent]

@@ -1054,7 +1128,7 @@ version used in the form of a comment. Comments are a percentage mark at the start of a paragraph (and as the first character in a line of text) followed by a space and the comment:


-

  % this would be a comment
+
% this would be a comment
 

8.1 Sample Header

@@ -1063,50 +1137,50 @@ followed by a space and the comment: This current document is loaded by a master document that has a header similar to this one:


-

  % SiSU master 2.0
-  @title: SiSU
-   :subtitle: Manual
-  @creator:
-   :author: Amissah, Ralph
-  @publisher:  [publisher  name]
-  @rights: Copyright (C) Ralph Amissah 2007, License GPL 3
-  @classify:
-   :type: information
-   :topic_register: SiSU:manual;electronic documents:SiSU:manual
-   :subject: ebook, epublishing, electronic book, electronic publishing,
-      electronic document, electronic citation, data structure,
-       citation systems, search
-  % used_by: manual
-  @date:
-   :published: 2008-05-22
-   :created: 2002-08-28
-   :issued: 2002-08-28
-   :available: 2002-08-28
-   :modified: 2010-03-03
-  @make:
-   :num_top: 1
-   :breaks: new=C; break=1
-   :skin: skin_sisu_manual
-   :bold: /Gnu|Debian|Ruby|SiSU/
-   :manpage: name=sisu - documents: markup, structuring, publishing
-       in multiple standard formats, and search;
-       synopsis=sisu  [-abcDdeFhIiMmNnopqRrSsTtUuVvwXxYyZz0-9]  [filename/wildcard
+
% SiSU master 2.0
+@title: SiSU
+ :subtitle: Manual
+@creator:
+ :author: Amissah, Ralph
+@publisher:  [publisher  name]
+@rights: Copyright (C) Ralph Amissah 2007, License GPL 3
+@classify:
+ :type: information
+ :topic_register: SiSU:manual;electronic documents:SiSU:manual
+ :subject: ebook, epublishing, electronic book, electronic publishing,
+    electronic document, electronic citation, data structure,
+     citation systems, search
+% used_by: manual
+@date:
+ :published: 2008-05-22
+ :created: 2002-08-28
+ :issued: 2002-08-28
+ :available: 2002-08-28
+ :modified: 2010-03-03
+@make:
+ :num_top: 1
+ :breaks: new=C; break=1
+ :skin: skin_sisu_manual
+ :bold: /Gnu|Debian|Ruby|SiSU/
+ :manpage: name=sisu - documents: markup, structuring, publishing
+     in multiple standard formats, and search;
+     synopsis=sisu  [-abcDdeFhIiMmNnopqRrSsTtUuVvwXxYyZz0-9]  [filename/wildcard
  ]
-       . sisu  [-Ddcv]  [instruction]
-       . sisu  [-CcFLSVvW]
-       . sisu --v2  [operations]
-       . sisu --v3  [operations]
-  @links:
-   { SiSU Homepage }http://www.sisudoc.org/
-   { SiSU Manual }http://www.sisudoc.org/sisu/sisu_manual/
-   { Book Samples & Markup Examples }http://www.jus.uio.no/sisu/SiSU/examples.html
-   { SiSU Download }http://www.jus.uio.no/sisu/SiSU/download.html
-   { SiSU Changelog }http://www.jus.uio.no/sisu/SiSU/changelog.html
-   { SiSU Git repo }http://git.sisudoc.org/?p=code/sisu.git;a=summary
-   { SiSU List Archives }http://lists.sisudoc.org/pipermail/sisu/
-   { SiSU @ Debian }http://packages.qa.debian.org/s/sisu.html
-   { SiSU Project @ Debian }http://qa.debian.org/developer.php?login=sisu@lists.sisudoc.org
-   { SiSU @ Wikipedia }http://en.wikipedia.org/wiki/SiSU
+     . sisu  [-Ddcv]  [instruction]
+     . sisu  [-CcFLSVvW]
+     . sisu --v2  [operations]
+     . sisu --v3  [operations]
+@links:
+ { SiSU Homepage }http://www.sisudoc.org/
+ { SiSU Manual }http://www.sisudoc.org/sisu/sisu_manual/
+ { Book Samples & Markup Examples }http://www.jus.uio.no/sisu/SiSU/examples.html
+ { SiSU Download }http://www.jus.uio.no/sisu/SiSU/download.html
+ { SiSU Changelog }http://www.jus.uio.no/sisu/SiSU/changelog.html
+ { SiSU Git repo }http://git.sisudoc.org/?p=code/sisu.git;a=summary
+ { SiSU List Archives }http://lists.sisudoc.org/pipermail/sisu/
+ { SiSU @ Debian }http://packages.qa.debian.org/s/sisu.html
+ { SiSU Project @ Debian }http://qa.debian.org/developer.php?login=sisu@lists.sisudoc.org
+ { SiSU @ Wikipedia }http://en.wikipedia.org/wiki/SiSU
 

8.2 Available Headers

@@ -1131,78 +1205,78 @@ structure, and can be useful to know.

This is a sample header


-

  % SiSU 2.0  [declared  file-type  identifier  with  markup  version]
+
% SiSU 2.0  [declared  file-type  identifier  with  markup  version]
 


-

  @title:  [title  text]  [this  header  is  the  only  one  that  is  mandatory]
-    :subtitle:  [subtitle  if  any]
-    :language: English
+
@title:  [title  text]  [this  header  is  the  only  one  that  is  mandatory]
+  :subtitle:  [subtitle  if  any]
+  :language: English
 


-

  @creator:
-   :author:  [Lastname,  First  names]
-   :illustrator:  [Lastname,  First  names]
-   :translator:  [Lastname,  First  names]
-   :prepared_by:  [Lastname,  First  names]
+
@creator:
+ :author:  [Lastname,  First  names]
+ :illustrator:  [Lastname,  First  names]
+ :translator:  [Lastname,  First  names]
+ :prepared_by:  [Lastname,  First  names]
 


-

  @date:
-   :published:  [year  or  yyyy-mm-dd]
-   :created:  [year  or  yyyy-mm-dd]
-   :issued:  [year  or  yyyy-mm-dd]
-   :available:  [year  or  yyyy-mm-dd]
-   :modified:  [year  or  yyyy-mm-dd]
-   :valid:  [year  or  yyyy-mm-dd]
-   :added_to_site:  [year  or  yyyy-mm-dd]
-   :translated:  [year  or  yyyy-mm-dd]
+
@date:
+ :published:  [year  or  yyyy-mm-dd]
+ :created:  [year  or  yyyy-mm-dd]
+ :issued:  [year  or  yyyy-mm-dd]
+ :available:  [year  or  yyyy-mm-dd]
+ :modified:  [year  or  yyyy-mm-dd]
+ :valid:  [year  or  yyyy-mm-dd]
+ :added_to_site:  [year  or  yyyy-mm-dd]
+ :translated:  [year  or  yyyy-mm-dd]
 


-

  @rights:
-   :copyright: Copyright (C)  [Year  and  Holder]
-   :license:  [Use  License  granted]
-   :text:  [Year  and  Holder]
-   :translation:  [Name,  Year]
-   :illustrations:  [Name,  Year]
+
@rights:
+ :copyright: Copyright (C)  [Year  and  Holder]
+ :license:  [Use  License  granted]
+ :text:  [Year  and  Holder]
+ :translation:  [Name,  Year]
+ :illustrations:  [Name,  Year]
 


-

  @classify:
-   :topic_register: SiSU:markup sample:book;book:novel:fantasy
-   :type:
-   :subject:
-   :description:
-   :keywords:
-   :abstract:
-   :isbn:  [ISBN]
-   :loc:  [Library  of  Congress  classification]
-   :dewey:  [Dewey  classification]
-   :pg:  [Project  Gutenberg  text  number]
+
@classify:
+ :topic_register: SiSU:markup sample:book;book:novel:fantasy
+ :type:
+ :subject:
+ :description:
+ :keywords:
+ :abstract:
+ :isbn:  [ISBN]
+ :loc:  [Library  of  Congress  classification]
+ :dewey:  [Dewey  classification]
+ :pg:  [Project  Gutenberg  text  number]
 


-

  @links: { SiSU }http://www.sisudoc.org
-    { FSF }http://www.fsf.org
+
@links: { SiSU }http://www.sisudoc.org
+  { FSF }http://www.fsf.org
 


-

  @make:
-   :skin: skin_name
-     [skins change default settings related to the appearance of documents
+
@make:
+ :skin: skin_name
+   [skins change default settings related to the appearance of documents
 generated]
-   :num_top: 1
-   :headings:  [text  to  match  for  each  level
-     (e.g. PART; Chapter; Section; Article;
-      or another: none; BOOK|FIRST|SECOND; none; CHAPTER;)
-   :breaks: new=:C; break=1
-   :promo: sisu, ruby, sisu_search_libre, open_society
-   :bold: [regular expression of words/phrases to be made bold]
-   :italics:  [regular  expression  of  words/phrases  to  italicise]
+ :num_top: 1
+ :headings:  [text  to  match  for  each  level
+   (e.g. PART; Chapter; Section; Article;
+    or another: none; BOOK|FIRST|SECOND; none; CHAPTER;)
+ :breaks: new=:C; break=1
+ :promo: sisu, ruby, sisu_search_libre, open_society
+ :bold: [regular expression of words/phrases to be made bold]
+ :italics:  [regular  expression  of  words/phrases  to  italicise]
 


-

  @original:
-   :language:  [language]
+
@original:
+ :language:  [language]
 


-

  @notes:
-   :comment:
-   :prefix:  [prefix  is  placed  just  after  table  of  contents]
+
@notes:
+ :comment:
+ :prefix:  [prefix  is  placed  just  after  table  of  contents]
 

9. Markup of Substantive Text

@@ -1243,12 +1317,12 @@ or sub-heading 3, the heading level that would normally be marked 1.1 or that would normally be marked 1.1.1 or 1.1.2 or 1.2.1 or 2.1.1 etc. in a document


-

  1~filename level 1 heading,
-  % the primary division such as Chapter that is followed by substantive
+
1~filename level 1 heading,
+% the primary division such as Chapter that is followed by substantive
 text,
-  % and may be further subdivided (this is the level on which by default
+% and may be further subdivided (this is the level on which by default
 html
-  % segments are made)
+% segments are made)
 

9.2 Font Attributes

@@ -1256,31 +1330,31 @@ html


markup example:


-

  normal text,  *{emphasis}*, !{bold text}!, /{italics}/, _{underscore}_,
+
normal text,  *{emphasis}*, !{bold text}!, /{italics}/, _{underscore}_,
 "{citation}",
-  ^{superscript}^, ,{subscript},, +{inserted text}+, -{strikethrough}-, #{monospace}#
-  normal text
+^{superscript}^, ,{subscript},, +{inserted text}+, -{strikethrough}-, #{monospace}#
+normal text
 
-  *{emphasis}*  [note:  can  be  configured  to  be  represented  by  bold,  italics
+*{emphasis}*  [note:  can  be  configured  to  be  represented  by  bold,  italics
  or  underscore]
 
-  !{bold text}!
+!{bold text}!
 
-  _{underscore}_
+_{underscore}_
 
-  /{italics}/
+/{italics}/
 
-  "{citation}"
+"{citation}"
 
-  ^{superscript}^
+^{superscript}^
 
-  ,{subscript},
+,{subscript},
 
-  +{inserted text}+
++{inserted text}+
 
-  -{strikethrough}-
+-{strikethrough}-
 
-  #{monospace}#
+#{monospace}#
 


resulting output: @@ -1321,13 +1395,13 @@ normal text, emphasis, bold text, italics, underscore,
markup example:


-

  ordinary paragraph
+
ordinary paragraph
 
-  _1 indent paragraph one step
+_1 indent paragraph one step
 
-  _2 indent paragraph two steps
+_2 indent paragraph two steps
 
-  _9 indent paragraph nine steps
+_9 indent paragraph nine steps
 


resulting output: @@ -1346,11 +1420,11 @@ normal text, emphasis, bold text, italics, underscore,
markup example:


-

  _* bullet text
+
_* bullet text
 
-  _1* bullet text, first indent
+_1* bullet text, first indent
 
-  _2* bullet text, two step indent
+_2* bullet text, two step indent
 


resulting output: @@ -1368,9 +1442,9 @@ Numbered List (not to be confused with headings/titles, (document structure))


markup example:


-

  # numbered list                numbered list 1., 2., 3, etc.
+
# numbered list                numbered list 1., 2., 3, etc.
 
-  _# numbered list numbered list indented a., b., c., d., etc.
+_# numbered list numbered list indented a., b., c., d., etc.
 

9.4 Hanging Indents

@@ -1378,11 +1452,11 @@ Numbered List (not to be confused with headings/titles, (document structure))


markup example:


-

  _0_1 first line no indent,
-  rest of paragraph indented one step
-  _1_0 first line indented,
-  rest of paragraph no indent
-  in each case level may be 0-9
+
_0_1 first line no indent,
+rest of paragraph indented one step
+_1_0 first line indented,
+rest of paragraph no indent
+in each case level may be 0-9
 


resulting output: @@ -1405,7 +1479,7 @@ indicated within a text. They are automatically numbered. The output type


markup example:


-

  ~{ a footnote or endnote }~
+
~{ a footnote or endnote }~
 


resulting output: @@ -1414,7 +1488,7 @@ indicated within a text. They are automatically numbered. The output type


markup example:


-

  normal text~{ self contained endnote marker & endnote in one }~ continues
+
normal text~{ self contained endnote marker & endnote in one }~ continues
 


resulting output: @@ -1423,10 +1497,10 @@ normal text[^13] continues


markup example:


-

  normal text ~{* unnumbered asterisk footnote/endnote, insert multiple
-asterisks if required }~ continues
+
normal text ~{* unnumbered asterisk footnote/endnote, insert multiple asterisks
+if required }~ continues
 
-  normal text ~{** another unnumbered asterisk footnote/endnote }~ continues
+normal text ~{** another unnumbered asterisk footnote/endnote }~ continues
 


resulting output: @@ -1437,10 +1511,10 @@ normal text [^**] continues


markup example:


-

  normal text ~[*  editors  notes,  numbered  asterisk  footnote/endnote  series
+
normal text ~[*  editors  notes,  numbered  asterisk  footnote/endnote  series
  ]~ continues
 
-  normal text ~[+  editors  notes,  numbered  asterisk  footnote/endnote  series
+normal text ~[+  editors  notes,  numbered  asterisk  footnote/endnote  series
  ]~ continues
 


@@ -1452,10 +1526,10 @@ normal text [^+2] continues


Alternative endnote pair notation for footnotes/endnotes:


-

  % note the endnote marker "~^"
-  normal text~^ continues
+
% note the endnote marker "~^"
+normal text~^ continues
 
-  ^~ endnote text following the paragraph in which the marker occurs
+^~ endnote text following the paragraph in which the marker occurs
 


@@ -1476,7 +1550,7 @@ case the decoration is omitted).


markup example:


-

  normal text http://www.sisudoc.org/ continues
+
normal text http://www.sisudoc.org/ continues
 


resulting output: @@ -1489,8 +1563,8 @@ normal text <http://www.sisudoc.org/


markup example:


-

  normal text _http://www.sisudoc.org/ continues
-  deb _http://www.jus.uio.no/sisu/archive unstable main non-free
+
normal text _http://www.sisudoc.org/ continues
+deb _http://www.jus.uio.no/sisu/archive unstable main non-free
 


resulting output: @@ -1507,9 +1581,9 @@ where a code block is used there is neither decoration nor hyperlinking,


resulting output:


-

  deb http://www.jus.uio.no/sisu/archive unstable main non-free
+
deb http://www.jus.uio.no/sisu/archive unstable main non-free
 
-  deb-src http://www.jus.uio.no/sisu/archive unstable main non-free
+deb-src http://www.jus.uio.no/sisu/archive unstable main non-free
 

9.6.2 Linking Text

@@ -1520,7 +1594,7 @@ where a code block is used there is neither decoration nor hyperlinking,


markup example:


-

  about { SiSU }http://url.org markup
+
about { SiSU }http://url.org markup
 


resulting output: @@ -1535,7 +1609,7 @@ aboutSiSU <http://www.sisudoc.org/


markup example:


-

  about {~^ SiSU }http://url.org markup
+
about {~^ SiSU }http://url.org markup
 


resulting output: @@ -1543,6 +1617,8 @@ aboutSiSU <http://www.sisudoc.org/ about SiSU <http://www.sisudoc.org/ > [^14] markup


+Internal document links to a tagged location, including an ocn +


markup example:


  { tux.png 64x80 }image
@@ -1560,12 +1636,12 @@ Debian and Ruby" }http://www.sisudoc.org/
 
 
 markup example:
-  { tux.png 64x80 }image
-  % various url linked images
-  {tux.png 64x80 "a better way" }http://www.sisudoc.org/
-  {GnuDebianLinuxRubyBetterWay.png 100x101 "Way Better - with Gnu/Linux,
-Debian and Ruby" }http://www.sisudoc.org/
-  {~^ ruby_logo.png "Ruby" }http://www.ruby-lang.org/en/
+{ tux.png 64x80 }image
+% various url linked images
+{tux.png 64x80 "a better way" }http://www.sisudoc.org/
+{GnuDebianLinuxRubyBetterWay.png 100x101 "Way Better - with Gnu/Linux, Debian
+and Ruby" }http://www.sisudoc.org/
+{~^ ruby_logo.png "Ruby" }http://www.ruby-lang.org/en/
 


resulting output: @@ -1575,23 +1651,22 @@ Debian and Ruby" }http://www.sisudoc.org/ tux.png 64x80 "Gnu/Linux - a better way" <http://www.sisudoc.org/ >


-[  ruby_logo  (png  missing)  ] [^15] -


GnuDebianLinuxRubyBetterWay.png 100x101 "Way Better - with Gnu/Linux, Debian -and Ruby" <http://www.jus.uio.no/sisu/ +and Ruby" <http://www.sisudoc.org/ >


+[  ruby_logo  (png  missing)  ] [^15] +


linked url footnote shortcut


-

  {~^  [text  to  link] }http://url.org
-  % maps to: {  [text  to  link] }http://url.org ~{ http://url.org }~
-  % which produces hyper-linked text within a document/paragraph,
-  % with an endnote providing the url for the text location used in the
-hyperlink
+
{~^  [text  to  link] }http://url.org
+% maps to: {  [text  to  link] }http://url.org ~{ http://url.org }~
+% which produces hyper-linked text within a document/paragraph,
+% with an endnote providing the url for the text location used in the hyperlink
 


-

  text marker *~name
+
text marker *~name
 


note at a heading level the same is automatically achieved by providing @@ -1610,14 +1685,14 @@ Tables


markup example:


-

  table{ c3; 40; 30; 30;
-  This is a table
-  this would become column two of row one
-  column three of row one is here
-  And here begins another row
-  column two of row two
-  column three of row two, and so on
-  }table
+
table{ c3; 40; 30; 30;
+This is a table
+this would become column two of row one
+column three of row one is here
+And here begins another row
+column two of row two
+column three of row two, and so on
+}table
 


resulting output: @@ -1629,24 +1704,23 @@ Tables

information in each column


-markup example: [^16] -


-

  !_ Table 3.1: Contributors to Wikipedia, January 2001 - June 2005
-  {table~h 24; 12; 12; 12; 12; 12; 12;}
-                                  |Jan. 2001|Jan. 2002|Jan. 2003|Jan. 2004|July
-2004|June 2006
-  Contributors*                   |       10|      472|    2,188|    9,653|
-  25,011|   48,721
-  Active contributors**           |        9|      212|      846|    3,228|
-   8,442|   16,945
-  Very active contributors***     |        0|       31|      190|      692|
-   1,639|    3,016
-  No. of English language articles|       25|   16,000|  101,000|  190,000|
-320,000|  630,000
-  No. of articles, all languages  |       25|   19,000|  138,000|  490,000|
-862,000|1,600,000
-  * Contributed at least ten times; ** at least 5 times in last month;
-*** more than 100 times in last month.
+markup example: [^17]
+


+

!_ Table 3.1: Contributors to Wikipedia, January 2001 - June 2005
+{table~h 24; 12; 12; 12; 12; 12; 12;}
+                                |Jan. 2001|Jan. 2002|Jan. 2003|Jan. 2004|July 2004|June
+2006
+Contributors*                   |       10|      472|    2,188|    9,653|
+25,011|   48,721
+Active contributors**           |        9|      212|      846|    3,228|
+ 8,442|   16,945
+Very active contributors***     |        0|       31|      190|      692|
+ 1,639|    3,016
+No. of English language articles|       25|   16,000|  101,000|  190,000|  320,000|
+ 630,000
+No. of articles, all languages  |       25|   19,000|  138,000|  490,000|  862,000|1,600,000
+* Contributed at least ten times; ** at least 5 times in last month; ***
+more than 100 times in last month.
 


resulting output: @@ -1664,60 +1738,60 @@ more than 100 times in last month.


basic markup:


-

  poem{
-    Your poem here
-  }poem
-  Each verse in a poem is given an object number.
+
poem{
+  Your poem here
+}poem
+Each verse in a poem is given an object number.
 


markup example:


-

  poem{
-                      ‘Fury said to a
-                     mouse, That he
-                   met in the
-                 house,
-              "Let us
-                both go to
-                  law:  I will
-                    prosecute
-                      YOU.  --Come,
-                         I’ll take no
-                          denial; We
-                       must have a
-                   trial:  For
-                really this
-             morning I’ve
-            nothing
-           to do."
-             Said the
-               mouse to the
-                 cur, "Such
-                   a trial,
-                     dear Sir,
-                           With
-                       no jury
-                    or judge,
-                  would be
-                wasting
-               our
-                breath."
-                 "I’ll be
-                   judge, I’ll
-                     be jury,"
-                           Said
-                      cunning
-                        old Fury:
-                       "I’ll
-                        try the
-                           whole
-                            cause,
-                               and
-                          condemn
-                         you
-                        to
-                         death."’
-  }poem
+
poem{
+                    ‘Fury said to a
+                   mouse, That he
+                 met in the
+               house,
+            "Let us
+              both go to
+                law:  I will
+                  prosecute
+                    YOU.  --Come,
+                       I’ll take no
+                        denial; We
+                     must have a
+                 trial:  For
+              really this
+           morning I’ve
+          nothing
+         to do."
+           Said the
+             mouse to the
+               cur, "Such
+                 a trial,
+                   dear Sir,
+                         With
+                     no jury
+                  or judge,
+                would be
+              wasting
+             our
+              breath."
+               "I’ll be
+                 judge, I’ll
+                   be jury,"
+                         Said
+                    cunning
+                      old Fury:
+                     "I’ll
+                      try the
+                         whole
+                          cause,
+                             and
+                        condemn
+                       you
+                      to
+                       death."’
+}poem
 


resulting output: @@ -1816,64 +1890,63 @@ more than 100 times in last month.


basic markup:


-

  group{
+
group{
 
-    Your grouped text here
+  Your grouped text here
 
-  }group
+}group
 
-  A group is treated as an object and given a single object number.
+A group is treated as an object and given a single object number.
 


markup example:


-

  group{
-
-                      ’Fury said to a
-                     mouse, That he
-                   met in the
-                 house,
-              "Let us
-                both go to
-                  law:  I will
-                    prosecute
-                      YOU.  --Come,
-                         I’ll take no
-                          denial; We
-                       must have a
-                   trial:  For
-                really this
-             morning I’ve
-            nothing
-           to do."
-             Said the
-               mouse to the
-                 cur, "Such
-                   a trial,
-                     dear Sir,
-                           With
-                       no jury
-                    or judge,
-                  would be
-                wasting
-               our
-                breath."
-                 "I’ll be
-                   judge, I’ll
-                     be jury,"
-                           Said
-                      cunning
-                        old Fury:
-                       "I’ll
-                        try the
-                           whole
-                            cause,
-                               and
-                          condemn
-                         you
-                        to
-                         death."’
-  }group
+
group{
+                    ’Fury said to a
+                   mouse, That he
+                 met in the
+               house,
+            "Let us
+              both go to
+                law:  I will
+                  prosecute
+                    YOU.  --Come,
+                       I’ll take no
+                        denial; We
+                     must have a
+                 trial:  For
+              really this
+           morning I’ve
+          nothing
+         to do."
+           Said the
+             mouse to the
+               cur, "Such
+                 a trial,
+                   dear Sir,
+                         With
+                     no jury
+                  or judge,
+                would be
+              wasting
+             our
+              breath."
+               "I’ll be
+                 judge, I’ll
+                   be jury,"
+                         Said
+                    cunning
+                      old Fury:
+                     "I’ll
+                      try the
+                         whole
+                          cause,
+                             and
+                        condemn
+                       you
+                      to
+                       death."’
+}group
 


resulting output: @@ -1982,99 +2055,99 @@ option  to  number  each  line  of  code  may


use of code tags instead of poem compared, resulting output:


-

                      ‘Fury said to a
-                     mouse, That he
-                   met in the
-                 house,
-              "Let us
-                both go to
-                  law:  I will
-                    prosecute
-                      YOU.  --Come,
-                         I’ll take no
-                          denial; We
-                       must have a
-                   trial:  For
-                really this
-             morning I’ve
-            nothing
-           to do."
-             Said the
-               mouse to the
-                 cur, "Such
-                   a trial,
-                     dear Sir,
-                           With
-                       no jury
-                    or judge,
-                  would be
-                wasting
-               our
-                breath."
-                 "I’ll be
-                   judge, I’ll
-                     be jury,"
-                           Said
-                      cunning
-                        old Fury:
-                       "I’ll
-                        try the
-                           whole
-                            cause,
-                               and
-                          condemn
-                         you
-                        to
-                         death."’
+
                    ‘Fury said to a
+                   mouse, That he
+                 met in the
+               house,
+            "Let us
+              both go to
+                law:  I will
+                  prosecute
+                    YOU.  --Come,
+                       I’ll take no
+                        denial; We
+                     must have a
+                 trial:  For
+              really this
+           morning I’ve
+          nothing
+         to do."
+           Said the
+             mouse to the
+               cur, "Such
+                 a trial,
+                   dear Sir,
+                         With
+                     no jury
+                  or judge,
+                would be
+              wasting
+             our
+              breath."
+               "I’ll be
+                 judge, I’ll
+                   be jury,"
+                         Said
+                    cunning
+                      old Fury:
+                     "I’ll
+                      try the
+                         whole
+                          cause,
+                             and
+                        condemn
+                       you
+                      to
+                       death."’
 


From SiSU 2.7.7 on you can number codeblocks by placing a hash after the opening code tag code{# as demonstrated here:


-

1  |                      ‘Fury said to a
-2  |                     mouse, That he
-3  |                   met in the
-4  |                 house,
-5  |              "Let us
-6  |                both go to
-7  |                  law:  I will
-8  |                    prosecute
-9  |                      YOU.  --Come,
-10 |                         I’ll take no
-11 |                          denial; We
-12 |                       must have a
-13 |                   trial:  For
-14 |                really this
-15 |             morning I’ve
-16 |            nothing
-17 |           to do."
-18 |             Said the
-19 |               mouse to the
-20 |                 cur, "Such
-21 |                   a trial,
-22 |                     dear Sir,
-23 |                           With
-24 |                       no jury
-25 |                    or judge,
-26 |                  would be
-27 |                wasting
-28 |               our
-29 |                breath."
-30 |                 "I’ll be
-31 |                   judge, I’ll
-32 |                     be jury,"
-33 |                           Said
-34 |                      cunning
-35 |                        old Fury:
-36 |                       "I’ll
-37 |                        try the
-38 |                           whole
-39 |                            cause,
-40 |                               and
-41 |                          condemn
-42 |                         you
-43 |                        to
-44 |                         death."’
+
1  |                    ‘Fury said to a
+2  |                   mouse, That he
+3  |                 met in the
+4  |               house,
+5  |            "Let us
+6  |              both go to
+7  |                law:  I will
+8  |                  prosecute
+9  |                    YOU.  --Come,
+10 |                       I’ll take no
+11 |                        denial; We
+12 |                     must have a
+13 |                 trial:  For
+14 |              really this
+15 |           morning I’ve
+16 |          nothing
+17 |         to do."
+18 |           Said the
+19 |             mouse to the
+20 |               cur, "Such
+21 |                 a trial,
+22 |                   dear Sir,
+23 |                         With
+24 |                     no jury
+25 |                  or judge,
+26 |                would be
+27 |              wasting
+28 |             our
+29 |              breath."
+30 |               "I’ll be
+31 |                 judge, I’ll
+32 |                   be jury,"
+33 |                         Said
+34 |                    cunning
+35 |                      old Fury:
+36 |                     "I’ll
+37 |                      try the
+38 |                         whole
+39 |                          cause,
+40 |                             and
+41 |                        condemn
+42 |                       you
+43 |                      to
+44 |                       death."’
 

9.8 Additional Breaks - Linebreaks Within Objects, Column and Page-breaks

@@ -2087,10 +2160,10 @@ opening code tag code{# as demonstrated here: To break a line within a "paragraph object", two backslashes \\ with a space before and a space or newline after them may be used.


-

  To break a line within a "paragraph object",
-  two backslashes \\ with a space before
-  and a space or newline after them \\
-  may be used.
+
To break a line within a "paragraph object",
+two backslashes \\ with a space before
+and a space or newline after them \\
+may be used.
 


The html break br enclosed in angle brackets (though undocumented) is available @@ -2104,13 +2177,13 @@ Page breaks are only relevant and honored in some output formats. A page break or a new page may be inserted manually using the following markup on a line on its own:


-

  <:pb>
+
<:pb>
 


or


-

  <:pn>
+
<:pn>
 


page new <:pn> breaks the page, starts a new page. @@ -2127,8 +2200,8 @@ using an equal sign and curly braces. Currently two levels are provided, a main term and if needed a sub-term. Sub-terms are separated from the main term by a colon.


-

    Paragraph containing main term and sub-term.
-    ={Main term:sub-term}
+
  Paragraph containing main term and sub-term.
+  ={Main term:sub-term}
 


The index syntax starts on a new line, but there should not be an empty @@ -2136,40 +2209,40 @@ line between paragraph and index markup.


The structure of the resulting index would be:


-

    Main term, 1
-      sub-term, 1
+
  Main term, 1
+    sub-term, 1
 


Several terms may relate to a paragraph, they are separated by a semicolon. If the term refers to more than one paragraph, indicate the number of paragraphs.


-

    Paragraph containing main term, second term and sub-term.
-    ={first term; second term: sub-term}
+
  Paragraph containing main term, second term and sub-term.
+  ={first term; second term: sub-term}
 


The structure of the resulting index would be:


-

    First term, 1,
-    Second term, 1,
-      sub-term, 1
+
  First term, 1,
+  Second term, 1,
+    sub-term, 1
 


If multiple sub-terms appear under one paragraph, they are separated under the main term heading from each other by a pipe symbol.


-

    Paragraph containing main term, second term and sub-term.
-    ={Main term:sub-term+1|second sub-term}
-    A paragraph that continues discussion of the first sub-term
+
  Paragraph containing main term, second term and sub-term.
+  ={Main term:sub-term+1|second sub-term}
+  A paragraph that continues discussion of the first sub-term
 


The plus one in the example provided indicates the first sub-term spans one additional paragraph. The logical structure of the resulting index would be:


-

    Main term, 1,
-      sub-term, 1-3,
-      second sub-term, 1,
+
  Main term, 1,
+    sub-term, 1-3,
+    second sub-term, 1,
 

10. Composite Documents Markup

@@ -2193,8 +2266,8 @@ file, or .ssi (insert/information) A secondary file of the composite docu

basic markup for importing a document into a master document


-

  << filename1.sst
-  << filename2.ssi
+
<< filename1.sst
+<< filename2.ssi
 


The form described above should be relied on. Within the Vim editor it results @@ -2202,10 +2275,10 @@ in the text thus linked becoming hyperlinked to the document it is calling in which is convenient for editing. Alternative markup for importation of documents under consideration, and occasionally supported have been.


-

  << filename.ssi
-  <<{filename.ssi}
-  % using textlink alternatives
-  << |filename.ssi|@|^|
+
<< filename.ssi
+<<{filename.ssi}
+% using textlink alternatives
+<< |filename.ssi|@|^|
 

11. Markup Syntax History

@@ -2232,22 +2305,22 @@ depreciated 0.16 supported, though file names were changed at 0.37 SiSU 2.0 (2010-03-06:09/6) same as 1.0, apart from the changing of headers and the addition of a monospace tag related headers now grouped, e.g.


-

  @title:
-   :subtitle:
-  @creator:
-   :author:
-   :translator:
-   :illustrator:
-  @rights:
-   :text:
-   :illustrations:
+
@title:
+ :subtitle:
+@creator:
+ :author:
+ :translator:
+ :illustrator:
+@rights:
+ :text:
+ :illustrations:
 


see document markup samples, and sisu --help headers


the monospace tag takes the form of a hash ’#’


-

  #{ this enclosed text would be monospaced }#
+
#{ this enclosed text would be monospaced }#
 


1.0 (2009-12-19:50/6) same as 0.69 @@ -2256,34 +2329,33 @@ the monospace tag takes the form of a hash ’#’

of book index tags


-

  /^={.+?}$/
+
/^={.+?}$/
 


e.g. appended to a paragraph, on a new-line (without a blank line in between) logical structure produced assuming this is the first text "object"


-

   ={GNU/Linux community distribution:Debian+2|Fedora|Gentoo;Free Software
-Foundation+5}
+
={GNU/Linux community distribution:Debian+2|Fedora|Gentoo;Free Software Foundation+5}
 


-

  Free Software Foundation, 1-6
-  GNU/Linux community distribution, 1
-      Debian, 1-3
-      Fedora, 1
-      Gentoo,
+
Free Software Foundation, 1-6
+GNU/Linux community distribution, 1
+    Debian, 1-3
+    Fedora, 1
+    Gentoo,
 


0.66 (2008-02-24:07/7) same as previous, adds semantic tags, [experimental  and not-used]


-

  /[:;]{.+?}[:;][a-z+]/
+
/[:;]{.+?}[:;][a-z+]/
 


0.57 (2007w34/4) SiSU 0.57 is the same as 0.42 with the introduction of some a shortcut to use the headers @title and @creator in the first heading [expanded  using  the  and  @author:]


-

  :A~ @title by @author
+
:A~ @title by @author
 


0.52 (2007w14/6) declared document type identifier at start of text/document: @@ -2311,8 +2383,8 @@ types, Introduces some variations on endnotes, in particular the use of the asterisk


-

  ~{* for example for describing an author }~ and ~{** for describing a
-second author }~
+
~{* for example for describing an author }~ and ~{** for describing a second
+author }~
 


* for example for describing an author @@ -2322,7 +2394,7 @@ second author }~

and


-

  ~[*  my  note  ]~ or ~[+  another  note  ]~
+
~[*  my  note  ]~ or ~[+  another  note  ]~
 


@@ -2338,12 +2410,12 @@ second author }~ SiSU 0.38 introduced alternative experimental header and heading/structure markers,


-

  @headername: and headers :A~ :B~ :C~ 1~ 2~ 3~
+
@headername: and headers :A~ :B~ :C~ 1~ 2~ 3~
 


as the equivalent of:


-

  0~headername and headers 1~ 2~ 3~ 4~ 5~ 6~
+
0~headername and headers 1~ 2~ 3~ 4~ 5~ 6~
 


@@ -2374,9 +2446,9 @@ text follows levels 1,2,3 and it is ’nice’ to do most work in those


this is captured by the following file ’rename’ instruction:


-

  rename ’s/\.s[123]$/\.sst/’ *.s{1,2,3}
-  rename ’s/\.r[123]$/\.ssm/’ *.r{1,2,3}
-  rename ’s/\.si$/\.ssi/’ *.si
+
rename ’s/\.s[123]$/\.sst/’ *.s{1,2,3}
+rename ’s/\.r[123]$/\.ssm/’ *.r{1,2,3}
+rename ’s/\.si$/\.ssi/’ *.si
 


The internal document markup remains unchanged, from SiSU 0.16 @@ -2461,7 +2533,7 @@ requiring any other documents; the .ssm marker flags that the document may contain other documents.


Note: a secondary file of the composite document is built prior to processing -with the same prefix and the suffix ._sst [^17] +with the same prefix and the suffix ._sst [^18]


<http://www.sisudoc.org/sisu/sisu_markup > @@ -2705,7 +2777,7 @@ in the program. Documents take on a document skin, if the header of the document specifies a skin to be used.


-

  @skin: skin_united_nations
+
@skin: skin_united_nations
 

15.2 Directory Skin

@@ -2774,9 +2846,10 @@ XHTML: xhtml.css


Under consideration is to permit the placement of a CSS file with a different name in directory _sisu/css directory or equivalent, and change the default -CSS file that is looked for in a skin.[^18] +CSS file that is looked for in a skin.[^19]

-

17. Organising Content - Directory Structure and Mapping

+

17. Organising Content - Directory +Structure and Mapping



@@ -2791,27 +2864,20 @@ The document source directory is the directory in which sisu processing commands are given. It contains the sisu source files (.sst .ssm .ssi), or (for sisu v3 may contain) subdirectories with language codes which contain the sisu source files, so all English files would go in subdirectory en/, -French in fr/, Spanish in es/ and so on. ISO ... codes are usedr. A list of -available languages (and possible sub-directory names) can be obtained with -the command "sisu --help lang" The list of languages is limited to langagues -supported by XeTeX polyglosia. +French in fr/, Spanish in es/ and so on. ISO 639-1 codes are used (as varied +by po4a). A list of available languages (and possible sub-directory names) +can be obtained with the command "sisu --help lang" The list of languages +is limited to langagues supported by XeTeX polyglosia.

17.1.1 General Directories

-


-

  ./subject_name/
-  % files stored at this level e.g. sisu_manual.sst or
-  % for sisu v3 may be under language sub-directories
-  % e.g.
-  ./subject_name/en
-  ./subject_name/fr
-  ./subject_name/es
-  ./subject_name/_sisu
-  % configuration file e.g. sisurc.yml
-  ./subject_name/_sisu/skin
-  % skins in various skin directories doc, dir, site, yml
-  ./subject_name/_sisu/css
-  ./subject_name/_sisu/image
+

+
+

% files stored at this level e.g. sisu_manual.sst or
+% for sisu v3 may be under language sub-directories
+% e.g.
+% configuration file e.g. sisurc.yml
+% skins in various skin directories doc, dir, site, yml
 

17.2 Document Output Directory Structures

@@ -2850,11 +2916,11 @@ appropriate different appearance. There are 3 possibile output structures described as being, by language, by filetype or by filename, the selection is made in sisurc.yml


-

  #% output_dir_structure_by: language; filetype; or filename
-  output_dir_structure_by: language   #(language & filetype, preferred?)
-  #output_dir_structure_by: filetype
-  #output_dir_structure_by: filename  #(default, closest to original v1
-& v2)
+
#% output_dir_structure_by: language; filetype; or filename
+output_dir_structure_by: language   #(language & filetype, preferred?)
+#output_dir_structure_by: filetype
+#output_dir_structure_by: filename  #(default, closest to original v1 &
+v2)
 

17.2.3 by Language

@@ -2981,35 +3047,34 @@ output_dir_structure_by: filename


-

  ./subject_name/
-  % containing sub_directories named after the generated files from which
+
./subject_name/
+% containing sub_directories named after the generated files from which
 they are made
-  ./subject_name/src
-  % contains shared source files text and binary e.g. sisu_manual.sst and
-sisu_manual.sst.zip
-  ./subject_name/_sisu
-  % configuration file e.g. sisurc.yml
-  ./subject_name/_sisu/skin
-  % skins in various skin directories doc, dir, site, yml
-  ./subject_name/_sisu/css
-  ./subject_name/_sisu/image
-  % images for documents contained in this directory
-  ./subject_name/_sisu/mm
+ ./subject_name/src
+% contains shared source files text and binary e.g. sisu_manual.sst and sisu_manual.sst.zip
+ ./subject_name/_sisu
+% configuration file e.g. sisurc.yml
+ ./subject_name/_sisu/skin
+% skins in various skin directories doc, dir, site, yml
+ ./subject_name/_sisu/css
+ ./subject_name/_sisu/image
+% images for documents contained in this directory
+ ./subject_name/_sisu/mm
 

17.2.7 Sisupod


-

  ./sisupod/
-  % files stored at this level e.g. sisu_manual.sst
-  ./sisupod/_sisu
-  % configuration file e.g. sisurc.yml
-  ./sisupod/_sisu/skin
-  % skins in various skin directories doc, dir, site, yml
-  ./sisupod/_sisu/css
-  ./sisupod/_sisu/image
-  % images for documents contained in this directory
-  ./sisupod/_sisu/mm
+
./sisupod/
+% files stored at this level e.g. sisu_manual.sst
+ ./sisupod/_sisu
+% configuration file e.g. sisurc.yml
+ ./sisupod/_sisu/skin
+% skins in various skin directories doc, dir, site, yml
+ ./sisupod/_sisu/css
+ ./sisupod/_sisu/image
+% images for documents contained in this directory
+ ./sisupod/_sisu/mm
 

17.3 Organising Content

@@ -3063,19 +3128,19 @@ have the homepage modified in skin_commercial law.rb; or the directory poems

in skin_poems.rb


-

    class Home
-      def homepage
-        # place the html content of your homepage here, this will become
+
  class Home
+    def homepage
+      # place the html content of your homepage here, this will become
 index.html
-        <<HOME <html>
-  <head></head>
-  <doc>
-  <p>this is my new homepage.</p>
-  </doc>
-  </html>
-  HOME
-      end
+      <<HOME <html>
+<head></head>
+<doc>
+<p>this is my new homepage.</p>
+</doc>
+</html>
+HOME
     end
+  end
 

19. Markup and Output Examples

@@ -3120,8 +3185,8 @@ the database directly or in various output formats.

21.1 Populating Sql Type Databases


-SiSU feeds sisu markupd documents into sql type databases PostgreSQL[^19] -and/or SQLite[^20] database together with information related to document +SiSU feeds sisu markupd documents into sql type databases PostgreSQL[^20] +and/or SQLite[^21] database together with information related to document structure.


This is one of the more interesting output forms, as all the structural @@ -3381,9 +3446,9 @@ INCLUDING OBJECT CITATION NUMBERING (BACKEND CURRENTLY POSTGRESQL)


Sample search frontend <http://search.sisudoc.org -> [^21] A small database and +> [^22] A small database and sample query front-end (search from) that makes use of the citation system, -object citation numbering to demonstrates functionality.[^22] +object citation numbering to demonstrates functionality.[^23]


SiSU can provide information on which documents are matched and at what locations within each document the matches are found. These results are @@ -3395,7 +3460,7 @@ the matched objects (paragraphs) in the documents matched. Note you may set results either for documents matched and object number locations within each matched document meeting the search criteria; or display the names of the documents matched along with the objects (paragraphs) -that meet the search criteria.[^23] +that meet the search criteria.[^24]

@@ -3410,14 +3475,14 @@ command: sisu --help sql


-

  Postgresql
-    user:             ralph
-    current db set:   SiSU_sisu
-    port:             5432
-    dbi connect:      DBI:Pg:database=SiSU_sisu;port=5432
-  sqlite
-    current db set:   /home/ralph/sisu_www/sisu/sisu_sqlite.db
-    dbi connect       DBI:SQLite:/home/ralph/sisu_www/sisu/sisu_sqlite.db
+
Postgresql
+  user:             ralph
+  current db set:   SiSU_sisu
+  port:             5432
+  dbi connect:      DBI:Pg:database=SiSU_sisu;port=5432
+sqlite
+  current db set:   /home/ralph/sisu_www/sisu/sisu_sqlite.db
+  dbi connect       DBI:SQLite:/home/ralph/sisu_www/sisu/sisu_sqlite.db
 


@@ -3562,7 +3627,7 @@ up files in plaintext .sst or .ssm or; zipped sisu files, sisupod.zip or filenam the processing instruction and the url. The source file and any associated parts (such as images) will be downloaded and generated locally.


-

  sisu -3 http://[provide  url  to  valid  .sst  or  .ssm  file]
+
sisu -3 http://[provide  url  to  valid  .sst  or  .ssm  file]
 


Any of the source documents in the sisu examples page can be used in this @@ -3585,7 +3650,7 @@ other associated parts to the document such as images. the processing instruction and the url, the sisupod will be downloaded and the documents it contains generated locally.


-

  sisu -3 http://[provide  url  to  valid  sisupod.zip  or  .ssp  file]
+
sisu -3 http://[provide  url  to  valid  sisupod.zip  or  .ssp  file]
 


Any of the source documents in the sisu examples page can be used in this @@ -3609,7 +3674,7 @@ tool will need to be configured. Once that is done the placement on a remote host can be done seamlessly with the -r (for scp) or -R (for rsync) flag, which may be used in conjunction with other processing flags, e.g.


-

  sisu -3R sisu_remote.sst
+
sisu -3R sisu_remote.sst
 

27.1 Commands

@@ -3668,8 +3733,8 @@ for what it does. possibly Ubuntu), assuming your /etc/apt/sources.list is set accordingly:


-

    aptitude update
-    aptitude install sisu-complete
+
  aptitude update
+  aptitude install sisu-complete
 


The following /etc/apt/sources.list setting permits the download of additional @@ -3695,16 +3760,16 @@ If there are newer versions of SiSU upstream of the Debian archive

will be available by adding the following to your /etc/apt/sources.list


-

  #/etc/apt/sources.list
-    deb http://www.jus.uio.no/sisu/archive unstable main non-free
-    deb-src http://www.jus.uio.no/sisu/archive unstable main non-free
+
#/etc/apt/sources.list
+  deb http://www.jus.uio.no/sisu/archive unstable main non-free
+  deb-src http://www.jus.uio.no/sisu/archive unstable main non-free
 


repeat the aptitude commands


-

    aptitude update
-    aptitude install sisu-complete sisu-markup-samples
+
  aptitude update
+  aptitude install sisu-complete sisu-markup-samples
 


Note however that it is not necessary to install sisu-complete if not all @@ -3751,7 +3816,7 @@ it is written Ruby, and SiSU will be able to generate html, EPUB, XMLs, including ODF (and will also produce LaTeX). Dependencies required for further actions, though it relies on the installation of additional dependencies which the source tarball does not take care of, for things -like using a database (postgresql or sqlite)[^24] or converting LaTeX to +like using a database (postgresql or sqlite)[^25] or converting LaTeX to pdf.


@@ -3760,10 +3825,10 @@ pdf. This is a standard ruby installer, using setup.rb is a three step process. In the root directory of the unpacked SiSU as root type:


-

      ruby setup.rb config
-      ruby setup.rb setup
-      #[and  as  root:]
-      ruby setup.rb install
+
    ruby setup.rb config
+    ruby setup.rb setup
+    #[and  as  root:]
+    ruby setup.rb install
 


further information on setup.rb is available from: @@ -3918,13 +3983,13 @@ The man pages are also available online, though not always kept as up to date as within the package itself:


* sisu.1 <http://www.jus.uio.no/sisu/man/sisu.1.html -> [^25] +> [^26]


* sisu.8 <http://www.jus.uio.no/sisu/man/sisu.8.html -> [^26] +> [^27]


* man directory <http://www.jus.uio.no/sisu/man -> [^27] +> [^28]

29.3.2 Built in Help

@@ -3965,7 +4030,7 @@ Additional markup samples are packaged separately in the file:


***


-On Debian they are available in non-free[^28] to include them it is necessary +On Debian they are available in non-free[^29] to include them it is necessary to include non-free in your /etc/apt/source.list or obtain them from the sisu home site.

@@ -4218,7 +4283,8 @@ as


* sql - population of an sql database, (at the same object level that -is used to cite text within a document)
+is
+ used to cite text within a document)


Also produces: concordance files; document content certificates (md5 or @@ -4374,7 +4440,7 @@ to form a document.


Note SiSU documentation is prepared in SiSU and output is available in multiple formats including amongst others html, pdf, odf and epub, which -may be also be accessed via the html pages[^29] +may be also be accessed via the html pages[^30]

33.2.1 Www.sisudoc.org

@@ -4578,11 +4644,11 @@ within each your matches are found. .
  • <http://www.jus.uio.no/sisu/man >


    -28. the Debian Free Software guidelines require that everything distributed +29. the Debian Free Software guidelines require that everything distributed within Debian can be changed - and the documents are authors’ works that while freely distributable are not freely changeable.


    -29. named index.html or more extensively through sisu_manifest.html
    +30. named index.html or more extensively through sisu_manifest.html

  • -- cgit v1.2.3