From dc6f4fbafdd3d296597e799c94c05187e6ad5b7f Mon Sep 17 00:00:00 2001
From: Ralph Amissah
Date: Thu, 14 Oct 2010 14:48:26 -0400
Subject: documentation related minor updates and fixes
---
CHANGELOG_v2 | 6 +-
data/doc/sisu/v2/CHANGELOG | 6 +-
.../v2/markup-samples/sisu_manual/sisu_manual.ssm | 2 +-
.../v2/markup-samples/sisu_manual/sisu_markup.sst | 135 ++++++++++++++++++++-
lib/sisu/v2/cgi_sql_common.rb | 11 +-
lib/sisu/v2/defaults.rb | 15 ++-
man/man1/sisu.1 | 2 +-
7 files changed, 161 insertions(+), 16 deletions(-)
diff --git a/CHANGELOG_v2 b/CHANGELOG_v2
index f65044dc..86cbf103 100644
--- a/CHANGELOG_v2
+++ b/CHANGELOG_v2
@@ -12,7 +12,7 @@ Reverse Chronological:
%% Development branch UNSTABLE
-%% 2.7.7.orig.tar.gz (2010-10-13:41/3)
+%% 2.7.7.orig.tar.gz (2010-10-14:41/4)
http://www.jus.uio.no/sisu/pkg/src/sisu_2.7.7.orig.tar.gz
sisu_2.7.7.orig.tar.gz
sisu_2.7.7-1.dsc
@@ -22,7 +22,9 @@ http://www.jus.uio.no/sisu/pkg/src/sisu_2.7.7.orig.tar.gz
* texpdf, first space following a bullet should be fixed width, fix
(used \enspace (0.5em))
- (requested fix and suggested solution, Ben Armstrong)
+ (requested fix and suggested latex solution, Ben Armstrong)
+
+ * documentation related minor updates and fixes
%% 2.7.6.orig.tar.gz (2010-10-11:41/1)
http://www.jus.uio.no/sisu/pkg/src/sisu_2.7.6.orig.tar.gz
diff --git a/data/doc/sisu/v2/CHANGELOG b/data/doc/sisu/v2/CHANGELOG
index 05c6b2d5..84e519cf 100644
--- a/data/doc/sisu/v2/CHANGELOG
+++ b/data/doc/sisu/v2/CHANGELOG
@@ -12,7 +12,7 @@ Reverse Chronological:
%% Development branch UNSTABLE
-%% 2.7.7.orig.tar.gz (2010-10-13:41/3)
+%% 2.7.7.orig.tar.gz (2010-10-14:41/4)
http://www.jus.uio.no/sisu/pkg/src/sisu_2.7.7.orig.tar.gz
sisu_2.7.7.orig.tar.gz
sisu_2.7.7-1.dsc
@@ -22,7 +22,9 @@ http://www.jus.uio.no/sisu/pkg/src/sisu_2.7.7.orig.tar.gz
* texpdf, first space following a bullet should be fixed width, fix
(used \enspace (0.5em))
- (requested fix and suggested solution, Ben Armstrong)
+ (requested fix and suggested latex solution, Ben Armstrong)
+
+ * documentation related minor updates and fixes
%% 2.7.6.orig.tar.gz (2010-10-11:41/1)
http://www.jus.uio.no/sisu/pkg/src/sisu_2.7.6.orig.tar.gz
diff --git a/data/doc/sisu/v2/markup-samples/sisu_manual/sisu_manual.ssm b/data/doc/sisu/v2/markup-samples/sisu_manual/sisu_manual.ssm
index 48c6d681..878dc5cb 100644
--- a/data/doc/sisu/v2/markup-samples/sisu_manual/sisu_manual.ssm
+++ b/data/doc/sisu/v2/markup-samples/sisu_manual/sisu_manual.ssm
@@ -43,7 +43,7 @@
:B~ What is SiSU?
-<< sisu_introduction.ssi
+<< sisu_introduction.sst
<< sisu_how.ssi
diff --git a/data/doc/sisu/v2/markup-samples/sisu_manual/sisu_markup.sst b/data/doc/sisu/v2/markup-samples/sisu_manual/sisu_markup.sst
index b718e997..bff00b01 100644
--- a/data/doc/sisu/v2/markup-samples/sisu_manual/sisu_markup.sst
+++ b/data/doc/sisu/v2/markup-samples/sisu_manual/sisu_markup.sst
@@ -22,7 +22,7 @@
:issued: 2002-08-28
:available: 2002-08-28
:published: 2008-05-22
- :modified: 2010-07-07
+ :modified: 2010-17-14
@make:
:num_top: 1
@@ -173,7 +173,7 @@ code{
2~ Available Headers
-Header tags appear at the beginning of a document and provide meta information on the document (such as the Dublin Core), or information as to how the document as a whole is to be processed. All header instructions take either the form @headername: or 0~headername. All Dublin Core meta tags are available
+Header tags appear at the beginning of a document and provide meta information on the document (such as the Dublin Core), or information as to how the document as a whole is to be processed. All header instructions take the form @headername: or on the next line and indented by once space :subheadername: All Dublin Core meta tags are available
!_ @indentifier:
information or instructions
@@ -1004,7 +1004,7 @@ group{
3~ Code
-Code tags are used to escape regular sisu markup, and have been used extensively within this document to provide examples of SiSU markup. You cannot however use code tags to escape code tags. They are however used in the same way as group or poem tags.
+Code tags #{ code{ ... }code }# (used as with other group tags described above) are used to escape regular sisu markup, and have been used extensively within this document to provide examples of SiSU markup. You cannot however use code tags to escape code tags. They are however used in the same way as group or poem tags.
A code-block is treated as an object and given a single object number. [an option to number each line of code may be considered at some later time]
@@ -1059,6 +1059,57 @@ code{
}code
+From SiSU 2.7.7 on you can number codeblocks by placing a hash after the opening code tag #{ code{# }# as demonstrated here:
+
+code{#
+
+ `Fury said to a
+ mouse, That he
+ met in the
+ house,
+ "Let us
+ both go to
+ law: I will
+ prosecute
+ YOU. --Come,
+ I'll take no
+ denial; We
+ must have a
+ trial: For
+ really this
+ morning I've
+ nothing
+ to do."
+ Said the
+ mouse to the
+ cur, "Such
+ a trial,
+ dear Sir,
+ With
+ no jury
+ or judge,
+ would be
+ wasting
+ our
+ breath."
+ "I'll be
+ judge, I'll
+ be jury,"
+ Said
+ cunning
+ old Fury:
+ "I'll
+ try the
+ whole
+ cause,
+ and
+ condemn
+ you
+ to
+ death."'
+
+}code
+
2~ Book index
To make an index append to paragraph the book index term relates to it, using an equal sign and curly braces.
@@ -1155,12 +1206,88 @@ code{
1~ Notes related to Files-types and Markup Syntax
-0.38 is substantially current, depreciated 0.16 supported, though file names were changed at 0.37
+2.0 introduced new headers and is therefore incompatible with 1.0 though otherwise the same with the addition of a couple of tags (i.e. a superset)
+
+0.38 is substantially current for version 1.0
+
+depreciated 0.16 supported, though file names were changed at 0.37
_* sisu --query=[sisu version [0.38] or 'history]
provides a short history of changes to SiSU markup
+!_ SiSU 2.0
+(2010-03-06:09/6)
+same as 1.0, apart from the changing of headers and the addition of a monospace tag related headers now grouped, e.g.
+
+code{
+
+@title:
+ :subtitle:
+
+@creator:
+ :author:
+ :translator:
+ :illustrator:
+
+@rights:
+ :text:
+ :illustrations:
+
+}code
+
+see document markup samples, and sisu --help headers
+
+the monospace tag takes the form of a hash '#'
+
+code{
+
+#{ this enclosed text would be monospaced }#
+
+}code
+
+!_ 1.0
+(2009-12-19:50/6)
+same as 0.69
+
+!_ 0.69
+(2008-09-16:37/2)
+(same as 1.0) and as previous (0.57) with the addition of book index tags
+
+code{
+
+/^={.+?}$/
+
+}code
+
+e.g. appended to a paragraph, on a new-line (without a blank line in between) logical structure produced assuming this is the first text "object"
+
+code{
+
+ ={GNU/Linux community distribution:Debian+2|Fedora|Gentoo;Free Software Foundation+5}
+
+}code
+
+code{
+
+Free Software Foundation, 1-6
+GNU/Linux community distribution, 1
+ Debian, 1-3
+ Fedora, 1
+ Gentoo,
+
+}code
+
+!_ 0.66
+(2008-02-24:07/7)
+same as previous, adds semantic tags, [experimental and not-used]
+
+code{
+
+/[:;]{.+?}[:;][a-z+]/
+
+}code
+
!_ 0.57
(2007w34/4)
SiSU 0.57 is the same as 0.42 with the introduction of some a shortcut to use the headers @title and @creator in the first heading [expanded using the contents of the headers @title: and @author:]
diff --git a/lib/sisu/v2/cgi_sql_common.rb b/lib/sisu/v2/cgi_sql_common.rb
index 56f6cb37..1b043f00 100644
--- a/lib/sisu/v2/cgi_sql_common.rb
+++ b/lib/sisu/v2/cgi_sql_common.rb
@@ -569,9 +569,18 @@ module SiSU_CGI_sql
w3 since October 3 1993
-
+
ralph@amissah.com
+
+ mailing list subscription
+
+ http://lists.sisudoc.org/listinfo/sisu
+
+
+
+ sisu@lists.sisudoc.org
+
diff --git a/lib/sisu/v2/defaults.rb b/lib/sisu/v2/defaults.rb
index 188b1869..362b67e5 100644
--- a/lib/sisu/v2/defaults.rb
+++ b/lib/sisu/v2/defaults.rb
@@ -1595,7 +1595,7 @@ WOK
w3 since October 3 1993
-
+
ralph@amissah.com
@@ -1989,7 +1989,7 @@ SiSU is a comprehensive future-proofing electronic document management system.
Potential users of SiSU include individual authors who want to publish their books or articles electronically to reach a broad audience, web publishers who want to provide multiple channels of access to their electronic documents, or any organizations which centrally manage a medium or large set of electronic documents, especially governmental organizations which may prefer to keep their documents in easily accessible yet non-proprietary formats.
-SiSU is an Open Source project initiated and led by Ralph Amissah (ralph.amissah@gmail.com) and can be contacted at sisu@lists.sisudoc.org. SiSU is licensed under the GNU General Public License.
+SiSU is an Open Source project initiated and led by Ralph Amissah (ralph.amissah@gmail.com) and can be contacted via mailing list http://lists.sisudoc.org/listinfo/sisu at sisu@lists.sisudoc.org. SiSU is licensed under the GNU General Public License.
For less markup than the most elementary HTML you can have more.
@@ -2151,21 +2151,26 @@ 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.
-
+
ralph@amissah.com
-
+
ralph.amissah@gmail.com
-
+
sisu@lists.sisudoc.org.
+
+http://lists.sisudoc.org/listinfo/sisu
+
+
+
#{@date.year_static}
diff --git a/man/man1/sisu.1 b/man/man1/sisu.1
index 7a9d9659..3dd8f71a 100644
--- a/man/man1/sisu.1
+++ b/man/man1/sisu.1
@@ -1256,7 +1256,7 @@ normally be marked 1.1.1 or 1.1.2 or 1.2.1 or 2.1.1 etc. in a document
.BR
/{italics}/
.BR
- \"{citation}\"
+ "{citation}"
.BR
^{superscript}^
.BR
--
cgit v1.2.3
|