From 1d239f2504dffc05c39efd38a10a27dba9e9c85e Mon Sep 17 00:00:00 2001 From: Ralph Amissah Date: Sun, 26 Jun 2011 21:26:07 -0400 Subject: v3: documentation, on additional breaks in document, (remove some old info) * linebreak \\ (previously undocumented
kept but depreciated) [it is intended that this should close #617298 (post mail)] * page break (breaks column if column, else breaks page) * page new (new page, breaks page) * sisurc.yml set output directory structure by language * removed section on hyperestraier, too specialised for general manpage (also section not checked recently) --- data/doc/sisu/CHANGELOG_v3 | 10 +- data/doc/sisu/html/sisu.1.html | 578 +++++++++------------ data/doc/sisu/markup-samples/sisu_manual/sisu.ssm | 2 - .../markup-samples/sisu_manual/sisu_commands.sst | 2 +- .../markup-samples/sisu_manual/sisu_markup.sst | 39 ++ man/man1/sisu.1 | 255 ++++----- 6 files changed, 402 insertions(+), 484 deletions(-) diff --git a/data/doc/sisu/CHANGELOG_v3 b/data/doc/sisu/CHANGELOG_v3 index 8984a2ef..7f2093b0 100644 --- a/data/doc/sisu/CHANGELOG_v3 +++ b/data/doc/sisu/CHANGELOG_v3 @@ -34,6 +34,14 @@ http://www.jus.uio.no/sisu/pkg/src/sisu_3.0.13.orig.tar.gz * sisu syntax highlighting, linebreak \\ added (
kept) * colors, added cursor line & column + * documentation, on additional breaks in document + * linebreak \\ (previously undocumented
kept but depreciated) + [it is intended that this should close #617298] + * page break (breaks column if column, else breaks page) + * page new (new page, breaks page) + * removed section on hyperestraier, too specialised for general manpage + (also section not checked recently) + * texpdf * define latex \newcommands for some special characters to simplify dealing with them in sisu code \hardspace \caret \pipe \curlyopen @@ -67,7 +75,7 @@ http://www.jus.uio.no/sisu/pkg/src/sisu_3.0.13.orig.tar.gz * urls (ansi screen reporting), add document language code - * sysenv, accomodate + * sysenv, accommodate * manifest * manpage * info (texinfo) diff --git a/data/doc/sisu/html/sisu.1.html b/data/doc/sisu/html/sisu.1.html index 06fa3f15..fb74b10d 100644 --- a/data/doc/sisu/html/sisu.1.html +++ b/data/doc/sisu/html/sisu.1.html @@ -148,7 +148,7 @@ offers great possibilities. 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 +in SiSU.


<http://www.sisudoc.org/ > @@ -193,8 +193,8 @@ footnotes at end of each paragraph that contains them [  -A  for   [filename/wildcard]

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

--concordance [filename/wildcard]
@@ -347,7 +347,8 @@ file (scroll.html). Alias -h
prints license information.

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

@@ -361,7 +362,8 @@ indicated. (also see -V). Aliases -M and --keep-processing-files

-M [filename/wildcard/url]
-
see --maintenance +
+

see --maintenance

-m [filename/wildcard/url]
@@ -393,7 +395,7 @@ by most processing flags.
see --odt

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

@@ -587,8 +589,8 @@ paths in sisurc.yml. Alias -U

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

--v2 [filename/wildcard]
@@ -597,9 +599,9 @@ This is the default and is normally omitted.

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

--verbose [filename/wildcard]
@@ -609,7 +611,8 @@ created for each of the processing flag requests. Alias -v

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

-V [filename/wildcard]
@@ -618,7 +621,6 @@ created for each of the processing flag requests. Alias -v
-v
on its own, provides SiSU version information -

-v [filename/wildcard]
@@ -646,11 +648,13 @@ webserver points at sisu output directories, the default port is set to

--xhtml [filename/wildcard]
-
produces xhtml/XML output for browser viewing (sax parsing). Alias -b +
produces xhtml/XML output for +browser viewing (sax parsing). Alias -b

--xml-dom [filename/wildcard]
-
produces XML output with deep document structure, in the nature of dom. Alias -X +
produces +XML output with deep document structure, in the nature of dom. Alias -X

--xml-sax [filename/wildcard]
@@ -757,7 +761,7 @@ updates/imports specified data to postgresql db (rb.dbi) [  -dv  --upd
--pg --remove
[filename/wildcard] removes specified data to postgresql -db (rb.dbi) [  -d --remove  sqlite  equivalent] +db (rb.dbi) [  -d  --remove  sqlite  equivalent]

--pg --dropall
@@ -1270,10 +1274,9 @@ html


resulting output:


-normal text, emphasis , bold text , italics , underscore , "citation", -^superscript^, [subscript], ++inserted text++, --strikethrough--, monospace -

-
+normal text, emphasis, bold text, italics, underscore , "citation", ^superscript^, +[subscript], ++inserted text++, --strikethrough--, monospace +


normal text


@@ -2037,7 +2040,48 @@ opening code tag code{# as demonstrated here: 44 | death."’

-

9.7 Book Index

+

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

+ +

+ +

9.7.1 Line-breaks

+ +


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


+

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


+The html break br enclosed in angle brackets (though undocumented) is available +in versions prior to 3.0.13 and 2.9.7 (it remains available for the time being, +but is depreciated). +

+

9.7.2 Page Breaks

+ +


+Page breaks are only relevant and honored in some output formats. A page +break or a new page may be inserted manually using the following markup +on a line on its own: +


+

  <:pb>
+
+


+ +

or +


+

  <:pn>
+
+


+page new <:pn> breaks the page, starts a new page. +


+page break <:pb> breaks a column, starts a new column, if using columns, +else breaks the page, starts a new page. +

+

9.8 Book Index


To make an index append to paragraph the book index term relates to it, @@ -2091,7 +2135,7 @@ be: second sub-term, 1,

-

10. Composite Documents Markup

+

10. Composite Documents Markup



@@ -2127,11 +2171,11 @@ documents under consideration, and occasionally supported have been. << |filename.ssi|@|^|

-

Markup Syntax History

+

Markup Syntax History


-

11. Notes Related to Files-types and Markup Syntax

+

11. Notes Related to Files-types and Markup Syntax


2.0 introduced new headers and is therefore incompatible with 1.0 though @@ -2323,14 +2367,14 @@ in place of the 0.1 header, heading/structure notation SiSU 0.1 headers and headings structure represented by header 0{~ and headings/structure 1{ 2{ 3{ 4{~ 5{ 6{

-

12. Sisu Filetypes

+

12. Sisu Filetypes



SiSU has plaintext and binary filetypes, and can process either type of document.

-

12.1 .sst .ssm .ssi Marked Up Plain Text

+

12.1 .sst .ssm .ssi Marked Up Plain Text


SiSU documents are prepared as plain-text (utf-8) files with SiSU markup. @@ -2351,7 +2395,7 @@ be located locally or on a remote server for which a url is provided. sisu -s [filename]

-

12.1.1 Sisu Text - Regular Files (.sst)

+

12.1.1 Sisu Text - Regular Files (.sst)


The most common form of document in SiSU , see the section on SiSU markup. @@ -2363,7 +2407,7 @@ The most common form of document in SiSU , see the section on SiSU <http://www.sisudoc.org/sisu/sisu_manual >

-

12.1.2 Sisu Master Files (.ssm)

+

12.1.2 Sisu Master Files (.ssm)


Composite documents which incorporate other SiSU documents which may be @@ -2388,7 +2432,7 @@ with the same prefix and the suffix ._sst [^17] <http://www.sisudoc.org/sisu/sisu_manual >

-

12.1.3 Sisu Insert Files (.ssi)

+

12.1.3 Sisu Insert Files (.ssi)


Inserts are documents prepared solely for the purpose of being incorporated @@ -2397,7 +2441,7 @@ except they are ignored by the SiSU processor. Making a file a .ssi file is a quick and convenient way of flagging that it is not intended that the file should be processed on its own.

-

12.2 Sisupod, Zipped Binary Container +

12.2 Sisupod, Zipped Binary Container (sisupod.zip, .ssp)


@@ -2437,12 +2481,12 @@ locally or on a remote server for which a url is provided. <http://www.sisudoc.org/sisu/sisu_manual >

-

13. Experimental Alternative Input +

13. Experimental Alternative Input Representations


-

13.1 Alternative Xml

+

13.1 Alternative Xml


SiSU offers alternative XML input representations of documents as a proof @@ -2470,7 +2514,7 @@ or the same: sisu --from-sxml [filename/wildcard  [.sxs.xml,.sxd.xml,sxn.xml]]

-

13.1.1 Xml Sax Representation

+

13.1.1 Xml Sax Representation


To convert from sst to simple xml (sax) representation: @@ -2489,7 +2533,7 @@ or the same: sisu --from-sxml [filename/wildcard  [.sxs.xml,.sxd.xml,sxn.xml]]

-

13.1.2 Xml Dom Representation

+

13.1.2 Xml Dom Representation


To convert from sst to simple xml (dom) representation: @@ -2508,7 +2552,7 @@ or the same: sisu --from-sxml [filename/wildcard  [.sxs.xml,.sxd.xml,sxn.xml]]

-

13.1.3 Xml Node Representation

+

13.1.3 Xml Node Representation


To convert from sst to simple xml (node) representation: @@ -2527,11 +2571,11 @@ or the same: sisu --from-sxml [filename/wildcard  [.sxs.xml,.sxd.xml,sxn.xml]]

-

14. Configuration

+

14. Configuration


-

14.1 Determining the Current Configuration

+

14.1 Determining the Current Configuration


Information on the current configuration of SiSU should be available with @@ -2548,7 +2592,7 @@ which is an alias for: Either of these should be executed from within a directory that contains sisu markup source documents.

-

14.2 Configuration Files (config.yml)

+

14.2 Configuration Files (config.yml)


SiSU configration parameters are adjusted in the configuration file, which @@ -2583,7 +2627,7 @@ database access details.

If SiSU is installed a sample sisurc.yml may be found in /etc/sisu/sisurc.yml

-

15. Skins

+

15. Skins



@@ -2618,7 +2662,7 @@ for document skins: The skin itself is a ruby file which modifies the default appearances set in the program.

-

15.1 Document Skin

+

15.1 Document Skin


Documents take on a document skin, if the header of the document specifies @@ -2627,7 +2671,7 @@ a skin to be used.

  @skin: skin_united_nations
 

-

15.2 Directory Skin

+

15.2 Directory Skin


A directory may be mapped on to a particular skin, so all documents within @@ -2639,13 +2683,13 @@ specifies the use of another skin, in the skin/doc directory). A personal habit is to place all skins within the doc directory, and symbolic links as needed from the site, or dir directories as required.

-

15.3 Site +

15.3 Site Skin


A site skin, modifies the program default skin.

-

15.4 Sample Skins

+

15.4 Sample Skins


With SiSU installed sample skins may be found in: @@ -2667,7 +2711,7 @@ list) may be found in: equivalent directory)

-

16. Css - Cascading Style Sheets (for Html, Xhtml and Xml)

+

16. Css - Cascading Style Sheets (for Html, Xhtml and Xml)



@@ -2695,11 +2739,11 @@ 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. Organising Content


-

17.1 Directory Structure and Mapping

+

17.1 Directory Structure and Mapping


The output directory root can be set in the sisurc.yml file. Under the root, @@ -2726,15 +2770,15 @@ 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

+

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: +as custom built items, and are not created by SiSU. More accurately, 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 @@ -2746,7 +2790,7 @@ 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 +

18.1 Home Page and Other Custom Built Pages in a Sub-directory


@@ -2759,7 +2803,7 @@ command: sisu -CC

-

18.2 Home Page Within a Skin

+

18.2 Home Page Within a Skin


Skins are described in a separate section, but basically are a file written @@ -2789,11 +2833,11 @@ index.html end

-

19. Markup and Output Examples

+

19. Markup and Output Examples


-

19.1 Markup Examples

+

19.1 Markup Examples


Current markup examples and document output samples are provided at <http://www.jus.uio.no/sisu/SiSU/examples.html @@ -2804,7 +2848,7 @@ For some documents hardly any markup at all is required at all, other than a header, and an indication that the levels to be taken into account by the program in generating its output are.

-

20. Sisu Search - Introduction

+

20. Sisu Search - Introduction



@@ -2824,11 +2868,11 @@ degree of granularity. Basically, your match criteria is met by these documents and at these locations within each document, which can be viewed within the database directly or in various output formats.

-

21. Sql

+

21. Sql


-

21.1 Populating Sql Type Databases

+

21.1 Populating Sql Type Databases


SiSU feeds sisu markupd documents into sql type databases PostgreSQL[^19] @@ -2883,18 +2927,18 @@ full contents of the database and have headings in which search content appears, or to search only headings etc. (as the Dublin Core is incorporated it is easy to make use of that as well).

-

22. Postgresql

+

22. Postgresql


-

22.1 Name

+

22.1 Name


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

postgresql dependency package

-

22.2 Description

+

22.2 Description


Information related to using postgresql with sisu (and related to the sisu_postgresql @@ -2902,7 +2946,7 @@ dependency package, which is a dummy package to install dependencies needed for SiSU to populate a postgresql database, this being part of SiSU - man sisu).

-

22.3 Synopsis

+

22.3 Synopsis


sisu -D [instruction] [filename/wildcard  if  required]
@@ -2911,7 +2955,7 @@ sisu). sisu -D --pg --[instruction] [filename/wildcard  if  required]

-

22.4 Commands

+

22.4 Commands


Mappings to two databases are provided by default, postgresql and sqlite, @@ -2922,7 +2966,7 @@ however -d (lowercase) denotes sqlite and -D (uppercase) denotes postgresql,


-D or --pgsql may be used interchangeably.

-

22.4.1 Create and Destroy Database

+

22.4.1 Create and Destroy Database

@@ -2959,7 +3003,7 @@ of the same name).

-

22.4.2 Import and Remove Documents

+

22.4.2 Import and Remove Documents

@@ -2982,17 +3026,17 @@ database.

-

23. Sqlite

+

23. Sqlite


-

23.1 Name

+

23.1 Name


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

-

23.2 Description

+

23.2 Description


Information related to using sqlite with sisu (and related to the sisu_sqlite @@ -3000,7 +3044,7 @@ dependency package, which is a dummy package to install dependencies needed for SiSU to populate an sqlite database, this being part of SiSU - man sisu).

-

23.3 Synopsis

+

23.3 Synopsis


sisu -d [instruction] [filename/wildcard  if  required]
@@ -3009,7 +3053,7 @@ for SiSU to populate an sqlite database, this being part of SiSU - sisu -d --(sqlite|pg) --[instruction] [filename/wildcard  if  required]

-

23.4 Commands

+

23.4 Commands


Mappings to two databases are provided by default, postgresql and sqlite, @@ -3020,7 +3064,7 @@ however -d (lowercase) denotes sqlite and -D (uppercase) denotes postgresql,


-d or --sqlite may be used interchangeably.

-

23.4.1 Create and Destroy Database

+

23.4.1 Create and Destroy Database

@@ -3057,7 +3101,7 @@ of the same name).

-

23.4.2 Import and Remove Documents

+

23.4.2 Import and Remove Documents

@@ -3080,11 +3124,11 @@ database.

-

24. Introduction

+

24. Introduction


-

24.1 Search - Database Frontend Sample, Utilising Database and Sisu Features,

+

24.1 Search - Database Frontend Sample, Utilising Database and Sisu Features,

INCLUDING OBJECT CITATION NUMBERING (BACKEND CURRENTLY POSTGRESQL)


@@ -3139,7 +3183,7 @@ SiSU_ebook is used. [otherwise  a  manual  mapping  for &nbs

-

24.2 +

24.2 Search Form

@@ -3176,122 +3220,17 @@ search form for use with the webrick server, which must be copied to the

-

25. Hyperestraier

+

25. Sisu_webrick


-


-See the documentation for hyperestraier: -


- <http://hyperestraier.sourceforge.net/ ->
- -


- /usr/share/doc/hyperestraier/index.html
- -


- man estcmd
- -


-NOTE: the examples that follow assume that sisu output is placed in the - -

directory /home/ralph/sisu_www -


-(A) to generate the index within the webserver directory to be indexed: - -


- estcmd gather -sd [index  name] [directory  path  to  index]
- -


-the following are examples that will need to be tailored according to your -needs: -


- cd /home/ralph/sisu_www
- -


- estcmd gather -sd casket /home/ralph/sisu_www
- -


-you may use the ’find’ command together with ’egrep’ to limit indexing to particular -document collection directories within the web server directory: -


- find /home/ralph/sisu_www -type f | egrep
- ’/home/ralph/sisu_www/sisu/.+?.html$’ |estcmd gather -sd casket -
- -


-Check which directories in the webserver/output directory (~/sisu_www or -elsewhere depending on configuration) you wish to include in the search -index. -


-As sisu duplicates output in multiple file formats, it it is probably preferable -to limit the estraier index to html output, and as it may also be desirable -to exclude files ’plain.txt’, ’toc.html’ and ’concordance.html’, as these duplicate -information held in other html output e.g. -


- find /home/ralph/sisu_www -type f | egrep
- ’/sisu_www/(sisu|bookmarks)/.+?.html$’ | egrep -v ’(doc|concordance).html$’
- |estcmd gather -sd casket -
- -


-from your current document preparation/markup directory, you would construct -a rune along the following lines: -


- find /home/ralph/sisu_www -type f | egrep ’/home/ralph/sisu_www/([specify -
- first  directory  for  inclusion]|[specify  second  directory  for
- inclusion]|[another  directory  for  inclusion?  ...])/.+?.html$’ |
- egrep -v ’(doc|concordance).html$’ |estcmd gather -sd
- /home/ralph/sisu_www/casket -
- -


-(B) to set up the search form -


-(i) copy estseek.cgi to your cgi directory and set file permissions to 755: - -


- sudo cp -vi /usr/lib/estraier/estseek.cgi /usr/lib/cgi-bin
- -


- sudo chmod -v 755 /usr/lib/cgi-bin/estseek.cgi
- -


- sudo cp -v /usr/share/hyperestraier/estseek.* /usr/lib/cgi-bin
- -


- [see  estraier  documentation  for  paths]
- -


-(ii) edit estseek.conf, with attention to the lines starting ’indexname:’ -and -


- indexname: /home/ralph/sisu_www/casket
- -


- replace: ^file:///home/ralph/sisu_www{{!}}http://localhost -
- -


- replace: /index.html?${{!}}/
- -


-(C) to test using webrick, start webrick: -


- sisu -W
- -


-and try open the url: <http://localhost:8081/cgi-bin/estseek.cgi ->

-

26. Sisu_webrick

-
- -

-

26.1 Name

+

25.1 Name


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

-

26.2 Synopsis

+

25.2 Synopsis


sisu_webrick [port] @@ -3301,7 +3240,7 @@ sisu_webrick [port]


sisu -W [port]

-

26.3 Description

+

25.3 Description


sisu_webrick is part of SiSU (man sisu) sisu_webrick starts Ruby SiSU @@ -3312,7 +3251,7 @@ The default port for sisu_webrick is set to 8081, this may be modified in the yaml file: ~/.sisu/sisurc.yml a sample of which is provided as /etc/sisu/sisurc.yml (or in the equivalent directory on your system).

-

26.4 Summary of Man Page

+

25.4 Summary of Man Page


@@ -3323,7 +3262,7 @@ sisu_webrick, may be started on it’s own with the command: sisu_webrick

where no port is given and settings are unchanged the default port is 8081

-

26.5 Document Processing Command Flags

+

25.5 Document Processing Command Flags


sisu -W [port] starts Ruby Webrick web-server, serving SiSU output directories, @@ -3331,7 +3270,7 @@ on the port provided, or if no port is provided and the defaults have not

been changed in ~/.sisu/sisurc.yaml then on port 8081

-

26.6 Further Information

+

25.6 Further Information


@@ -3343,12 +3282,12 @@ For more information on SiSU see: <h

or man sisu

-

26.7 Author

+

25.7 Author


Ralph Amissah <ralph@amissah.com> or <ralph.amissah@gmail.com>

-

26.8 See Also

+

25.8 See Also


sisu(1) @@ -3359,7 +3298,7 @@ Ralph Amissah <ralph@amissah.com> or <ralph.amissah@gmail.com>

-

27. Remote Source Documents

+

26. Remote Source Documents



@@ -3406,11 +3345,11 @@ way, see <http://www. > and use the url for the desired document.

-

Remote Document Output

+

Remote Document Output


-

28. Remote Output

+

27. Remote Output



@@ -3425,7 +3364,7 @@ which may be used in conjunction with other processing flags, e.g.

  sisu -3R sisu_remote.sst
 

-

28.1 Commands

+

27.1 Commands

@@ -3448,12 +3387,12 @@ ssh agent in place. Also see -R

-

28.2 Configuration

+

27.2 Configuration


[expand  on  the  setting  up  of  an  ssh-agent  /  keychain]

-

29. Remote Servers

+

28. Remote Servers



@@ -3463,18 +3402,18 @@ easily be on a remote server, to which you are logged on using a terminal, and commands and operations would be pretty much the same as they would be on your local machine.

-

30. Quickstart - Getting Started Howto

+

29. Quickstart - Getting Started Howto


-

30.1 Installation

+

29.1 Installation


Installation is currently most straightforward and tested on the Debian platform, as there are packages for the installation of sisu and all requirements for what it does.

-

30.1.1 Debian Installation

+

29.1.1 Debian Installation


SiSU is available directly from the Debian Sid and testing archives (and @@ -3524,7 +3463,7 @@ Note however that it is not necessary to install sisu-complete if not all components of sisu are to be used. Installing just the package sisu will provide basic functionality.

-

30.1.2 Rpm Installation

+

29.1.2 Rpm Installation


RPMs are provided though untested, they are prepared by running alien against @@ -3541,7 +3480,7 @@ as root type: rpm -i [rpm  package  name]

-

30.1.3 Installation from Source

+

29.1.3 Installation from Source


To install SiSU from source check information at: @@ -3560,7 +3499,7 @@ 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, EPUB, various +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 @@ -3632,7 +3571,7 @@ For a list of alternative actions you may type: ruby install -T

-

30.2 Testing Sisu, Generating Output

+

29.2 Testing Sisu, Generating Output


To check which version of sisu is installed: @@ -3655,7 +3594,7 @@ change directory to the appropriate one:

cd /usr/share/doc/sisu/markup-samples/samples

-

30.2.1 Basic Text, Plaintext, +

29.2.1 Basic Text, Plaintext, Html, Xml, Odf, Epub


@@ -3670,7 +3609,7 @@ this will generate html including a concordance file, opendocument text format, plaintext, XHTML and various forms of XML, and OpenDocument text

-

30.2.2 LaTeX / Pdf

+

29.2.2 LaTeX / Pdf


Assuming a LaTeX engine such as tetex or texlive is installed with the @@ -3691,7 +3630,7 @@ file, opendocument text format, plaintext, XHTML and various forms of XML,

and OpenDocument text and pdf

-

30.2.3 Relational Database - Postgresql, Sqlite

+

29.2.3 Relational Database - Postgresql, Sqlite


@@ -3716,10 +3655,10 @@ create the database and write to it when you run sisu.

sisu --pgsql -v --import free_as_in_freedom.rms_and_free_software.sam_williams.sst

-

30.3 Getting Help

+

29.3 Getting Help

-

30.3.1 the Man Pages

+

29.3.1 the Man Pages


Type: @@ -3739,7 +3678,7 @@ date as within the package itself: * man directory <http://www.jus.uio.no/sisu/man > [^27]

-

30.3.2 Built in Help

+

29.3.2 Built in Help


@@ -3754,7 +3693,7 @@ date as within the package itself:

sisu --help --markup

-

30.3.3 the Home Page

+

29.3.3 the Home Page


<http://www.sisudoc.org/ @@ -3766,7 +3705,7 @@ date as within the package itself: <http://www.jus.uio.no/sisu/SiSU >

-

30.4 Markup Samples

+

29.4 Markup Samples


A number of markup samples (along with output) are available off: @@ -3782,7 +3721,7 @@ On Debian they are available in non-free[^28] to include them it is neces to include non-free in your /etc/apt/source.list or obtain them from the sisu home site.

-

31. Editor Files, Syntax Highlighting

+

30. Editor Files, Syntax Highlighting



@@ -3952,10 +3891,9 @@ the
NOTE:


[  .B  SiSU  parses  files  with  long  lines  or  line  breaks,  display  linewrap - (without  line-breaks)  is  a  convenient editor  feature  to  have  for  sisu  markup] - + (without  line-breaks)  is  a  convenient

-

32. How Does Sisu Work?

+

31. How Does Sisu Work?



@@ -3977,7 +3915,7 @@ layout, publishing, content certification, concordance etc.), and makes it possible to take advantage of some of the strengths of established ways of representing documents, (or indeed to create new ones).

-

33. Summary of +

32. Summary of Features


@@ -4122,11 +4060,11 @@ 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

+

33. Help Sources


-

34.1 Man Pages

+

33.1 Man Pages


man sisu
@@ -4183,14 +4121,14 @@ to form a document. man sisu_webrick

-

34.2 Sisu Generated Output - Links to HTML

+

33.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, odf and epub, which may be also be accessed via the html pages[^29]

-

34.2.1 Www.sisudoc.org

+

33.2.1 Www.sisudoc.org


<http://sisudoc.org/sisu/sisu_manual/index.html @@ -4200,10 +4138,10 @@ may be also be accessed via the html pages[^29] >

-

34.3 Man2html

+

33.3 Man2html

-

34.3.1 Locally Installed

+

33.3.1 Locally Installed


@@ -4224,7 +4162,7 @@ may be also be accessed via the html pages[^29] /usr/share/doc/sisu/html/sisu_webrick.1.html

-

34.3.2 WWW.jus.uio.no/sisu

+

33.3.2 Www.jus.uio.no/Sisu


<http://www.jus.uio.no/sisu/man/sisu.1.html @@ -4364,7 +4302,7 @@ while freely distributable are not freely changeable. 29. named index.html or more extensively through sisu_manifest.html

-

See Also

+

See Also


sisu(1) ,
@@ -4387,14 +4325,14 @@ while freely distributable are not freely changeable. sisu_vim(7)

-

Homepage

+

Homepage


More information about SiSU can be found at <http://www.sisudoc.org/ > or <http://www.jus.uio.no/sisu/ >.

-

Author

+

Author

SiSU is written by Ralph Amissah <ralph@amissah.com>.


@@ -4438,100 +4376,102 @@ More information about SiSU can be found at <9.6.2 Poem

  • 9.6.3 Group
  • 9.6.4 Code
  • -
  • 9.7 Book Index
  • -
  • 10. Composite Documents Markup
  • -
  • Markup Syntax History
  • -
  • 11. Notes Related to Files-types and Markup Syntax
  • -
  • 12. Sisu Filetypes
  • -
  • 12.1 .sst .ssm .ssi Marked Up Plain Text
  • -
  • 12.1.1 Sisu Text - Regular Files (.sst)
  • -
  • 12.1.2 Sisu Master Files (.ssm)
  • -
  • 12.1.3 Sisu Insert Files (.ssi)
  • -
  • 12.2 Sisupod, Zipped Binary Container (sisupod.zip, .ssp)
  • -
  • 13. Experimental Alternative Input Representations
  • -
  • 13.1 Alternative Xml
  • -
  • 13.1.1 Xml Sax Representation
  • -
  • 13.1.2 Xml Dom Representation
  • -
  • 13.1.3 Xml Node Representation
  • -
  • 14. Configuration
  • -
  • 14.1 Determining the Current Configuration
  • -
  • 14.2 Configuration Files (config.yml)
  • -
  • 15. Skins
  • -
  • 15.1 Document Skin
  • -
  • 15.2 Directory Skin
  • -
  • 15.3 Site Skin
  • -
  • 15.4 Sample Skins
  • -
  • 16. Css - Cascading Style Sheets (for Html, Xhtml and Xml)
  • -
  • 17. Organising Content
  • -
  • 17.1 Directory Structure and Mapping
  • -
  • 18. Homepages
  • -
  • 18.1 Home Page and Other Custom Built Pages in a Sub-directory
  • -
  • 18.2 Home Page Within a Skin
  • -
  • 19. Markup and Output Examples
  • -
  • 19.1 Markup Examples
  • -
  • 20. Sisu Search - Introduction
  • -
  • 21. Sql
  • -
  • 21.1 Populating Sql Type Databases
  • -
  • 22. Postgresql
  • -
  • 22.1 Name
  • -
  • 22.2 Description
  • -
  • 22.3 Synopsis
  • -
  • 22.4 Commands
  • -
  • 22.4.1 Create and Destroy Database
  • -
  • 22.4.2 Import and Remove Documents
  • -
  • 23. Sqlite
  • -
  • 23.1 Name
  • -
  • 23.2 Description
  • -
  • 23.3 Synopsis
  • -
  • 23.4 Commands
  • -
  • 23.4.1 Create and Destroy Database
  • -
  • 23.4.2 Import and Remove Documents
  • -
  • 24. Introduction
  • -
  • 24.1 Search - Database Frontend Sample, Utilising Database and Sisu Features,
  • -
  • 24.2 Search Form
  • -
  • 25. Hyperestraier
  • -
  • 26. Sisu_webrick
  • -
  • 26.1 Name
  • -
  • 26.2 Synopsis
  • -
  • 26.3 Description
  • -
  • 26.4 Summary of Man Page
  • -
  • 26.5 Document Processing Command Flags
  • -
  • 26.6 Further Information
  • -
  • 26.7 Author
  • -
  • 26.8 See Also
  • -
  • 27. Remote Source Documents
  • -
  • Remote Document Output
  • -
  • 28. Remote Output
  • -
  • 28.1 Commands
  • -
  • 28.2 Configuration
  • -
  • 29. Remote Servers
  • -
  • 30. Quickstart - Getting Started Howto
  • -
  • 30.1 Installation
  • -
  • 30.1.1 Debian Installation
  • -
  • 30.1.2 Rpm Installation
  • -
  • 30.1.3 Installation from Source
  • -
  • 30.2 Testing Sisu, Generating Output
  • -
  • 30.2.1 Basic Text, Plaintext, Html, Xml, Odf, Epub
  • -
  • 30.2.2 LaTeX / Pdf
  • -
  • 30.2.3 Relational Database - Postgresql, Sqlite
  • -
  • 30.3 Getting Help
  • -
  • 30.3.1 the Man Pages
  • -
  • 30.3.2 Built in Help
  • -
  • 30.3.3 the Home Page
  • -
  • 30.4 Markup Samples
  • -
  • 31. Editor Files, Syntax Highlighting
  • -
  • 32. How Does Sisu Work?
  • -
  • 33. Summary of Features
  • -
  • 34. Help Sources
  • -
  • 34.1 Man Pages
  • -
  • 34.2 Sisu Generated Output - Links to HTML
  • -
  • 34.2.1 Www.sisudoc.org
  • -
  • 34.3 Man2html
  • -
  • 34.3.1 Locally Installed
  • -
  • 34.3.2 WWW.jus.uio.no/sisu
  • -
  • See Also
  • -
  • Homepage
  • -
  • Author
  • +
  • 9.7 Additional Breaks - Linebreaks Within Objects, Column and Page-breaks
  • +
  • 9.7.1 Line-breaks
  • +
  • 9.7.2 Page Breaks
  • +
  • 9.8 Book Index
  • +
  • 10. Composite Documents Markup
  • +
  • Markup Syntax History
  • +
  • 11. Notes Related to Files-types and Markup Syntax
  • +
  • 12. Sisu Filetypes
  • +
  • 12.1 .sst .ssm .ssi Marked Up Plain Text
  • +
  • 12.1.1 Sisu Text - Regular Files (.sst)
  • +
  • 12.1.2 Sisu Master Files (.ssm)
  • +
  • 12.1.3 Sisu Insert Files (.ssi)
  • +
  • 12.2 Sisupod, Zipped Binary Container (sisupod.zip, .ssp)
  • +
  • 13. Experimental Alternative Input Representations
  • +
  • 13.1 Alternative Xml
  • +
  • 13.1.1 Xml Sax Representation
  • +
  • 13.1.2 Xml Dom Representation
  • +
  • 13.1.3 Xml Node Representation
  • +
  • 14. Configuration
  • +
  • 14.1 Determining the Current Configuration
  • +
  • 14.2 Configuration Files (config.yml)
  • +
  • 15. Skins
  • +
  • 15.1 Document Skin
  • +
  • 15.2 Directory Skin
  • +
  • 15.3 Site Skin
  • +
  • 15.4 Sample Skins
  • +
  • 16. Css - Cascading Style Sheets (for Html, Xhtml and Xml)
  • +
  • 17. Organising Content
  • +
  • 17.1 Directory Structure and Mapping
  • +
  • 18. Homepages
  • +
  • 18.1 Home Page and Other Custom Built Pages in a Sub-directory
  • +
  • 18.2 Home Page Within a Skin
  • +
  • 19. Markup and Output Examples
  • +
  • 19.1 Markup Examples
  • +
  • 20. Sisu Search - Introduction
  • +
  • 21. Sql
  • +
  • 21.1 Populating Sql Type Databases
  • +
  • 22. Postgresql
  • +
  • 22.1 Name
  • +
  • 22.2 Description
  • +
  • 22.3 Synopsis
  • +
  • 22.4 Commands
  • +
  • 22.4.1 Create and Destroy Database
  • +
  • 22.4.2 Import and Remove Documents
  • +
  • 23. Sqlite
  • +
  • 23.1 Name
  • +
  • 23.2 Description
  • +
  • 23.3 Synopsis
  • +
  • 23.4 Commands
  • +
  • 23.4.1 Create and Destroy Database
  • +
  • 23.4.2 Import and Remove Documents
  • +
  • 24. Introduction
  • +
  • 24.1 Search - Database Frontend Sample, Utilising Database and Sisu Features,
  • +
  • 24.2 Search Form
  • +
  • 25. Sisu_webrick
  • +
  • 25.1 Name
  • +
  • 25.2 Synopsis
  • +
  • 25.3 Description
  • +
  • 25.4 Summary of Man Page
  • +
  • 25.5 Document Processing Command Flags
  • +
  • 25.6 Further Information
  • +
  • 25.7 Author
  • +
  • 25.8 See Also
  • +
  • 26. Remote Source Documents
  • +
  • Remote Document Output
  • +
  • 27. Remote Output
  • +
  • 27.1 Commands
  • +
  • 27.2 Configuration
  • +
  • 28. Remote Servers
  • +
  • 29. Quickstart - Getting Started Howto
  • +
  • 29.1 Installation
  • +
  • 29.1.1 Debian Installation
  • +
  • 29.1.2 Rpm Installation
  • +
  • 29.1.3 Installation from Source
  • +
  • 29.2 Testing Sisu, Generating Output
  • +
  • 29.2.1 Basic Text, Plaintext, Html, Xml, Odf, Epub
  • +
  • 29.2.2 LaTeX / Pdf
  • +
  • 29.2.3 Relational Database - Postgresql, Sqlite
  • +
  • 29.3 Getting Help
  • +
  • 29.3.1 the Man Pages
  • +
  • 29.3.2 Built in Help
  • +
  • 29.3.3 the Home Page
  • +
  • 29.4 Markup Samples
  • +
  • 30. Editor Files, Syntax Highlighting
  • +
  • 31. How Does Sisu Work?
  • +
  • 32. Summary of Features
  • +
  • 33. Help Sources
  • +
  • 33.1 Man Pages
  • +
  • 33.2 Sisu Generated Output - Links to HTML
  • +
  • 33.2.1 Www.sisudoc.org
  • +
  • 33.3 Man2html
  • +
  • 33.3.1 Locally Installed
  • +
  • 33.3.2 Www.jus.uio.no/Sisu
  • +
  • See Also
  • +
  • Homepage
  • +
  • Author
  • diff --git a/data/doc/sisu/markup-samples/sisu_manual/sisu.ssm b/data/doc/sisu/markup-samples/sisu_manual/sisu.ssm index c26aeabd..89d8556a 100644 --- a/data/doc/sisu/markup-samples/sisu_manual/sisu.ssm +++ b/data/doc/sisu/markup-samples/sisu_manual/sisu.ssm @@ -86,8 +86,6 @@ << sisu_search_cgi.ssi -<< sisu_hyperestraier.ssi - << sisu_webrick.sst << sisu_remote.sst diff --git a/data/doc/sisu/markup-samples/sisu_manual/sisu_commands.sst b/data/doc/sisu/markup-samples/sisu_manual/sisu_commands.sst index 36e1bb9c..a5f380a9 100644 --- a/data/doc/sisu/markup-samples/sisu_manual/sisu_commands.sst +++ b/data/doc/sisu/markup-samples/sisu_manual/sisu_commands.sst @@ -208,7 +208,7 @@ see --rsync see --scp !_ --sample-search-form [--webserv=webrick]
    -generate examples of (naive) cgi search form for sqlite and pgsql depends on your already having used sisu to populate an sqlite and/or pgsql database, (the sqlite version scans the output directories for existing sisu_sqlite databases, so it is first necessary to create them, before generating the search form) see -d -D and the database section below. If the optional parameter --webserv=webrick is passed, the cgi examples created will be set up to use the default port set for use by the webrick server, (otherwise the port is left blank and the system setting used, usually 80). The samples are dumped in the present work directory which must be writable, (with screen instructions given that they be copied to the cgi-bin directory). -Fv (in addition to the above) provides some information on setting up hyperestraier for sisu. Alias -F +generate examples of (naive) cgi search form for sqlite and pgsql depends on your already having used sisu to populate an sqlite and/or pgsql database, (the sqlite version scans the output directories for existing sisu_sqlite databases, so it is first necessary to create them, before generating the search form) see -d -D and the database section below. If the optional parameter --webserv=webrick is passed, the cgi examples created will be set up to use the default port set for use by the webrick server, (otherwise the port is left blank and the system setting used, usually 80). The samples are dumped in the present work directory which must be writable, (with screen instructions given that they be copied to the cgi-bin directory). Alias -F !_ --scp [filename/wildcard]
    copies sisu output files to remote host using scp. This requires that sisurc.yml has been provided with information on hostname and username, and that you have your "keys" and ssh agent in place. Also see --rsync. Alias -r diff --git a/data/doc/sisu/markup-samples/sisu_manual/sisu_markup.sst b/data/doc/sisu/markup-samples/sisu_manual/sisu_markup.sst index 65dc4e91..a246d160 100644 --- a/data/doc/sisu/markup-samples/sisu_manual/sisu_markup.sst +++ b/data/doc/sisu/markup-samples/sisu_manual/sisu_markup.sst @@ -1108,6 +1108,45 @@ code{# }code +2~ Additional breaks - linebreaks within objects, column and page-breaks + +3~ line-breaks + +To break a line within a "paragraph object", two backslashes \\\\ \\ with a space before and a space or newline after them \\ may be used. + +code{ + +To break a line within a "paragraph object", +two backslashes \\ with a space before +and a space or newline after them \\ +may be used. + +}code + +The html break br enclosed in angle brackets (though undocumented) is available in versions prior to 3.0.13 and 2.9.7 (it remains available for the time being, but is depreciated). + +3~ page breaks + +Page breaks are only relevant and honored in some output formats. A page break or a new page may be inserted manually using the following markup on a line on its own: + +code{ + +<:pb> + +}code + +or + +code{ + +<:pn> + +}code + +page new <:pn> breaks the page, starts a new page. + +page break <:pb> breaks a column, starts a new column, if using columns, else breaks the page, starts a new page. + 2~ Book index To make an index append to paragraph the book index term relates to it, using an equal sign and curly braces. diff --git a/man/man1/sisu.1 b/man/man1/sisu.1 index c152d5eb..2994ef64 100644 --- a/man/man1/sisu.1 +++ b/man/man1/sisu.1 @@ -1,4 +1,4 @@ -.TH "sisu" "1" "2011\-04\-17" "3.0.7\-beta\-rb1.9.2p180" "SiSU" +.TH "sisu" "1" "2011-06-24" "3.0.13-beta-rb1.9.2p180" "SiSU" .br .SH NAME .br @@ -174,8 +174,7 @@ system to reliably reference its documents. 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 -.B SiSU -. +.B SiSU. .br @@ -1266,12 +1265,9 @@ normally be marked 1.1.1 or 1.1.2 or 1.2.1 or 2.1.1 etc. in a document .br normal text, -.B emphasis -, -.B bold text -, -.I italics -, +.B emphasis, +.B bold text, +.I italics, .I underscore , "citation", ^superscript^, [subscript], ++inserted text++, \-\-strikethrough\-\-, monospace @@ -2098,7 +2094,53 @@ tag code{# as demonstrated here: 44 | death."' .fi -.SH 9.7 BOOK INDEX +.SH 9.7 ADDITIONAL BREAKS \- LINEBREAKS WITHIN OBJECTS, COLUMN AND PAGE\-BREAKS + +.SH 9.7.1 LINE\-BREAKS + +.br +To break a line within a "paragraph object", two backslashes \e\e +with a space before and a space or newline after them +may be used. + +.nf + To break a line within a "paragraph object", + two backslashes \e\e with a space before + and a space or newline after them \e\e + may be used. +.fi + +.br +The html break br enclosed in angle brackets (though undocumented) is available +in versions prior to 3.0.13 and 2.9.7 (it remains available for the time being, +but is depreciated). + +.SH 9.7.2 PAGE BREAKS + +.br +Page breaks are only relevant and honored in some output formats. A page break +or a new page may be inserted manually using the following markup on a line on +its own: + +.nf + <:pb> +.fi + +.br +or + +.nf + <:pn> +.fi + +.br +page new <:pn> breaks the page, starts a new page. + +.br +page break <:pb> breaks a column, starts a new column, if using columns, else +breaks the page, starts a new page. + +.SH 9.8 BOOK INDEX .br To make an index append to paragraph the book index term relates to it, using @@ -2945,8 +2987,8 @@ appearance. .B SiSU is about the ability to auto\-generate documents. Home pages are regarded as custom built items, and are not created by -.B SiSU -. More accurately, +.B SiSU. +More accurately, .B 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 @@ -3357,125 +3399,16 @@ installed The generated search form must be copied manually to the webserver directory as instructed -.SH 25. HYPERESTRAIER -.br - -.br -See the documentation for hyperestraier: - -.br - - -.br - /usr/share/doc/hyperestraier/index.html - -.br - man estcmd - -.br -NOTE: the examples that follow assume that sisu output is placed in the -directory /home/ralph/sisu_www - -.br -(A) to generate the index within the webserver directory to be indexed: - -.br - estcmd gather \-sd [index \ name] [directory \ path \ to \ index] - -.br -the following are examples that will need to be tailored according to your -needs: - -.br - cd /home/ralph/sisu_www - -.br - estcmd gather \-sd casket /home/ralph/sisu_www - -.br -you may use the 'find' command together with 'egrep' to limit indexing to -particular document collection directories within the web server directory: - -.br - find /home/ralph/sisu_www \-type f | egrep - '/home/ralph/sisu_www/sisu/.+?.html$' |estcmd gather \-sd casket \- - -.br -Check which directories in the webserver/output directory (~/sisu_www or -elsewhere depending on configuration) you wish to include in the search index. - -.br -As sisu duplicates output in multiple file formats, it it is probably -preferable to limit the estraier index to html output, and as it may also be -desirable to exclude files 'plain.txt', 'toc.html' and 'concordance.html', as -these duplicate information held in other html output e.g. - -.br - find /home/ralph/sisu_www \-type f | egrep - '/sisu_www/(sisu|bookmarks)/.+?.html$' | egrep \-v '(doc|concordance).html$' - |estcmd gather \-sd casket \- - -.br -from your current document preparation/markup directory, you would construct a -rune along the following lines: - -.br - find /home/ralph/sisu_www \-type f | egrep '/home/ralph/sisu_www/([specify \ - first \ directory \ for \ inclusion]|[specify \ second \ directory \ for \ - inclusion]|[another \ directory \ for \ inclusion? \ \...])/.+?.html$' | - egrep \-v '(doc|concordance).html$' |estcmd gather \-sd - /home/ralph/sisu_www/casket \- - -.br -(B) to set up the search form - +.SH 25. SISU_WEBRICK .br -(i) copy estseek.cgi to your cgi directory and set file permissions to 755: -.br - sudo cp \-vi /usr/lib/estraier/estseek.cgi /usr/lib/cgi\-bin - -.br - sudo chmod \-v 755 /usr/lib/cgi\-bin/estseek.cgi - -.br - sudo cp \-v /usr/share/hyperestraier/estseek.* /usr/lib/cgi\-bin - -.br - [see \ estraier \ documentation \ for \ paths] - -.br -(ii) edit estseek.conf, with attention to the lines starting 'indexname:' and -'replace:': - -.br - indexname: /home/ralph/sisu_www/casket - -.br - replace: ^file:///home/ralph/sisu_www{{!}}http://localhost - -.br - replace: /index.html?${{!}}/ - -.br -(C) to test using webrick, start webrick: - -.br - sisu \-W - -.br -and try open the url: - -.SH 26. SISU_WEBRICK -.br - -.SH 26.1 NAME +.SH 25.1 NAME .br .B SiSU \- Structured information, Serialized Units \- a document publishing system -.SH 26.2 SYNOPSIS +.SH 25.2 SYNOPSIS .br sisu_webrick [port] @@ -3486,7 +3419,7 @@ or .br sisu \-W [port] -.SH 26.3 DESCRIPTION +.SH 25.3 DESCRIPTION .br sisu_webrick is part of @@ -3504,7 +3437,7 @@ The default port for sisu_webrick is set to 8081, this may be modified in the yaml file: ~/.sisu/sisurc.yml a sample of which is provided as /etc/sisu/sisurc.yml (or in the equivalent directory on your system). -.SH 26.4 SUMMARY OF MAN PAGE +.SH 25.4 SUMMARY OF MAN PAGE .br sisu_webrick, may be started on it's own with the command: sisu_webrick [port] @@ -3513,7 +3446,7 @@ or using the sisu command with the \-W flag: sisu \-W [port] .br where no port is given and settings are unchanged the default port is 8081 -.SH 26.5 DOCUMENT PROCESSING COMMAND FLAGS +.SH 25.5 DOCUMENT PROCESSING COMMAND FLAGS .br sisu \-W [port] starts @@ -3523,7 +3456,7 @@ Webrick web\-server, serving output directories, on the port provided, or if no port is provided and the defaults have not been changed in ~/.sisu/sisurc.yaml then on port 8081 -.SH 26.6 FURTHER INFORMATION +.SH 25.6 FURTHER INFORMATION .br For more information on @@ -3533,12 +3466,12 @@ see: or .br or man sisu -.SH 26.7 AUTHOR +.SH 25.7 AUTHOR .br Ralph Amissah or -.SH 26.8 SEE ALSO +.SH 25.8 SEE ALSO .br sisu(1) @@ -3546,7 +3479,7 @@ Ralph Amissah or .br sisu_vim(7) -.SH 27. REMOTE SOURCE DOCUMENTS +.SH 26. REMOTE SOURCE DOCUMENTS .br .br @@ -3607,7 +3540,7 @@ desired document. .SH REMOTE DOCUMENT OUTPUT .br -.SH 28. REMOTE OUTPUT +.SH 27. REMOTE OUTPUT .br .br @@ -3626,7 +3559,7 @@ be used in conjunction with other processing flags, e.g. sisu \-3R sisu_remote.sst .fi -.SH 28.1 COMMANDS +.SH 27.1 COMMANDS .TP .B \-R [filename/wildcard] @@ -3643,12 +3576,12 @@ 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 -.SH 28.2 CONFIGURATION +.SH 27.2 CONFIGURATION .br [expand \ on \ the \ setting \ up \ of \ an \ ssh\-agent \ / \ keychain] -.SH 29. REMOTE SERVERS +.SH 28. REMOTE SERVERS .br .br @@ -3661,10 +3594,10 @@ the program and all documents can just as easily be on a remote server, to which you are logged on using a terminal, and commands and operations would be pretty much the same as they would be on your local machine. -.SH 30. QUICKSTART \- GETTING STARTED HOWTO +.SH 29. QUICKSTART \- GETTING STARTED HOWTO .br -.SH 30.1 INSTALLATION +.SH 29.1 INSTALLATION .br Installation is currently most straightforward and tested on the @@ -3672,7 +3605,7 @@ Installation is currently most straightforward and tested on the platform, as there are packages for the installation of sisu and all requirements for what it does. -.SH 30.1.1 DEBIAN INSTALLATION +.SH 29.1.1 DEBIAN INSTALLATION .br .B SiSU @@ -3736,7 +3669,7 @@ Note however that it is not necessary to install sisu\-complete if not all components of sisu are to be used. Installing just the package sisu will provide basic functionality. -.SH 30.1.2 RPM INSTALLATION +.SH 29.1.2 RPM INSTALLATION .br RPMs are provided though untested, they are prepared by running alien against @@ -3754,7 +3687,7 @@ as root type: .br rpm \-i [rpm \ package \ name] -.SH 30.1.3 INSTALLATION FROM SOURCE +.SH 29.1.3 INSTALLATION FROM SOURCE .br To install @@ -3779,8 +3712,8 @@ first steps are the same, download and unpack the source file: For basic use .B SiSU is only dependent on the programming language in which it is written -.B Ruby -, and +.B Ruby, +and .B SiSU will be able to generate html, EPUB, various XMLs, including ODF (and will also produce LaTeX). Dependencies required for further actions, though it @@ -3861,7 +3794,7 @@ For a list of alternative actions you may type: .br ruby install \-T -.SH 30.2 TESTING SISU, GENERATING OUTPUT +.SH 29.2 TESTING SISU, GENERATING OUTPUT .br To check which version of sisu is installed: @@ -3888,7 +3821,7 @@ change directory to the appropriate one: .br cd /usr/share/doc/sisu/markup\-samples/samples -.SH 30.2.1 BASIC TEXT, PLAINTEXT, HTML, XML, ODF, EPUB +.SH 29.2.1 BASIC TEXT, PLAINTEXT, HTML, XML, ODF, EPUB .br Having moved to the directory that contains the markup samples (see @@ -3901,7 +3834,7 @@ sisu \-NhwoabxXyv free_as_in_freedom.rms_and_free_software.sam_williams.sst this will generate html including a concordance file, opendocument text format, plaintext, XHTML and various forms of XML, and OpenDocument text -.SH 30.2.2 LATEX / PDF +.SH 29.2.2 LATEX / PDF .br Assuming a LaTeX engine such as tetex or texlive is installed with the required @@ -3924,7 +3857,7 @@ should generate most available output formats: html including a concordance file, opendocument text format, plaintext, XHTML and various forms of XML, and OpenDocument text and pdf -.SH 30.2.3 RELATIONAL DATABASE \- POSTGRESQL, SQLITE +.SH 29.2.3 RELATIONAL DATABASE \- POSTGRESQL, SQLITE .br Relational databases need some setting up \- you must have permission to create @@ -3947,9 +3880,9 @@ sisu \-\-pgsql \-\-recreate sisu \-\-pgsql \-v \-\-import free_as_in_freedom.rms_and_free_software.sam_williams.sst -.SH 30.3 GETTING HELP +.SH 29.3 GETTING HELP -.SH 30.3.1 THE MAN PAGES +.SH 29.3.1 THE MAN PAGES .br Type: @@ -3970,7 +3903,7 @@ as within the package itself: .br * man directory [^27] -.SH 30.3.2 BUILT IN HELP +.SH 29.3.2 BUILT IN HELP .br sisu \-\-help @@ -3984,7 +3917,7 @@ sisu \-\-help \-\-commands .br sisu \-\-help \-\-markup -.SH 30.3.3 THE HOME PAGE +.SH 29.3.3 THE HOME PAGE .br @@ -3995,7 +3928,7 @@ sisu \-\-help \-\-markup .br -.SH 30.4 MARKUP SAMPLES +.SH 29.4 MARKUP SAMPLES .br A number of markup samples (along with output) are available off: @@ -4016,7 +3949,7 @@ 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. -.SH 31. EDITOR FILES, SYNTAX HIGHLIGHTING +.SH 30. EDITOR FILES, SYNTAX HIGHLIGHTING .br .br @@ -4198,7 +4131,7 @@ NOTE: but, \ display \ linewrap \ (without \ line\-breaks) \ is \ a \ convenient \ editor \ feature \ to \ have \ for \ sisu \ markup] -.SH 32. HOW DOES SISU WORK? +.SH 31. HOW DOES SISU WORK? .br .br @@ -4222,7 +4155,7 @@ document layout, publishing, content certification, concordance etc.), and makes it possible to take advantage of some of the strengths of established ways of representing documents, (or indeed to create new ones). -.SH 33. SUMMARY OF FEATURES +.SH 32. SUMMARY OF FEATURES .br .br @@ -4382,10 +4315,10 @@ 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. -.SH 34. HELP SOURCES +.SH 33. HELP SOURCES .br -.SH 34.1 MAN PAGES +.SH 33.1 MAN PAGES .br man sisu @@ -4441,7 +4374,7 @@ document. .br man sisu_webrick -.SH 34.2 SISU GENERATED OUTPUT \- LINKS TO HTML +.SH 33.2 SISU GENERATED OUTPUT \- LINKS TO HTML .br Note @@ -4451,7 +4384,7 @@ documentation is prepared in and output is available in multiple formats including amongst others html, pdf, odf and epub, which may be also be accessed via the html pages[^29] -.SH 34.2.1 WWW.SISUDOC.ORG +.SH 33.2.1 WWW.SISUDOC.ORG .br @@ -4459,9 +4392,9 @@ pdf, odf and epub, which may be also be accessed via the html pages[^29] .br -.SH 34.3 MAN2HTML +.SH 33.3 MAN2HTML -.SH 34.3.1 LOCALLY INSTALLED +.SH 33.3.1 LOCALLY INSTALLED .br file:///usr/share/doc/sisu/html/sisu.1.html @@ -4481,7 +4414,7 @@ file:///usr/share/doc/sisu/html/sisu.1.html .br /usr/share/doc/sisu/html/sisu_webrick.1.html -.SH 34.3.2 WWW.jus.uio.no/sisu +.SH 33.3.2 WWW.JUS.UIO.NO/SISU .br -- cgit v1.2.3