From 1b5bf4d71a339d98ec97996920eb81b526f1d626 Mon Sep 17 00:00:00 2001 From: Ralph Amissah Date: Wed, 12 Dec 2012 10:22:32 -0500 Subject: v3: re-arranging, update, fixes * re-arranging: mostly headers * update: mostly line breaks \\ instead of
* fixes: book index related; typos; add a couple of missing images, etc. --- ..._in_freedom_2_01_pdp_1_processor_with_kl_10.png | Bin 0 -> 242735 bytes .../free_as_in_freedom_2_02_rms_st_ignucius.png | Bin 0 -> 187827 bytes data/v3/samples/_sisu/sisurc_SAMPLE.yml | 110 +++++++++++ data/v3/samples/_sisu/skin/doc/skin_gutenberg.rb | 216 --------------------- 4 files changed, 110 insertions(+), 216 deletions(-) create mode 100644 data/v3/samples/_sisu/image/free_as_in_freedom_2_01_pdp_1_processor_with_kl_10.png create mode 100644 data/v3/samples/_sisu/image/free_as_in_freedom_2_02_rms_st_ignucius.png create mode 100644 data/v3/samples/_sisu/sisurc_SAMPLE.yml delete mode 100644 data/v3/samples/_sisu/skin/doc/skin_gutenberg.rb (limited to 'data/v3/samples/_sisu') diff --git a/data/v3/samples/_sisu/image/free_as_in_freedom_2_01_pdp_1_processor_with_kl_10.png b/data/v3/samples/_sisu/image/free_as_in_freedom_2_01_pdp_1_processor_with_kl_10.png new file mode 100644 index 0000000..679c22a Binary files /dev/null and b/data/v3/samples/_sisu/image/free_as_in_freedom_2_01_pdp_1_processor_with_kl_10.png differ diff --git a/data/v3/samples/_sisu/image/free_as_in_freedom_2_02_rms_st_ignucius.png b/data/v3/samples/_sisu/image/free_as_in_freedom_2_02_rms_st_ignucius.png new file mode 100644 index 0000000..9ed7b35 Binary files /dev/null and b/data/v3/samples/_sisu/image/free_as_in_freedom_2_02_rms_st_ignucius.png differ diff --git a/data/v3/samples/_sisu/sisurc_SAMPLE.yml b/data/v3/samples/_sisu/sisurc_SAMPLE.yml new file mode 100644 index 0000000..ab13f22 --- /dev/null +++ b/data/v3/samples/_sisu/sisurc_SAMPLE.yml @@ -0,0 +1,110 @@ +# Name: SiSU +# Author: ralph@amissah.com +# Description: site or directory wide environment defaults set here +# system environment info / resource configuration file, for sisu +# License: GPL v3 or later +# 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 +#% presentation/web directory, main path and subdirectories (most subdirectories are created automatically based on markup directory name) +webserv: +# #url_root: 'http://www.sisudoc.org' #without dir stub, e.g. this dir would map to http://www.sisudoc.org/samples +# #path: './tested' #either (i) / [full path from root] or (ii) ~/ [home] or (iii) ./ [pwd] or (iv) will be made from home +# #images: 'sisu/image' +# #man: 'man' +# #cgi: '/usr/local/lib/sisu-cgi' +##show_output_on: 'filesystem' #for -v and -u url information, alternatives: 'filesystem','webserver','remote_webserver','local:8111','localhost','localhost:8080','webrick','path' +webserv_cgi: +# host: localhost +# base_path: ~ +# port: '8081' +# user: ~ +# file_links: webserv # www.sisudoc.org +#show_output_on: 'filesystem_url' +#% processing directories, main path and subdirectories +processing: +## path: '~' +## dir: '_sisu_processing~' +## metaverse: 'metaverse' +## tune: 'tune' +## latex: 'tex' +## texinfo: 'texinfo' +## concord_max: 400000 +#% flag - set (non-default) processing flag shortcuts -1, -2 etc. (here adding colour and verbosity as default) +flag: + color: true # making colour default -c is toggle, and will now toggle colour off +# default: '-NQhewpotbxXyYv' # includes verbose; -m would in any event be run by default +# i: '-NQhewpoty' # -m run by default +# ii: '-NQhewpotbxXy' # -m run by default +# iii: '-NQhewpotbxXyY' # -m run by default +# iv: '-NQhewpotbxXYDy --update' # -m run by default +# v: '-NQhewpotbxXYDyv --update' # includes verbose; -m run by default +#% papersize, (LaTeX/pdf) current values A4, US_letter, book_b5, book_a5, US_legal, easily extensible +default: + papersize: 'A4,letter' #'A4,letter,b5,a5' +# #texpdf_font: 'Liberation Sans' +# #texpdf_font_sans: 'Liberation Sans' +# #texpdf_font_serif: 'Liberation Serif' +# #texpdf_font_mono: 'Liberation Mono' #'Inconsolata' +# #text_wrap: 78 +# #emphasis: 'bold' #make *{emphasis}* 'bold', 'italics' or 'underscore', default if not configured is 'bold' +# #language: 'fr' +# #language: 'en' +# digest: 'sha' #sha is sha256, default is md5 +#% settings used by ssh scp +#remote: +# #user: 'ralph' +# #host: 'sisudoc.org' +# #path: '.' #no trailing slash eg 'sisu/www' +#% webrick information +#% sql database info, postgresql +#db: +# engine: +# default: 'postgresql' +## share_source: true +# postgresql: +# port: '5432' # '5432' +# user: 'ralph' # '[provide username]' +# #host: 'sisudoc.org' +# +#% output_dir_structure_by: language (language_and_filetype); filetype; or filename (original v1 & v2) +##output_dir_structure_by: filename +##output_dir_structure_by: filetype +#output_dir_structure_by: language +# +#% 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' +##on value true system defaults used, to change, e.g. editor specify +#permission_set: +# zap: true +# css_modify: true +# remote_base_site: true +#program_set: +# rmagick: true +# wc: true +# editor: true +# postgresql: true +# sqlite: true +# tidy: true +# rexml: true +# pdflatex: true +#program_select: +# editor: 'vim' #'gvim -c :R' +# pdf_viewer: 'evince' +# web_browser: 'iceweasel' +# console_web_browser: 'links2' +# epub_viewer: 'ebook-viewer' #'calibre' 'fbreader' +# odf_viewer: 'lowriter' +# xml_viewer: 'xml-viewer' +#search: +# sisu: +# flag: true +# action: http://search.sisudoc.org +# db: sisu +# title: 'SiSU search form (sample)' +#html: +# minitoc: true +#manifest: +# minitoc: true diff --git a/data/v3/samples/_sisu/skin/doc/skin_gutenberg.rb b/data/v3/samples/_sisu/skin/doc/skin_gutenberg.rb deleted file mode 100644 index 148fbae..0000000 --- a/data/v3/samples/_sisu/skin/doc/skin_gutenberg.rb +++ /dev/null @@ -1,216 +0,0 @@ -# coding: utf-8 -=begin - * Name: SiSU - Simple information Structuring Universe - Structured information, Serialized Units - * 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") - * 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 -=end -module SiSU_Viz - require "#{SiSU_lib}/defaults" - class Skin - #% path - def path_root # the only parameter that cannot be changed here - './sisu/' - end - def path_rel - '../' - end - #% url - def url_home - 'http://www.gutenberg.net' - end - def url_txt # text to go with url usually stripped url - 'www.gutenberg.net' - end - #% txt - def txt_hp - 'www.gutenberg.net' - end - def txt_home - 'Gutenberg Project' - end - #% icon - def icon_home_button - 'gutenberg.home.png' - end - def icon_home_banner - icon_home_button - end - #% banner - def banner_home_button - %{
#{png_home}
\n} - end - def banner_home_and_index_buttons - %{
#{png_home}
 This text sub- 
 Table of Contents 
 
} - end - def banner_band - %{
#{png_home}#{table_close}} - end - #% credits - def credits_splash - %{
Gutenberg Project
Courtesy of The Gutenberg Project
} - end - end - class TeX - def header_center - "\\chead{\\href{#{@vz.url_home}}{www.gutenberg.net}}" - end - def home_url - "\\href{#{@vz.url_home}}{www.gutenberg.net}" - end - def home - "\\href{#{@vz.url_home}}{Gutenberg Project}" - end - def owner_chapter - "Document owner details" - end - end - class Inserts - def insert1 -< - -CONTENTS - end - end -end - -- cgit v1.2.3