From fcad39c09b62e340ce667a851e25c998fe40c53e Mon Sep 17 00:00:00 2001 From: Ralph Amissah Date: Wed, 17 Mar 2010 13:52:27 -0400 Subject: documentation minor update, add epub, modify some dir paths --- CHANGELOG_v1 | 2 +- CHANGELOG_v2 | 16 + data/doc/sisu/v1/CHANGELOG | 2 +- data/doc/sisu/v2/CHANGELOG | 16 + data/doc/sisu/v2/html/sisu.1.html | 811 ++++++++++----------- .../v2/sisu_markup_samples/sisu_manual/sisu.ssm | 4 +- .../sisu_manual/sisu_commands.sst | 14 +- .../sisu_manual/sisu_description.sst | 34 +- .../sisu_manual/sisu_help_sources.sst | 18 +- .../sisu_markup_samples/sisu_manual/sisu_howto.sst | 43 +- .../sisu_manual/sisu_introduction.sst | 12 +- .../sisu_manual/sisu_markup.sst | 2 +- .../sisu_manual/sisu_output_overview.sst | 33 +- .../sisu_manual/sisu_quickstart.sst | 4 +- .../sisu_manual/sisu_search_cgi.ssi | 2 +- .../sisu_manual/sisu_short_feature_summary.ssi | 10 +- .../sisu_markup_samples/sisu_manual/sisu_skin.sst | 4 +- .../sisu_manual/sisu_synopsis.ssi | 64 ++ lib/sisu/v2/defaults.rb | 70 +- lib/sisu/v2/help.rb | 13 +- man/man1/sisu.1 | 337 +++++---- 21 files changed, 831 insertions(+), 680 deletions(-) create mode 100644 data/doc/sisu/v2/sisu_markup_samples/sisu_manual/sisu_synopsis.ssi diff --git a/CHANGELOG_v1 b/CHANGELOG_v1 index e0e51800..f53c5095 100644 --- a/CHANGELOG_v1 +++ b/CHANGELOG_v1 @@ -12,7 +12,7 @@ Reverse Chronological: %% STABLE MANIFEST -%% 2.0.0.orig.tar.gz (2009-07-04:26/6) +%% 2.0.0.orig.tar.gz (2010-03-06:09/6) http://www.jus.uio.no/sisu/pkg/src/sisu_2.0.0.orig.tar.gz sisu_2.0.0.orig.tar.gz sisu_2.0.0-1.dsc diff --git a/CHANGELOG_v2 b/CHANGELOG_v2 index d5708b57..b49cd17a 100644 --- a/CHANGELOG_v2 +++ b/CHANGELOG_v2 @@ -12,6 +12,22 @@ Reverse Chronological: %% Development branch UNSTABLE +%% 2.0.1.orig.tar.gz (2010-03-17:11/3) +http://www.jus.uio.no/sisu/pkg/src/sisu_2.0.1.orig.tar.gz + sisu_2.0.1.orig.tar.gz + sisu_2.0.1-1.dsc + sisu_2.0.1-1.diff.gz + + * bug fixes + * html, tables fix + * sysenv, html_promo, db name prefix from constants (now SiSUv2_) + * texpdf_format, where image missing, escape image markup loop + * epub, html: make robust where missing param values + + * vim syntax minor update in v2 + + * docs, add epub, more to be done + %% 2.0.0.orig.tar.gz (2010-03-06:09/6) http://www.jus.uio.no/sisu/pkg/src/sisu_2.0.0.orig.tar.gz 4fc214d40542e0d2ba7447e9ff06de3612d857d9015e8233877f9b4f93a9875f 2733550 sisu_2.0.0.orig.tar.gz diff --git a/data/doc/sisu/v1/CHANGELOG b/data/doc/sisu/v1/CHANGELOG index e0e51800..f53c5095 100644 --- a/data/doc/sisu/v1/CHANGELOG +++ b/data/doc/sisu/v1/CHANGELOG @@ -12,7 +12,7 @@ Reverse Chronological: %% STABLE MANIFEST -%% 2.0.0.orig.tar.gz (2009-07-04:26/6) +%% 2.0.0.orig.tar.gz (2010-03-06:09/6) http://www.jus.uio.no/sisu/pkg/src/sisu_2.0.0.orig.tar.gz sisu_2.0.0.orig.tar.gz sisu_2.0.0-1.dsc diff --git a/data/doc/sisu/v2/CHANGELOG b/data/doc/sisu/v2/CHANGELOG index d5708b57..b49cd17a 100644 --- a/data/doc/sisu/v2/CHANGELOG +++ b/data/doc/sisu/v2/CHANGELOG @@ -12,6 +12,22 @@ Reverse Chronological: %% Development branch UNSTABLE +%% 2.0.1.orig.tar.gz (2010-03-17:11/3) +http://www.jus.uio.no/sisu/pkg/src/sisu_2.0.1.orig.tar.gz + sisu_2.0.1.orig.tar.gz + sisu_2.0.1-1.dsc + sisu_2.0.1-1.diff.gz + + * bug fixes + * html, tables fix + * sysenv, html_promo, db name prefix from constants (now SiSUv2_) + * texpdf_format, where image missing, escape image markup loop + * epub, html: make robust where missing param values + + * vim syntax minor update in v2 + + * docs, add epub, more to be done + %% 2.0.0.orig.tar.gz (2010-03-06:09/6) http://www.jus.uio.no/sisu/pkg/src/sisu_2.0.0.orig.tar.gz 4fc214d40542e0d2ba7447e9ff06de3612d857d9015e8233877f9b4f93a9875f 2733550 sisu_2.0.0.orig.tar.gz diff --git a/data/doc/sisu/v2/html/sisu.1.html b/data/doc/sisu/v2/html/sisu.1.html index d0af5d5b..9a56e017 100644 --- a/data/doc/sisu/v2/html/sisu.1.html +++ b/data/doc/sisu/v2/html/sisu.1.html @@ -13,137 +13,134 @@ sisu - documents: markup, structuring, publishing in multiple standard formats, and search

Synopsis

sisu [-abcDdFehIiMmNnopqRrSsTtUuVvwXxYyZz0-9] -[filename/wildcard ] sisu [-Ddcv] [instruction] sisu [-CcFLSVvW] sisu ---v2 [operations] sisu --v1 [operations] SISU - MANUAL, RALPH AMISSAH -

WHAT -IS SISU? +[filename/wildcard] +

sisu [-Ddcv] [instruction] [filename/wildcard] +

sisu +[-CcFLSVvW] +

sisu --v2 [operations] +

sisu --v1 [operations] SISU - MANUAL, +RALPH AMISSAH +

WHAT IS SISU?

1. INTRODUCTION - WHAT IS SISU? -

SiSU is a framework for document -structuring, publishing (in multiple open standard formats) and search, -comprising of: (a) a lightweight document structure and presentation markup -syntax; and (b) an accompanying engine for generating standard document -format outputs from documents prepared in sisu markup syntax, which is -able to produce multiple standard outputs (including the population of -sql databases) that (can) share a common numbering system for the citation -of text within a document. -

SiSU is developed under an open source, software -libre license (GPL3). Its use case for development is to cope with medium -to large document sets with evolving markup related technologies, which -should be prepared once, and for which you want multiple output formats -that can be updated and a common mechanism for cross-output-format citation, -and search. -

SiSU both defines a markup syntax and provides an engine that -produces open standards format outputs from documents prepared with SiSU -markup. From a single lightly prepared document sisu custom builds several -standard output formats which share a common (text object) numbering system -for citation of content within a document (that also has implications for -search). The sisu engine works with an abstraction of the document’s structure -and content from which it is possible to generate different forms of representation -of the document. Significantly SiSU markup is more sparse than html and -outputs which include html, LaTeX, landscape and portrait pdfs, Open Document -Format (ODF), all of which can be added to and updated. SiSU is also able -to populate SQL type databases at an object level, which means that searches -can be made with that degree of granularity. -

Source document preparation -and output generation is a two step process: (i) document source is prepared, +

SiSU is +a framework for document structuring, publishing (in multiple open standard +formats) and search, comprising of: (a) a lightweight document structure +and presentation markup syntax; and (b) an accompanying engine for generating +standard document format outputs from documents prepared in sisu markup +syntax, which is able to produce multiple standard outputs (including the +population of sql databases) that (can) share a common numbering system +for the citation of text within a document. +

SiSU is developed under an +open source, software libre license (GPL3). Its use case for development +is work with medium to large document sets and cope with evolving document +formats/ representation technologies. Documents are prepared once, and generated +as need be to update the technical presentation or add additional output +formats. Various output formats (including search related output) share +a common mechanism for cross-output-format citation. +

SiSU both defines a +markup syntax and provides an engine that produces open standards format +outputs from documents prepared with SiSU markup. From a single lightly +prepared document sisu custom builds several standard output formats which +share a common (text object) numbering system for citation of content within +a document (that also has implications for search). The sisu engine works +with an abstraction of the document’s structure and content from which it +is possible to generate different forms of representation of the document. +Significantly SiSU markup is more sparse than html and outputs which include +html, EPUB, LaTeX, landscape and portrait pdfs, Open Document Format (ODF), +all of which can be added to and updated. SiSU is also able to populate +SQL type databases at an object level, which means that searches can be +made with that degree of granularity. +

Source document preparation and +output generation is a two step process: (i) document source is prepared, that is, marked up in sisu markup syntax and (ii) the desired output subsequently generated by running the sisu engine against document source. Output representations if updated (in the sisu engine) can be generated by re-running the engine against the prepared source. Using SiSU markup applied to a document, SiSU custom builds (to take advantage of the strengths of different ways of representing documents) various standard open output formats including -plain text, HTML, XHTML, XML, OpenDocument, LaTeX or PDF files, and populate -an SQL database with objects[^1] (equating generally to paragraph-sized chunks) -so searches may be performed and matches returned with that degree of granularity -( e.g. your search criteria is met by these documents and at these locations -within each document). Document output formats share a common object numbering -system for locating content. This is particularly suitable for works (finalized -texts as opposed to works that are frequently changed or updated) for which -it provides a fixed means of reference of content. -

In preparing a SiSU -document you optionally provide semantic information related to the document -in a document header, and in marking up the substantive text provide information -on the structure of the document, primarily indicating heading levels and -footnotes. You also provide information on basic text attributes where used. -The rest is automatic, sisu from this information custom builds[^2] the -different forms of output requested. -

SiSU works with an abstraction of -the document based on its structure which is comprised of its structure -(or frame)[^3] and the objects[^4] it contains, which enables SiSU to represent -the document in many different ways, and to take advantage of the strengths -of different ways of presenting documents. The objects are numbered, and -these numbers can be used to provide a common base for citing material -within a document across the different output format types. This is significant -as page numbers are not well suited to the digital age, in web publishing, -changing a browser’s default font or using a different browser means that -text appears on different pages; and in publishing in different formats, -html, landscape and portrait pdf etc. again page numbers are of no use to -cite text in a manner that is relevant against the different output types. -Dealing with documents at an object level together with object numbering -also has implications for search. -

One of the challenges of maintaining -documents is to keep them in a format that would allow users to use them -without depending on a proprietary software popular at the time. Consider -the ease of dealing with legacy proprietary formats today and what guarantee -you have that old proprietary formats will remain (or can be read without -proprietary software/equipment) in 15 years time, or the way the way in -which html has evolved over its relatively short span of existence. SiSU -provides the flexibility of outputing documents in multiple non-proprietary -open formats including html, pdf[^5] and the ISO standard ODF.[^6] Whilst -SiSU relies on software, the markup is uncomplicated and minimalistic which -guarantees that future engines can be written to run against it. It is also -easily converted to other formats, which means documents prepared in SiSU -can be migrated to other document formats. Further security is provided -by the fact that the software itself, SiSU is available under GPL3 a licence -that guarantees that the source code will always be open, and free as in -libre which means that that code base can be used, updated and further -developed as required under the terms of its license. Another challenge -is to keep up with a moving target. SiSU permits new forms of output to -be added as they become important, (Open Document Format text was added -in 2006 when it became an ISO standard for office applications and the -archival of documents), and existing output to be updated (html has evolved -and the related module has been updated repeatedly over the years, presumably -when the World Wide Web Consortium (w3c) finalises html 5 which is currently -under development, the html module will again be updated allowing all existing -documents to be regenerated as html 5). -

The document formats are written -to the file-system and available for indexing by independent indexing tools, -whether off the web like Google and Yahoo or on the site like Lucene and -Hyperestraier. -

SiSU also provides other features such as concordance files -and document content certificates, and the working against an abstraction -of document structure has further possibilities for the research and development -of other document representations, the availability of objects is useful -for example for topic maps and thesauri, together with the flexibility -of SiSU offers great possibilities. -

SiSU is primarily for published works, -which can take advantage of the citation system to reliably reference its -documents. SiSU works well in a complementary manner with such collaborative -technologies as Wikis, which can take advantage of and be used to discuss -the substance of content prepared in SiSU -

<http://www.jus.uio.no/sisu +plain text, HTML, XHTML, XML, EPUB, OpenDocument, LaTeX or PDF files, and +populate an SQL database with objects[^1] (equating generally to paragraph-sized +chunks) so searches may be performed and matches returned with that degree +of granularity ( e.g. your search criteria is met by these documents and +at these locations within each document). Document output formats share +a common object numbering system for locating content. This 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. +

In preparing a SiSU document you optionally provide +semantic information related to the document in a document header, and +in marking up the substantive text provide information on the structure +of the document, primarily indicating heading levels and footnotes. You +also provide information on basic text attributes where used. The rest is +automatic, sisu from this information custom builds[^2] the different forms +of output requested. +

SiSU works with an abstraction of the document based +on its structure which is comprised of its headings[^3] and objects[^4], +which enables SiSU to represent the document in many different ways, and +to take advantage of the strengths of different ways of presenting documents. +The objects are numbered, and these numbers can be used to provide a common +basis for citing material within a document across the different output +format types. This is significant as page numbers are not well suited to +the digital age, in web publishing, changing a browser’s default font or +using a different browser can mean that text will appear on a different +page; and publishing in different formats, html, landscape and portrait +pdf etc. again page numbers are not useful to cite text. Dealing with documents +at an object level together with object numbering also has implications +for search that SiSU is able to take advantage of. +

One of the challenges +of maintaining documents is to keep them in a format that allows use of +them independently of proprietary platforms. Consider issues related to +dealing with legacy proprietary formats today and what guarantee you have +that old proprietary formats will remain (or can be read without proprietary +software/equipment) in 15 years time, or the way the way in which html +has evolved over its relatively short span of existence. SiSU provides the +flexibility of producing documents in multiple non-proprietary open formats +including html, pdf[^5] ODF,[^6] and EPUB.[^7] Whilst SiSU relies on software, +the markup is uncomplicated and minimalistic which guarantees that future +engines can be written to run against it. It is also easily converted to +other formats, which means documents prepared in SiSU can be migrated to +other document formats. Further security is provided by the fact that the +software itself, SiSU is available under GPL3 a licence that guarantees +that the source code will always be open, and free as in libre, which means +that that code base can be used, updated and further developed as required +under the terms of its license. Another challenge is to keep up with a moving +target. SiSU permits new forms of output to be added as they become important, +(Open Document Format text was added in 2006 when it became an ISO standard +for office applications and the archival of documents), EPUB was introduced +in 2009; and allows the technical representations existing output to be +updated (html has evolved and the related module has been updated repeatedly +over the years, presumably when the World Wide Web Consortium (w3c) finalises +html 5 which is currently under development, the html module will again +be updated allowing all existing documents to be regenerated as html 5). + +

The document formats are written to the file-system and available for +indexing by independent indexing tools, whether off the web like Google +and Yahoo or on the site like Lucene and Hyperestraier. +

SiSU also provides +other features such as concordance files and document content certificates, +and the working against an abstraction of document structure has further +possibilities for the research and development of other document representations, +the availability of objects is useful for example for topic maps and thesauri, +together with the flexibility of SiSU offers great possibilities. +

SiSU +is primarily for published works, which can take advantage of the citation +system to reliably reference its documents. SiSU works well in a complementary +manner with such collaborative technologies as Wikis, which can take advantage +of and be used to discuss the substance of content prepared in SiSU +

+<http://www.jus.uio.no/sisu > -

2. -COMMANDS SUMMARY -

2.1 SYNOPSIS -

SiSU - Structured information, Serialized -Units - a document publishing system -

sisu [  -abcDdeFhIiMmNnopqRrSsTtUuVvwXxYyZz0-9 - ] [  filename/  wildcard  ] -

sisu [  -Ddcv  ] [  instruction  ] -

sisu [  -CcFLSVvW - ] -

Note: commands should be issued from within the directory that contains -the marked up files, cd to markup directory. -

2.2 DESCRIPTION +

2. COMMANDS SUMMARY +

2.1 DESCRIPTION

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 ( structure information. For more see: <http://www.jus.uio.no/sisu +produces multiple of output formats including: plaintext, html, xhtml, +XML, epub, odt (odf text), LaTeX, pdf, info, and SQL (PostgreSQL and SQLite), +which share numbered text objects ("object citation numbering") and the +same document structure information. For more see: <http://www.jus.uio.no/sisu > -

2.3 DOCUMENT PROCESSING COMMAND FLAGS +

2.2 DOCUMENT PROCESSING COMMAND FLAGS

@@ -283,19 +280,19 @@ file format (opendocument.odt).
produces LaTeX pdf (portrait.pdf & landscape.pdf). Default paper size is set in config file, or document header, or provided with additional command line parameter, e.g. ---papersize-a4 preset sizes include: ’A4’, U.S. ’letter’ and ’legal’ and book sizes -’A5’ and ’B5’ (system defaults to A4). +--papersize-a4 preset sizes include: ’A4’, U.S. ’letter’ and

-
-q [filename/wildcard]
-
quiet less output -to screen. +
-q [filename/wildcard] +
+
quiet less output to screen.

-R [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 different if -R is used +
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 -r @@ -305,16 +302,15 @@ with other flags, it is not). Also see -r
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 +your "keys" and ssh agent in place. Also see -R

-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
+
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).

@@ -392,7 +388,7 @@ created for each of the processing flag requests. See also -V 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 and search -H;  also,  note  -F  webrick  ]. + using  the  -h  option  rather  than and search -H  ;  also,  note  -F  webrick  ].

-w @@ -515,42 +511,43 @@ data to postgresql db (rb.dbi) [  -d  --remove  sqlite  equi
-D --dropall
-
kills data --dropall  sqlite  equivalent] -

The v in e.g. -Dv is for verbose output. - +

kills data" and drops (postgresql or sqlite) db, tables & indexes [  -d --dropall + sqlite  equivalent] +

The v in e.g. -Dv is for verbose output.

-5. SHORTCUTS, SHORTHAND FOR MULTIPLE FLAGS +5. SHORTCUTS, +SHORTHAND FOR MULTIPLE FLAGS

-
--update [filename/wildcard] -
-
Checks existing file output and runs the flags required to update this -output. This means that if only html and pdf output was requested on previous -runs, only the -hp files will be applied, and only these will be generated -this time, together with the summary. This can be very convenient, if you -offer different outputs of different files, and just want to do the same -again. +
--update [filename/wildcard]
+
Checks existing +file output and runs the flags required to update this output. This means +that if only html and pdf output was requested on previous runs, only the +-hp files will be applied, and only these will be generated this time, together +with the summary. This can be very convenient, if you offer different outputs +of different files, and just want to do the same again.

-
-0 to -5 [filename  or  wildcard]
-
Default shorthand mappings (note that -the defaults can be changed/configured in the sisurc.yml file): +
-0 to -5 [filename + or  wildcard]
+
Default shorthand mappings (note that the defaults can be +changed/configured in the sisurc.yml file):

-0
-
-mNhwpAobxXyYv -[this  is  the  default  action  run  when  no  i.e.  on  ’sisu  [filename]’] +
-mNhwpAobxXyYv [this  is  the + default  action  run  when  no  i.e.  on  ’sisu  [filename]’]

-1
-
-mhewpy - +
-mhewpy

-2
-
-mhewpaoy +
-mhewpaoy +

-3
@@ -562,27 +559,26 @@ the defaults can be changed/configured in the sisurc.yml file):

-5
-
-mhewpAobxXDyY --update - -

add -v for verbose mode and -c for color, e.g. sisu -2vc [filename  or -

consider +

-mhewpAobxXDyY --update +

add -v +for verbose mode and -c for color, e.g. sisu -2vc [filename  or +

consider -u -

- -

u for appended url info or -v for verbose output +

for appended url info or -v for verbose output

5.1 COMMAND LINE WITH FLAGS - BATCH PROCESSING

In the data directory run sisu -mh filename or wildcard -eg. cisg.sst documents. -

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. +eg. "sisu -h cisg.sst" or "sisu -h *.{sst,ssm}" to produce html version of all +documents. +

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.

6. HELP

6.1 SISU MANUAL -

The most -up to date information on sisu should be contained in the sisu_manual, -available at: +

The most up to date information +on sisu should be contained in the sisu_manual, available at:

<http://sisudoc.org/sisu/sisu_manual/ >
@@ -620,10 +616,10 @@ within the SiSU tarball at:

An online version of the sisu man page is available here:

* various sisu man pages <http://www.jus.uio.no/sisu/man/ -> [^7] +> [^8]

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

6.3 SISU BUILT-IN INTERACTIVE HELP

This is particularly useful for getting the current sisu setup/environment information: @@ -661,10 +657,10 @@ see:

<http://sisudoc.org/sisu/sisu_help_sources/index.html >
-

7. INTRODUCTION TO SISU MARKUP[^9] +

7. INTRODUCTION TO SISU MARKUP[^10]

7.1 SUMMARY

SiSU source documents -are plaintext (UTF-8)[^10] files +are plaintext (UTF-8)[^11] files

All paragraphs are separated by an empty line.

Markup is comprised of: @@ -741,8 +737,8 @@ followed by a space and the comment:

  % this would be a comment
 

8.1 SAMPLE HEADER -

This current document has a header similar to this -one (without the comments): +

This current document is loaded by a master document +that has a header similar to this one:


  % SiSU master 2.0
@@ -784,7 +780,7 @@ one (without the comments):
     { SiSU Changelog }http://www.jus.uio.no/sisu/SiSU/changelog.html
     { SiSU help }http://www.jus.uio.no/sisu/sisu_manual/sisu_help/
     { SiSU help sources }http://www.jus.uio.no/sisu/sisu_manual/sisu_help_sources/
-
+

8.2 AVAILABLE HEADERS

Header tags appear at the beginning of a document and provide meta information on the document (such as the Dublin Core), @@ -804,21 +800,18 @@ and can be useful to know.


  % 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
-
-

+


  @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]
@@ -828,16 +821,14 @@ and can be useful to know.
    :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]
-
-

+


  @classify:
    :topic_register: SiSU:markup sample:book;book:novel:fantasy
@@ -850,13 +841,11 @@ and can be useful to know.
    :loc:  [Library  of  Congress  classification]
    :dewey:  [Dewey  classification
   :pg:  [Project  Gutenberg  text  number]
-
-

+


  @links: { SiSU }http://www.jus.uio.no/sisu/
     { FSF }http://www.fsf.org
-
-

+


  @make:
    :skin: skin_name
@@ -870,16 +859,14 @@ generated]
    :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]
-
-

+


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

9. MARKUP OF SUBSTANTIVE TEXT

9.1 HEADING LEVELS

Heading levels are @@ -991,22 +978,22 @@ html

9.4 FOOTNOTES / ENDNOTES

Footnotes and endnotes not distinguished in markup. They are automatically numbered. Depending on the output file format -(html, odf, pdf etc.), the document output selected will have either footnotes -or endnotes. +(html, EPUB, odf, pdf etc.), the document output selected will have either +footnotes or endnotes.

markup example:


  ~{ a footnote or endnote }~
 

resulting output: -

[^11] +

[^12]

markup example:


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

resulting output: -

normal text[^12] continues +

normal text[^13] continues

markup example:


@@ -1104,11 +1091,11 @@ block is used there is neither decoration nor hyperlinking, code blocks

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

resulting output: -

about SiSU <http://www.jus.uio.no/sisu/ -> [^13] markup -

+

aboutSiSU <http://www.jus.uio.no/sisu/ +> [^14] markup +

9.5.3 -

9.5.3 LINKING IMAGES +

LINKING IMAGES

markup example:


@@ -1122,7 +1109,7 @@ block is used there is neither decoration nor hyperlinking, code blocks

[ tux.png ]

tux.png 64x80

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

GnuDebianLinuxRubyBetterWay.png 100x101 and Ruby

linked url footnote @@ -1165,7 +1152,7 @@ auto-heading numbering, without further intervention.

a second form may be easier to work with in cases where there is not

much information in each column -

markup example: [^15] +

markup example: [^16]


  !_ Table 3.1: Contributors to Wikipedia, January 2001 - June 2005
@@ -1708,7 +1695,7 @@ and processing will occur normally if a .sst file is renamed .ssm without
 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 [^16] +is built prior to processing with the same prefix and the suffix ._sst [^17]

<http://www.jus.uio.no/sisu/sisu_markup > @@ -1895,90 +1882,90 @@ and symbolic links as needed from the site, or dir directories as required.

With SiSU installed sample skins may be found in:

/etc/sisu/skin/doc and
- /usr/share/doc/sisu/v1/sisu_markup_samples/dfsg/_sisu/skin/doc
+ /usr/share/doc/sisu/v2/sisu_markup_samples/samples/_sisu/skin/doc

(or equivalent directory) and if sisu-markup-samples is installed also under: -

/usr/share/doc/sisu/v1/sisu_markup_samples/non-free/_sisu/skin/doc
+

/usr/share/doc/sisu-markup-samples/v2/samples/_sisu/skin/doc

Samples of list.yml and promo.yml (which are used to create the right column list) may be found in: -

/usr/share/doc/sisu/v1/sisu_markup_samples/dfsg/_sisu/skin/yml +

/usr/share/doc/sisu/sisu_markup_samples/dfsg/_sisu/skin/yml (or equivalent
directory)

16. CSS - CASCADING STYLE SHEETS (FOR HTML, XHTML AND XML)

CSS files to modify the appearance of SiSU html, XHTML or XML may be placed in the -configuration directory: ./_sisu/css; ~/.sisu/css or; /etc/sisu/css and -these will be copied to the
- output directories with the command sisu -CC. -

The basic CSS file for html -output is html.css, placing a file of that name in directory _sisu/css or -equivalent will result in the default file of that name being overwritten. +configuration directory: ./_sisu/css ; ~/.sisu/css or; /etc/sisu/css and +these will be copied to the output directories with the command sisu -CC. +

The basic CSS file for html output is html.css, placing a file of that +name in directory _sisu/css or equivalent will result in the default file +of that name being overwritten.

HTML: html.css

XML DOM: dom.css -

XML SAX: sax.css +

XML +SAX: sax.css

XHTML: xhtml.css -

- The default homepage may use homepage.css or html.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.[^17] -

17. ORGANISING CONTENT -

17.1 DIRECTORY STRUCTURE - -

AND MAPPING -

The output directory root can be set in the sisurc.yml file. -Under the root, subdirectories are made for each directory in which a document -set resides. If you have a directory named poems or conventions, that directory -will be created under the output directory root and the output for all -documents contained in the directory of a particular name will be generated -to subdirectories beneath that directory (poem or conventions). A document -will be placed in a subdirectory of the same name as the document with -the filetype identifier stripped (.sst .ssm) -

The last part of a directory -path, representing the sub-directory in which a document set resides, is -the directory name that will be used for the output directory. This has -implications for the organisation of document collections as it could make -sense to place documents of a particular subject, or type within a directory -identifying them. This grouping as suggested could be by subject (sales_law, -english_literature); or just as conveniently by some other classification -(X University). The mapping means it is also possible to place in the same -output directory documents that are for organisational purposes kept separately, -for example documents on a given subject of two different institutions -may be kept in two different directories of the same name, under a directory -named after each institution, and these would be output to the same output -directory. Skins could be associated with each institution on a directory -basis and resulting documents will take on the appropriate different appearance. - +

The default homepage may use homepage.css + +

or html.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] +

17. ORGANISING +CONTENT +

17.1 DIRECTORY STRUCTURE AND MAPPING +

The output directory root +can be set in the sisurc.yml file. Under the root, subdirectories are made +for each directory in which a document set resides. If you have a directory +named poems or conventions, that directory will be created under the output +directory root and the output for all documents contained in the directory +of a particular name will be generated to subdirectories beneath that directory +(poem or conventions). A document will be placed in a subdirectory of the +same name as the document with the filetype identifier stripped (.sst .ssm) + +

The last part of a directory path, representing the sub-directory in which +a document set resides, is the directory name that will be used for the +output directory. This has implications for the organisation of document +collections as it could make sense to place documents of a particular subject, +or type within a directory identifying them. This grouping as suggested +could be by subject (sales_law, english_literature); or just as conveniently +by some other classification (X University). The mapping means it is also +possible to place in the same output directory documents that are for organisational +purposes kept separately, for example documents on a given subject of two +different institutions may be kept in two different directories of the +same name, under a directory named after each institution, and these would +be output to the same output directory. Skins could be associated with each +institution on a directory basis and resulting documents will take on the +appropriate different appearance.

18. HOMEPAGES -

SiSU is about the ability to auto-generate documents. Home -pages are regarded as custom built items, and are not created by SiSU -SiSU has a default home page, which will not be appropriate for use with -other sites, and the means to provide your own home page instead in one -of two ways as part of a site’s configuration, these being: -

1. through -placing your home page and other custom built documents in the subdirectory -_sisu/home/ (this probably being the easier and more convenient option) - -

2. through providing what you want as the home page in a skin, -

Document -sets are contained in directories, usually organised by site or subject. -Each directory can/should have its own homepage. See the section on directory -structure and organisation of content. -

18.1 HOME PAGE AND OTHER CUSTOM BUILT - -

PAGES IN A SUB-DIRECTORY -

Custom built pages, including the home page index.html -may be placed within the configuration directory _sisu/home/ in any of -the locations that is searched for the configuration directory, namely -./_sisu; ~/_sisu; /etc/sisu From there they are copied to the root of the -output directory with the command: -

sisu -CC
+

SiSU is about the ability +to auto-generate documents. Home pages are regarded as custom built items, +and are not created by SiSU SiSU has a default home page, which will not +be appropriate for use with other sites, and the means to provide your +own home page instead in one of two ways as part of a site’s configuration, +these being: +

1. through placing your home page and other custom built +documents in the subdirectory _sisu/home/ (this probably being the easier +and more convenient option) +

2. through providing what you want as the +home page in a skin, +

Document sets are contained in directories, usually +organised by site or subject. Each directory can/should have its own homepage. +See the section on directory structure and organisation of content. +

18.1 + +

HOME PAGE AND OTHER CUSTOM BUILT PAGES IN A SUB-DIRECTORY +

Custom built +pages, including the home page index.html may be placed within the configuration +directory _sisu/home/ in any of the locations that is searched for the +configuration directory, namely ./_sisu ; ~/_sisu ; /etc/sisu From there +they are copied to the root of the output directory with the command: +

+ sisu -CC

18.2 HOME PAGE WITHIN A SKIN

Skins are described in a separate section, @@ -2040,8 +2027,8 @@ or in various output formats.

21. SQL

21.1 POPULATING SQL TYPE DATABASES -

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

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

This is one of the more interesting output forms, as all the structural data of the documents are retained (though can be ignored by @@ -2051,7 +2038,8 @@ are (currently) streamed to four tables: (and other) headers, including, title, author,
subject, (the Dublin Core...);
-

* another the substantive texts by individual
+

* another the substantive texts by individual "paragraph" (or object) +-
along with structural information, each paragraph being identifiable by its
paragraph number (if it has one which almost all of them do), and the
@@ -2256,20 +2244,20 @@ DATABASE AND SISU FEATURES, INCLUDING OBJECT CITATION NUMBERING (BACKEND CURRENTLY POSTGRESQL)

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

SiSU can provide information on which documents are matched and at what locations within each document the matches are found. These results are relevant across all outputs using object citation numbering, which includes -html, XML, LaTeX, PDF and indeed the SQL database. You can then refer to -one of the other outputs or in the SQL database expand the text within +html, XML, EPUB, LaTeX, PDF and indeed the SQL database. You can then refer +to one of the other outputs or in the SQL database expand the text within 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.[^22] +the search criteria.[^23]

@@ -2621,11 +2609,11 @@ and a rant(by Stefan Lang) built install file, in either case: the first steps are the same, download and unpack the source file:

For basic use SiSU is only dependent on the programming language in which it is written -Ruby , and SiSU will be able to generate html, various XMLs, including +Ruby , and SiSU will be able to generate html, EPUB, various 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)[^23] or converting LaTeX to pdf. +(postgresql or sqlite)[^24] or converting LaTeX to pdf.

setup.rb

This is a standard ruby installer, using setup.rb is a three step process. In @@ -2686,9 +2674,9 @@ a number of markup sample files may be found either in the directory:

change directory to the appropriate one:

cd /usr/share/doc/sisu/sisu_markup_samples/dfsg -

30.2.1 BASIC TEXT, PLAINTEXT, HTML, XML, ODF -

Having moved to the directory -that contains the markup samples (see instructions above if necessary), +

30.2.1 BASIC TEXT, PLAINTEXT, HTML, XML, ODF, EPUB +

Having moved to the +directory that contains the markup samples (see instructions above if necessary),

choose a file and run sisu against it

sisu -NhwoabxXyv free_as_in_freedom.rms_and_free_software.sam_williams.sst @@ -2735,12 +2723,12 @@ create the database and write to it when you run sisu. to date as within the package itself:

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

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

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

30.3.2 BUILT IN HELP

sisu --help

sisu @@ -2765,7 +2753,7 @@ to date as within the package itself:

Additional markup samples are packaged separately in the file:

*

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

31. EDITOR FILES, SYNTAX HIGHLIGHTING @@ -2919,16 +2907,19 @@ may also contain processing instructions. SiSU markup is primarily an abs of document structure and document metadata to permit taking advantage of the basic strengths of existing alternative practical standard ways of representing documents [be  that  paper  publication,  sql  search  etc.] (html, -xml, odf, latex, pdf, sql) -

* for output produces reasonably elegant output -of established industry and institutionally accepted open standard formats.[3] -takes advantage of the different strengths of various standard formats -for representing documents, amongst the output formats currently supported -are: -

* html - both as a single scrollable text and a segmented document
+epub, xml, odf, latex, pdf, sql) +

* for output produces reasonably elegant +output of established industry and institutionally accepted open standard +formats.[3] takes advantage of the different strengths of various standard +formats for representing documents, amongst the output formats currently +supported are: +

* html - both as a single scrollable text and a segmented +document

* xhtml
+

* epub
+

* XML - both in sax and dom style xml structures for further development as
required
@@ -2958,74 +2949,71 @@ across browsers and formats. sisu seeks to provide a common way of pinpoint the text within a document, (which can be utilized for citation and by search engines). The outputs share a common numbering system that is meaningful (to man and machine) across all digital outputs whether paper, screen, -or database oriented, (pdf, HTML, xml, sqlite, postgresql), this numbering -system can be used to reference content. -

* Granular search within documents. -SQL databases are populated at an object level (roughly headings, paragraphs, -verse, tables) and become searchable with that degree of granularity, the -output information provides the object/paragraph numbers which are relevant -across all generated outputs; it is also possible to look at just the matching -paragraphs of the documents in the database; [output  indexing  also  work - well  with  search  indexing tools  like  hyperestraier]. -

* long term maintainability -of document collections in a world of changing formats, having a very sparsely -marked-up source document base. there is a considerable degree of future-proofing, -output representations are upgradeable (open document text) module in 2006 -and in future html5 output sometime in future, without modification of - -

existing prepared texts -

* SQL search aside, documents are generated as -required and static once generated. -

* documents produced are static files, -and may be batch processed, this needs to be done only once but may be -repeated for various reasons as desired (updated content, addition of new -output formats, updated technology document presentations/representations) - -

* document source (plaintext utf-8) if shared on the net may be used as - -

input and processed locally to produce the different document outputs -

- * document source may be bundled together (automatically) with associated -documents (multiple language versions or master document with inclusions) -and images and sent as a zip file called a sisupod, if shared on the net - -

these too may be processed locally to produce the desired document outputs - -

* generated document outputs may automatically be posted to remote sites. - -

* for basic document generation, the only software dependency is Ruby -, and a few standard Unix tools (this covers plaintext, HTML, XML, ODF, -LaTeX). To use a database you of course need that, and to convert the LaTeX -generated to pdf, a latex processor like tetex or texlive. -

* as a developers - -

tool it is flexible and extensible -

Syntax highlighting for SiSU markup -is available for a number of text editors. -

SiSU is less about document -layout than about finding a way with little markup to be able to construct -an abstract representation of a document that makes it possible to produce -multiple representations of it which may be rather different from each -other and used for different purposes, whether layout and publishing, or - -

search of content -

i.e. to be able to take advantage from this minimal preparation -starting point of some of the strengths of rather different established -ways of representing documents for different purposes, whether for search -(relational database, or indexed flat files generated for that purpose -whether of complete documents, or say of files made up of objects), online -viewing (e.g. html, xml, pdf), or paper publication (e.g. pdf)... -

the solution -arrived at is by extracting structural information about the document (about -headings within the document) and by tracking objects (which are serialized -and also given hash values) in the manner described. It makes possible representations -that are quite different from those offered at present. For example objects -could be saved individually and identified by their hashes, with an index -of how the objects relate to each other to form a document. -

34. HELP SOURCES - -

For a summary of alternative ways to get help on SiSU try one of the -following: +or database oriented, (pdf, HTML, EPUB, xml, sqlite, postgresql), this +numbering system can be used to reference content. +

* Granular search within +documents. SQL databases are populated at an object level (roughly headings, +paragraphs, verse, tables) and become searchable with that degree of granularity, +the output information provides the object/paragraph numbers which are +relevant across all generated outputs; it is also possible to look at just +the matching paragraphs of the documents in the database; [output  indexing + also  work  well  with  search  indexing tools  like  hyperestraier]. +

*longtermmaintainabilityofdocumentcollectionsinaworldofchanging +formats, having a very sparsely marked-up source document base. there is +a considerable degree of future-proofing, output representations are upgradeable +(open document text) module in 2006, epub in 2009 and in future html5 output +sometime in future, without modification of existing prepared texts +

* +SQL search aside, documents are generated as required and static once generated. + +

* documents produced are static files, and may be batch processed, this +needs to be done only once but may be repeated for various reasons as desired +(updated content, addition of new output formats, updated technology document +presentations/representations) +

* document source (plaintext utf-8) if + +

shared on the net may be used as input and processed locally to produce + +

the different document outputs +

* document source may be bundled together +(automatically) with associated documents (multiple language versions or +master document with inclusions) and images and sent as a zip file called +a sisupod, if shared on the net these too may be processed locally to produce + +

the desired document outputs +

* generated document outputs may automatically +be posted to remote sites. +

* for basic document generation, the only software +dependency is Ruby , and a few standard Unix tools (this covers plaintext, +HTML, EPUB, XML, ODF, LaTeX). To use a database you of course need that, +and to convert the LaTeX generated to pdf, a latex processor like tetex +or texlive. +

* as a developers tool it is flexible and extensible +

Syntax +highlighting for SiSU markup is available for a number of text editors. + +

SiSU is less about document layout than about finding a way with little +markup to be able to construct an abstract representation of a document +that makes it possible to produce multiple representations of it which +may be rather different from each other and used for different purposes, +whether layout and publishing, or search of content +

i.e. to be able to +take advantage from this minimal preparation starting point of some of +the strengths of rather different established ways of representing documents +for different purposes, whether for search (relational database, or indexed +flat files generated for that purpose whether of complete documents, or +say of files made up of objects), online viewing (e.g. html, xml, pdf), or +paper publication (e.g. pdf)... +

the solution arrived at is by extracting structural +information about the document (about headings within the document) and +by tracking objects (which are serialized and also given hash values) in +the manner described. It makes possible representations that are quite different +from those offered at present. For example objects could be saved individually +and identified by their hashes, with an index of how the objects relate +to each other to form a document. +

34. HELP SOURCES +

For a summary of alternative +ways to get help on SiSU try one of the following:

man page

man sisu_help
@@ -3064,8 +3052,8 @@ listed here:

34.2 SISU GENERATED OUTPUT - LINKS TO HTML

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

34.2.1 WWW.SISUDOC.ORG

<http://sisudoc.org/sisu/sisu_manual/index.html > @@ -3152,15 +3140,15 @@ html pages[^28]

<file:///usr/share/doc/sisu/v2/html/sisu_help.1.html>

<file:///usr/share/doc/sisu/v2/html/sisu_help_sources.1.html> -

/usr/share/doc/sisu/html/v2/sisu.1.html
+

/usr/share/doc/sisu/v2/html/sisu.1.html
-

/usr/share/doc/sisu/html/v2/sisu_pdf.7.html
+

/usr/share/doc/sisu/v2/html/sisu_pdf.7.html
-

/usr/share/doc/sisu/html/v2/sisu_postgresql.7.html
+

/usr/share/doc/sisu/v2/html/sisu_postgresql.7.html
-

/usr/share/doc/sisu/html/v2/sisu_sqlite.7.html
+

/usr/share/doc/sisu/v2/html/sisu_sqlite.7.html
-

/usr/share/doc/sisu/html/v2/sisu_webrick.1.html
+

/usr/share/doc/sisu/v2/html/sisu_webrick.1.html

34.3.2 WWW.JUS.UIO.NO/SISU

<http://www.jus.uio.no/sisu/man/sisu.1.html @@ -3187,29 +3175,33 @@ html pages[^28]

    .
  1. objects include: headings, paragraphs, verse, tables, images, but not footnotes/endnotes which are numbered separately and tied to the object -from which they are referenced.
  2. .
  3. i.e. the html, pdf, odf outputs are each built -individually and optimised for that form of presentation, rather than for -example the html being a saved version of the odf, or the pdf being a saved -version of the html.
  4. .
  5. the different heading levels
  6. .
  7. units of text, primarily -paragraphs and headings, also any tables, poems, code-blocks
  8. .
  9. Specification -submitted by Adobe to ISO to become a full open ISO specification <http://www.linux-watch.com/news/NS7542722606.html -> -
  10. .
  11. ISO/IEC 26300:2006 +from which they are referenced.
  12. .
  13. i.e. the html, pdf, epub, odf outputs are +each built individually and optimised for that form of presentation, rather +than for example the html being a saved version of the odf, or the pdf +being a saved version of the html. +

  14. .
  15. the different heading levels
  16. .
  17. units +of text, primarily paragraphs and headings, also any tables, poems, code-blocks +
  18. .
  19. Specification submitted by Adobe to ISO to become a full open ISO specification +<http://www.linux-watch.com/news/NS7542722606.html +>
  20. .
  21. ISO standard ISO/IEC 26300:2006 + +

  22. .
  23. An open standard format for e-books +

    *1.
    square brackets
    *2.
    -
    square brackets
    +
    square brackets +
    +1.
    -
    square brackets -
  24. .
  25. <http://www.jus.uio.no/sisu/man/ +
    square brackets
  26. .
  27. <http://www.jus.uio.no/sisu/man/ >
  28. .
  29. <http://www.jus.uio.no/sisu/man/sisu.1.html ->
  30. .
  31. From -sometime after SiSU 0.58 it should be possible to describe SiSU markup using -SiSU, which though not an original design goal is useful.
  32. .
  33. files should be -prepared using UTF-8 character encoding
  34. .
  35. a footnote or endnote
  36. .
  37. self contained +> +
  38. .
  39. From sometime after SiSU 0.58 it should be possible to describe SiSU markup +using SiSU, which though not an original design goal is useful.
  40. .
  41. files should +be prepared using UTF-8 character encoding
  42. .
  43. a footnote or endnote
  44. .
  45. self contained endnote marker & endnote in one
    *.
    @@ -3234,22 +3226,19 @@ notes, numbered asterisk footnote/endnote series
  46. .
  47. <http://www.postgresql.org/ -> -<http://advocacy.postgresql.org/ +suffix to use.
  48. .
  49. <http://www.postgresql.org/ +> <http://advocacy.postgresql.org/ > <http://en.wikipedia.org/wiki/Postgresql ->
  50. .
  51. <http://www.hwaci.com/sw/sqlite/ > -<http://en.wikipedia.org/wiki/Sqlite +
  52. .
  53. <http://www.hwaci.com/sw/sqlite/ +> <http://en.wikipedia.org/wiki/Sqlite >
  54. .
  55. <http://search.sisudoc.org ->
  56. .
  57. (which could -be extended further with current back-end). As regards scaling of the database, -it is as scalable as the database (here Postgresql) and hardware allow. -
  58. .
  59. of this feature when demonstrated to an IBM software innovations evaluator -in 2004 he said to paraphrase: this could be of interest to us. We have -large document management systems, you can search hundreds of thousands +> +
  60. .
  61. (which could be extended further with current back-end). As regards scaling +of the database, it is as scalable as the database (here Postgresql) and +hardware allow.
  62. .
  63. of this feature when demonstrated to an IBM software innovations +evaluator in 2004 he said to paraphrase: this could be of interest to us. +We have large document management systems, you can search hundreds of thousands of documents and we can tell you which documents meet your search criteria, but there is no way we can tell you without opening each document where within each your matches are found.
  64. .
  65. There is nothing to stop MySQL support @@ -3316,7 +3305,7 @@ are authors’ works that while freely distributable are not freely changeab

    Source digest:
    -
    MD5(sisu.ssm.sst)= 2a794c5f8a7df8d6a216025243d432d6 +
    MD5(sisu.ssm.sst)= fd741a3ccf160aa55b942d76bd4e3f2a

    @@ -3332,7 +3321,7 @@ are authors’ works that while freely distributable are not freely changeab
    Document (dal) last generated:
    -

    Fri Mar 05 20:04:20 -0500 2010 +

    Wed Mar 17 13:34:15 -0400 2010

    Other versions of this document:
    @@ -3350,31 +3339,37 @@ are authors’ works that while freely distributable are not freely changeab
    -
    pdf: <http://www.jus.uio.no/sisu/sisu/portrait.pdf +
    epub: <http://www.jus.uio.no/sisu/epub/sisu.epub >
    -
    pdf: <http://www.jus.uio.no/sisu/sisu/landscape.pdf +
    pdf: <http://www.jus.uio.no/sisu/sisu/portrait.pdf >
    +
    + +
    pdf: <http://www.jus.uio.no/sisu/sisu/landscape.pdf + +>
    at: <http://www.jus.uio.no/sisu ->
    +> +
    -
    * Generated by: SiSU 0.70.2 of 2008w50/2 (2008-12-16) -
    +
    * Generated by: SiSU 2.0.0 of 2010w09/6 (2010-03-06)
    -
    * Ruby version: ruby 1.8.7 (2008-08-11 patchlevel 72) [i486-linux]
    +
    * Ruby version: ruby 1.8.7 +(2010-01-10 patchlevel 249) [i486-linux]
    -
    * Last Generated -on: Tue Dec 16 00:16:50 -0500 2008
    +
    * Last Generated on: Wed Mar 17 13:34:17 +-0400 2010
    * SiSU http://www.jus.uio.no/sisu diff --git a/data/doc/sisu/v2/sisu_markup_samples/sisu_manual/sisu.ssm b/data/doc/sisu/v2/sisu_markup_samples/sisu_manual/sisu.ssm index 2f8392f1..230c247c 100644 --- a/data/doc/sisu/v2/sisu_markup_samples/sisu_manual/sisu.ssm +++ b/data/doc/sisu/v2/sisu_markup_samples/sisu_manual/sisu.ssm @@ -26,7 +26,7 @@ :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 [-abcDdFehIiMmNnopqRrSsTtUuVvwXxYyZz0-9] [filename/wildcard ] . sisu [-Ddcv] [instruction] . sisu [-CcFLSVvW] . sisu --v2 [operations] . sisu --v1 [operations] + :manpage: name=sisu - documents: markup, structuring, publishing in multiple standard formats, and search; synopsis=sisu [-abcDdFehIiMmNnopqRrSsTtUuVvwXxYyZz0-9] [filename/wildcard] . sisu [-Ddcv] [instruction] [filename/wildcard] . sisu [-CcFLSVvW] . sisu --v2 [operations] . sisu --v1 [operations] @links: { SiSU Manual }http://www.jus.uio.no/sisu/sisu_manual/ @@ -44,6 +44,8 @@ :B~ What is SiSU? +% << sisu_synopsis.ssi + << sisu_introduction.sst % :B~? SiSU Commands diff --git a/data/doc/sisu/v2/sisu_markup_samples/sisu_manual/sisu_commands.sst b/data/doc/sisu/v2/sisu_markup_samples/sisu_manual/sisu_commands.sst index d60a1cc8..9e4417ea 100644 --- a/data/doc/sisu/v2/sisu_markup_samples/sisu_manual/sisu_commands.sst +++ b/data/doc/sisu/v2/sisu_markup_samples/sisu_manual/sisu_commands.sst @@ -45,21 +45,9 @@ 1~commands Commands Summary -2~ Synopsis - -SiSU - Structured information, Serialized Units - a document publishing system - -sisu [ -abcDdeFhIiMmNnopqRrSsTtUuVvwXxYyZz0-9 ] [ filename/ wildcard ] - -sisu [ -Ddcv ] [ instruction ] - -sisu [ -CcFLSVvW ] - -Note: commands should be issued from within the directory that contains the marked up files, cd to markup directory. - 2~ Description -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: http://www.jus.uio.no/sisu +SiSU SiSU is a document publishing system, that from a simple single marked-up document, produces multiple of output formats including: plaintext, html, xhtml, XML, epub, odt (odf text), LaTeX, pdf, info, and SQL (PostgreSQL and SQLite), which share numbered text objects ("object citation numbering") and the same document structure information. For more see: http://www.jus.uio.no/sisu % 2~ Summary of man page diff --git a/data/doc/sisu/v2/sisu_markup_samples/sisu_manual/sisu_description.sst b/data/doc/sisu/v2/sisu_markup_samples/sisu_manual/sisu_description.sst index 5cd8c602..fe3b5c46 100644 --- a/data/doc/sisu/v2/sisu_markup_samples/sisu_manual/sisu_description.sst +++ b/data/doc/sisu/v2/sisu_markup_samples/sisu_manual/sisu_description.sst @@ -58,15 +58,15 @@ SiSU is a flexible document preparation, generation publishing and search system SiSU ("SiSU information Structuring Universe" or "Structured information, Serialized Units"),~{ also chosen for the meaning of the Finnish term "sisu". }~ is a Unix command line oriented framework for document structuring, publishing and search. Featuring minimalistic markup, multiple standard outputs, a common citation system, and granular search. -Using markup applied to a document, SiSU can produce plain text, HTML, XHTML, XML, OpenDocument, LaTeX or PDF files, and populate an SQL database with objects~{ objects include: headings, paragraphs, verse, tables, images, but not footnotes/endnotes which are numbered separately and tied to the object from which they are referenced. }~ (equating generally to paragraph-sized chunks) so searches may be performed and matches returned with that degree of granularity (e.g. your search criteria is met by these documents and at these locations within each document). Document output formats share a common object numbering system for locating content. This 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. +Using markup applied to a document, SiSU can produce plain text, HTML, XHTML, XML, OpenDocument, EPUB, LaTeX or PDF files, and populate an SQL database with objects~{ objects include: headings, paragraphs, verse, tables, images, but not footnotes/endnotes which are numbered separately and tied to the object from which they are referenced. }~ (equating generally to paragraph-sized chunks) so searches may be performed and matches returned with that degree of granularity (e.g. your search criteria is met by these documents and at these locations within each document). Document output formats share a common object numbering system for locating content. This 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. -SiSU is the data/information structuring and transforming tool, that has resulted from work on one of the oldest law web projects. It makes possible the one time, simple human readable markup of documents, that SiSU can then publish in various forms, suitable for paper~{ pdf via LaTeX or lout }~, web~{ currently html (two forms of html presentation one based on css the other on tables), and /PHP/; potentially structured XML }~ and relational database~{ any SQL - currently PostgreSQL and /sqlite/ (for portability, testing and development) }~ presentations, retaining common data-structure and meta-information across the output/presentation formats. Several requirements of legal and scholarly publication on the web have been addressed, including the age old need to be able to reliably cite/pinpoint text within a document, to easily make footnotes/endnotes, to allow for semantic document meta-tagging, and to keep required markup to a minimum. These and other features of interest are listed and described below. A few points are worth making early (and will be repeated a number of times): +SiSU is the data/information structuring and transforming tool, that has resulted from work on one of the oldest law web projects. It makes possible the one time, simple human readable markup of documents, that SiSU can then publish in various forms, suitable for paper~{ pdf via LaTeX }~, web~{ currently html (two forms of html presentation one based on css the other on tables), and /PHP/; potentially structured XML }~ and relational database~{ any SQL - currently PostgreSQL and /sqlite/ (for portability, testing and development) }~ presentations, retaining common data-structure and meta-information across the output/presentation formats. Several requirements of legal and scholarly publication on the web have been addressed, including the age old need to be able to reliably cite/pinpoint text within a document, to easily make footnotes/endnotes, to allow for semantic document meta-tagging, and to keep required markup to a minimum. These and other features of interest are listed and described below. A few points are worth making early (and will be repeated a number of times): _1 (i) The SiSU document generator was the first to place material on the web with a system that makes possible citation across different document types, with paragraph, or rather object citation numbering~{ previously called "text object numbering" }~ a text positioning system, available for the pinpointing of text, 1997, a simple idea from which much benefit, and SiSU remains today, to the best of my knowledge, the only multiple format e-book/ electronic-document system on the web that gives you this possibility (including for relational databases). _1 (ii) Markup is done once for the multiple formats produced. -_1 (iii) Markup is simple, and human readable (with a little practice), in almost all cases there is less and simpler markup required than basic html. In any event the markup required is very much simpler than the html, LaTeX, [lout], structured XML, ODF (OpenDocument), PostgreSQL or SQLite feed etc. that you can have SiSU generate for you. +_1 (iii) Markup is simple, and human readable (with a little practice), in almost all cases there is less and simpler markup required than basic html. In any event the markup required is very much simpler than the html, EPUB, LaTeX, [lout], structured XML, ODF (OpenDocument), PostgreSQL or SQLite feed etc. that you can have SiSU generate for you. _1 (iv) SiSU is a batch processor, dealing with as many files as you need to generate at a time. @@ -76,11 +76,11 @@ SiSU Sabaki~{ SiSU Sabaki, release version. Pre-release version SiSU Scribe, and SiSU was born of the need to find a way, with minimal effort, and for as wide a range of document types as possible, to produce high quality publishing output in a variety of document formats. As such it was necessary to find a simple document representation that would work across a large number of document types, and the most convenient way(s) to produce acceptable output formats. The project leading to this program was started in 1993 (together with the trade law project now known as Lex Mercatoria) as an investigation of how to effectively/efficiently place documents on the web. The unified document handling, together with features such as paragraph numbering, endnote handling and tables... appeared in 1996/97. SiSU was originally written in Perl,~{ http://www.perl.org/ }~ and converted to Ruby,~{ http://www.ruby-lang.org/en/ }~ in 2000, one of the most impressive programming languages in existence! In its current form it has been written to run on the Gnu/Linux platform, and in particular on Debian,~{ http://www.debian.org/ }~ taking advantage of many of the wonderful projects that are available there. -SiSU markup is based on requiring the minimum markup needed to determine the structure of a document. (This can be as little as saying in a header to look for the word Book at a specified level and the word Chapter at another level). SiSU then breaks a document into its smallest parts (at a heading, and paragraph level) while retaining all structural information. This break up of the document and information on its structure is taken advantage of in the transformations made in generating the very different output types that can be created, and in providing as much as can be for what each output type is best at doing, e.g. LaTeX (professional document typesetting, easy conversion to pdf or Postscript), XML (in this case, structural representation), ODF (OpenDocument [experimental]), SQL (e.g. document search; representing constituent parts of documents based on their structure, headings, chapters, paragraphs as required; user control).~{ where explicit structure is provided through the use of tagging headings, it could be reduced (still) further, for example by reducing the number of characters used to identify heading levels; but in many cases even that information is not required as regular expressions can be used to extract the implicit structure. }~ +SiSU markup is based on requiring the minimum markup needed to determine the structure of a document. (This can be as little as saying in a header to look for the word Book at a specified level and the word Chapter at another level). SiSU then breaks a document into its smallest parts (at a heading, and paragraph level) while retaining all structural information. This break up of the document and information on its structure is taken advantage of in the transformations made in generating the very different output types that can be created, and in providing as much as can be for what each output type is best at doing, e.g. LaTeX (professional document typesetting, easy conversion to pdf or Postscript), EPUB, XML (in this case, structural representation), ODF (OpenDocument [experimental]), SQL (e.g. document search; representing constituent parts of documents based on their structure, headings, chapters, paragraphs as required; user control).~{ where explicit structure is provided through the use of tagging headings, it could be reduced (still) further, for example by reducing the number of characters used to identify heading levels; but in many cases even that information is not required as regular expressions can be used to extract the implicit structure. }~ From markup that is simpler and more sparse than html you get: -_* far greater output possibilities, including html, XML, ODF (OpenDocument), LaTeX (pdf), and SQL; +_* far greater output possibilities, including html, EPUB, XML, ODF (OpenDocument), LaTeX (pdf), and SQL; _* the advantages implicit in the very different output possibilities; @@ -88,7 +88,7 @@ _* a common citation system (for all outputs - including the relational database For more see the short summary of features provided below. -SiSU processes files with minimal tagging to produce various document outputs including html, LaTeX or lout (which is converted to pdf) and if required loads the structured information into an SQL database (PostgreSQL and SQLite have been used for this). SiSU produces an intermediate processing format.~{ This proved to be the easiest way to develop syntax, changes could be made, or alternatives provided for the markup syntax whilst the intermediate markup syntax was largely held constant. There is actually an optional second intermediate markup format in YAML http://www.yaml.org/ }~ +SiSU processes files with minimal tagging to produce various document outputs including html, EPUB, ODF, LaTeX (which is converted to pdf) and if required loads the structured information into an SQL database (PostgreSQL and SQLite have been used for this). SiSU produces an intermediate processing format.~{ This proved to be the easiest way to develop syntax, changes could be made, or alternatives provided for the markup syntax whilst the intermediate markup syntax was largely held constant. There is actually an optional second intermediate markup format in YAML http://www.yaml.org/ }~ SiSU is used in constructing Lex Mercatoria http://lexmercatoria.org/ or http://www.jus.uio.no/lm/ (one of the oldest law web sites), and considerable thought went into producing output that would be suitable for legal and academic writings (that do not have formulae) given the limitations of html, and publication in a wide variety of "formats", in particular in relation to the convenient and accurate citation of text. However, the construction of Lex Mercatoria uses only a fraction of the features available from SiSU today, /vis/ generation of flat file structures, rather than in addition the building of ("granular") SQL database content, (at an object level with relevant relational tables, and other outputs also available). @@ -109,10 +109,10 @@ notes: * markup defines document structure (this may be done once in a header pattern-match description, or for heading levels individually); basic text attributes (bold, italics, underscore, strike-through etc.) as required; and semantic information related to the document (header information, extended beyond the Dublin core and easily further extended as required); the headers may also contain processing instructions. !_ (iii) -(a) multiple outputs primarily industry established and institutionally accepted open standard formats, include amongst others: plaintext (UTF-8); html; (structured) XML; ODF (Open Document text)l; LaTeX; PDF (via LaTeX); SQL type databases (currently PostgreSQL and SQLite). Also produces: concordance files; document content certificates (md5 or sha256 digests of headings, paragraphs, images etc.) and html manifests (and sitemaps of content). (b) takes advantage of the strengths implicit in these very different output types, (e.g. PDFs produced using typesetting of LaTeX, databases populated with documents at an individual object/paragraph level, making possible granular search (and related possibilities)) +(a) multiple outputs primarily industry established and institutionally accepted open standard formats, include amongst others: plaintext (UTF-8); html; EPUB; (structured) XML; ODF (Open Document text)l; LaTeX; PDF (via LaTeX); SQL type databases (currently PostgreSQL and SQLite). Also produces: concordance files; document content certificates (md5 or sha256 digests of headings, paragraphs, images etc.) and html manifests (and sitemaps of content). (b) takes advantage of the strengths implicit in these very different output types, (e.g. PDFs produced using typesetting of LaTeX, databases populated with documents at an individual object/paragraph level, making possible granular search (and related possibilities)) !_ (iv) -outputs share a common numbering system (dubbed "object citation numbering" (ocn)) that is meaningful (to man and machine) across various digital outputs whether paper, screen, or database oriented, (PDF, html, XML, sqlite, postgresql), this numbering system can be used to reference content. +outputs share a common numbering system (dubbed "object citation numbering" (ocn)) that is meaningful (to man and machine) across various digital outputs whether paper, screen, or database oriented, (PDF, html, EPUB, XML, Opendocument, sqlite, postgresql), this numbering system can be used to reference content. !_ (v) SQL databases are populated at an object level (roughly headings, paragraphs, verse, tables) and become searchable with that degree of granularity, the output information provides the object/paragraph numbers which are relevant across all generated outputs; it is also possible to look at just the matching paragraphs of the documents in the database; [output indexing also work well with search indexing tools like hyperesteier]. @@ -147,7 +147,7 @@ possible to pre-process, which permits: the easy creation of standard form docum there is a considerable degree of future-proofing, output representations are "upgradeable", and new document formats may be added. !_ (xv) -there is a considerable degree of future-proofing, output representations are "upgradeable", and new document formats may be added: (a) modular, (thanks in no small part to Ruby) another output format required, write another module.... (b) easy to update output formats (eg html, XHTML, LaTeX/PDF produced can be updated in program and run against whole document set), (c) easy to add, modify, or have alternative syntax rules for input, should you need to, +there is a considerable degree of future-proofing, output representations are "upgradeable", and new document formats may be added: (a) modular, (thanks in no small part to Ruby) another output format required, write another module.... (b) easy to update output formats (eg html, XHTML, EPUB, LaTeX/PDF produced can be updated in program and run against whole document set), (c) easy to add, modify, or have alternative syntax rules for input, should you need to, !_ (xvi) scalability, dependent on your file-system (ext3, Reiserfs, XFS, whatever) and on the relational database used (currently Postgresql and SQLite), and your hardware, @@ -168,7 +168,7 @@ remote operations: (a) run SiSU on a remote server, (having prepared sisu markup document source may be bundled together (automatically) with associated documents (multiple language versions or master document with inclusions) and images and sent as a zip file called a sisupod, if shared on the net these too may be processed locally to produce the desired document outputs, these may be downloaded, shared as email attachments, or processed by running sisu against them, either using a url or the filename. !_ (xxii) -for basic document generation, the only software dependency is Ruby, and a few standard Unix tools (this covers plaintext, html, XML, ODF, LaTeX). To use a database you of course need that, and to convert the LaTeX generated to PDF, a LaTeX processor like tetex or texlive. +for basic document generation, the only software dependency is Ruby, and a few standard Unix tools (this covers plaintext, html, EPUB, XML, ODF, LaTeX). To use a database you of course need that, and to convert the LaTeX generated to PDF, a LaTeX processor like tetex or texlive. as a developers tool it is flexible and extensible @@ -176,7 +176,7 @@ SiSU was developed in relation to legal documents, and is strong across a wide v SiSU has been developed and has been in use for several years. Requirements to cover a wide range of documents within its use domain have been explored. -Some modules are more mature than others, the most mature being Html and LaTeX / pdf. PostgreSQL and search functions are useable and together with /ocn/ unique (to the best of my knowledge). The XML output document set is "well formed" but largely proof of concept. +Some modules are more mature than others, the most mature being html and LaTeX / pdf. PostgreSQL and search functions are useable and together with /ocn/ unique (to the best of my knowledge). The XML output document set is "well formed" but largely proof of concept. 2~ How it works @@ -184,7 +184,7 @@ SiSU markup is fairly minimalistic, it consists of: a (largely optional) documen 2~ Simple markup -SiSU markup is based on requiring the minimum markup needed to determine the structure of a document. (This can be as little as saying in a header to look for the word Book at a specified level and the word Chapter at another level). SiSU then breaks a document into its smallest parts (at a heading, and paragraph level) while retaining all structural information. This break up of the document and information on its structure is taken advantage of in the transformations made in generating the very different output types that can be created, and in providing as much as can be for what each output type is best at doing, e.g. LaTeX (professional document typesetting, easy conversion to pdf or Postscript), XML (in this case, structural representation), ODF (OpenDocument), SQL (e.g. document search; representing constituent parts of documents based on their structure, headings, chapters, paragraphs as required; user control).~{ where explicit structure is provided through the use of tagging headings, it could be reduced (still) further, for example by reducing the number of characters used to identify heading levels; but in many cases even that information is not required as regular expressions can be used to extract the implicit structure. }~ +SiSU markup is based on requiring the minimum markup needed to determine the structure of a document. (This can be as little as saying in a header to look for the word Book at a specified level and the word Chapter at another level). SiSU then breaks a document into its smallest parts (at a heading, and paragraph level) while retaining all structural information. This break up of the document and information on its structure is taken advantage of in the transformations made in generating the very different output types that can be created, and in providing as much as can be for what each output type is best at doing, e.g. LaTeX (professional document typesetting, easy conversion to pdf or Postscript), EPUB, XML (in this case, structural representation), ODF (OpenDocument), SQL (e.g. document search; representing constituent parts of documents based on their structure, headings, chapters, paragraphs as required; user control).~{ where explicit structure is provided through the use of tagging headings, it could be reduced (still) further, for example by reducing the number of characters used to identify heading levels; but in many cases even that information is not required as regular expressions can be used to extract the implicit structure. }~ 3~ Sparse markup requirement, try to get the most out of markup @@ -270,7 +270,7 @@ The object citation number markers contain additional numbering information with An advantage is that the numbering remains the same regardless of document structure. -Text object ("paragraph") numbering is the same for all output versions of the same document, vis html, pdf, pgsql, yaml etc. +Text object ("paragraph") numbering is the same for all output versions of the same document, vis html, epub, pdf, pgsql, etc. In the relational database, as individual text objects of a document stored (and indexed) together with object numbers, and all versions of the document have the same numbering, the results of searches may be tailored just to provide the location of the search result in all available document formats. @@ -431,6 +431,10 @@ _* {~^ *w3m* }http://w3m.sourceforge.net/ The html tables output is rendered more accurately across a wider variety set and older versions of browsers (than the html css output). +3~ EPUB + +SiSU generates EPUB documents. + 3~ XML SiSU generates well formed XML, and multiple versions. An XML SAX version with a flat/shallow structure, and XML DOM version with a deeper (embedded) structure. There is also a released working xhtml module. Examples of SAX and DOM versions are provided within this document. @@ -478,7 +482,7 @@ This is a larger scale project, (with little development on the front end largel {~^ Sample search frontend }http://search.sisudoc.org A small database and sample query front-end (search from) that makes use of the citation system, _{object citation numbering}_ to demonstrates functionality.~{ (which could be extended further with current back-end). As regards scaling of the database, it is as scalable as the database (here Postgresql) and hardware allow. }~ -SiSU can provide information on which documents are matched and at what locations within each document the matches are found. These results are relevant across all outputs using object citation numbering, which includes html, XML, LaTeX, PDF and indeed the SQL database. You can then refer to one of the other outputs or in the SQL database expand the text within the matched objects (paragraphs) in the documents matched. +SiSU can provide information on which documents are matched and at what locations within each document the matches are found. These results are relevant across all outputs using object citation numbering, which includes html, EPUB, XML, LaTeX, PDF and indeed the SQL database. You can then refer to one of the other outputs or in the SQL database expand the text within the matched objects (paragraphs) in the documents matched. (further work needs to be done on the sample search form, which is rudimentary and only passes simple booleans correctly at present to the SQL engine) @@ -507,7 +511,7 @@ Expand those same searches, showing the matching text in each document: 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.~{ of this feature when demonstrated to an IBM software innovations evaluator in 2004 he said to paraphrase: this could be of interest to us. We have large document management systems, you can search hundreds of thousands of documents and we can tell you which documents meet your search criteria, but there is no way we can tell you without opening each document where within each your matches are found. }~ !_ OCN index mode, -(object citation number) the numbers displayed are relevant (and may be used to reference the match) in any sisu generated rendition of the text~{ OCN are provided for HTML, XML, pdf ... though currently omitted in plain-text and opendocument format output }~ the links provided are to the locations of matches within the html generated by SiSU. +(object citation number) the numbers displayed are relevant (and may be used to reference the match) in any sisu generated rendition of the text~{ OCN are provided for HTML, XML, EPUB, pdf ... though currently omitted in plain-text and opendocument format output }~ the links provided are to the locations of matches within the html generated by SiSU. !_ Paragraph mode, you may alternatively display the text of each paragraph in which the match was made, again the object/paragraph numbers are relevant to any SiSU generated/published text. diff --git a/data/doc/sisu/v2/sisu_markup_samples/sisu_manual/sisu_help_sources.sst b/data/doc/sisu/v2/sisu_markup_samples/sisu_manual/sisu_help_sources.sst index 12e75603..edd4699e 100644 --- a/data/doc/sisu/v2/sisu_markup_samples/sisu_manual/sisu_help_sources.sst +++ b/data/doc/sisu/v2/sisu_markup_samples/sisu_manual/sisu_help_sources.sst @@ -87,7 +87,7 @@ _1 man sisu_webrick 2~ sisu generated output - links to html -Note SiSU documentation is prepared in SiSU and output is available in multiple formats including amongst others html, pdf, and odf which may be also be accessed via the html pages~{ named index.html or more extensively through sisu_manifest.html }~ +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~{ named index.html or more extensively through sisu_manifest.html }~ 3~ www.sisudoc.org @@ -147,21 +147,21 @@ _1 http://sisudoc.org/sisu/sisu_webrick/index.html 3~ locally installed -file:///usr/share/doc/sisu/html/sisu.1.html +file:///usr/share/doc/sisu/v2/html/sisu.1.html -file:///usr/share/doc/sisu/html/sisu_help.1.html +file:///usr/share/doc/sisu/v2/html/sisu_help.1.html -file:///usr/share/doc/sisu/html/sisu_help_sources.1.html +file:///usr/share/doc/sisu/v2/html/sisu_help_sources.1.html -_1 /usr/share/doc/sisu/html/sisu.1.html +_1 /usr/share/doc/sisu/v2/html/sisu.1.html -_1 /usr/share/doc/sisu/html/sisu_pdf.7.html +_1 /usr/share/doc/sisu/v2/html/sisu_pdf.7.html -_1 /usr/share/doc/sisu/html/sisu_postgresql.7.html +_1 /usr/share/doc/sisu/v2/html/sisu_postgresql.7.html -_1 /usr/share/doc/sisu/html/sisu_sqlite.7.html +_1 /usr/share/doc/sisu/v2/html/sisu_sqlite.7.html -_1 /usr/share/doc/sisu/html/sisu_webrick.1.html +_1 /usr/share/doc/sisu/v2/html/sisu_webrick.1.html 3~ www.jus.uio.no/sisu diff --git a/data/doc/sisu/v2/sisu_markup_samples/sisu_manual/sisu_howto.sst b/data/doc/sisu/v2/sisu_markup_samples/sisu_manual/sisu_howto.sst index 991244dc..597dfbc3 100644 --- a/data/doc/sisu/v2/sisu_markup_samples/sisu_manual/sisu_howto.sst +++ b/data/doc/sisu/v2/sisu_markup_samples/sisu_manual/sisu_howto.sst @@ -139,7 +139,7 @@ aptitude install sisu-sqlite ideally copy the sisu-examples directory to your home directory (because the directory in which you run this example should be writable) -cp -rv /usr/share/sisu-examples/sample/document_samples_sisu_markup ~/. +cp -rv /usr/share/doc/sisu-markup-samples/v2/samples /. !_ (3) use sisu to create an sqlite database @@ -180,7 +180,7 @@ sisu -F webrick the string should be provided as output from the previous command -sudo cp -vi /usr/share/sisu-examples/sample/document_samples_sisu_markup/sisu_sqlite.cgi /usr/lib/cgi-bin +sudo cp -vi /usr/share/doc/sisu-markup-samples/v2/samples/sisu_sqlite.cgi /usr/lib/cgi-bin sudo chmod -v 755 /usr/lib/cgi-bin/sisu_sqlite.cgi @@ -301,7 +301,7 @@ _1 data/sisu-examples/sample/document_samples_sisu_markup/ or the same once source is installed (or sisu-examples) under: -_1 /usr/share/sisu-examples/sample/document_samples_sisu_markup/ +_1 /usr/share/doc/sisu-markup-samples/v2/samples Some notes are contained within the man page, *{man sisu}* and within sisu help via the commands *{sisu help markup}* and *{sisu help headers}* @@ -572,7 +572,7 @@ and on installation under: _1 /etc/sisu/skin/doc/ -_1 /usr/share/sisu-examples/sample/document_samples_sisu_markup/_sisu/skin/doc +_1 /usr/share/doc/sisu-markup-samples/v2/samples/_sisu/skin/doc The following paths are searched: @@ -630,7 +630,7 @@ Homepage: http://www.jus.uio.no/sisu SiSU is lightweight markup based document creation and publishing framework that is controlled from the command line. Prepare documents for SiSU using your text editor of choice, then use SiSU to generate various output document formats. -With minimal preparation of a plain-text (UTF-8) file using its native markup-syntax, SiSU produces: plain-text, HTML, XHTML, XML, ODF:ODT (Opendocument), LaTeX, PDF, and populates an SQL database (PostgreSQL or SQLite) in paragraph sized chunks so that document searches are done at this "atomic" level of granularity. +With minimal preparation of a plain-text (UTF-8) file using its native markup-syntax, SiSU produces: plain-text, HTML, XHTML, EPUB, XML, ODF:ODT (Opendocument), LaTeX, PDF, and populates an SQL database (PostgreSQL or SQLite) in paragraph sized chunks so that document searches are done at this "atomic" level of granularity. Outputs share a common citation numbering system, and any semantic meta-data provided about the document. @@ -874,17 +874,16 @@ Description: documents - structuring, publishing in multiple formats and search 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. +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, EPUB, 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. @@ -1014,7 +1013,7 @@ the first document). After installation of sisu-complete, move to the document samples directory -_1 cd /usr/share/doc/sisu/sisu_markup_samples/dfsg +_1 cd /usr/share/doc/sisu/v2/sisu_markup_samples/samples and run @@ -1169,7 +1168,7 @@ _1 ./data/doc/sisu/sisu_markup_samples/dfsg These are installed on the system usually at: -_1 /usr/share/doc/sisu/sisu_markup_samples/dfsg +_1 /usr/share/doc/sisu/v2/sisu_markup_samples/samples More markup samples are available in the package sisu-markup-samples @@ -1187,7 +1186,7 @@ _1 ./data/sisu/conf/syntax usually installed to: -_1 /usr/share/sisu/conf/syntax +_1 /usr/share/sisu/v2/conf/syntax 2~ License @@ -1231,7 +1230,7 @@ _1 http://www.jus.uio.no/sisu/SiSU/changelog_markup_samples.html After installation of sisu-complete, move to the document samples directory, -_1 cd /usr/share/doc/sisu/sisu_markup_samples/dfsg +_1 cd /usr/share/doc/sisu/v2/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 @@ -1303,7 +1302,7 @@ _1 mkdir ~/sisu_test _1 cd ~/sisu_test -_1 cp -a /usr/share/doc/sisu/sisu_markup_samples/dfsg/* ~/sisu_test/. +_1 cp -a /usr/share/doc/sisu/v2/sisu_markup_samples/samples/* ~/sisu_test/. !_ Tip: the markup syntax examples may be of interest @@ -1349,7 +1348,7 @@ 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), 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. +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. diff --git a/data/doc/sisu/v2/sisu_markup_samples/sisu_manual/sisu_introduction.sst b/data/doc/sisu/v2/sisu_markup_samples/sisu_manual/sisu_introduction.sst index bd4af2ae..e2df51d0 100644 --- a/data/doc/sisu/v2/sisu_markup_samples/sisu_manual/sisu_introduction.sst +++ b/data/doc/sisu/v2/sisu_markup_samples/sisu_manual/sisu_introduction.sst @@ -48,17 +48,17 @@ SiSU is a framework for document structuring, publishing (in multiple open standard formats) and search, comprising of: (a) a lightweight document structure and presentation markup syntax; and (b) an accompanying engine for generating standard document format outputs from documents prepared in sisu markup syntax, which is able to produce multiple standard outputs (including the population of sql databases) that (can) share a common numbering system for the citation of text within a document. -SiSU is developed under an open source, software libre license (GPL3). Its use case for development is to cope with medium to large document sets with evolving markup related technologies, which should be prepared once, and for which you want multiple output formats that can be updated and a common mechanism for cross-output-format citation, and search. +SiSU is developed under an open source, software libre license (GPL3). Its use case for development is work with medium to large document sets and cope with evolving document formats/ representation technologies. Documents are prepared once, and generated as need be to update the technical presentation or add additional output formats. Various output formats (including search related output) share a common mechanism for cross-output-format citation. -SiSU both defines a markup syntax and provides an engine that produces open standards format outputs from documents prepared with SiSU markup. From a single lightly prepared document sisu custom builds several standard output formats which share a common (text object) numbering system for citation of content within a document (that also has implications for search). The sisu engine works with an abstraction of the document's structure and content from which it is possible to generate different forms of representation of the document. Significantly SiSU markup is more sparse than html and outputs which include html, LaTeX, landscape and portrait pdfs, Open Document Format (ODF), all of which can be added to and updated. SiSU is also able to populate SQL type databases at an object level, which means that searches can be made with that degree of granularity. +SiSU both defines a markup syntax and provides an engine that produces open standards format outputs from documents prepared with SiSU markup. From a single lightly prepared document sisu custom builds several standard output formats which share a common (text object) numbering system for citation of content within a document (that also has implications for search). The sisu engine works with an abstraction of the document's structure and content from which it is possible to generate different forms of representation of the document. Significantly SiSU markup is more sparse than html and outputs which include html, EPUB, LaTeX, landscape and portrait pdfs, Open Document Format (ODF), all of which can be added to and updated. SiSU is also able to populate SQL type databases at an object level, which means that searches can be made with that degree of granularity. -Source document preparation and output generation is a two step process: (i) document source is prepared, that is, marked up in sisu markup syntax and (ii) the desired output subsequently generated by running the sisu engine against document source. Output representations if updated (in the sisu engine) can be generated by re-running the engine against the prepared source. Using SiSU markup applied to a document, SiSU custom builds (to take advantage of the strengths of different ways of representing documents) various standard open output formats including plain text, HTML, XHTML, XML, OpenDocument, LaTeX or PDF files, and populate an SQL database with objects~{ objects include: headings, paragraphs, verse, tables, images, but not footnotes/endnotes which are numbered separately and tied to the object from which they are referenced. }~ (equating generally to paragraph-sized chunks) so searches may be performed and matches returned with that degree of granularity ( e.g. your search criteria is met by these documents and at these locations within each document). Document output formats share a common object numbering system for locating content. This 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. +Source document preparation and output generation is a two step process: (i) document source is prepared, that is, marked up in sisu markup syntax and (ii) the desired output subsequently generated by running the sisu engine against document source. Output representations if updated (in the sisu engine) can be generated by re-running the engine against the prepared source. Using SiSU markup applied to a document, SiSU custom builds (to take advantage of the strengths of different ways of representing documents) various standard open output formats including plain text, HTML, XHTML, XML, EPUB, OpenDocument, LaTeX or PDF files, and populate an SQL database with objects~{ objects include: headings, paragraphs, verse, tables, images, but not footnotes/endnotes which are numbered separately and tied to the object from which they are referenced. }~ (equating generally to paragraph-sized chunks) so searches may be performed and matches returned with that degree of granularity ( e.g. your search criteria is met by these documents and at these locations within each document). Document output formats share a common object numbering system for locating content. This 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. -In preparing a SiSU document you optionally provide semantic information related to the document in a document header, and in marking up the substantive text provide information on the structure of the document, primarily indicating heading levels and footnotes. You also provide information on basic text attributes where used. The rest is automatic, sisu from this information custom builds~{ i.e. the html, pdf, odf outputs are each built individually and optimised for that form of presentation, rather than for example the html being a saved version of the odf, or the pdf being a saved version of the html. }~ the different forms of output requested. +In preparing a SiSU document you optionally provide semantic information related to the document in a document header, and in marking up the substantive text provide information on the structure of the document, primarily indicating heading levels and footnotes. You also provide information on basic text attributes where used. The rest is automatic, sisu from this information custom builds~{ i.e. the html, pdf, epub, odf outputs are each built individually and optimised for that form of presentation, rather than for example the html being a saved version of the odf, or the pdf being a saved version of the html. }~ the different forms of output requested. -SiSU works with an abstraction of the document based on its structure which is comprised of its structure (or frame)~{ the different heading levels }~ and the objects~{ units of text, primarily paragraphs and headings, also any tables, poems, code-blocks }~ it contains, which enables SiSU to represent the document in many different ways, and to take advantage of the strengths of different ways of presenting documents. The objects are numbered, and these numbers can be used to provide a common base for citing material within a document across the different output format types. This is significant as page numbers are not well suited to the digital age, in web publishing, changing a browser's default font or using a different browser means that text appears on different pages; and in publishing in different formats, html, landscape and portrait pdf etc. again page numbers are of no use to cite text in a manner that is relevant against the different output types. Dealing with documents at an object level together with object numbering also has implications for search. +SiSU works with an abstraction of the document based on its structure which is comprised of its headings~{ the different heading levels }~ and objects~{ units of text, primarily paragraphs and headings, also any tables, poems, code-blocks }~, which enables SiSU to represent the document in many different ways, and to take advantage of the strengths of different ways of presenting documents. The objects are numbered, and these numbers can be used to provide a common basis for citing material within a document across the different output format types. This is significant as page numbers are not well suited to the digital age, in web publishing, changing a browser's default font or using a different browser can mean that text will appear on a different page; and publishing in different formats, html, landscape and portrait pdf etc. again page numbers are not useful to cite text. Dealing with documents at an object level together with object numbering also has implications for search that SiSU is able to take advantage of. -One of the challenges of maintaining documents is to keep them in a format that would allow users to use them without depending on a proprietary software popular at the time. Consider the ease of dealing with legacy proprietary formats today and what guarantee you have that old proprietary formats will remain (or can be read without proprietary software/equipment) in 15 years time, or the way the way in which html has evolved over its relatively short span of existence. SiSU provides the flexibility of outputing documents in multiple non-proprietary open formats including html, pdf~{ Specification submitted by Adobe to ISO to become a full open ISO specification
    http://www.linux-watch.com/news/NS7542722606.html }~ and the ISO standard ODF.~{ ISO/IEC 26300:2006 }~ Whilst SiSU relies on software, the markup is uncomplicated and minimalistic which guarantees that future engines can be written to run against it. It is also easily converted to other formats, which means documents prepared in SiSU can be migrated to other document formats. Further security is provided by the fact that the software itself, SiSU is available under GPL3 a licence that guarantees that the source code will always be open, and free as in libre which means that that code base can be used, updated and further developed as required under the terms of its license. Another challenge is to keep up with a moving target. SiSU permits new forms of output to be added as they become important, (Open Document Format text was added in 2006 when it became an ISO standard for office applications and the archival of documents), and existing output to be updated (html has evolved and the related module has been updated repeatedly over the years, presumably when the World Wide Web Consortium (w3c) finalises html 5 which is currently under development, the html module will again be updated allowing all existing documents to be regenerated as html 5). +One of the challenges of maintaining documents is to keep them in a format that allows use of them independently of proprietary platforms. Consider issues related to dealing with legacy proprietary formats today and what guarantee you have that old proprietary formats will remain (or can be read without proprietary software/equipment) in 15 years time, or the way the way in which html has evolved over its relatively short span of existence. SiSU provides the flexibility of producing documents in multiple non-proprietary open formats including html, pdf~{ Specification submitted by Adobe to ISO to become a full open ISO specification
    http://www.linux-watch.com/news/NS7542722606.html }~ ODF,~{ ISO standard ISO/IEC 26300:2006 }~ and EPUB.~{ An open standard format for e-books }~ Whilst SiSU relies on software, the markup is uncomplicated and minimalistic which guarantees that future engines can be written to run against it. It is also easily converted to other formats, which means documents prepared in SiSU can be migrated to other document formats. Further security is provided by the fact that the software itself, SiSU is available under GPL3 a licence that guarantees that the source code will always be open, and free as in libre, which means that that code base can be used, updated and further developed as required under the terms of its license. Another challenge is to keep up with a moving target. SiSU permits new forms of output to be added as they become important, (Open Document Format text was added in 2006 when it became an ISO standard for office applications and the archival of documents), EPUB was introduced in 2009; and allows the technical representations existing output to be updated (html has evolved and the related module has been updated repeatedly over the years, presumably when the World Wide Web Consortium (w3c) finalises html 5 which is currently under development, the html module will again be updated allowing all existing documents to be regenerated as html 5). The document formats are written to the file-system and available for indexing by independent indexing tools, whether off the web like Google and Yahoo or on the site like Lucene and Hyperestraier. diff --git a/data/doc/sisu/v2/sisu_markup_samples/sisu_manual/sisu_markup.sst b/data/doc/sisu/v2/sisu_markup_samples/sisu_manual/sisu_markup.sst index 5b6ac4aa..c155e027 100644 --- a/data/doc/sisu/v2/sisu_markup_samples/sisu_manual/sisu_markup.sst +++ b/data/doc/sisu/v2/sisu_markup_samples/sisu_manual/sisu_markup.sst @@ -436,7 +436,7 @@ _# numbered list numbered list indented a., b., c., d., etc. 2~ Footnotes / Endnotes -Footnotes and endnotes not distinguished in markup. They are automatically numbered. Depending on the output file format (html, odf, pdf etc.), the document output selected will have either footnotes or endnotes. +Footnotes and endnotes not distinguished in markup. They are automatically numbered. Depending on the output file format (html, EPUB, odf, pdf etc.), the document output selected will have either footnotes or endnotes. !_ markup example: diff --git a/data/doc/sisu/v2/sisu_markup_samples/sisu_manual/sisu_output_overview.sst b/data/doc/sisu/v2/sisu_markup_samples/sisu_manual/sisu_output_overview.sst index fcf35855..ea995c36 100644 --- a/data/doc/sisu/v2/sisu_markup_samples/sisu_manual/sisu_output_overview.sst +++ b/data/doc/sisu/v2/sisu_markup_samples/sisu_manual/sisu_output_overview.sst @@ -50,7 +50,7 @@ This table gives an indication of the features that are available for various forms of output of SiSU. -!_ sisu-0.72.0 on 2009-10-28 +!_ sisu-2.0.0 on 2010-03-06 {table~h 28} feature |txt|ltx/pdf|HTML|EPUB|XML/s|XML/d|ODF|SQLite|pgSQL @@ -81,6 +81,37 @@ auto-heading numbers | * | * | * | * | * | * | * | * | * minor list numbering | * | * | * | * | * | * | * | * | * special characters | . | . | . | . | | | | | +!_ sisu-1.0.0 on 2009-10-28 + +{table~h 28} +feature |txt|ltx/pdf|HTML|XML/s|XML/d|ODF|SQLite|pgSQL +headings | * | * | * | * | * | * | * | * +footnotes | * | * | * | * | * | * | * | * +bold, underscore, italics | . | * | * | * | * | * | * | * +strikethrough | . | * | * | * | * | * | | +superscript, subscript | . | * | * | * | * | * | | +extended ascii set (utf-8)| * | * | * | * | * | * | | * +indents | * | * | * | * | * | * | | +bullets | . | * | * | * | * | . | | +groups | | | | | | | | +* tables | | * | * | . | . | . | . | . +* poem | * | * | * | . | . | * | . | . +* code | * | * | * | . | . | * | . | . +url | * | * | * | * | * | * | . | . +links | * | * | * | * | * | * | . | . +images | - | * | * | T | T | * | T | T +image caption | - | * | * | | | | | +table of contents | | * | * | * | * | . | | +page header/footer? | - | * | * | * | * | t | | +line break | * | * | * | * | * | * | | +page break | | * | | | | * | | +segments | | | * | | | | | +skins | * | * | * | * | * | | | +ocn | . | * | * | * | * | -?| * | * +auto-heading numbers | * | * | * | * | * | * | * | * +minor list numbering | * | * | * | * | * | * | * | * +special characters | . | . | . | | | | | + !_ sisu-0.36.6 on 2006-01-23 {table~h 28; 8; 8; 8; 8; 8; 8; 8; 8; 8;} diff --git a/data/doc/sisu/v2/sisu_markup_samples/sisu_manual/sisu_quickstart.sst b/data/doc/sisu/v2/sisu_markup_samples/sisu_manual/sisu_quickstart.sst index 1467bd47..a31c0f9f 100644 --- a/data/doc/sisu/v2/sisu_markup_samples/sisu_manual/sisu_quickstart.sst +++ b/data/doc/sisu/v2/sisu_markup_samples/sisu_manual/sisu_quickstart.sst @@ -126,7 +126,7 @@ _* Unpack the source Two alternative modes of installation from source are provided, setup.rb (by Minero Aoki) and a rant(by Stefan Lang) built install file, in either case: the first steps are the same, download and unpack the source file: -For basic use SiSU is only dependent on the programming language in which it is written Ruby, and SiSU will be able to generate html, various 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)~{ There is nothing to stop MySQL support being added in future. }~ or converting LaTeX to pdf. +For basic use SiSU is only dependent on the programming language in which it is written Ruby, and SiSU will be able to generate html, EPUB, various 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)~{ There is nothing to stop MySQL support being added in future. }~ or converting LaTeX to pdf. !_ setup.rb @@ -193,7 +193,7 @@ change directory to the appropriate one: cd /usr/share/doc/sisu/sisu_markup_samples/dfsg -3~ basic text, plaintext, html, XML, ODF +3~ basic text, plaintext, html, XML, ODF, EPUB Having moved to the directory that contains the markup samples (see instructions above if necessary), choose a file and run sisu against it diff --git a/data/doc/sisu/v2/sisu_markup_samples/sisu_manual/sisu_search_cgi.ssi b/data/doc/sisu/v2/sisu_markup_samples/sisu_manual/sisu_search_cgi.ssi index 982a6c54..e93f1e2b 100644 --- a/data/doc/sisu/v2/sisu_markup_samples/sisu_manual/sisu_search_cgi.ssi +++ b/data/doc/sisu/v2/sisu_markup_samples/sisu_manual/sisu_search_cgi.ssi @@ -51,7 +51,7 @@ {~^ Sample search frontend }http://search.sisudoc.org A small database and sample query front-end (search from) that makes use of the citation system, _{object citation numbering}_ to demonstrates functionality.~{ (which could be extended further with current back-end). As regards scaling of the database, it is as scalable as the database (here Postgresql) and hardware allow. }~ -SiSU can provide information on which documents are matched and at what locations within each document the matches are found. These results are relevant across all outputs using object citation numbering, which includes html, XML, LaTeX, PDF and indeed the SQL database. You can then refer to one of the other outputs or in the SQL database expand the text within the matched objects (paragraphs) in the documents matched. +SiSU can provide information on which documents are matched and at what locations within each document the matches are found. These results are relevant across all outputs using object citation numbering, which includes html, XML, EPUB, LaTeX, PDF and indeed the SQL database. You can then refer to one of the other outputs or in the SQL database expand the text within 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.~{ of this feature when demonstrated to an IBM software innovations evaluator in 2004 he said to paraphrase: this could be of interest to us. We have large document management systems, you can search hundreds of thousands of documents and we can tell you which documents meet your search criteria, but there is no way we can tell you without opening each document where within each your matches are found. }~ diff --git a/data/doc/sisu/v2/sisu_markup_samples/sisu_manual/sisu_short_feature_summary.ssi b/data/doc/sisu/v2/sisu_markup_samples/sisu_manual/sisu_short_feature_summary.ssi index 72ec2370..0009352e 100644 --- a/data/doc/sisu/v2/sisu_markup_samples/sisu_manual/sisu_short_feature_summary.ssi +++ b/data/doc/sisu/v2/sisu_markup_samples/sisu_manual/sisu_short_feature_summary.ssi @@ -51,7 +51,7 @@ _* sparse/minimal markup (clean utf-8 source texts). Documents are prepared in a _* markup is easily readable/parsable by the human eye, (basic markup is simpler and more sparse than the most basic HTML), [this may also be converted to XML representations of the same input/source document]. -_* markup defines document structure (this may be done once in a header pattern-match description, or for heading levels individually); basic text attributes (bold, italics, underscore, strike-through etc.) as required; and semantic information related to the document (header information, extended beyond the Dublin core and easily further extended as required); the headers may also contain processing instructions. SiSU markup is primarily an abstraction of document structure and document metadata to permit taking advantage of the basic strengths of existing alternative practical standard ways of representing documents [be that browser viewing, paper publication, sql search etc.] (html, xml, odf, latex, pdf, sql) +_* markup defines document structure (this may be done once in a header pattern-match description, or for heading levels individually); basic text attributes (bold, italics, underscore, strike-through etc.) as required; and semantic information related to the document (header information, extended beyond the Dublin core and easily further extended as required); the headers may also contain processing instructions. SiSU markup is primarily an abstraction of document structure and document metadata to permit taking advantage of the basic strengths of existing alternative practical standard ways of representing documents [be that browser viewing, paper publication, sql search etc.] (html, epub, xml, odf, latex, pdf, sql) _* for output produces reasonably elegant output of established industry and institutionally accepted open standard formats.[3] takes advantage of the different strengths of various standard formats for representing documents, amongst the output formats currently supported are: @@ -59,6 +59,8 @@ _1* html - both as a single scrollable text and a segmented document _1* xhtml +_1* epub + _1* XML - both in sax and dom style xml structures for further development as required _1* ODF - open document format, the iso standard for document storage @@ -71,11 +73,11 @@ _1* sql - population of an sql database, (at the same object level that is used Also produces: concordance files; document content certificates (md5 or sha256 digests of headings, paragraphs, images etc.) and html manifests (and sitemaps of content). (b) takes advantage of the strengths implicit in these very different output types, (e.g. PDFs produced using typesetting of LaTeX, databases populated with documents at an individual object/paragraph level, making possible granular search (and related possibilities)) -_* ensuring content can be cited in a meaningful way regardless of selected output format. Online publishing (and publishing in multiple document formats) lacks a useful way of citing text internally within documents (important to academics generally and to lawyers) as page numbers are meaningless across browsers and formats. sisu seeks to provide a common way of pinpoint the text within a document, (which can be utilized for citation and by search engines). The outputs share a common numbering system that is meaningful (to man and machine) across all digital outputs whether paper, screen, or database oriented, (pdf, HTML, xml, sqlite, postgresql), this numbering system can be used to reference content. +_* ensuring content can be cited in a meaningful way regardless of selected output format. Online publishing (and publishing in multiple document formats) lacks a useful way of citing text internally within documents (important to academics generally and to lawyers) as page numbers are meaningless across browsers and formats. sisu seeks to provide a common way of pinpoint the text within a document, (which can be utilized for citation and by search engines). The outputs share a common numbering system that is meaningful (to man and machine) across all digital outputs whether paper, screen, or database oriented, (pdf, HTML, EPUB, xml, sqlite, postgresql), this numbering system can be used to reference content. _* Granular search within documents. SQL databases are populated at an object level (roughly headings, paragraphs, verse, tables) and become searchable with that degree of granularity, the output information provides the object/paragraph numbers which are relevant across all generated outputs; it is also possible to look at just the matching paragraphs of the documents in the database; [output indexing also work well with search indexing tools like hyperestraier]. -_* long term maintainability of document collections in a world of changing formats, having a very sparsely marked-up source document base. there is a considerable degree of future-proofing, output representations are "upgradeable", and new document formats may be added. e.g. addition of odf (open document text) module in 2006 and in future html5 output sometime in future, without modification of existing prepared texts +_* long term maintainability of document collections in a world of changing formats, having a very sparsely marked-up source document base. there is a considerable degree of future-proofing, output representations are "upgradeable", and new document formats may be added. e.g. addition of odf (open document text) module in 2006, epub in 2009 and in future html5 output sometime in future, without modification of existing prepared texts _* SQL search aside, documents are generated as required and static once generated. @@ -87,7 +89,7 @@ _* document source may be bundled together (automatically) with associated docum _* generated document outputs may automatically be posted to remote sites. -_* for basic document generation, the only software dependency is Ruby, and a few standard Unix tools (this covers plaintext, HTML, XML, ODF, LaTeX). To use a database you of course need that, and to convert the LaTeX generated to pdf, a latex processor like tetex or texlive. +_* for basic document generation, the only software dependency is Ruby, and a few standard Unix tools (this covers plaintext, HTML, EPUB, XML, ODF, LaTeX). To use a database you of course need that, and to convert the LaTeX generated to pdf, a latex processor like tetex or texlive. _* as a developers tool it is flexible and extensible diff --git a/data/doc/sisu/v2/sisu_markup_samples/sisu_manual/sisu_skin.sst b/data/doc/sisu/v2/sisu_markup_samples/sisu_manual/sisu_skin.sst index dfc5c4a6..9cff0ed7 100644 --- a/data/doc/sisu/v2/sisu_markup_samples/sisu_manual/sisu_skin.sst +++ b/data/doc/sisu/v2/sisu_markup_samples/sisu_manual/sisu_skin.sst @@ -92,11 +92,11 @@ A site skin, modifies the program default skin. With SiSU installed sample skins may be found in: -_1 /etc/sisu/skin/doc and /usr/share/doc/sisu/sisu_markup_samples/dfsg/_sisu/skin/doc +_1 /etc/sisu/skin/doc and /usr/share/doc/sisu/v2/sisu_markup_samples/samples/_sisu/skin/doc (or equivalent directory) and if sisu-markup-samples is installed also under: -_1 /usr/share/doc/sisu/sisu_markup_samples/non-free/_sisu/skin/doc +_1 /usr/share/doc/sisu-markup-samples/v2/samples/_sisu/skin/doc Samples of list.yml and promo.yml (which are used to create the right column list) may be found in: diff --git a/data/doc/sisu/v2/sisu_markup_samples/sisu_manual/sisu_synopsis.ssi b/data/doc/sisu/v2/sisu_markup_samples/sisu_manual/sisu_synopsis.ssi new file mode 100644 index 00000000..909cb2c2 --- /dev/null +++ b/data/doc/sisu/v2/sisu_markup_samples/sisu_manual/sisu_synopsis.ssi @@ -0,0 +1,64 @@ +% SiSU 2.0 + +@title: SiSU + :subtitle: Commands + +@creator: :author: Amissah, Ralph + +@rights: Copyright (C) Ralph Amissah 2007, part of SiSU documentation, License GPL 3 + +@classify: + :type: information + :topic_register: electronic documents:SiSU:document:commands;SiSU:manual:commands;electronic documents:SiSU:manual:commands;SiSU:document:commands;SiSU:document:commands + :subject: ebook, epublishing, electronic book, electronic publishing, electronic document, electronic citation, data structure, citation systems, search + +% used_by: sisu_manual SiSU.ssm + +@date: + :created: 2002-08-28 + :issued: 2002-08-28 + :available: 2002-08-28 + :published: 2007-09-16 + :modified: 2009-12-16 + +@make: + :num_top: 1 + :breaks: new=C; break=1 + :skin: skin_sisu_manual + :bold: /Gnu|Debian|Ruby|SiSU/ + +@links: + { SiSU Manual }http://www.jus.uio.no/sisu/sisu_manual/ + { Book Samples and Markup Examples }http://www.jus.uio.no/sisu/SiSU/examples.html + { SiSU @ Wikipedia }http://en.wikipedia.org/wiki/SiSU + { SiSU @ Freshmeat }http://freshmeat.net/projects/sisu/ + { SiSU @ Ruby Application Archive }http://raa.ruby-lang.org/project/sisu/ + { SiSU @ Debian }http://packages.qa.debian.org/s/sisu.html + { SiSU Download }http://www.jus.uio.no/sisu/SiSU/download.html + { SiSU Changelog }http://www.jus.uio.no/sisu/SiSU/changelog.html + { SiSU help }http://www.jus.uio.no/sisu/sisu_manual/sisu_help/ + { SiSU help sources }http://www.jus.uio.no/sisu/sisu_manual/sisu_help_sources/ + +:A~? @title @creator + +:B~? SiSU Commands + +1~ Synopsis + +SiSU - Structured information, Serialized Units - a document publishing system + +sisu [ -abcDdeFhIiMmNnopqRrSsTtUuVvwXxYyZz0-9 ] [ filename/ wildcard ] + +sisu [ -Ddcv ] [ instruction ] + +sisu [ -CcFLSVvW ] + +Note: commands should be issued from within the directory that contains the marked up files, cd to markup directory. + +sisu is at version 2, to use sisu version 1 + +sisu --v1 [and options/operations as above] + +for settings see sisu --help env + +sisu [ filename/ wildcard] == sisu -0 [filename/wildcard] diff --git a/lib/sisu/v2/defaults.rb b/lib/sisu/v2/defaults.rb index 52c2cd45..a654aed7 100644 --- a/lib/sisu/v2/defaults.rb +++ b/lib/sisu/v2/defaults.rb @@ -1715,13 +1715,14 @@ WOK SiSU information Structuring Universe - Structured information, Serialized Units - software for electronic texts, documents, books, digital libraries in plaintext, html, XHTML, XML, -ODF (OpenDocument), LaTeX, PDF, SQL (PostgreSQL and SQLite), and +ODF (OpenDocument), EPUB, LaTeX, PDF, SQL (PostgreSQL and SQLite), and for search - - + + +"document structuring, ebook, publishing, PDF, LaTeX, XML, ODF, EPUB, SQL, postgresql, sqlite, electronic book, electronic publishing, electronic document, electronic citation, data structure, citation systems, granular search, digital library" /> @@ -1751,20 +1752,10 @@ software for electronic texts, document collections, books, digital libraries, a with "atomic search" and text positioning system (shared text citation numbering: "ocn")

    -outputs include: plaintext, html, XHTML, XML, ODF (OpenDocument), LaTeX, PDF, SQL (PostgreSQL and SQLite) +outputs include: plaintext, html, XHTML, XML, ODF (OpenDocument), EPUB, LaTeX, PDF, SQL (PostgreSQL and SQLite)

    @@ -1776,7 +1767,7 @@ outputs include: plaintext, html, XHTML, XML, ODF (OpenDocument), LaTeX, PDF, SQ ---

    - + SiSU Manual

    @@ -1784,7 +1775,7 @@ outputs include: plaintext, html, XHTML, XML, ODF (OpenDocument), LaTeX, PDF, SQ ---

    - + What does SiSU do? Summary

    @@ -1796,6 +1787,16 @@ outputs include: plaintext, html, XHTML, XML, ODF (OpenDocument), LaTeX, PDF, SQ Book Samples and Markup Examples

    +

    + + sorted by Author (sisu metadata) + +

    +

    + + sorted by Topic (sisu metadata) + +

    ---

    @@ -1848,6 +1849,21 @@ outputs include: plaintext, html, XHTML, XML, ODF (OpenDocument), LaTeX, PDF, SQ

    =============

    +

    + + sisu markup + +

    +

    + + sisu commands + +

    +

    + + sisu manual + +

    sisu man pages @@ -1964,13 +1980,13 @@ markup defines document structure (this may be done once in a header pattern-mat

    (iii) (a) -multiple outputs primarily industry established and institutionally accepted open standard formats, include amongst others: plaintext (UTF-8); html; (structured) XML; ODF (Open Document text)l; LaTeX; PDF (via LaTeX); SQL type databases (currently PostgreSQL and SQLite). Also produces: concordance files; document content certificates (md5 or sha256 digests of headings, paragraphs, images etc.) and html manifests (and sitemaps of content). +multiple outputs primarily industry established and institutionally accepted open standard formats, include amongst others: plaintext (UTF-8); html; (structured) XML; ODF (Open Document text); EPUB; LaTeX; PDF (via LaTeX); SQL type databases (currently PostgreSQL and SQLite). Also produces: concordance files; document content certificates (md5 or sha256 digests of headings, paragraphs, images etc.) and html manifests (and sitemaps of content). (b) takes advantage of the strengths implicit in these very different output types, (e.g. PDFs produced using typesetting of LaTeX, databases populated with documents at an individual object/paragraph level, making possible granular search (and related possibilities))

    (iv) -outputs share a common numbering system (dubbed "object citation numbering" (ocn)) that is meaningful (to man and machine) across various digital outputs whether paper, screen, or database oriented, (PDF, html, XML, sqlite, postgresql), this numbering system can be used to reference content.

    +outputs share a common numbering system (dubbed "object citation numbering" (ocn)) that is meaningful (to man and machine) across various digital outputs whether paper, screen, or database oriented, (PDF, html, XML, EPUB, sqlite, postgresql), this numbering system can be used to reference content.

    (v) SQL databases are populated at an object level (roughly headings, paragraphs, verse, tables) and become searchable with that degree of granularity, the output information provides the object/paragraph numbers which are relevant across all generated outputs; it is also possible to look at just the matching paragraphs of the documents in the database; [output indexing also work well with search indexing tools like hyperesteier].

    @@ -2040,7 +2056,7 @@ document source may be bundled together (automatically) with associated document

    (xxii) -for basic document generation, the only software dependency is Ruby, and a few standard Unix tools (this covers plaintext, html, XML, ODF, LaTeX). To use a database you of course need that, and to convert the LaTeX generated to PDF, a LaTeX processor like tetex or texlive. +for basic document generation, the only software dependency is Ruby, and a few standard Unix tools (this covers plaintext, html, XML, ODF, EPUB, LaTeX). To use a database you of course need that, and to convert the LaTeX generated to PDF, a LaTeX processor like tetex or texlive.

    as a developers tool it is flexible and extensible @@ -2051,6 +2067,20 @@ More information on SiSU p

    + +

    + +
    + + + + idx + txt +search.sisudoc.org +
    + +

    +

    SiSU ("SiSU information Structuring Universe" or "Structured information, Serialized Units"),1 is a Unix command line oriented framework for document structuring, publishing and search. Featuring minimalistic markup, multiple standard outputs, a common citation system, and granular search.

    diff --git a/lib/sisu/v2/help.rb b/lib/sisu/v2/help.rb index 894f1654..38f0a782 100644 --- a/lib/sisu/v2/help.rb +++ b/lib/sisu/v2/help.rb @@ -75,7 +75,7 @@ module SiSU_Help def help_request begin gotten=nil - regx=/^(list|com(?:mands)?|mod(?:ifiers)|markup|syntax|example(?:37|38)?|head(?:ers?)?|(?:heading|title|level|structure)s?|endnotes|footnotes|tables?|customise|skin|dir(?:ectories)?|paths?|lang(?:uage)?|modules|setup|conf(?:ig(?:ure)?)?|standards?|li[cs]en[sc]e|scratch|install|termsheet|dublin(?:core)?|dc|customise|styles?|appearance|theme|env(ironment)?|dir(?:ector(?:y|ies))?|metaverse|abstract|features|summary|(?:short)?cuts?|sisu|about|ext(?:ernal)?(?:_?prog(?:rams)?)?)|utf-?8|plaintext|html|xml|xhtml|odf|odt|opendocument|css|pdf|latex|tex|(?:tex)?info|search|(?:hyper)?est(?:raier)?|searchform|cgi|sql|db|postgresql|pg?sql|sqlite|convert|php|webrick|sitemaps?|ya?ml|ansi|colors|-[AabcDdEeFHhIMmNnopqrRSstUuVvwXxyZz0-9]|-[Ddcv]|-[CcFLSVvW]/ + regx=/^(list|com(?:mands)?|mod(?:ifiers)|markup|syntax|example(?:37|38)?|head(?:ers?)?|(?:heading|title|level|structure)s?|endnotes|footnotes|tables?|customise|skin|dir(?:ectories)?|paths?|lang(?:uage)?|modules|setup|conf(?:ig(?:ure)?)?|standards?|li[cs]en[sc]e|scratch|install|termsheet|dublin(?:core)?|dc|customise|styles?|appearance|theme|env(ironment)?|dir(?:ector(?:y|ies))?|metaverse|abstract|features|summary|(?:short)?cuts?|sisu|about|ext(?:ernal)?(?:_?prog(?:rams)?)?)|utf-?8|plaintext|html|xml|xhtml|epub|odf|odt|opendocument|css|pdf|latex|tex|(?:tex)?info|search|(?:hyper)?est(?:raier)?|searchform|cgi|sql|db|postgresql|pg?sql|sqlite|convert|php|webrick|sitemaps?|ya?ml|ansi|colors|-[AabcDdEeFHhIMmNnopqrRSstUuVvwXxyZz0-9]|-[Ddcv]|-[CcFLSVvW]/ help_info=%{#{@cX.blue_hi}SiSU help#{@cX.off} #{@cX.ruby}~#{@cX.off} #{@request}} help_list=%{#{@cX.blue}sisu --help#{@cX.off} #{@cX.cyan}type keyword else "enter" to exit help:\n\tkeywords include:#{@cX.off} #{@cX.brown}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, external_programs, dublincore, termsheet, search, sql, hyper(est)raier, features, external_programs, license#{@cX.off} \n} help_prompt=%{#{@cX.fuschia}exit, [or carriage return to exit help] #{@cX.off}\n#{@cX.blue_hi}SiSU help#{@cX.off} #{@cX.ruby}~#{@cX.off} } @@ -125,6 +125,7 @@ module SiSU_Help when /xhtml|-b/; @help.xhtml when /xml|-[xX]/; @help.xml when /odf|odt|opendocument|-o/; @help.odf + when /epub|-e/; @help.epub when /php/; @help.php when /pdf|-p/; @help.pdf when /latex|tex/; @help.latex @@ -995,6 +996,7 @@ WOK pdf viewer: #{@cX.blue}#{@env.program.pdf_viewer}#{@cX.off} xml viewer: #{@cX.blue}#{@env.program.xml_editor}#{@cX.off} odf viewer: #{@cX.blue}#{@env.program.odf_viewer}#{@cX.off} + epub viewer: #{@cX.blue}#{@env.program.epub_viewer}#{@cX.off} (default selections can be changed in sisurc.yml under program_select:) #{@cX.green}programs used if available#{@cX.off} word count: #{program_found?(@env.program.wc)} @@ -1504,6 +1506,8 @@ WOK sisu -X [filename/wildcard] xml document (dom type parsing) sisu -o [filename/wildcard] odt document, (odf open document format) + + sisu -e [filename/wildcard] odt document, (epub document) WOK help_commands end @@ -1511,6 +1515,13 @@ WOK print < +xhtml, XML, epub, odt (odf text), LaTeX, pdf, info, and SQL (PostgreSQL and +SQLite), which share numbered text objects ("object citation numbering") and +the same document structure information. For more see: + .SH -2.3 DOCUMENT PROCESSING COMMAND FLAGS +2.2 DOCUMENT PROCESSING COMMAND FLAGS .TP .B \-a [filename/wildcard] @@ -244,9 +230,9 @@ and dtd files are updated if \-CC is used. .TP .B \-c [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). +\-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). .TP .B \-D [instruction] [filename] @@ -318,7 +304,7 @@ that produced it) (digest.txt). \-NV for verbose digest output to screen. .TP .B \-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 +they already exist, this skips the equivalent of \-m which is otherwise assumed by most processing flags. .TP @@ -329,8 +315,8 @@ output basic document in opendocument file format (opendocument.odt). .B \-p [filename/wildcard] produces LaTeX pdf (portrait.pdf & landscape.pdf). Default paper size is set in config file, or document header, or provided with additional command line -parameter, e.g. \-\-papersize\-a4 preset sizes include: \'A4\', U.S. \'letter\' -and \'legal\' and book sizes \'A5\' and \'B5\' (system defaults to A4). +parameter, e.g. \-\-papersize\-a4 preset sizes include: 'A4', U.S. 'letter' and +'legal' and book sizes 'A5' and 'B5' (system defaults to A4). .TP .B \-q [filename/wildcard] @@ -340,7 +326,7 @@ quiet less output to screen. .B \-R [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 +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 \-r @@ -349,7 +335,7 @@ different if \-R is used with other flags from if used alone. Alone the rsync .B \-r [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 \-R +that you have your "keys" and ssh agent in place. Also see \-R .TP .B \-S @@ -426,11 +412,11 @@ created for each of the processing flag requests. See also \-V .TP .B \-W -starts ruby\'s webrick webserver points at sisu output directories, the +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 \ ]. +\-H \ ; \ also, \ note \ \-F \ webrick \ ]. .TP .B \-w [filename/wildcard] @@ -539,7 +525,7 @@ where database name would be SiSU_[present \ working \ directory \ name \ .TP .B \-D \-\-dropall -kills data\" and drops (postgresql or sqlite) db, tables & indexes [ \ \-d \ +kills data" and drops (postgresql or sqlite) db, tables & indexes [ \ \-d \ \-\-dropall \ sqlite \ equivalent] .BR @@ -565,7 +551,7 @@ in the sisurc.yml file): .TP .B \-0 \-mNhwpAobxXyYv [this \ is \ the \ default \ action \ run \ when \ no \ -options \ are \ give, \ i.e. \ on \ \'sisu \ [filename]\'] +options \ are \ give, \ i.e. \ on \ 'sisu \ [filename]'] .TP .B \-1 @@ -598,9 +584,8 @@ consider \-u for appended url info or \-v for verbose output 5.1 COMMAND LINE WITH FLAGS \- BATCH PROCESSING .BR -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. +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. .BR Running sisu (alone without any flags, filenames or wildcards) brings up the @@ -685,10 +670,10 @@ Available man pages are converted back to html using man2html: An online version of the sisu man page is available here: .BR -* various sisu man pages [^7] +* various sisu man pages [^8] .BR -* sisu.1 [^8] +* sisu.1 [^9] .SH 6.3 SISU BUILT\-IN INTERACTIVE HELP @@ -752,7 +737,7 @@ For lists of alternative help sources, see: .SH -7. INTRODUCTION TO SISU MARKUP[^9] +7. INTRODUCTION TO SISU MARKUP[^10] .BR .SH @@ -760,7 +745,7 @@ For lists of alternative help sources, see: .BR .B SiSU -source documents are plaintext (UTF\-8)[^10] files +source documents are plaintext (UTF\-8)[^11] files .BR All paragraphs are separated by an empty line. @@ -877,7 +862,8 @@ a space and the comment: 8.1 SAMPLE HEADER .BR -This current document has a header similar to this one (without the comments): +This current document is loaded by a master document that has a header similar +to this one: .nf @@ -1226,7 +1212,7 @@ Numbered List (not to be confused with headings/titles, (document structure)) .BR Footnotes and endnotes not distinguished in markup. They are automatically -numbered. Depending on the output file format (html, odf, pdf etc.), the +numbered. Depending on the output file format (html, EPUB, odf, pdf etc.), the document output selected will have either footnotes or endnotes. .BR @@ -1241,7 +1227,7 @@ document output selected will have either footnotes or endnotes. .B resulting output: .BR -[^11] +[^12] .BR .B markup example: @@ -1255,7 +1241,7 @@ document output selected will have either footnotes or endnotes. .B resulting output: .BR -normal text[^12] continues +normal text[^13] continues .BR .B markup example: @@ -1409,7 +1395,7 @@ automatically as a footnote .B resulting output: .BR -about SiSU [^13] markup +aboutSiSU [^14] markup .SH 9.5.3 LINKING IMAGES @@ -1444,7 +1430,7 @@ about SiSU [^13] markup tux.png 64x80 \"Gnu/Linux \- a better way\" .BR -[ \ ruby_logo \ (png \ missing) \ ] [^14] +[ \ ruby_logo \ (png \ missing) \ ] [^15] .BR GnuDebianLinuxRubyBetterWay.png 100x101 \"Way Better \- with Gnu/Linux, Debian @@ -1506,7 +1492,7 @@ information in each column .BR .B markup example: -[^15] +[^16] .nf @@ -2324,7 +2310,7 @@ contain other documents. .BR Note: a secondary file of the composite document is built prior to processing -with the same prefix and the suffix \._sst [^16] +with the same prefix and the suffix \._sst [^17] .BR @@ -2645,20 +2631,20 @@ installed sample skins may be found in: .BR /etc/sisu/skin/doc and - /usr/share/doc/sisu/v1/sisu_markup_samples/dfsg/_sisu/skin/doc + /usr/share/doc/sisu/v2/sisu_markup_samples/samples/_sisu/skin/doc .BR (or equivalent directory) and if sisu\-markup\-samples is installed also under: .BR - /usr/share/doc/sisu/v1/sisu_markup_samples/non\-free/_sisu/skin/doc + /usr/share/doc/sisu\-markup\-samples/v2/samples/_sisu/skin/doc .BR Samples of list.yml and promo.yml (which are used to create the right column list) may be found in: .BR - /usr/share/doc/sisu/v1/sisu_markup_samples/dfsg/_sisu/skin/yml (or equivalent + /usr/share/doc/sisu/sisu_markup_samples/dfsg/_sisu/skin/yml (or equivalent directory) .SH @@ -2668,9 +2654,9 @@ list) may be found in: .BR CSS files to modify the appearance of .B SiSU -html, XHTML or XML may be placed in the configuration directory: - \./_sisu/css; ~/.sisu/css or; /etc/sisu/css and these will be copied to the -output directories with the command sisu \-CC. +html, XHTML or XML may be placed in the configuration directory: \./_sisu/css +; ~/.sisu/css or; /etc/sisu/css and these will be copied to the output +directories with the command sisu \-CC. .BR The basic CSS file for html output is html.css, placing a file of that name in @@ -2695,7 +2681,7 @@ The default homepage may use homepage.css or html.css .BR 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.[^17] +file that is looked for in a skin.[^18] .SH 17. ORGANISING CONTENT @@ -2766,8 +2752,8 @@ directory structure and organisation of content. .BR Custom built pages, including the home page index.html may be placed within the configuration directory _sisu/home/ in any of the locations that is searched -for the configuration directory, namely \./_sisu; ~/_sisu; /etc/sisu From there -they are copied to the root of the output directory with the command: +for the configuration directory, namely \./_sisu ; ~/_sisu ; /etc/sisu From +there they are copied to the root of the output directory with the command: .BR sisu \-CC @@ -2860,8 +2846,8 @@ output formats. .BR .B SiSU -feeds sisu markupd documents into sql type databases PostgreSQL[^18] and/or -SQLite[^19] database together with information related to document structure. +feeds sisu markupd documents into sql type databases PostgreSQL[^19] and/or +SQLite[^20] database together with information related to document structure. .BR This is one of the more interesting output forms, as all the structural data of @@ -2874,7 +2860,7 @@ four tables: subject, (the Dublin Core...); .BR - * another the substantive texts by individual \"paragraph\" (or object) \- + * another the substantive texts by individual "paragraph" (or object) \- along with structural information, each paragraph being identifiable by its paragraph number (if it has one which almost all of them do), and the substantive text of each paragraph quite naturally being searchable (both in @@ -3103,25 +3089,25 @@ removes specified document from sqlite database. INCLUDING OBJECT CITATION NUMBERING (BACKEND CURRENTLY POSTGRESQL) .BR -Sample search frontend [^20] A small database and +Sample search frontend [^21] A small database and sample query front\-end (search from) that makes use of the citation system, .I object citation numbering -to demonstrates functionality.[^21] +to demonstrates functionality.[^22] .BR .B SiSU can provide information on which documents are matched and at what locations within each document the matches are found. These results are relevant across -all outputs using object citation numbering, which includes html, XML, LaTeX, -PDF and indeed the SQL database. You can then refer to one of the other outputs -or in the SQL database expand the text within the matched objects (paragraphs) -in the documents matched. +all outputs using object citation numbering, which includes html, XML, EPUB, +LaTeX, PDF and indeed the SQL database. You can then refer to one of the other +outputs or in the SQL database expand the text within the matched objects +(paragraphs) in the documents matched. .BR 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.[^22] +meet the search criteria.[^23] .TP .B sisu \-F \-\-webserv\-webrick @@ -3642,11 +3628,11 @@ is only dependent on the programming language in which it is written .B Ruby , and .B SiSU -will be able to generate html, various 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)[^23] or -converting LaTeX to pdf. +will be able to generate html, EPUB, various 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 pdf. .BR .B setup.rb @@ -3751,7 +3737,7 @@ change directory to the appropriate one: cd /usr/share/doc/sisu/sisu_markup_samples/dfsg .SH -30.2.1 BASIC TEXT, PLAINTEXT, HTML, XML, ODF +30.2.1 BASIC TEXT, PLAINTEXT, HTML, XML, ODF, EPUB .BR Having moved to the directory that contains the markup samples (see @@ -3829,13 +3815,13 @@ The man pages are also available online, though not always kept as up to date as within the package itself: .BR -* sisu.1 [^24] +* sisu.1 [^25] .BR -* sisu.8 [^25] +* sisu.8 [^26] .BR -* man directory [^26] +* man directory [^27] .SH 30.3.2 BUILT IN HELP @@ -3879,7 +3865,7 @@ Additional markup samples are packaged separately in the file: .BR On .B Debian -they are available in non\-free[^27] to include them it is necessary to +they are available in non\-free[^28] to include them it is necessary to include non\-free in your /etc/apt/source.list or obtain them from the sisu home site. @@ -4110,8 +4096,8 @@ may also contain processing instructions. markup is primarily an abstraction of document structure and document metadata to permit taking advantage of the basic strengths of existing alternative practical standard ways of representing documents [be \ that \ -browser \ viewing, \ paper \ publication, \ sql \ search \ etc.] (html, xml, -odf, latex, pdf, sql) +browser \ viewing, \ paper \ publication, \ sql \ search \ etc.] (html, epub, +xml, odf, latex, pdf, sql) .BR * for output produces reasonably elegant output of established industry and @@ -4125,6 +4111,9 @@ amongst the output formats currently supported are: .BR * xhtml +.BR + * epub + .BR * XML \- both in sax and dom style xml structures for further development as required @@ -4159,8 +4148,8 @@ browsers and formats. sisu seeks to provide a common way of pinpoint the text within a document, (which can be utilized for citation and by search engines). The outputs share a common numbering system that is meaningful (to man and machine) across all digital outputs whether paper, screen, or database -oriented, (pdf, HTML, xml, sqlite, postgresql), this numbering system can be -used to reference content. +oriented, (pdf, HTML, EPUB, xml, sqlite, postgresql), this numbering system can +be used to reference content. .BR * Granular search within documents. SQL databases are populated at an object @@ -4171,13 +4160,12 @@ also possible to look at just the matching paragraphs of the documents in the database; [output \ indexing \ also \ work \ well \ with \ search \ indexing \ tools \ like \ hyperestraier]. -.BR -* long term maintainability of document collections in a world of changing +.BR * long term maintainability of document collections in a world of changing formats, having a very sparsely marked\-up source document base. there is a considerable degree of future\-proofing, output representations are \"upgradeable\", and new document formats may be added. e.g. addition of odf -(open document text) module in 2006 and in future html5 output sometime in -future, without modification of existing prepared texts +(open document text) module in 2006, epub in 2009 and in future html5 output +sometime in future, without modification of existing prepared texts .BR * SQL search aside, documents are generated as required and static once @@ -4205,7 +4193,7 @@ may be processed locally to produce the desired document outputs .BR * for basic document generation, the only software dependency is .B Ruby -, and a few standard Unix tools (this covers plaintext, HTML, XML, ODF, +, and a few standard Unix tools (this covers plaintext, HTML, EPUB, XML, ODF, LaTeX). To use a database you of course need that, and to convert the LaTeX generated to pdf, a latex processor like tetex or texlive. @@ -4317,7 +4305,7 @@ Note documentation is prepared in .B SiSU and output is available in multiple formats including amongst others html, -pdf, and odf which may be also be accessed via the html pages[^28] +pdf, odf and epub which may be also be accessed via the html pages[^28] .SH 34.2.1 WWW.SISUDOC.ORG @@ -4416,19 +4404,19 @@ pdf, and odf which may be also be accessed via the html pages[^28] .BR - /usr/share/doc/sisu/html/v2/sisu.1.html + /usr/share/doc/sisu/v2/html/sisu.1.html .BR - /usr/share/doc/sisu/html/v2/sisu_pdf.7.html + /usr/share/doc/sisu/v2/html/sisu_pdf.7.html .BR - /usr/share/doc/sisu/html/v2/sisu_postgresql.7.html + /usr/share/doc/sisu/v2/html/sisu_postgresql.7.html .BR - /usr/share/doc/sisu/html/v2/sisu_sqlite.7.html + /usr/share/doc/sisu/v2/html/sisu_sqlite.7.html .BR - /usr/share/doc/sisu/html/v2/sisu_webrick.1.html + /usr/share/doc/sisu/v2/html/sisu_webrick.1.html .SH 34.3.2 WWW.JUS.UIO.NO/SISU @@ -4461,9 +4449,11 @@ footnotes/endnotes which are numbered separately and tied to the object from which they are referenced. .TP .BI 2. -i.e. the html, pdf, odf outputs are each built individually and optimised for -that form of presentation, rather than for example the html being a saved -version of the odf, or the pdf being a saved version of the html. +i.e. the html, pdf, epub, odf outputs are each built individually and +optimised for that form of presentation, rather than for example the html being +a saved version of the odf, or the pdf being a saved version of the html. + +.BR .TP .BI 3. the different heading levels @@ -4478,7 +4468,14 @@ specification .TP .BI 6. -ISO/IEC 26300:2006 +ISO standard ISO/IEC 26300:2006 + +.BR +.TP +.BI 7. +An open standard format for e-books + +.BR .TP .BI *1. square brackets @@ -4489,23 +4486,23 @@ square brackets .BI +1. square brackets .TP -.BI 7. +.BI 8. .TP -.BI 8. +.BI 9. .TP -.BI 9. +.BI 10. From sometime after SiSU 0.58 it should be possible to describe SiSU markup using SiSU, which though not an original design goal is useful. .TP -.BI 10. +.BI 11. files should be prepared using UTF-8 character encoding .TP -.BI 11. +.BI 12. a footnote or endnote .TP -.BI 12. +.BI 13. self contained endnote marker & endnote in one .TP .BI *. @@ -4520,47 +4517,41 @@ editors notes, numbered asterisk footnote/endnote series .BI +2. editors notes, numbered asterisk footnote/endnote series .TP -.BI 13. +.BI 14. .TP -.BI 14. +.BI 15. .TP -.BI 15. +.BI 16. Table from the Wealth of Networks by Yochai Benkler .TP -.BI 16. +.BI 17. \.ssc (for composite) is under consideration but \._sst makes clear that this is not a regular file to be worked on, and thus less likely that people will have \"accidents\", working on a \.ssc file that is overwritten by subsequent processing. It may be however that when the resulting file is shared \.ssc is an appropriate suffix to use. .TP -.BI 17. -\.B SiSU -has worked this way in the past, though this was dropped as it was thought -the complexity outweighed the flexibility, however, the balance was rather fine -and this behaviour could be reinstated. -.TP -.BI 18. +.BI 19. .TP -.BI 19. +.BI 20. .TP -.BI 20. +.BI 21. .TP -.BI 21. +.BI 22. (which could be extended further with current back-end). As regards scaling of the database, it is as scalable as the database (here Postgresql) and hardware allow. .TP -.BI 22. +.BI 23. of this feature when demonstrated to an IBM software innovations evaluator in 2004 he said to paraphrase: this could be of interest to us. We have large document management systems, you can search hundreds of thousands of documents @@ -4568,19 +4559,19 @@ and we can tell you which documents meet your search criteria, but there is no way we can tell you without opening each document where within each your matches are found. .TP -.BI 23. +.BI 24. There is nothing to stop MySQL support being added in future. .TP -.BI 24. +.BI 25. .TP -.BI 25. +.BI 26. .TP -.BI 26. +.BI 27. .TP -.BI 27. +.BI 28. the .B Debian Free Software guidelines require that everything distributed within @@ -4588,7 +4579,7 @@ Free Software guidelines require that everything distributed within can be changed - and the documents are authors' works that while freely distributable are not freely changeable. .TP -.BI 28. +.BI 29. named index.html or more extensively through sisu_manifest.html .BR @@ -4639,7 +4630,7 @@ Filetype: .TP Source digest: -.I MD5(sisu.ssm.sst)= 2a794c5f8a7df8d6a216025243d432d6 +.I MD5(sisu.ssm.sst)= fd741a3ccf160aa55b942d76bd4e3f2a .TP Generated by: @@ -4651,7 +4642,7 @@ Ruby version: .TP Document (dal) last generated: -.I Fri Mar 05 20:04:20 -0500 2010 +.I Wed Mar 17 13:34:15 -0400 2010 .TP Other versions of this document: @@ -4660,6 +4651,8 @@ manifest: .TP html: .TP +epub: +.TP pdf: .TP pdf: @@ -4669,10 +4662,10 @@ pdf: at: .TP .TP -* Generated by: SiSU 0.70.2 of 2008w50/2 (2008-12-16) +* Generated by: SiSU 2.0.0 of 2010w09/6 (2010-03-06) .TP -* Ruby version: ruby 1.8.7 (2008-08-11 patchlevel 72) [i486-linux] +* Ruby version: ruby 1.8.7 (2010-01-10 patchlevel 249) [i486-linux] .TP -* Last Generated on: Tue Dec 16 00:16:50 -0500 2008 +* Last Generated on: Wed Mar 17 13:34:17 -0400 2010 .TP * SiSU http://www.jus.uio.no/sisu -- cgit v1.2.3