aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--CHANGELOG15
-rw-r--r--README38
-rw-r--r--Rantfile4
-rw-r--r--bin/sisu2
-rw-r--r--bin/sisu_termsheet4
-rw-r--r--conf/sisu/sisurc.yml10
-rw-r--r--conf/sisu/skin/dir/skin_sisu.rb8
-rw-r--r--conf/sisu/skin/doc/skin_gnu.rb4
-rw-r--r--conf/sisu/skin/doc/skin_gutenberg.rb4
-rw-r--r--conf/sisu/skin/doc/skin_kdissert.rb4
-rw-r--r--conf/sisu/skin/doc/skin_sisu.rb8
-rw-r--r--conf/sisu/skin/site/skin_sisu.rb8
-rw-r--r--conf/sisu/skin/yml/skin_countries.yml2
-rw-r--r--conf/sisu/skin/yml/skin_country.yml2
-rw-r--r--conf/sisu/version.yml6
-rw-r--r--data/doc/sisu/CHANGELOG35
-rw-r--r--data/doc/sisu/sisu_markup_samples/dfsg/_sisu/skin/dir/skin_sisu.rb8
-rw-r--r--data/doc/sisu/sisu_markup_samples/dfsg/_sisu/skin/doc/skin_gnu.rb4
-rw-r--r--data/doc/sisu/sisu_markup_samples/dfsg/_sisu/skin/doc/skin_gutenberg.rb4
-rw-r--r--data/doc/sisu/sisu_markup_samples/dfsg/_sisu/skin/doc/skin_kdissert.rb4
-rw-r--r--data/doc/sisu/sisu_markup_samples/dfsg/_sisu/skin/doc/skin_rms.rb8
-rw-r--r--data/doc/sisu/sisu_markup_samples/dfsg/_sisu/skin/site/skin_sisu.rb8
-rw-r--r--data/doc/sisu/sisu_markup_samples/dfsg/_sisu/skin/yml/skin_countries.yml2
-rw-r--r--data/doc/sisu/sisu_markup_samples/dfsg/_sisu/skin/yml/skin_country.yml2
-rw-r--r--data/doc/sisu/sisu_markup_samples/dfsg/sisu_output_overview.ssi2
-rw-r--r--data/sisu/conf/cgi-bin/sisu_search_pgsql.cgi72
-rw-r--r--data/sisu/conf/cgi-bin/sisu_search_sqlite.cgi72
-rw-r--r--data/sisu/conf/ruby/irbrc2
-rw-r--r--data/sisu/conf/syntax/README14
-rw-r--r--data/sisu/conf/syntax/diakonos.conf4
-rw-r--r--data/sisu/conf/syntax/nanorc2
-rw-r--r--data/sisu/conf/syntax/sisu-mode.el22
-rw-r--r--data/sisu/conf/syntax/sisu.lang6
-rw-r--r--data/sisu/conf/syntax/sisu.xml2
-rw-r--r--data/sisu/conf/syntax/sisu_nedit.pats2
-rw-r--r--data/sisu/conf/vim/addons/ftplugin/sisu.vim8
-rw-r--r--lib/sisu/v0/cgi_sql_common.rb23
-rw-r--r--lib/sisu/v0/db_load_tuple.rb4
-rw-r--r--lib/sisu/v0/shared_html_lite.rb1
-rw-r--r--lib/sisu/v0/texpdf.rb12
-rw-r--r--man/man1/sisu.1676
-rw-r--r--man/man1/sisu_termsheet.120
-rw-r--r--man/man1/sisu_webrick.124
-rw-r--r--man/man7/sisu_vim.78
-rw-r--r--man/man8/sisu.824
-rw-r--r--setup.rb8
46 files changed, 627 insertions, 575 deletions
diff --git a/CHANGELOG b/CHANGELOG
index 2808c231..db80b9d1 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -6,11 +6,20 @@ Reverse Chronological:
%% STABLE MANIFEST
+%% sisu_0.54.1.orig.tar.gz (2007-06-15::24/5)
+http://www.jus.uio.no/sisu/pkg/src/sisu_0.54.1.orig.tar.gz
+ sisu_0.54.1.orig.tar.gz
+ sisu_0.54.1-1.dsc
+ sisu_0.54.1-1.diff.gz
+
+ * cgi script (for search matching), fix (imperfect), match highlighting is
+ now ignored in paragraphs with urls
+
%% sisu_0.54.0.orig.tar.gz (2007-06-14::24/4)
http://www.jus.uio.no/sisu/pkg/src/sisu_0.54.0.orig.tar.gz
- sisu_0.54.0.orig.tar.gz
- sisu_0.54.0-1.dsc
- sisu_0.54.0-1.diff.gz
+ e1a98feb15d72e669d3726dbc9cc81da 1258857 sisu_0.54.0.orig.tar.gz
+ 0be75fc5cdf10fdf7d8073490bec4fe6 606 sisu_0.54.0-1.dsc
+ d1e9622e5835641c00eb65d248535adb 149716 sisu_0.54.0-1.diff.gz
* indent levels (1-9) added [previously two levels] done for plaintext, html,
xml, odf, latex/pdf [minor syntax addition (_3 - _9), version number
diff --git a/README b/README
index a688fcb5..a44b30b0 100644
--- a/README
+++ b/README
@@ -8,16 +8,16 @@ homepage: http://www.jus.uio.no/sisu
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.
-
+
Outputs share a common citation numbering system, and any semantic meta-data
provided about the document.
-
+
SiSU also provides concordance files, document content certificates and
manifests of generated output.
@@ -28,26 +28,26 @@ homepage: http://www.jus.uio.no/sisu
sciences perspective, rather than technical or scientific writing] ...
focus is primarily on content and data integrity rather than appearance,
(though outputs in the various formats are respectable).
-
+
A vim syntax highlighting file and an ftplugin with folds for sisu markup is
provided. Vim 7 includes syntax highlighting for SiSU.
-
+
man pages, and interactive help are provided.
-
+
Dependencies for various features are taken care of in sisu related packages.
The package sisu-complete installs the whole of SiSU.
-
+
Additional document markup samples are provided in the package
sisu-markup-samples which is found in the non-free archive the licenses for
the substantive content of the marked up documents provided is that provided
by the author or original publisher.
-
+
Homepage: http://www.jus.uio.no/sisu
-----
SiSU - simple information structuring universe, is a publishing tool, document
-generation and management, (and search enabling) tool primarily for literary,
+generation and management, (and search enabling) tool primarily for literary,
academic and legal works.
SiSU can be used for Internet, Intranet, local filesystem or cd publishing.
@@ -57,7 +57,7 @@ SiSU can be used directly off the filesystem, or from a database.
SiSU's scalability, is be dependent on your hardware, and filesystem (in my
case Reiserfs), and/or database Postgresql.
-Amongst it's characteristics are:
+Amongst it's characteristics are:
* simple mnemonoic markup style,
@@ -102,7 +102,7 @@ NB. Platform is Unix / Linux.
%% Debian
---------------
-If you use Debian use the Debian packages,
+If you use Debian use the Debian packages,
check the information at:
http://www.jus.uio.no/sisu/SiSU/download.html#debian
http://www.jus.uio.no/sisu/sisu_download/download.html#debian
@@ -143,9 +143,9 @@ Otherwise to install SiSU from source, check information at:
http://www.jus.uio.no/sisu/SiSU/download.html#current
http://www.jus.uio.no/sisu/sisu_download/download.html#current
-two alternative modes of installation from source are provided,
+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
+in either case: the first steps are the same, download and unpack the
source file:
1. Download the latest source (information available) from:
@@ -158,15 +158,15 @@ source file:
this is a three step process,
in the root directory of the unpacked SiSU as root type:
- ruby setup.rb config
- ruby setup.rb setup
+ ruby setup.rb config
+ ruby setup.rb setup
#[as root:]
ruby setup.rb install
further information:
http://i.loveruby.net/en/projects/setup/
http://i.loveruby.net/en/projects/setup/doc/usage.html
-
+
%% to use install (prapared with "Rant")
---------------
in the root directory of the unpacked SiSU as root type:
@@ -179,7 +179,7 @@ This makes use of Rant (by Stefan Lang) and the provided Rantfile. It has been
configured to do post installation setup setup configuration and generation of
first test file. Note however, that additional external package dependencies,
such as tetex-extra are not taken care of for you.
-
+
further information:
http://make.rubyforge.org/
http://rubyforge.org/frs/?group_id=615
@@ -283,7 +283,7 @@ The default configuration/setup is contained within the program and is altered
by configuration settings in /etc/[sisu version]/sisurc.yml
or in ~/.sisu/sisurc.yml
-* configuration file - a yaml file
+* configuration file - a yaml file
/etc/sisu/[sisu version]/sisurc.yml
~/.sisu/sisurc.yml
@@ -297,7 +297,7 @@ documents within ~/.sisu/skin
* additional software - eg. Tex and LaTeX (tetex, tetex-base, tetex-extra on
Debian), Postgresql, [sqlite], trang, tidy, makeinfo, ... none of which are
-required for basic html or XML processing.
+required for basic html or XML processing.
* if you use Vim as editor there is a syntax highlighter and fold resource
config file for SiSU. I hope more syntax highlighters follow.
diff --git a/Rantfile b/Rantfile
index 66567653..1b15420d 100644
--- a/Rantfile
+++ b/Rantfile
@@ -52,11 +52,11 @@ raise 'Please, use ruby1.8.4 or later.' if RUBY_VERSION < '1.8.4'
SiSU was first released to the public on January 4th 2005
SiSU uses:
-
+
* Standard SiSU markup syntax,
* Standard SiSU meta-markup syntax, and the
* Standard SiSU object citation numbering and system
-
+
© Ralph Amissah 1997, current 2005.
All Rights Reserved.
diff --git a/bin/sisu b/bin/sisu
index 4ee3f0f3..d1fe035f 100644
--- a/bin/sisu
+++ b/bin/sisu
@@ -43,7 +43,7 @@ __END__
SiSU was first released to the public on January 4th 2005
SiSU uses:
-
+
* Standard SiSU markup syntax,
* Standard SiSU meta-markup syntax, and the
* Standard SiSU object citation numbering and system
diff --git a/bin/sisu_termsheet b/bin/sisu_termsheet
index 38d24a6f..4df4bc92 100644
--- a/bin/sisu_termsheet
+++ b/bin/sisu_termsheet
@@ -44,11 +44,11 @@ __END__
SiSU was first released to the public on January 4th 2005
SiSU uses:
-
+
* Standard SiSU markup syntax,
* Standard SiSU meta-markup syntax, and the
* Standard SiSU object citation numbering and system
-
+
© Ralph Amissah 1997, current 2007.
All Rights Reserved.
diff --git a/conf/sisu/sisurc.yml b/conf/sisu/sisurc.yml
index df2f153d..753af124 100644
--- a/conf/sisu/sisurc.yml
+++ b/conf/sisu/sisurc.yml
@@ -1,17 +1,17 @@
# Name: SiSU - Simple information Structuring Universe - Structured information, Serialized Units
# Author: Ralph@Amissah.com
-# Description: Site wide envionment defaults set here
+# Description: Site wide envionment defaults set here
# arch-tag: system environment info / resource configuration file, for sisu
# License: GPL 2 or later
-# this file should be configured and live in
+# this file should be configured and live in
# /etc/sisu #per environment settings, overridden by:
# ~/.sisu #per user settings, overridden by:
# ./_sisu/config #per local directory settings
# $Date$
# $Id$
-# Notes: implemented 2004w03
+# Notes: implemented 2004w03
# Site environment configuration file
-# this file should be configured and live in
+# this file should be configured and live in
# /etc/sisu #per environment settings, overridden by:
# ~/.sisu #per user settings, overridden by:
# ./_sisu #per local markup directory settings
@@ -86,7 +86,7 @@ default:
# port: "**"
#% possible values ~, true, false, or command instruction e.g. editor: 'gvim -c :R -c :S'.
#will only ignore if value set to false, absence or nil will not remove program as should operate without rc file
-#ie in case of ~ will ignore and use hard coded defaults within program), true, false, or command instruction e.g. editor: 'gvim -c :R -c :S'
+#ie in case of ~ will ignore and use hard coded defaults within program), true, false, or command instruction e.g. editor: 'gvim -c :R -c :S'
#on value true system defaults used, to change, e.g. editor specify
permission_set:
zap: false
diff --git a/conf/sisu/skin/dir/skin_sisu.rb b/conf/sisu/skin/dir/skin_sisu.rb
index 66786cea..3e27c1d2 100644
--- a/conf/sisu/skin/dir/skin_sisu.rb
+++ b/conf/sisu/skin/dir/skin_sisu.rb
@@ -3,7 +3,7 @@
* Author: Ralph@Amissah.com
* http://www.jus.uio.no/sisu
* http://www.jus.uio.no/sisu/SiSU/download
- * Description: Document skin for SiSU descriptive pages, ...
+ * Description: Document skin for SiSU descriptive pages, ...
* License: Same as SiSU see http://www.jus.uio.no/sisu
* Notes: Site default appearance variables set in defaults.rb
Generic site wide modifications set here scribe_skin.rb, and this file required by other "scribes" instead of defaults.rb
@@ -35,7 +35,7 @@ module SiSU_Viz
end
def url_site # used in pdf header
#puts "#{__LINE__} #{__FILE__}"
- 'http://www.jus.uio.no/sisu'
+ 'http://www.jus.uio.no/sisu'
end
def url_txt # text to go with url usually stripped url
#puts "#{__LINE__} #{__FILE__}"
@@ -50,7 +50,7 @@ module SiSU_Viz
#end
#% color
def color_band1
- '"#ffffff"'
+ '"#ffffff"'
end
def color_band2
'"#ffffff"'
@@ -60,7 +60,7 @@ module SiSU_Viz
'&nbsp;SiSU'
end
def text_home
- 'SiSU'
+ 'SiSU'
end
#% icon
def icon_home_button
diff --git a/conf/sisu/skin/doc/skin_gnu.rb b/conf/sisu/skin/doc/skin_gnu.rb
index 4c35120e..62497cfd 100644
--- a/conf/sisu/skin/doc/skin_gnu.rb
+++ b/conf/sisu/skin/doc/skin_gnu.rb
@@ -42,14 +42,14 @@ module SiSU_Viz
end
# color
def color_band1
- '"#000070"'
+ '"#000070"'
end
#% txt
def txt_hp
'Free Software Foundation'
end
def txt_home # this should be the name of the site eg. Lex Mercatoria or if you prefer to see a url the url in text form copy & ...
- #"www.jus.uio.no/sisu/"
+ #"www.jus.uio.no/sisu/"
'Free Software Foundation'
end
#% icon
diff --git a/conf/sisu/skin/doc/skin_gutenberg.rb b/conf/sisu/skin/doc/skin_gutenberg.rb
index 4014d624..bd7d9961 100644
--- a/conf/sisu/skin/doc/skin_gutenberg.rb
+++ b/conf/sisu/skin/doc/skin_gutenberg.rb
@@ -3,7 +3,7 @@
* Author: Ralph Amissah
* http://www.jus.uio.no/sisu
* http://www.jus.uio.no/sisu/SiSU/download
- * Description: Document skin sample prepared for Gutenberg Project (first used with "War and Peace")
+ * Description: Document skin sample prepared for Gutenberg Project (first used with "War and Peace")
* License: Same as SiSU see http://www.jus.uio.no/sisu
* Notes: Site default appearance variables set in defaults.rb
Generic site wide modifications set here scribe_skin.rb, and this file required by other "scribes" instead of defaults.rb
@@ -13,7 +13,7 @@ module SiSU_Viz
class Skin
#% path
def path_root # the only parameter that cannot be changed here
- './sisu/'
+ './sisu/'
end
def path_rel
'../'
diff --git a/conf/sisu/skin/doc/skin_kdissert.rb b/conf/sisu/skin/doc/skin_kdissert.rb
index 87d371f2..3d8c0485 100644
--- a/conf/sisu/skin/doc/skin_kdissert.rb
+++ b/conf/sisu/skin/doc/skin_kdissert.rb
@@ -37,14 +37,14 @@ module SiSU_Viz
end
#% color
def color_band1
- '"#ffffff"'
+ '"#ffffff"'
end
#% txt
def txt_hp
'Kdissert, Document Mapping'
end
def txt_home # this should be the name of the site eg. Lex Mercatoria or if you prefer to see a url the url in text form copy & ...
- #"www.jus.uio.no/sisu/"
+ #"www.jus.uio.no/sisu/"
'SiSU (document prepared using Kdissert)'
end
#% icon
diff --git a/conf/sisu/skin/doc/skin_sisu.rb b/conf/sisu/skin/doc/skin_sisu.rb
index 66786cea..3e27c1d2 100644
--- a/conf/sisu/skin/doc/skin_sisu.rb
+++ b/conf/sisu/skin/doc/skin_sisu.rb
@@ -3,7 +3,7 @@
* Author: Ralph@Amissah.com
* http://www.jus.uio.no/sisu
* http://www.jus.uio.no/sisu/SiSU/download
- * Description: Document skin for SiSU descriptive pages, ...
+ * Description: Document skin for SiSU descriptive pages, ...
* License: Same as SiSU see http://www.jus.uio.no/sisu
* Notes: Site default appearance variables set in defaults.rb
Generic site wide modifications set here scribe_skin.rb, and this file required by other "scribes" instead of defaults.rb
@@ -35,7 +35,7 @@ module SiSU_Viz
end
def url_site # used in pdf header
#puts "#{__LINE__} #{__FILE__}"
- 'http://www.jus.uio.no/sisu'
+ 'http://www.jus.uio.no/sisu'
end
def url_txt # text to go with url usually stripped url
#puts "#{__LINE__} #{__FILE__}"
@@ -50,7 +50,7 @@ module SiSU_Viz
#end
#% color
def color_band1
- '"#ffffff"'
+ '"#ffffff"'
end
def color_band2
'"#ffffff"'
@@ -60,7 +60,7 @@ module SiSU_Viz
'&nbsp;SiSU'
end
def text_home
- 'SiSU'
+ 'SiSU'
end
#% icon
def icon_home_button
diff --git a/conf/sisu/skin/site/skin_sisu.rb b/conf/sisu/skin/site/skin_sisu.rb
index 66786cea..3e27c1d2 100644
--- a/conf/sisu/skin/site/skin_sisu.rb
+++ b/conf/sisu/skin/site/skin_sisu.rb
@@ -3,7 +3,7 @@
* Author: Ralph@Amissah.com
* http://www.jus.uio.no/sisu
* http://www.jus.uio.no/sisu/SiSU/download
- * Description: Document skin for SiSU descriptive pages, ...
+ * Description: Document skin for SiSU descriptive pages, ...
* License: Same as SiSU see http://www.jus.uio.no/sisu
* Notes: Site default appearance variables set in defaults.rb
Generic site wide modifications set here scribe_skin.rb, and this file required by other "scribes" instead of defaults.rb
@@ -35,7 +35,7 @@ module SiSU_Viz
end
def url_site # used in pdf header
#puts "#{__LINE__} #{__FILE__}"
- 'http://www.jus.uio.no/sisu'
+ 'http://www.jus.uio.no/sisu'
end
def url_txt # text to go with url usually stripped url
#puts "#{__LINE__} #{__FILE__}"
@@ -50,7 +50,7 @@ module SiSU_Viz
#end
#% color
def color_band1
- '"#ffffff"'
+ '"#ffffff"'
end
def color_band2
'"#ffffff"'
@@ -60,7 +60,7 @@ module SiSU_Viz
'&nbsp;SiSU'
end
def text_home
- 'SiSU'
+ 'SiSU'
end
#% icon
def icon_home_button
diff --git a/conf/sisu/skin/yml/skin_countries.yml b/conf/sisu/skin/yml/skin_countries.yml
index a68903e1..179b9978 100644
--- a/conf/sisu/skin/yml/skin_countries.yml
+++ b/conf/sisu/skin/yml/skin_countries.yml
@@ -1,4 +1,4 @@
-# arch-tag: yaml country list
+# arch-tag: yaml country list
# Author: Ralph@Amissah.com
# License: Same as SiSU see http://www.jus.uio.no/sisu
id: AF
diff --git a/conf/sisu/skin/yml/skin_country.yml b/conf/sisu/skin/yml/skin_country.yml
index ebaf8ace..dc835465 100644
--- a/conf/sisu/skin/yml/skin_country.yml
+++ b/conf/sisu/skin/yml/skin_country.yml
@@ -1,4 +1,4 @@
-# arch-tag: yaml country list array
+# arch-tag: yaml country list array
# Author: Ralph@Amissah.com
# License: Same as SiSU see http://www.jus.uio.no/sisu
-
diff --git a/conf/sisu/version.yml b/conf/sisu/version.yml
index 7bb8794c..20528cc6 100644
--- a/conf/sisu/version.yml
+++ b/conf/sisu/version.yml
@@ -1,5 +1,5 @@
---
-:date: "2007-06-02"
+:date: "2007-06-14"
+:version: 0.54.0
:project: SiSU
-:version: 0.53.0
-:date_stamp: 2007w22/6
+:date_stamp: 2007w24/4
diff --git a/data/doc/sisu/CHANGELOG b/data/doc/sisu/CHANGELOG
index 81193a07..2808c231 100644
--- a/data/doc/sisu/CHANGELOG
+++ b/data/doc/sisu/CHANGELOG
@@ -6,11 +6,38 @@ Reverse Chronological:
%% STABLE MANIFEST
+%% sisu_0.54.0.orig.tar.gz (2007-06-14::24/4)
+http://www.jus.uio.no/sisu/pkg/src/sisu_0.54.0.orig.tar.gz
+ sisu_0.54.0.orig.tar.gz
+ sisu_0.54.0-1.dsc
+ sisu_0.54.0-1.diff.gz
+
+ * indent levels (1-9) added [previously two levels] done for plaintext, html,
+ xml, odf, latex/pdf [minor syntax addition (_3 - _9), version number
+ change]
+
+ * bullet indent levels (1-9) added [previously two levels] done for
+ plaintext, html, odf, latex/pdf [minor syntax addition (_3* - _9*), version
+ number change]
+
+ * url decoration, open close, default angle brackets <http://url>
+
+ * fixes, some line-breaking for plaintext (and text groups for) odf and xml
+
+ * css, modifications for extended indents in html and xml [sisu -CC (for
+ update)]
+
+ * vim syntax highlighter updated to take account of extended indent range
+
+ * rant installer minor changes for future ruby
+
+ * conversion script in data/sisu/conf/convert/sisu_convert
+
%% sisu_0.53.0.orig.tar.gz (2007-06-02::22/6)
http://www.jus.uio.no/sisu/pkg/src/sisu_0.53.0.orig.tar.gz
- sisu_0.53.0.orig.tar.gz
- sisu_0.53.0-1.dsc
- sisu_0.53.0-1.diff.gz
+ b8f28c2cade1f95956f5cdaef7af7fbd 1254059 sisu_0.53.0.orig.tar.gz
+ 2a741d1fbe95f25a06b6d10ee709514a 606 sisu_0.53.0-1.dsc
+ 65b8d4638cb0df8a8d8bcd33e20482b4 182847 sisu_0.53.0-1.diff.gz
* housekeeping, internal program adjustments (i.e. unrelated to output)
* lib, moved lib base to v0 branch (major version preceded by a v), [from
@@ -23,7 +50,7 @@ http://www.jus.uio.no/sisu/pkg/src/sisu_0.53.0.orig.tar.gz
* Note: dcc, several hash values change.
- * moved to git for scm including git-buildpackage
+ * moved to git for scm including git-buildpackage
(from a combination of mercurial and dars + darcs-buildpackage, [don't ask,
it served me quite well though])
diff --git a/data/doc/sisu/sisu_markup_samples/dfsg/_sisu/skin/dir/skin_sisu.rb b/data/doc/sisu/sisu_markup_samples/dfsg/_sisu/skin/dir/skin_sisu.rb
index 66786cea..3e27c1d2 100644
--- a/data/doc/sisu/sisu_markup_samples/dfsg/_sisu/skin/dir/skin_sisu.rb
+++ b/data/doc/sisu/sisu_markup_samples/dfsg/_sisu/skin/dir/skin_sisu.rb
@@ -3,7 +3,7 @@
* Author: Ralph@Amissah.com
* http://www.jus.uio.no/sisu
* http://www.jus.uio.no/sisu/SiSU/download
- * Description: Document skin for SiSU descriptive pages, ...
+ * Description: Document skin for SiSU descriptive pages, ...
* License: Same as SiSU see http://www.jus.uio.no/sisu
* Notes: Site default appearance variables set in defaults.rb
Generic site wide modifications set here scribe_skin.rb, and this file required by other "scribes" instead of defaults.rb
@@ -35,7 +35,7 @@ module SiSU_Viz
end
def url_site # used in pdf header
#puts "#{__LINE__} #{__FILE__}"
- 'http://www.jus.uio.no/sisu'
+ 'http://www.jus.uio.no/sisu'
end
def url_txt # text to go with url usually stripped url
#puts "#{__LINE__} #{__FILE__}"
@@ -50,7 +50,7 @@ module SiSU_Viz
#end
#% color
def color_band1
- '"#ffffff"'
+ '"#ffffff"'
end
def color_band2
'"#ffffff"'
@@ -60,7 +60,7 @@ module SiSU_Viz
'&nbsp;SiSU'
end
def text_home
- 'SiSU'
+ 'SiSU'
end
#% icon
def icon_home_button
diff --git a/data/doc/sisu/sisu_markup_samples/dfsg/_sisu/skin/doc/skin_gnu.rb b/data/doc/sisu/sisu_markup_samples/dfsg/_sisu/skin/doc/skin_gnu.rb
index 50516f85..9f12228f 100644
--- a/data/doc/sisu/sisu_markup_samples/dfsg/_sisu/skin/doc/skin_gnu.rb
+++ b/data/doc/sisu/sisu_markup_samples/dfsg/_sisu/skin/doc/skin_gnu.rb
@@ -42,14 +42,14 @@ module SiSU_Viz
end
# color
def color_band1
- '"#000070"'
+ '"#000070"'
end
#% txt
def txt_hp
'Free Software Foundation'
end
def txt_home # this should be the name of the site eg. Lex Mercatoria or if you prefer to see a url the url in text form copy & ...
- #"www.jus.uio.no/sisu/"
+ #"www.jus.uio.no/sisu/"
'Free Software Foundation'
end
#% icon
diff --git a/data/doc/sisu/sisu_markup_samples/dfsg/_sisu/skin/doc/skin_gutenberg.rb b/data/doc/sisu/sisu_markup_samples/dfsg/_sisu/skin/doc/skin_gutenberg.rb
index 0df9c7ff..261f924a 100644
--- a/data/doc/sisu/sisu_markup_samples/dfsg/_sisu/skin/doc/skin_gutenberg.rb
+++ b/data/doc/sisu/sisu_markup_samples/dfsg/_sisu/skin/doc/skin_gutenberg.rb
@@ -3,7 +3,7 @@
* Author: Ralph Amissah
* http://www.jus.uio.no/sisu
* http://www.jus.uio.no/sisu/SiSU/download
- * Description: Document skin sample prepared for Gutenberg Project (first used with "War and Peace")
+ * Description: Document skin sample prepared for Gutenberg Project (first used with "War and Peace")
* License: Same as SiSU see http://www.jus.uio.no/sisu
* Notes: Site default appearance variables set in defaults.rb
Generic site wide modifications set here scribe_skin.rb, and this file required by other "scribes" instead of defaults.rb
@@ -13,7 +13,7 @@ module SiSU_Viz
class Skin
#% path
def path_root # the only parameter that cannot be changed here
- './sisu/'
+ './sisu/'
end
def path_rel
'../'
diff --git a/data/doc/sisu/sisu_markup_samples/dfsg/_sisu/skin/doc/skin_kdissert.rb b/data/doc/sisu/sisu_markup_samples/dfsg/_sisu/skin/doc/skin_kdissert.rb
index 87d371f2..3d8c0485 100644
--- a/data/doc/sisu/sisu_markup_samples/dfsg/_sisu/skin/doc/skin_kdissert.rb
+++ b/data/doc/sisu/sisu_markup_samples/dfsg/_sisu/skin/doc/skin_kdissert.rb
@@ -37,14 +37,14 @@ module SiSU_Viz
end
#% color
def color_band1
- '"#ffffff"'
+ '"#ffffff"'
end
#% txt
def txt_hp
'Kdissert, Document Mapping'
end
def txt_home # this should be the name of the site eg. Lex Mercatoria or if you prefer to see a url the url in text form copy & ...
- #"www.jus.uio.no/sisu/"
+ #"www.jus.uio.no/sisu/"
'SiSU (document prepared using Kdissert)'
end
#% icon
diff --git a/data/doc/sisu/sisu_markup_samples/dfsg/_sisu/skin/doc/skin_rms.rb b/data/doc/sisu/sisu_markup_samples/dfsg/_sisu/skin/doc/skin_rms.rb
index 2ec6c841..2a87c3a5 100644
--- a/data/doc/sisu/sisu_markup_samples/dfsg/_sisu/skin/doc/skin_rms.rb
+++ b/data/doc/sisu/sisu_markup_samples/dfsg/_sisu/skin/doc/skin_rms.rb
@@ -3,7 +3,7 @@
* Author: Ralph Amissah
* http://www.jus.uio.no/sisu
* http://www.jus.uio.no/sisu/SiSU/download
- * Description: Document skin used for Free as in Freedom
+ * Description: Document skin used for Free as in Freedom
* License: Same as SiSU see http://www.jus.uio.no/sisu
* Notes: Site default appearance variables set in defaults.rb
Generic site wide modifications set here scribe_skin.rb, and this file required by other "scribes" instead of defaults.rb
@@ -45,15 +45,15 @@ module SiSU_Viz
#end
#% color
def color_band1
- '"#cccccc"'
- #'"#000070"'
+ '"#cccccc"'
+ #'"#000070"'
end
#% txt
def txt_hp
'Free as in Freedom'
end
def txt_home # this should be the name of the site eg. Lex Mercatoria or if you prefer to see a url the url in text form copy & ...
- #"www.jus.uio.no/sisu/"
+ #"www.jus.uio.no/sisu/"
'Free as in Freedom'
end
#% icon
diff --git a/data/doc/sisu/sisu_markup_samples/dfsg/_sisu/skin/site/skin_sisu.rb b/data/doc/sisu/sisu_markup_samples/dfsg/_sisu/skin/site/skin_sisu.rb
index 66786cea..3e27c1d2 100644
--- a/data/doc/sisu/sisu_markup_samples/dfsg/_sisu/skin/site/skin_sisu.rb
+++ b/data/doc/sisu/sisu_markup_samples/dfsg/_sisu/skin/site/skin_sisu.rb
@@ -3,7 +3,7 @@
* Author: Ralph@Amissah.com
* http://www.jus.uio.no/sisu
* http://www.jus.uio.no/sisu/SiSU/download
- * Description: Document skin for SiSU descriptive pages, ...
+ * Description: Document skin for SiSU descriptive pages, ...
* License: Same as SiSU see http://www.jus.uio.no/sisu
* Notes: Site default appearance variables set in defaults.rb
Generic site wide modifications set here scribe_skin.rb, and this file required by other "scribes" instead of defaults.rb
@@ -35,7 +35,7 @@ module SiSU_Viz
end
def url_site # used in pdf header
#puts "#{__LINE__} #{__FILE__}"
- 'http://www.jus.uio.no/sisu'
+ 'http://www.jus.uio.no/sisu'
end
def url_txt # text to go with url usually stripped url
#puts "#{__LINE__} #{__FILE__}"
@@ -50,7 +50,7 @@ module SiSU_Viz
#end
#% color
def color_band1
- '"#ffffff"'
+ '"#ffffff"'
end
def color_band2
'"#ffffff"'
@@ -60,7 +60,7 @@ module SiSU_Viz
'&nbsp;SiSU'
end
def text_home
- 'SiSU'
+ 'SiSU'
end
#% icon
def icon_home_button
diff --git a/data/doc/sisu/sisu_markup_samples/dfsg/_sisu/skin/yml/skin_countries.yml b/data/doc/sisu/sisu_markup_samples/dfsg/_sisu/skin/yml/skin_countries.yml
index a68903e1..179b9978 100644
--- a/data/doc/sisu/sisu_markup_samples/dfsg/_sisu/skin/yml/skin_countries.yml
+++ b/data/doc/sisu/sisu_markup_samples/dfsg/_sisu/skin/yml/skin_countries.yml
@@ -1,4 +1,4 @@
-# arch-tag: yaml country list
+# arch-tag: yaml country list
# Author: Ralph@Amissah.com
# License: Same as SiSU see http://www.jus.uio.no/sisu
id: AF
diff --git a/data/doc/sisu/sisu_markup_samples/dfsg/_sisu/skin/yml/skin_country.yml b/data/doc/sisu/sisu_markup_samples/dfsg/_sisu/skin/yml/skin_country.yml
index ebaf8ace..dc835465 100644
--- a/data/doc/sisu/sisu_markup_samples/dfsg/_sisu/skin/yml/skin_country.yml
+++ b/data/doc/sisu/sisu_markup_samples/dfsg/_sisu/skin/yml/skin_country.yml
@@ -1,4 +1,4 @@
-# arch-tag: yaml country list array
+# arch-tag: yaml country list array
# Author: Ralph@Amissah.com
# License: Same as SiSU see http://www.jus.uio.no/sisu
-
diff --git a/data/doc/sisu/sisu_markup_samples/dfsg/sisu_output_overview.ssi b/data/doc/sisu/sisu_markup_samples/dfsg/sisu_output_overview.ssi
index 4cc32196..e2c90529 100644
--- a/data/doc/sisu/sisu_markup_samples/dfsg/sisu_output_overview.ssi
+++ b/data/doc/sisu/sisu_markup_samples/dfsg/sisu_output_overview.ssi
@@ -49,7 +49,7 @@ group{
Done
* yes/done
. partial
-
+
- not available/appropriate
Not Done
diff --git a/data/sisu/conf/cgi-bin/sisu_search_pgsql.cgi b/data/sisu/conf/cgi-bin/sisu_search_pgsql.cgi
index 0d2ed982..6ac1bac4 100644
--- a/data/sisu/conf/cgi-bin/sisu_search_pgsql.cgi
+++ b/data/sisu/conf/cgi-bin/sisu_search_pgsql.cgi
@@ -1,6 +1,6 @@
#!/usr/bin/env ruby
=begin
- * Name: SiSU information Structuring Universe
+ * Name: SiSU information Structuring Universe
* Author: Ralph Amissah
* http://www.jus.uio.no/sisu
* http://www.jus.uio.no/sisu/SiSU/download
@@ -39,11 +39,11 @@
SiSU was first released to the public on January 4th 2005
SiSU uses:
-
+
* Standard SiSU markup syntax,
* Standard SiSU meta-markup syntax, and the
* Standard SiSU object citation numbering and system
-
+
© Ralph Amissah 1997, current 2006.
All Rights Reserved.
@@ -69,7 +69,7 @@ class Form
@base,@search_field,@selected_db,@checked_index,@checked_text,@checked_tip,@checked_searched,@checked_url,@checked_echo,@checked_sql,@checked_all,@checked_none,@checked_ignore,@search_note,@the_can=base,search_field,selected_db,checked_index,checked_text,checked_tip,checked_searched,checked_url,checked_echo,checked_sql,checked_all,checked_none,checked_ignore,search_note,the_can
@tip=if checked_tip =~/\S/
'<font size="2" color="#666666">text:__; keywords:__; title:__; author:__; subject:__; description:__; publisher:__; contributor:__; date:__; type:__; format:__; identifier:__; source:__; language:__; relation:__; coverage:__; rights:__; comment:__; abstract:__; </font>'
- else ''
+ else ''
end
end
def submission_form
@@ -101,7 +101,7 @@ class Form
</td><td valign=\"top\">
#@tip
</td></tr>
-</table>
+</table>
<font size="2" color="#222222">
<input type="checkbox" name="echo" #@checked_echo> echo
<input type="checkbox" name="searched" #@checked_searched> searched
@@ -335,10 +335,10 @@ class Dbi_search_statement
%{SELECT metadata.title, metadata.creator, metadata.filename, endnotes.body, endnotes.nr, endnotes.ocn, endnotes.metadata_tid FROM metadata, endnotes WHERE (#@search_endnotes) AND metadata.tid = endnotes.metadata_tid ORDER BY metadata.title, endnotes.nr ;}
end
def sql_select_body_format
- %{<font color="#666666" size="2">#{sql_select_body}</font>}
+ %{<font color="#666666" size="2">#{sql_select_body}</font>}
end
def sql_select_endnotes_format
- %{<font color="#666666" size="2">#{sql_select_endnotes}</font>}
+ %{<font color="#666666" size="2">#{sql_select_endnotes}</font>}
end
def contents
@conn.select_all(sql_select_body)
@@ -670,8 +670,8 @@ FCGI.each_cgi do |cgi|
@search=Hash.new
@search[:text],@search[:endnotes]=Array.new,Array.new
q=CGI.new
- @db=if cgi['db'] =~/\S+/:
- @stub=/SiSU_(\S+)/.match(cgi['db'])[1]
+ @db=if cgi['db'] =~/\S+/:
+ @stub=/SiSU_(\S+)/.match(cgi['db'])[1]
cgi['db']
else
@stub='sisu'
@@ -681,17 +681,17 @@ FCGI.each_cgi do |cgi|
if cgi['view']=~/text/: checked_index,checked_text='','checked'
else checked_index,checked_text='checked',''
end
- checked_url='checked' if cgi['url'] =~/\S/ or cgi['u'].to_i==1
- checked_searched='checked' if cgi['searched'] =~/\S/
- checked_tip='checked' if cgi['tip'] =~/\S/
- checked_echo='checked' if cgi['echo'] =~/\S/
- checked_sql='checked' if cgi['sql'] =~/\S/
- if cgi['checks'] =~/check_all/ or cgi['check_all'] =~/\S/ or cgi['a'].to_i==1
+ checked_url='checked' if cgi['url'] =~/\S/ or cgi['u'].to_i==1
+ checked_searched='checked' if cgi['searched'] =~/\S/
+ checked_tip='checked' if cgi['tip'] =~/\S/
+ checked_echo='checked' if cgi['echo'] =~/\S/
+ checked_sql='checked' if cgi['sql'] =~/\S/
+ if cgi['checks'] =~/check_all/ or cgi['check_all'] =~/\S/ or cgi['a'].to_i==1
checked_all=checked_url=checked_searched=checked_tip=checked_echo=checked_sql='checked'
- checked_none=''
- elsif cgi['checks'] =~/check_none/ #or cgi['a'].to_i==0
+ checked_none=''
+ elsif cgi['checks'] =~/check_none/ #or cgi['a'].to_i==0
checked_none='checked'
- checked_all=checked_url=checked_searched=checked_tip=checked_echo=checked_sql=''
+ checked_all=checked_url=checked_searched=checked_tip=checked_echo=checked_sql=''
else checked_ignore='checked'
end
selected_db=case cgi['db']
@@ -699,7 +699,7 @@ FCGI.each_cgi do |cgi|
when /SiSU_sisu/: '<option value="SiSU_sisu">sisu</option>'
end
dbi="dbi:Pg:database=#{@db};port=5432"
- @conn=DBI.connect(dbi,user)
+ @conn=DBI.connect(dbi,user)
search_field=cgi['find'] if cgi['find'] # =~/\S+/
@search_for=Search_request.new(search_field,q) #.analyze #% search_for
#% searches
@@ -731,7 +731,7 @@ FCGI.each_cgi do |cgi|
canned_search_url=if checked_all =~/checked/
"#@base?#{s1}#{key}#{ti}#{au}#{sj}#{dsc}#{pb}#{cntr}#{dt}#{ty}#{id}#{src}#{lang}#{rel}#{cov}#{cr}#{co}#{ab}#{dtc}#{dti}#{dtm}#{dta}#{dtv}&db=#{cgi['db']}&view=#{cgi['view']}&a=1"
else "#@base?#{s1}#{key}#{ti}#{au}#{sj}#{dsc}#{pb}#{cntr}#{dt}#{ty}#{id}#{src}#{lang}#{rel}#{cov}#{cr}#{co}#{ab}#{dtc}#{dti}#{dtm}#{dta}#{dtv}&db=#{cgi['db']}&view=#{cgi['view']}&u=1&e=1"
- end
+ end
@search[:text][1]=%{documents.clean~'#{@search_for.text1}'} #s1
@search[:endnotes][1]=%{endnotes.clean~'#{@search_for.text1}'} #s1
canned_note='previous search url:'
@@ -750,7 +750,7 @@ FCGI.each_cgi do |cgi|
af.gsub!(/%2B/,' ')
analyze_format=af
st=af.split(/\s*;\s*/)
- search_field=st.join("\n")
+ search_field=st.join("\n")
end
green=%{<font size="2" color="#004000">}
the_can=%{<font size="2" color="#666666">#{canned_note}<br> <a href="#{canned_search_url}">#{canned_search_url}</a></font><br>}
@@ -786,7 +786,7 @@ WOK
#dbi_canning
@header=Form.new(@base,search_field,selected_db,checked_index,checked_text,checked_tip,checked_searched,checked_url,checked_echo,checked_sql,checked_all,checked_none,checked_ignore,search_note,the_can).submission_form #% form
@tail=Tail.new.tail
- unless q['s1'] =~/\S/ or q['au'] =~/\S/ or @search[:text][1] =~/\S/
+ unless q['s1'] =~/\S/ or q['au'] =~/\S/ or @search[:text][1] =~/\S/
print "Content-type: text/html\n\n"
puts (@header+@tail)
else #% searches
@@ -805,7 +805,7 @@ WOK
@body_main=Array.new
@endnotes=Array.new
oldtid=0
- if @text_search_flag
+ if @text_search_flag
if checked_sql =~/\S/
sql_select_body=dbi_statement.sql_select_body_format
sql_select_endnotes=dbi_statement.sql_select_endnotes_format
@@ -822,14 +822,14 @@ WOK
#metadata_found_body
if c["tid"].to_i != oldtid.to_i
title=%{<a href="#@hosturl/#@stub/#{location}/">#{c["title"]}</a> by #{c["creator"]} <a href="#@hosturl/#@stub/#{location}/portrait.pdf"><img border="0" width="15" height="18" src="#@url_base/b_pdf.png" alt="pdf portrait"></a><a href="#@hosturl/#@stub/#{location}/landscape.pdf"><img border="0" width="18" height="15" src="#@url_base/b_pdf.png" alt="pdf landscape"></a><br>} if file_suffix=~/s/ #hmm watch file_suffix
- if @text_search_flag: title='<br><hr>'+title
- else title='<br>'+title
+ if @text_search_flag: title='<br><hr>'+title
+ else title='<br>'+title
end
@counter_txt_doc+=1
oldtid=c["tid"].to_i
else title=''
end
- if @text_search_flag
+ if @text_search_flag
if cgi['view']=~/text/ #% txt body
text=if c["suffix"] !~/1/ #seg
if @search_for.text1 =~/\S+/ or q['s1'] =~/\S+/ #% only this branch is working !!
@@ -848,22 +848,22 @@ WOK
@search_regx=search_regex.to_s
end
matched_para=c["body"].gsub(/(#@search_regx)/i,%{<span style="background-color: #ffff48">\\1</span>})
- %{<hr><p><font size="2">ocn <b><a href="#@hosturl/#@stub/#{location}/#{c["seg"]}.html##{c["ocn"]}">#{c["ocn"]}</a></b>:</font></p>#{matched_para}}
+ %{<hr><p><font size="2">ocn <b><a href="#@hosturl/#@stub/#{location}/#{c["seg"]}.html##{c["ocn"]}">#{c["ocn"]}</a></b>:</font></p>#{matched_para}}
elsif c["suffix"] =~/1/ #doc
%{#{title}<hr><p><font size="2">ocn #{c["ocn"]}:#{c["body"]}}
end
@counter_txt_ocn+=1
output=if c["seg"] =~/\S+/: title+text
- else text
+ else text
end
elsif cgi['view']=~/index/ #% idx body
if c["suffix"] !~/1/ #seg
- index=%{<a href="#@hosturl/#@stub/#{location}/#{c["seg"]}.html##{c["ocn"]}">#{c["ocn"]}</a>, } if @text_search_flag
+ index=%{<a href="#@hosturl/#@stub/#{location}/#{c["seg"]}.html##{c["ocn"]}">#{c["ocn"]}</a>, } if @text_search_flag
elsif c["suffix"] =~/1/ #doc
- index=%{<a href="#@hosturl/#@stub/#{location}/doc.html##{c["ocn"]}">#{c["ocn"]}</a>, }
+ index=%{<a href="#@hosturl/#@stub/#{location}/doc.html##{c["ocn"]}">#{c["ocn"]}</a>, }
end
- if c["seg"] =~/\S+/
- if @text_search_flag
+ if c["seg"] =~/\S+/
+ if @text_search_flag
@counter_txt_ocn+=1
output=title+index
end
@@ -874,8 +874,8 @@ WOK
end
end
end
- else output=title
- end
+ else output=title
+ end
@counters_txt=if @counter_txt_doc > 0
%{<font size="2" color="#666666">Found in the main body of #@counter_txt_doc documents, and at #@counter_txt_ocn locations within.</font><br />}
else ''
@@ -889,7 +889,7 @@ WOK
file_suffix=e["filename"][/.+?\.(ss[ftms])/, 1]
#metadata_found_endnotes
if @text_search_flag
- if e["metadata_tid"].to_i != oldtid.to_i
+ if e["metadata_tid"].to_i != oldtid.to_i
title=%{<br><hr><a href="#@hosturl/#@stub/#{location}/">#{e["title"]}</a> by #{e["creator"]} <a href="#@hosturl/#@stub/#{location}/portrait.pdf"><img border="0" width="15" height="18" src="#@url_base/b_pdf.png" alt="pdf portrait"></a><a href="#@hosturl/#@stub/#{location}/landscape.pdf"><img border="0" width="18" height="15" src="#@url_base/b_pdf.png" alt="pdf landscape"></a><br>} if file_suffix=~/s/
@counter_endn_doc+=1
oldtid=e["metadata_tid"].to_i
@@ -898,7 +898,7 @@ WOK
if cgi['view']=~/text/ #% txt endnotes
@counter_endn_ocn+=1
matched_endnote=e["body"].gsub(/(#@search_regx)/i,%{<span style="background-color: #ffff48">\\1</span>})