From 7ee8929666175ccfbeca9ecf13c0439d8c742a24 Mon Sep 17 00:00:00 2001 From: Ralph Amissah Date: Sun, 28 Sep 2014 21:30:36 -0400 Subject: v5 v6: version & changelog --- data/doc/sisu/CHANGELOG_v5 | 7 +++++++ data/doc/sisu/CHANGELOG_v6 | 7 +++++++ data/sisu/v5/v/version.yml | 6 +++--- data/sisu/v6/v/version.yml | 6 +++--- setup/sisu_version.rb | 4 ++-- 5 files changed, 22 insertions(+), 8 deletions(-) diff --git a/data/doc/sisu/CHANGELOG_v5 b/data/doc/sisu/CHANGELOG_v5 index 5768e565..2b2a7b89 100644 --- a/data/doc/sisu/CHANGELOG_v5 +++ b/data/doc/sisu/CHANGELOG_v5 @@ -31,6 +31,13 @@ v2 branch is removed; it is available in sisu =< 3.3.2 %% Reverse Chronological: +%% 5.6.8.orig.tar.xz (2014-09-28:38/7) +http://git.sisudoc.org/gitweb/?p=code/sisu.git;a=log;h=refs/tags/sisu_5.6.8 +http://git.sisudoc.org/gitweb/?p=code/sisu.git;a=log;h=refs/tags/debian/sisu_5.6.8-1 +http://www.jus.uio.no/sisu/pkg/src/sisu_5.6.8.orig.tar.xz + sisu_5.6.8.orig.tar.xz + sisu_5.6.8-1.dsc + %% 5.6.7.orig.tar.xz (2014-09-19:37/5) http://git.sisudoc.org/gitweb/?p=code/sisu.git;a=log;h=refs/tags/sisu_5.6.7 http://git.sisudoc.org/gitweb/?p=code/sisu.git;a=log;h=refs/tags/debian/sisu_5.6.7-1 diff --git a/data/doc/sisu/CHANGELOG_v6 b/data/doc/sisu/CHANGELOG_v6 index db9f154d..9771fccf 100644 --- a/data/doc/sisu/CHANGELOG_v6 +++ b/data/doc/sisu/CHANGELOG_v6 @@ -21,6 +21,13 @@ v2 branch is removed; it is available in sisu =< 3.3.2 %% Reverse Chronological: +%% 6.2.9.orig.tar.xz (2014-09-28:38/7) +http://git.sisudoc.org/gitweb/?p=code/sisu.git;a=log;h=refs/tags/sisu_6.2.9 +http://git.sisudoc.org/gitweb/?p=code/sisu.git;a=log;h=refs/tags/debian/sisu_6.2.9-1 +http://www.jus.uio.no/sisu/pkg/src/sisu_6.2.9.orig.tar.xz + sisu_6.2.9.orig.tar.xz + sisu_6.2.9-1.dsc + %% 6.2.8.orig.tar.xz (2014-09-19:37/5) http://git.sisudoc.org/gitweb/?p=code/sisu.git;a=log;h=refs/tags/sisu_6.2.8 http://git.sisudoc.org/gitweb/?p=code/sisu.git;a=log;h=refs/tags/debian/sisu_6.2.8-1 diff --git a/data/sisu/v5/v/version.yml b/data/sisu/v5/v/version.yml index 8ed4784b..9b5e1349 100644 --- a/data/sisu/v5/v/version.yml +++ b/data/sisu/v5/v/version.yml @@ -1,5 +1,5 @@ --- :project: SiSU -:version: 5.6.7 -:date_stamp: 2014w37/5 -:date: "2014-09-19" +:version: 5.6.8 +:date_stamp: 2014w38/7 +:date: "2014-09-28" diff --git a/data/sisu/v6/v/version.yml b/data/sisu/v6/v/version.yml index 5601097c..1b5eae1b 100644 --- a/data/sisu/v6/v/version.yml +++ b/data/sisu/v6/v/version.yml @@ -1,5 +1,5 @@ --- :project: SiSU -:version: 6.2.8 -:date_stamp: 2014w37/5 -:date: "2014-09-19" +:version: 6.2.9 +:date_stamp: 2014w38/7 +:date: "2014-09-28" diff --git a/setup/sisu_version.rb b/setup/sisu_version.rb index 11edd625..40072dea 100644 --- a/setup/sisu_version.rb +++ b/setup/sisu_version.rb @@ -1,7 +1,7 @@ #% constants module SiSUversion - SiSU_version_next_stable = '5.6.7' #% set version stable current - SiSU_version_next_unstable = '6.2.8' #% set version unstable dev + SiSU_version_next_stable = '5.6.8' #% set version stable current + SiSU_version_next_unstable = '6.2.9' #% set version unstable dev #% qi quick install file SiSU_version_generic_next_stable = '5.4.x' SiSU_version_generic_next_unstable = '6.0.x' -- cgit v1.2.3 From a07365736e1887c28745490e0b96f7e387a0941f Mon Sep 17 00:00:00 2001 From: Ralph Amissah Date: Sun, 28 Sep 2014 21:32:16 -0400 Subject: qi (quick installer) minor --- qi | 9 +++++++-- setup/qi_libs_base.rb | 2 -- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/qi b/qi index f5711eaf..6bfddf62 100755 --- a/qi +++ b/qi @@ -42,8 +42,13 @@ begin rescue LoadError puts 'thor (package ruby-thor) not found' end -require_relative 'setup/sisu_version' # setup/sisu_version.rb - include SiSUversion +begin + require './setup/sisu_version' # ./setup/sisu_version.rb + include SiSUversion +rescue LoadError + puts 'this does not appear to be a SiSU development directory' + exit +end require_relative 'setup/qi_libs' # setup/qi_libs.rb require 'find' require 'fileutils' diff --git a/setup/qi_libs_base.rb b/setup/qi_libs_base.rb index 430ec0c5..ec01af19 100644 --- a/setup/qi_libs_base.rb +++ b/setup/qi_libs_base.rb @@ -1,6 +1,4 @@ module Project_details - require_relative 'sisu_version' - include SiSUversion def self.name 'SiSU' end -- cgit v1.2.3 From 4a794af5dbb150b19d2d36a00c475b3c7f1531da Mon Sep 17 00:00:00 2001 From: Ralph Amissah Date: Sun, 28 Sep 2014 21:34:48 -0400 Subject: v5 v6: xml cosmetic code, minor --- lib/sisu/v5/xml_dom.rb | 29 ++++++++++++++++++++++------- lib/sisu/v5/xml_sax.rb | 31 +++++++++++++++++++++++-------- lib/sisu/v6/xml_dom.rb | 29 ++++++++++++++++++++++------- lib/sisu/v6/xml_sax.rb | 31 +++++++++++++++++++++++-------- 4 files changed, 90 insertions(+), 30 deletions(-) diff --git a/lib/sisu/v5/xml_dom.rb b/lib/sisu/v5/xml_dom.rb index 96f92605..7b036567 100644 --- a/lib/sisu/v5/xml_dom.rb +++ b/lib/sisu/v5/xml_dom.rb @@ -84,13 +84,24 @@ module SiSU_XML_DOM end def read begin - @env,@md,@ao_array=@particulars.env,@particulars.md,@particulars.ao_array + @env, @md, @ao_arr= + @particulars.env,@particulars.md,@particulars.ao_array unless @opt.act[:quiet][:set]==:on tool=if (@opt.act[:verbose_plus][:set]==:on \ || @opt.act[:maintenance][:set]==:on) - "#{@env.program.web_browser} file://#{@md.file.output_path.xml_dom.dir}/#{@md.file.base_filename.xml_dom}\n\t#{@env.program.xml_viewer} file://#{@md.file.output_path.xml_dom.dir}/#{@md.file.base_filename.xml_dom}" + @env.program.web_browser \ + + ' file://' \ + + @md.file.output_path.xml_dom.dir + '/' \ + + @md.file.base_filename.xml_dom + "\n\t" \ + + @env.program.xml_viewer \ + + ' file://' \ + + @md.file.output_path.xml_dom.dir + '/' \ + + @md.file.base_filename.xml_dom elsif @opt.act[:verbose][:set]==:on - "#{@env.program.web_browser} file://#{@md.file.output_path.xml_dom.dir}/#{@md.file.base_filename.xml_dom}" + @env.program.web_browser \ + + ' file://' \ + + @md.file.output_path.xml_dom.dir + '/' \ + + @md.file.base_filename.xml_dom else "[#{@opt.f_pth[:lng_is]}] #{@opt.fno}" end (@opt.act[:verbose][:set]==:on \ @@ -111,7 +122,9 @@ module SiSU_XML_DOM SiSU_Screen::Ansi.new( @opt.act[:color_state][:set], @opt.fns, - "file://#{@md.file.output_path.xml_dom.dir}/#{@md.file.base_filename.xml_dom}" + 'file://' \ + + @md.file.output_path.xml_dom.dir + '/' \ + + @md.file.base_filename.xml_dom ).flow end end @@ -128,7 +141,8 @@ module SiSU_XML_DOM private class Songsheet def initialize(particulars) - @env,@md,@ao_array,@particulars=particulars.env,particulars.md,particulars.ao_array,particulars + @env, @md, @ao_arr, @particulars= + particulars.env,particulars.md,particulars.ao_array,particulars @file=SiSU_Env::FileOp.new(@md) end def songsheet @@ -154,14 +168,15 @@ module SiSU_XML_DOM require_relative 'xhtml_shared' # decide use, whether xml rather than xhtml @@xml={ body: [], open: [], close: [], head: [], sc: [] } def initialize(particulars) - @env,@md,@ao_array=particulars.env,particulars.md,particulars.ao_array + @env, @md, @ao_arr= + particulars.env,particulars.md,particulars.ao_array @vz=SiSU_Viz::Defaults.new @trans=SiSU_XML_Munge::Trans.new(@md) @sys=SiSU_Env::SystemCall.new end def songsheet pre - @data=markup(@ao_array) + @data=markup(@ao_arr) post publish end diff --git a/lib/sisu/v5/xml_sax.rb b/lib/sisu/v5/xml_sax.rb index 17a6b1f4..fca6afa3 100644 --- a/lib/sisu/v5/xml_sax.rb +++ b/lib/sisu/v5/xml_sax.rb @@ -83,13 +83,24 @@ module SiSU_XML_SAX end def read begin - @env,@md,@ao_array=@particulars.env,@particulars.md,@particulars.ao_array + @env, @md, @ao_arr= + @particulars.env,@particulars.md,@particulars.ao_array unless @opt.act[:quiet][:set]==:on tool=if (@opt.act[:verbose_plus][:set]==:on \ || @opt.act[:maintenance][:set]==:on) - "#{@env.program.web_browser} file://#{@md.file.output_path.xml_sax.dir}/#{@md.file.base_filename.xml_sax}\n\t#{@env.program.xml_viewer} file://#{@md.file.output_path.xml_sax.dir}/#{@md.file.base_filename.xml_sax}" + @env.program.web_browser \ + + ' file://' \ + + @md.file.output_path.xml_sax.dir + '/' \ + + @md.file.base_filename.xml_sax + "\n\t" \ + + @env.program.xml_viewer \ + + ' file://' \ + + @md.file.output_path.xml_sax.dir + '/' \ + + @md.file.base_filename.xml_sax elsif @opt.act[:verbose][:set]==:on - "#{@env.program.web_browser} file://#{@md.file.output_path.xml_sax.dir}/#{@md.file.base_filename.xml_sax}" + @env.program.web_browser \ + + ' file://' \ + + @md.file.output_path.xml_sax.dir + '/' \ + + @md.file.base_filename.xml_sax else "[#{@opt.f_pth[:lng_is]}] #{@opt.fno}" end (@opt.act[:verbose][:set]==:on \ @@ -110,7 +121,9 @@ module SiSU_XML_SAX SiSU_Screen::Ansi.new( @opt.act[:color_state][:set], @opt.fns, - "file://#{@md.file.output_path.xml_sax.dir}/#{@md.file.base_filename.xml_sax}" + 'file://' \ + + @md.file.output_path.xml_sax.dir + '/' \ + + @md.file.base_filename.xml_sax ).flow end end @@ -128,7 +141,8 @@ module SiSU_XML_SAX private class Songsheet def initialize(particulars) - @env,@md,@ao_array,@particulars=particulars.env,particulars.md,particulars.ao_array,particulars + @env, @md, @ao_arr, @particulars= + particulars.env,particulars.md,particulars.ao_array,particulars @file=SiSU_Env::FileOp.new(@md) end def song @@ -155,14 +169,15 @@ module SiSU_XML_SAX require_relative 'xhtml_shared' # decide use, whether xml rather than xhtml @@xml={ body: [], open: [], close: [], head: [] } def initialize(particulars) - @env,@md,@ao_array=particulars.env,particulars.md,particulars.ao_array + @env, @md, @ao_arr= + particulars.env,particulars.md,particulars.ao_array @vz=SiSU_Viz::Defaults.new @trans=SiSU_XML_Munge::Trans.new(@md) @sys=SiSU_Env::SystemCall.new end def songsheet pre - @data=markup(@ao_array) + @data=markup(@ao_arr) post publish end @@ -302,7 +317,7 @@ WOK @@xml[:body] << %{#{Ax[:tab]*1}#{Ax[:tab]*1}} @@xml[:body] << %{#{Ax[:tab]*2}#{dob.obj}#{Ax[:tab]*1}} @@xml[:body] << %{#{Ax[:tab]*1}} - @@xml[:body] << "#{Ax[:tab]*0}" + @@xml[:body] << %{#{Ax[:tab]*0}} end def code_structure(dob='') dob=@trans.markup_group(dob) diff --git a/lib/sisu/v6/xml_dom.rb b/lib/sisu/v6/xml_dom.rb index d551b529..6571391b 100644 --- a/lib/sisu/v6/xml_dom.rb +++ b/lib/sisu/v6/xml_dom.rb @@ -84,13 +84,24 @@ module SiSU_XML_DOM end def read begin - @env,@md,@ao_array=@particulars.env,@particulars.md,@particulars.ao_array + @env, @md, @ao_arr= + @particulars.env,@particulars.md,@particulars.ao_array unless @opt.act[:quiet][:set]==:on tool=if (@opt.act[:verbose_plus][:set]==:on \ || @opt.act[:maintenance][:set]==:on) - "#{@env.program.web_browser} file://#{@md.file.output_path.xml_dom.dir}/#{@md.file.base_filename.xml_dom}\n\t#{@env.program.xml_viewer} file://#{@md.file.output_path.xml_dom.dir}/#{@md.file.base_filename.xml_dom}" + @env.program.web_browser \ + + ' file://' \ + + @md.file.output_path.xml_dom.dir + '/' \ + + @md.file.base_filename.xml_dom + "\n\t" \ + + @env.program.xml_viewer \ + + ' file://' \ + + @md.file.output_path.xml_dom.dir + '/' \ + + @md.file.base_filename.xml_dom elsif @opt.act[:verbose][:set]==:on - "#{@env.program.web_browser} file://#{@md.file.output_path.xml_dom.dir}/#{@md.file.base_filename.xml_dom}" + @env.program.web_browser \ + + ' file://' \ + + @md.file.output_path.xml_dom.dir + '/' \ + + @md.file.base_filename.xml_dom else "[#{@opt.f_pth[:lng_is]}] #{@opt.fno}" end (@opt.act[:verbose][:set]==:on \ @@ -111,7 +122,9 @@ module SiSU_XML_DOM SiSU_Screen::Ansi.new( @opt.act[:color_state][:set], @opt.fns, - "file://#{@md.file.output_path.xml_dom.dir}/#{@md.file.base_filename.xml_dom}" + 'file://' \ + + @md.file.output_path.xml_dom.dir + '/' \ + + @md.file.base_filename.xml_dom ).flow end end @@ -128,7 +141,8 @@ module SiSU_XML_DOM private class Songsheet def initialize(particulars) - @env,@md,@ao_array,@particulars=particulars.env,particulars.md,particulars.ao_array,particulars + @env, @md, @ao_arr, @particulars= + particulars.env,particulars.md,particulars.ao_array,particulars @file=SiSU_Env::FileOp.new(@md) end def songsheet @@ -154,14 +168,15 @@ module SiSU_XML_DOM require_relative 'xhtml_shared' # decide use, whether xml rather than xhtml @@xml={ body: [], open: [], close: [], head: [], sc: [] } def initialize(particulars) - @env,@md,@ao_array=particulars.env,particulars.md,particulars.ao_array + @env, @md, @ao_arr= + particulars.env,particulars.md,particulars.ao_array @vz=SiSU_Viz::Defaults.new @trans=SiSU_XML_Munge::Trans.new(@md) @sys=SiSU_Env::SystemCall.new end def songsheet pre - @data=markup(@ao_array) + @data=markup(@ao_arr) post publish end diff --git a/lib/sisu/v6/xml_sax.rb b/lib/sisu/v6/xml_sax.rb index 88a8929b..99589980 100644 --- a/lib/sisu/v6/xml_sax.rb +++ b/lib/sisu/v6/xml_sax.rb @@ -83,13 +83,24 @@ module SiSU_XML_SAX end def read begin - @env,@md,@ao_array=@particulars.env,@particulars.md,@particulars.ao_array + @env, @md, @ao_arr= + @particulars.env,@particulars.md,@particulars.ao_array unless @opt.act[:quiet][:set]==:on tool=if (@opt.act[:verbose_plus][:set]==:on \ || @opt.act[:maintenance][:set]==:on) - "#{@env.program.web_browser} file://#{@md.file.output_path.xml_sax.dir}/#{@md.file.base_filename.xml_sax}\n\t#{@env.program.xml_viewer} file://#{@md.file.output_path.xml_sax.dir}/#{@md.file.base_filename.xml_sax}" + @env.program.web_browser \ + + ' file://' \ + + @md.file.output_path.xml_sax.dir + '/' \ + + @md.file.base_filename.xml_sax + "\n\t" \ + + @env.program.xml_viewer \ + + ' file://' \ + + @md.file.output_path.xml_sax.dir + '/' \ + + @md.file.base_filename.xml_sax elsif @opt.act[:verbose][:set]==:on - "#{@env.program.web_browser} file://#{@md.file.output_path.xml_sax.dir}/#{@md.file.base_filename.xml_sax}" + @env.program.web_browser \ + + ' file://' \ + + @md.file.output_path.xml_sax.dir + '/' \ + + @md.file.base_filename.xml_sax else "[#{@opt.f_pth[:lng_is]}] #{@opt.fno}" end (@opt.act[:verbose][:set]==:on \ @@ -110,7 +121,9 @@ module SiSU_XML_SAX SiSU_Screen::Ansi.new( @opt.act[:color_state][:set], @opt.fns, - "file://#{@md.file.output_path.xml_sax.dir}/#{@md.file.base_filename.xml_sax}" + 'file://' \ + + @md.file.output_path.xml_sax.dir + '/' \ + + @md.file.base_filename.xml_sax ).flow end end @@ -128,7 +141,8 @@ module SiSU_XML_SAX private class Songsheet def initialize(particulars) - @env,@md,@ao_array,@particulars=particulars.env,particulars.md,particulars.ao_array,particulars + @env, @md, @ao_arr, @particulars= + particulars.env,particulars.md,particulars.ao_array,particulars @file=SiSU_Env::FileOp.new(@md) end def song @@ -155,14 +169,15 @@ module SiSU_XML_SAX require_relative 'xhtml_shared' # decide use, whether xml rather than xhtml @@xml={ body: [], open: [], close: [], head: [] } def initialize(particulars) - @env,@md,@ao_array=particulars.env,particulars.md,particulars.ao_array + @env, @md, @ao_arr= + particulars.env,particulars.md,particulars.ao_array @vz=SiSU_Viz::Defaults.new @trans=SiSU_XML_Munge::Trans.new(@md) @sys=SiSU_Env::SystemCall.new end def songsheet pre - @data=markup(@ao_array) + @data=markup(@ao_arr) post publish end @@ -302,7 +317,7 @@ WOK @@xml[:body] << %{#{Ax[:tab]*1}#{Ax[:tab]*1}} @@xml[:body] << %{#{Ax[:tab]*2}#{dob.obj}#{Ax[:tab]*1}} @@xml[:body] << %{#{Ax[:tab]*1}} - @@xml[:body] << "#{Ax[:tab]*0}" + @@xml[:body] << %{#{Ax[:tab]*0}} end def code_structure(dob='') dob=@trans.markup_group(dob) -- cgit v1.2.3 From 558fe23ff9dbca050f45e7a2ba965977eddbdfab Mon Sep 17 00:00:00 2001 From: Ralph Amissah Date: Sun, 28 Sep 2014 21:38:10 -0400 Subject: v5 v6: manifest, renamed html_manifest --- lib/sisu/v5/html_manifest.rb | 1032 ++++++++++++++++++++++++++++++++++++++++++ lib/sisu/v5/hub_actions.rb | 8 +- lib/sisu/v5/manifest.rb | 1032 ------------------------------------------ lib/sisu/v6/html_manifest.rb | 1032 ++++++++++++++++++++++++++++++++++++++++++ lib/sisu/v6/hub_actions.rb | 8 +- lib/sisu/v6/manifest.rb | 1032 ------------------------------------------ 6 files changed, 2072 insertions(+), 2072 deletions(-) create mode 100644 lib/sisu/v5/html_manifest.rb delete mode 100644 lib/sisu/v5/manifest.rb create mode 100644 lib/sisu/v6/html_manifest.rb delete mode 100644 lib/sisu/v6/manifest.rb diff --git a/lib/sisu/v5/html_manifest.rb b/lib/sisu/v5/html_manifest.rb new file mode 100644 index 00000000..e1c475d0 --- /dev/null +++ b/lib/sisu/v5/html_manifest.rb @@ -0,0 +1,1032 @@ +# encoding: utf-8 +=begin + + * Name: SiSU + + * Description: a framework for document structuring, publishing and search + + * Author: Ralph Amissah + + * Copyright: (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, + 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014 Ralph Amissah, + All Rights Reserved. + + * License: GPL 3 or later: + + SiSU, a framework for document structuring, publishing and search + + Copyright (C) Ralph Amissah + + This program is free software: you can redistribute it and/or modify it + under the terms of the GNU General Public License as published by the Free + Software Foundation, either version 3 of the License, or (at your option) + any later version. + + This program is distributed in the hope that it will be useful, but WITHOUT + ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for + more details. + + You should have received a copy of the GNU General Public License along with + this program. If not, see . + + If you have Internet connection, the latest version of the GPL should be + available at these locations: + + + + + + * SiSU uses: + * Standard SiSU markup syntax, + * Standard SiSU meta-markup syntax, and the + * Standard SiSU object citation numbering and system + + * Hompages: + + + + * Download: + + + * Git + + + + * Ralph Amissah + + + + ** Description: summary of generated outputs and metadata + +=end +module SiSU_Manifest + require_relative 'se' # se.rb + include SiSU_Env + require_relative 'prog_text_translation' # prog_text_translation.rb + require_relative 'se_hub_particulars' # se_hub_particulars.rb + include SiSU_Particulars + require_relative 'html_minitoc' # html_minitoc.rb + require_relative 'html' # html.rb + include SiSU_HTML_Format + require_relative 'dp' # dp.rb + include SiSU_Param + require_relative 'i18n' # i18n.rb + include SiSU_Viz + class Source + def initialize(opt) + @opt=opt + @particulars=SiSU_Particulars::CombinedSingleton.instance.get_all(opt) + l=SiSU_Env::StandardiseLanguage.new(opt.lng).language + @doc_language=l[:n] + end + def read + begin + @env=SiSU_Env::InfoEnv.new(@opt.fns) + @md=SiSU_Param::Parameters.new(@opt).get + xbrowser=@env.program.web_browser + browser=@env.program.console_web_browser +# webserv_url=@env.path.url.output_tell #fix in sysenv + unless @opt.act[:quiet][:set]==:on + url_html='file://' \ + + @md.file.output_path.manifest.dir + '/' \ + + @md.file.base_filename.manifest + (@opt.act[:verbose][:set]==:on \ + || @opt.act[:verbose_plus][:set]==:on \ + || @opt.act[:maintenance][:set]==:on) \ + ? SiSU_Screen::Ansi.new( + @opt.act[:color_state][:set], + 'Manifest', + "#{xbrowser} #{url_html}" + ).green_hi_blue + : SiSU_Screen::Ansi.new( + @opt.act[:color_state][:set], + 'Manifest', + "[#{@opt.f_pth[:lng_is]}]", + "#{url_html}" + ).grey_title_grey_blue + if (@md.opt.act[:verbose][:set]==:on \ + || @md.opt.act[:verbose_plus][:set]==:on) + SiSU_Screen::Ansi.new( + @opt.act[:color_state][:set], + "#{browser} #{url_html}" + ).grey_tab + end + end + data=SiSU_HTML::Source::HTML_Environment.new(@particulars).tuned_file_instructions + SiSU_Manifest::Source::Output.new(@md).check_output(data) + rescue + SiSU_Errors::Rescued.new($!,$@,@opt.selections.str,@opt.fns).location do + __LINE__.to_s + ':' + __FILE__ + end + ensure + SiSU_Env::CreateSite.new(@opt).cp_css + Dir.chdir(@opt.f_pth[:pth]) + end + end + private + class Output #{@brace_url.xml_open}#{url}/#{file}#{@brace_url.xml_close}} + else + %{

#{@brace_url.xml_open}#{url}/#{file}#{@brace_url.xml_close}

} + end + end + def summarize(id,file,pth='',rel='',url='',img='● ') + size=(File.size("#{pth}/#{file}")/1024.00).to_s + kb=/([0-9]+\.[0-9]{0,1})/m.match(size)[1] + @manifest[:txt] << "#{file} #{id} #{kb}\n" + @manifest[:html] << %{

#{img}#{id}

#{file}

#{url_make(url,file)}

#{kb}

\n} + end + def summarize_html_seg(id,file,pth='',rel='',url='',img='● ') + size=(File.size("#{pth}/#{file}")/1024.00).to_s + kb=/([0-9]+\.[0-9]{0,1})/m.match(size)[1] + @manifest[:txt] << "#{file} #{id} #{kb}\n" + @manifest[:html] << %{

#{img}#{id}

#{file}

#{url_make(url,file)}

#{kb}

\n} + end + def summarize_sources(id,file,pth,rel,url) + sys=SiSU_Env::SystemCall.new + dgst=case @dg + when :sha512 + sys.sha512("#{pth}/#{file}") + when :sha256 + sys.sha256("#{pth}/#{file}") + when :md5 + sys.md5("#{pth}/#{file}") + else + end + dgst=dgst ? dgst : [ '', 'n/a' ] + if (@md.opt.act[:verbose][:set]==:on \ + || @md.opt.act[:verbose_plus][:set]==:on \ + || @md.opt.act[:maintenance][:set]==:on) + SiSU_Screen::Ansi.new( + @md.opt.act[:color_state][:set], + "#{dgst[1]} #{file}" + ).warn + end + size=(File.size("#{pth}/#{file}")/1024.00).to_s + kb=/([0-9]+\.[0-9]{0,1})/m.match(size)[1] + @manifest[:txt] << "#{file} #{id} #{kb}\n" + @manifest[:html] << %{} \ + + %{

#{id}

} \ + + %{

#{file}   #{dgst[1]}#{url_make(url,file,:src)}

} \ + + %{

#{kb}

} \ + + %{\n} \ + if kb and kb =~/\d+/ + end + def published_manifests? + @f=SiSU_Env::FileOp.new(@md) #.base_filename + @m=[] + url=@f.output_path.base.url + manifests={} + mp,mn,mt,mr=nil,nil,nil,nil + ln=SiSU_i18n::Languages.new.language.list + Px[:lng_lst].each do |lc| + lngc=SiSU_Env::FilenameLanguageCodeInsert.new(@md.opt,lc).language_code_insert + fnh={ + fn: @md.fnb, + lng: lngc, + } + mn=@f.base_filename.manifest(fnh) + if @o_str.dump_or_redirect? #does not work for --redirect or --dump + mp="#{@f.output_path.base.dir}" + mt="#{mp}/#{mn}" + mr="../../#{lc}/manifest/#{mn}" + mu="#{url}/#{mn}" + elsif @f.output_dir_structure.by_language_code? + mp="#{@f.output_path.base.dir}/#{lc}/manifest" + mt="#{mp}/#{mn}" + mr="../../#{lc}/manifest/#{mn}" + mu="#{url}/#{lc}/manifest/#{mn}" + elsif @f.output_dir_structure.by_filetype? + mp="#{@f.output_path.base.dir}/manifest" + mt="#{mp}/#{mn}" + mr=mn + mu="#{url}/manifest/#{mn}" + else + mp="#{@f.output_path.base.dir}/#{@md.fnb}" + mt="#{mp}/#{mn}" + mr=mn + mu="#{url}/#{mn}" + end + if FileTest.directory?(mp) \ + && FileTest.file?(mt) + lng=ln[lc][:t] + manifests[lc]={ ln: lng, fn: mn, rel: mr } + @m << { mu: mu, l: lng, rel: mr } + end + end + @m=@m.uniq + end + def languages(id,file) + @manifest[:html] << %{\n} + end + def published_languages(id) + published_manifests?.each do |l| + @manifest[:txt] << "#{l[:mu]} #{l[:l]}\n" + @manifest[:html] << %{

#{l[:l]}

#{l[:l]}

#{@brace_url.xml_open}#{l[:mu]}#{@brace_url.xml_close}

 

\n} + end + end + def metadata(id,info) + info=info.to_s.gsub(/(?:#{Mx[:br_line]}|\\)+/,'
') + @manifest[:html] << %{

#{id}:

#{info}

\n} + end + def links(url,lnk,target) + static=if url =~/^\.\// then url.gsub(/^\.(\.)?/,@base_url) + elsif url =~/^\.\.\// then url.gsub(/^\.(\.)?/,@env.url.root) + else url + end + @manifest[:html] << %{

#{lnk}

  #{@brace_url.xml_open}#{static}#{@brace_url.xml_close}

\n} + end + def output_tests + if FileTest.file?(@f.place_file.html_segtoc.dir)==true + img=%{TOC linked } + pth=@f.output_path.html_seg.dir + rel=@f.output_path.html_seg.rel_sm + url=@f.output_path.html_seg.url + id,file='HTML, table of contents (for segmented text)',@f.base_filename.html_segtoc + summarize_html_seg(id,file,pth,rel,url,img) + end + if FileTest.file?(@f.place_file.html_scroll.dir)==true + img=%{Full Text } + pth=@f.output_path.html_scroll.dir + rel=@f.output_path.html_scroll.rel_sm + url=@f.output_path.html_scroll.url + id,file='HTML, full length document',@f.base_filename.html_scroll + summarize(id,file,pth,rel,url,img) + end + if FileTest.file?(@f.place_file.html_book_index.dir)==true + pth=@f.output_path.html_seg.dir + rel=@f.output_path.html_seg.rel_sm + url=@f.output_path.html_seg.url + id,file='HTML, (book type) index',@f.base_filename.html_book_index + summarize(id,file,pth,rel,url) + end + if FileTest.file?(@f.place_file.html_concordance.dir)==true + pth=@f.output_path.html_seg.dir + rel=@f.output_path.html_seg.rel_sm + url=@f.output_path.html_seg.url + id,file='HTML, concordance file',@f.base_filename.html_concordance + summarize(id,file,pth,rel,url) + end + if FileTest.file?(@f.place_file.epub.dir)==true + img=%{EPUB } + id,file='EPUB (Electronic Publication, e-book standard)',@f.base_filename.epub + pth=@f.output_path.epub.dir + rel=@f.output_path.epub.rel_sm + url=@f.output_path.epub.url + summarize(id,file,pth,rel,url,img) + end + if FileTest.file?("#{@f.output_path.pdf.dir}/#{@f.base_filename.pdf_p_letter}")==true + img=%{PDF portrait } + pth=@f.output_path.pdf.dir + rel=@f.output_path.pdf.rel_sm + url=@f.output_path.pdf.url + id,file="PDF, U.S. letter size, portrait/vertical document (recommended for printing)","#{@f.base_filename.pdf_p_letter}" + summarize(id,file,pth,rel,url,img) + end + if FileTest.file?("#{@f.output_path.pdf.dir}/#{@f.base_filename.pdf_l_letter}")==true + img=%{PDF landscape } + pth=@f.output_path.pdf.dir + rel=@f.output_path.pdf.rel_sm + url=@f.output_path.pdf.url + id,file="PDF, U.S. letter size, landscape/horizontal document (recommended for screen viewing)","#{@f.base_filename.pdf_l_letter}" + summarize(id,file,pth,rel,url,img) + end + if FileTest.file?("#{@f.output_path.pdf.dir}/#{@f.base_filename.pdf_p_a4}")==true + img=%{PDF portrait } + pth=@f.output_path.pdf.dir + rel=@f.output_path.pdf.rel_sm + url=@f.output_path.pdf.url + id,file="PDF, A4 size, portrait/vertical document (recommended for printing)","#{@f.base_filename.pdf_p_a4}" + summarize(id,file,pth,rel,url,img) + end + if FileTest.file?("#{@f.output_path.pdf.dir}/#{@f.base_filename.pdf_l_a4}")==true + img=%{PDF landscape } + pth=@f.output_path.pdf.dir + rel=@f.output_path.pdf.rel_sm + url=@f.output_path.pdf.url + id,file="PDF, A4 size, landscape/horizontal document (recommended for screen viewing)","#{@f.base_filename.pdf_l_a4}" + summarize(id,file,pth,rel,url,img) + end + if FileTest.file?("#{@f.output_path.pdf.dir}/#{@f.base_filename.pdf_p_a5}")==true + img=%{PDF portrait } + pth=@f.output_path.pdf.dir + rel=@f.output_path.pdf.rel_sm + url=@f.output_path.pdf.url + id,file="PDF, A5 (book) size, portrait/vertical document (recommended for printing)","#{@f.base_filename.pdf_p_a5}" + summarize(id,file,pth,rel,url,img) + end + if FileTest.file?("#{@f.output_path.pdf.dir}/#{@f.base_filename.pdf_l_a5}")==true + img=%{PDF landscape } + pth=@f.output_path.pdf.dir + rel=@f.output_path.pdf.rel_sm + url=@f.output_path.pdf.url + id,file="PDF, A5 (book) size, landscape/horizontal document (recommended for screen viewing)","#{@f.base_filename.pdf_l_a5}" + summarize(id,file,pth,rel,url,img) + end + if FileTest.file?("#{@f.output_path.pdf.dir}/#{@f.base_filename.pdf_p_b5}")==true + img=%{PDF portrait } + pth=@f.output_path.pdf.dir + rel=@f.output_path.pdf.rel_sm + url=@f.output_path.pdf.url + id,file="PDF, B5 (book) size, portrait/vertical document (recommended for printing)","#{@f.base_filename.pdf_p_b5}" + summarize(id,file,pth,rel,url,img) + end + if FileTest.file?("#{@f.output_path.pdf.dir}/#{@f.base_filename.pdf_l_b5}")==true + img=%{PDF landscape } + pth=@f.output_path.pdf.dir + rel=@f.output_path.pdf.rel_sm + url=@f.output_path.pdf.url + id,file="PDF, B5 (book) size, landscape/horizontal document (recommended for screen viewing)","#{@f.base_filename.pdf_l_b5}" + summarize(id,file,pth,rel,url,img) + end + if FileTest.file?("#{@f.output_path.pdf.dir}/#{@f.base_filename.pdf_p_legal}")==true + img=%{PDF portrait } + pth=@f.output_path.pdf.dir + rel=@f.output_path.pdf.rel_sm + url=@f.output_path.pdf.url + id,file="PDF, U.S. legal size, portrait/vertical document (recommended for printing)","#{@f.base_filename.pdf_p_legal}" + summarize(id,file,pth,rel,url,img) + end + if FileTest.file?("#{@f.output_path.pdf.dir}/#{@f.base_filename.pdf_l_legal}")==true + img=%{PDF landscape } + pth=@f.output_path.pdf.dir + rel=@f.output_path.pdf.rel_sm + url=@f.output_path.pdf.url + id,file="PDF, U.S. legal size, landscape/horizontal document (recommended for screen viewing)","#{@f.base_filename.pdf_l_legal}" + summarize(id,file,pth,rel,url,img) + end + if FileTest.file?(@f.place_file.odt.dir)==true + img=%{ODF/ODT } + pth=@f.output_path.odt.dir + rel=@f.output_path.odt.rel_sm + url=@f.output_path.odt.url + id,file='ODF:ODT (Open Document Format)',@f.base_filename.odt + summarize(id,file,pth,rel,url,img) + end + if FileTest.file?(@f.place_file.xhtml.dir)==true + pth=@f.output_path.xhtml.dir + rel=@f.output_path.xhtml.rel_sm + url=@f.output_path.xhtml.url + id,file='ODF:ODT (Open Document Format)',@f.base_filename.odt + id,file='XHTML',@f.base_filename.xhtml + summarize(id,file,pth,rel,url) + end + if FileTest.file?(@f.place_file.xml_sax.dir)==true + pth=@f.output_path.xml_sax.dir + rel=@f.output_path.xml_sax.rel_sm + url=@f.output_path.xml_sax.url + id,file='XML SAX',@f.base_filename.xml_sax + summarize(id,file,pth,rel,url) + end + if FileTest.file?(@f.place_file.xml_dom.dir)==true + pth=@f.output_path.xml_dom.dir + rel=@f.output_path.xml_dom.rel_sm + url=@f.output_path.xml_dom.url + id,file='XML DOM',@f.base_filename.xml_dom + summarize(id,file,pth,rel,url) + end + if FileTest.file?(@f.place_file.xml_docbook_article.dir)==true + pth=@f.output_path.xml_docbook_article.dir + rel=@f.output_path.xml_docbook_article.rel_sm + url=@f.output_path.xml_docbook_article.url + id,file='XML Docbook Book',@f.base_filename.xml_docbook_article + summarize(id,file,pth,rel,url) + end + if FileTest.file?(@f.place_file.xml_docbook_book.dir)==true + pth=@f.output_path.xml_docbook_book.dir + rel=@f.output_path.xml_docbook_book.rel_sm + url=@f.output_path.xml_docbook_book.url + id,file='XML Docbook Book',@f.base_filename.xml_docbook_book + summarize(id,file,pth,rel,url) + end + if FileTest.file?(@f.place_file.xml_fictionbook.dir)==true + pth=@f.output_path.xml_fictionbook.dir + rel=@f.output_path.xml_fictionbook.rel_sm + url=@f.output_path.xml_fictionbook.url + id,file='XML Fictionbook',@f.base_filename.xml_fictionbook + summarize(id,file,pth,rel,url) + end + if FileTest.file?(@f.place_file.xml_scaffold_structure_sisu.dir)==true + pth=@f.output_path.xml_scaffold_structure_sisu.dir + rel=@f.output_path.xml_scaffold_structure_sisu.rel_sm + url=@f.output_path.xml_scaffold_structure_sisu.url + id,file='XML Scaffold sisu structure',@f.base_filename.xml_scaffold_structure_sisu + summarize(id,file,pth,rel,url) + end + if FileTest.file?(@f.place_file.xml_scaffold_structure_collapse.dir)==true + pth=@f.output_path.xml_scaffold_structure_collapse.dir + rel=@f.output_path.xml_scaffold_structure_collapse.rel_sm + url=@f.output_path.xml_scaffold_structure_collapse.url + id,file='XML Scaffold collapsed structure',@f.base_filename.xml_scaffold_structure_collapse + summarize(id,file,pth,rel,url) + end + if FileTest.file?(@f.place_file.info.dir)==true + pth=@f.output_path.texinfo.dir + rel=@f.output_path.texinfo.rel_sm + url=@f.output_path.texinfo.url + id,file='Info file',@f.base_filename.info + summarize(id,file,pth,rel,url) + end + if FileTest.file?(@f.place_file.manpage.dir)==true + pth=@f.output_path.manpage.dir + rel=@f.output_path.manpage.rel_sm + url=@f.output_path.manpage.url + id,file='Manpage',@f.base_filename.manpage + summarize(id,file,pth,rel,url) + end + if FileTest.file?(@f.place_file.sqlite_discrete.dir)==true + id,file='SQLite3 file',@f.base_filename.sqlite_discrete + pth=@f.output_path.sqlite_discrete.dir + rel=@f.output_path.sqlite_discrete.rel_sm + url=@f.output_path.sqlite_discrete.url + summarize(id,file,pth,rel,url) + end + if FileTest.file?(@f.place_file.txt.dir)==true + id='Plaintext (UTF-8)' + pth=@f.output_path.txt.dir + rel=@f.output_path.txt.rel_sm + url=@f.output_path.txt.url + file=@f.base_filename.txt + summarize(id,file,pth,rel,url) + end + if FileTest.file?(@f.place_file.textile.dir)==true + id='Textile text (UTF-8)' + pth=@f.output_path.textile.dir + rel=@f.output_path.textile.rel_sm + url=@f.output_path.textile.url + file=@f.base_filename.textile + summarize(id,file,pth,rel,url) + end + if FileTest.file?(@f.place_file.asciidoc.dir)==true + id='AsciiDoc text (UTF-8)' + pth=@f.output_path.asciidoc.dir + rel=@f.output_path.asciidoc.rel_sm + url=@f.output_path.asciidoc.url + file=@f.base_filename.asciidoc + summarize(id,file,pth,rel,url) + end + if FileTest.file?(@f.place_file.markdown.dir)==true + id='Markdown text (UTF-8)' + pth=@f.output_path.markdown.dir + rel=@f.output_path.markdown.rel_sm + url=@f.output_path.markdown.url + file=@f.base_filename.markdown + summarize(id,file,pth,rel,url) + end + if FileTest.file?(@f.place_file.rst.dir)==true + id='rST text (UTF-8)' + pth=@f.output_path.rst.dir + rel=@f.output_path.rst.rel_sm + url=@f.output_path.rst.url + file=@f.base_filename.rst + summarize(id,file,pth,rel,url) + end + if FileTest.file?("#{@base_path}/#{@md.fns}.tex")==true + id,file='LaTeX (portrait)',"#{@md.fns}.tex" + pth,rel,url='','','' + summarize(id,file,pth,rel,url) + end + if FileTest.file?("#{@base_path}/#{@md.fns}.tex")==true + id,file='LaTeX (landscape)',"#{@md.fns}.landscape.tex" + pth,rel,url='','','' + summarize(id,file,pth,rel,url) + end + if FileTest.file?(@f.place_file.hash_digest.dir)==true + pth=@f.output_path.hash_digest.dir + rel=@f.output_path.hash_digest.rel_sm + url=@f.output_path.hash_digest.url + id,file="Digest/DCC - Document Content Certificate (#{@dg})",@f.base_filename.hash_digest + summarize(id,file,pth,rel,url) + end + end + def published_versions + id,file='Markup (SiSU source)',@md.fns + languages(id,file) + end + def language_versions + if FileTest.file?(@f.place_file.manifest.dir)==true + id='Markup (SiSU source)' + published_languages(id) + end + end + def qrc_image + fn=(@f.output_dir_structure.by_filename?) \ + ? 'sisu_manifest' + : @md.fnb + pth=((@o_str.dump_or_redirect?) \ + || (@f.output_dir_structure.by_filename?)) \ + ? '.' + : 'qrcode' + img_md="#{pth}/#{fn}#{@fn_lng}.md.png" + img_title="#{pth}/#{fn}#{@fn_lng}.title.png" + if FileTest.file?(@f.place_file.qrcode_md.dir)==true + @manifest[:html] <<< +

QR code SiSU document metadata:

+

+ qrcode metadata +

+ +WOK + end + if FileTest.file?(@f.place_file.qrcode_title.dir)==true + @manifest[:html] <<< +

QR code document title info:

+

+ qrcode title +

+ +WOK + end + end + def source_tests + if @md.fno =~/\.ssm$/ #% decide whether to extract and include requested/required documents + if FileTest.file?(@f.place_file.src.dir)==true + pth=@f.output_path.src.dir + rel=@f.output_path.src.rel_sm + url=@f.output_path.src.url + id,file='Markup Composite File (SiSU source)',@f.base_filename.src + summarize_sources(id,file,pth,rel,url) + end + else + if FileTest.file?(@f.place_file.src.dir)==true + pth=@f.output_path.src.dir + rel=@f.output_path.src.rel_sm + url=@f.output_path.src.url + id,file='Markup (SiSU source)',@f.base_filename.src + summarize_sources(id,file,pth,rel,url) + end + end + if FileTest.file?(@f.place_file.sisupod.dir)==true + pth=@f.output_path.sisupod.dir + rel=@f.output_path.sisupod.rel_sm + url=@f.output_path.sisupod.url + id,file='SiSU doc (tar.xz)',@f.base_filename.sisupod + summarize_sources(id,file,pth,rel,url) + end + if FileTest.file?(@f.place_file.pot.dir)==true + pth=@f.output_path.pot.dir + rel=@f.output_path.pot.rel_sm + url=@f.output_path.pot.url + id,file='SiSU pot',@f.base_filename.pot + summarize_sources(id,file,pth,rel,url) + end + end + def metadata_tests + if defined? @md.title #% + if defined? @md.title.full \ + and @md.title.full=~/\S+/ + id,info=@translate.full_title,@md.title.full + metadata(id,info) + end + end + if defined? @md.creator #% + if defined? @md.creator.author \ + and @md.creator.author=~/\S+/ + id,info=@translate.author,@md.creator.author + metadata(id,info) + end + if defined? @md.creator.editor \ + and @md.creator.editor=~/\S+/ + id,info=@translate.editor,@md.creator.editor + metadata(id,info) + end + if defined? @md.creator.contributor \ + and @md.creator.contributor=~/\S+/ + id,info=@translate.contributor,@md.creator.contributor + metadata(id,info) + end + if defined? @md.creator.translator \ + and @md.creator.translator=~/\S+/ + id,info=@translate.translator,@md.creator.translator + metadata(id,info) + end + if defined? @md.creator.illustrator \ + and @md.creator.illustrator=~/\S+/ + id,info=@translate.illustrator,@md.creator.illustrator + metadata(id,info) + end + if defined? @md.creator.prepared_by \ + and @md.creator.prepared_by=~/\S+/ + id,info=@translate.prepared_by,@md.creator.prepared_by + metadata(id,info) + end + if defined? @md.creator.digitized_by \ + and @md.creator.digitized_by=~/\S+/ + id,info=@translate.digitized_by,@md.creator.digitized_by + metadata(id,info) + end + end + if defined? @md.rights + if defined? @md.rights.all \ + and @md.rights.all=~/\S+/ #dc + id,info=@translate.rights,@md.rights.all + metadata(id,info) + end + end + if defined? @md.date #% + if defined? @md.date.published \ + and @md.date.published=~/\S+/ #dc + id,info=@translate.date,@md.date.published + metadata(id,info) + end + if defined? @md.date.created \ + and @md.date.created=~/\S+/ #dc + id,info=@translate.date_created,@md.date.created + metadata(id,info) + end + if defined? @md.date.issued \ + and @md.date.issued=~/\S+/ #dc + id,info=@translate.date_issued,@md.date.issued + metadata(id,info) + end + if defined? @md.date.available \ + and @md.date.available=~/\S+/ #dc + id,info=@translate.date_available,@md.date.available + metadata(id,info) + end + if defined? @md.date.modified \ + and @md.date.modified=~/\S+/ #dc + id,info=@translate.date_modified,@md.date.modified + metadata(id,info) + end + if defined? @md.date.valid \ + and @md.date.valid=~/\S+/ #dc + id,info=@translate.date_valid,@md.date.valid + metadata(id,info) + end + end + if defined? @md.publisher \ + and @md.publisher=~/\S+/ #dc + id,info=@translate.publisher,@md.publisher + metadata(id,info) + end + if defined? @md.notes #% + if defined? @md.notes.description \ + and @md.notes.description=~/\S+/ + id,info=@translate.description,@md.notes.description + metadata(id,info) + end + if defined? @md.notes.abstract \ + and @md.notes.abstract=~/\S+/ + id,info=@translate.abstract,@md.notes.abstract + metadata(id,info) + end + if defined? @md.notes.comment \ + and @md.notes.comment=~/\S+/ + id,info=@translate.comments,@md.notes.comment + metadata(id,info) + end + if defined? @md.notes.prefix_a \ + and @md.notes.prefix_a=~/\S+/ + id,info=@translate.prefix_a,@md.notes.prefix_a + metadata(id,info) + end + if defined? @md.notes.prefix_b \ + and @md.notes.prefix_b=~/\S+/ + id,info=@translate.prefix_b,@md.notes.prefix_b + metadata(id,info) + end + end + if defined? @md.title #% + if defined? @md.title.language \ + and @md.title.language=~/\S+/ + id,info=@translate.language,@md.title.language + metadata(id,info) + end + if defined? @md.original.language \ + and @md.original.language=~/\S+/ + id,info=@translate.language_original,@md.original.language + metadata(id,info) + end + end + if defined? @md.classify #% + if defined? @md.topic_register_array \ + and @md.topic_register_array.length > 0 + @manifest[:html] << %{

#{@translate.topic_register}:

\n} + @md.topic_register_array.each do |t| + t.each_with_index do |st,i| + if st.is_a?(Array) + st.each do |v| + if v.is_a?(Array) + v.each do |w| + @manifest[:html] << %{

#{w}

\n} + end + else + @manifest[:html] << %{

#{v}

\n} + end + end + else @manifest[:html] << %{

#{st}

\n} + end + end + end + @manifest[:html] << %{\n} + end + if defined? @md.classify.subject \ + and @md.classify.subject=~/\S+/ + id,info=@translate.subject,@md.classify.subject + metadata(id,info) + end + if defined? @md.classify.keywords \ + and @md.classify.keywords=~/\S+/ + id,info=@translate.keywords,@md.classify.keywords + metadata(id,info) + end + if defined? @md.classify.loc \ + and @md.classify.loc=~/\S+/ + id,info=@translate.cls_loc,@md.classify.loc + metadata(id,info) + end + if defined? @md.classify.dewey \ + and @md.classify.dewey=~/\S+/ + id,info=@translate.cls_dewey,@md.classify.dewey + metadata(id,info) + end + if defined? @md.notes.coverage \ + and @md.notes.coverage=~/\S+/ + id,info=@translate.coverage,@md.notes.coverage + metadata(id,info) + end + if defined? @md.notes.relation \ + and @md.notes.relation=~/\S+/ + id,info=@translate.relation,@md.notes.relation + metadata(id,info) + end + if defined? @md.notes.type \ + and @md.notes.type=~/\S+/ #dc + id,info=@translate.type,@md.notes.type + metadata(id,info) + end + if defined? @md.notes.format \ + and @md.notes.format=~/\S+/ + id,info=@transate.format,@md.notes.format + metadata(id,info) + end + end + if defined? @md.identifier #% + if defined? @md.identifier.oclc \ + and @md.identifier.oclc=~/\S+/ + id,info=@translate.cls_oclc,@md.identifier.oclc + @manifest[:html] << %{

#{id}:

\n} + @manifest[:html] << %{

#{info}

\n} + @manifest[:html] << %{\n} + end + if defined? @md.identifier.pg \ + and @md.identifier.pg=~/\S+/ + id,info=@translate.cls_gutenberg,@md.identifier.pg + metadata(id,info) + end + if defined? @md.identifier.isbn \ + and @md.identifier.isbn=~/\S+/ + id,info=@translate.cls_isbn,@md.identifier.isbn + metadata(id,info) + end + end + if defined? @md.original.source \ + and @md.original.source=~/\S+/ + id,info=@translate.source,@md.original.source + metadata(id,info) + end + if @md.fns + id,info=@translate.sourcefile,@md.fns + metadata(id,info) + end + if @md.en[:mismatch] > 0 + id,info='WARNING document error in endnote markup, number mismatch',"endnotes: #{@md.en[:note]} != endnote reference marks: #{@md.en[:mark]} (difference = #{@md.en[:mismatch]})" + metadata(id,info) + end + if @md.wc_words + id,info=@translate.word_count,@md.wc_words + metadata(id,info) + end + if @md.dgst + id,info="#{@translate.sourcefile_digest} (#{@dg})",@md.dgst[1] + metadata(id,info) + end + if @md.sc_number + id,info=@translate.sc_number,@md.sc_number + metadata(id,info) + end + if @md.sc_date + id,info=@translate.sc_date,"#{@md.sc_date} at #{@md.sc_time}" + metadata(id,info) + end + if @md.generated + id,info=@translate.last_generated,@md.generated + metadata(id,info) + end + if @md.sisu_version + id,info=@translate.sisu_version,"#{@md.sisu_version[:project]} #{@md.sisu_version[:version]} #{@md.sisu_version[:date_stamp]} (#{@md.sisu_version[:date]})#{@md.sisu_version[:install_method]}" + metadata(id,info) + end + if @md.ruby_version + id,info=@translate.ruby_version,@md.ruby_version + metadata(id,info) + end + end + def links_tests + if defined? @md.lnk \ + and @md.lnk + @md.lnk.each do |l| + if defined? l[:say] + target=(l[:url] !~/^\.(\.)?\//) \ + ? 'external' + : '_top' + url,lnk=l[:url],l[:say] + unless url.nil? \ + or url.empty? + links(url,lnk,target) + end + end + end + end + end + def check_output(data) + begin + make=SiSU_Env::ProcessingSettings.new(@md) + minitoc=SiSU_HTML_MiniToc::TocMini.new(@md,data).songsheet.join("\n") + vz=SiSU_Viz::Defaults.new + format_head_toc=SiSU_HTML_Format::HeadToc.new(@md) + @manifest[:html] <<< + + + +SiSU manifest: #{@md.title.full} + + + + + +#{@stylesheet.css_head} + + +#{format_head_toc.seg_head_navigation_band(:manifest)} +WOK + if make.build.manifest_minitoc? + if @o_str.dump_or_redirect? + elsif @f.output_dir_structure.by_language_code? \ + or @f.output_dir_structure.by_filetype? + minitoc=minitoc.gsub(/ +#{minitoc.to_s} + + +

#{@md.title.full}

+

#{@md.author}

+ + +WOK + published_versions + @manifest[:html] << '
' + @manifest[:html] <<<#{@translate.manifest_description_output} + + + +WOK + output_tests + @manifest[:html] << '

#{@translate.filetype_description}

#{@translate.filename}

#{@translate.file_size}

(kB)

' + @manifest[:html] <<< +WOK + source_tests + @manifest[:html] << '' + @manifest[:html] <<<#{@translate.manifest_description_metadata} + + +WOK + metadata_tests + @manifest[:html] <<< +WOK + @manifest[:html] <<<#{@translate.suggested_links}:

+

#{@translate.metadata}

#{@translate.description}

+WOK + links_tests + @manifest[:html] <<< +WOK + @manifest[:html] <<<#{@translate.language_version_list} +
+ + +WOK + language_versions + qrc_image + @manifest[:html] <<< + +
+
+#{vz.credits_sisu_manifest} +
+ + +WOK + output + rescue + SiSU_Errors::Rescued.new($!,$@,@md.opt.selections.str,@md.fns).location do + __LINE__.to_s + ':' + __FILE__ + end + ensure + end + end + end + end +end +__END__ diff --git a/lib/sisu/v5/hub_actions.rb b/lib/sisu/v5/hub_actions.rb index 869124bc..6b77830d 100644 --- a/lib/sisu/v5/hub_actions.rb +++ b/lib/sisu/v5/hub_actions.rb @@ -542,7 +542,7 @@ module SiSU_Hub_Actions def manifest? if @opt.act[:manifest][:set]==:on #% --manifest, -y if @opt.f_pths.length > 0 - require_relative 'manifest' # manifest.rb + require_relative 'html_manifest' # html_manifest.rb ((@opt.act[:sisupod][:set]==:on \ || @opt.act[:share_source][:set]==:on) \ && @opt.f_pths.length < 2 ) \ @@ -666,7 +666,7 @@ module SiSU_Hub_Actions || @opt.act[:share_source][:set]==:on) \ and @opt.act[:manifest][:set]==:on #% --manifest, -y if @opt.f_pths.length > 0 - require_relative 'manifest' # manifest.rb + require_relative 'html_manifest' # html_manifest.rb begin ensure SiSU_Hub_Loops::OptionLoopFiles.new(@opt). @@ -800,9 +800,9 @@ module SiSU_Hub_Actions def manifest? if @opt.act[:manifest][:set]==:on #% --manifest, -y if @opt.f_pths.length > 1 - require_relative 'manifest' + require_relative 'html_manifest' SiSU_Hub_Loops::OptionLoopFiles.new(@opt).manifest_on_files_translated do - SiSU_Manifest::Source.new(@opt).read # manifest.rb + SiSU_Manifest::Source.new(@opt).read # html_manifest.rb end end end diff --git a/lib/sisu/v5/manifest.rb b/lib/sisu/v5/manifest.rb deleted file mode 100644 index e1ef821b..00000000 --- a/lib/sisu/v5/manifest.rb +++ /dev/null @@ -1,1032 +0,0 @@ -# encoding: utf-8 -=begin - - * Name: SiSU - - * Description: a framework for document structuring, publishing and search - - * Author: Ralph Amissah - - * Copyright: (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, - 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014 Ralph Amissah, - All Rights Reserved. - - * License: GPL 3 or later: - - SiSU, a framework for document structuring, publishing and search - - Copyright (C) Ralph Amissah - - This program is free software: you can redistribute it and/or modify it - under the terms of the GNU General Public License as published by the Free - Software Foundation, either version 3 of the License, or (at your option) - any later version. - - This program is distributed in the hope that it will be useful, but WITHOUT - ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for - more details. - - You should have received a copy of the GNU General Public License along with - this program. If not, see . - - If you have Internet connection, the latest version of the GPL should be - available at these locations: - - - - - - * SiSU uses: - * Standard SiSU markup syntax, - * Standard SiSU meta-markup syntax, and the - * Standard SiSU object citation numbering and system - - * Hompages: - - - - * Download: - - - * Git - - - - * Ralph Amissah - - - - ** Description: summary of generated outputs and metadata - -=end -module SiSU_Manifest - require_relative 'se' # se.rb - include SiSU_Env - require_relative 'prog_text_translation' # prog_text_translation.rb - require_relative 'se_hub_particulars' # se_hub_particulars.rb - include SiSU_Particulars - require_relative 'html_minitoc' # html_minitoc.rb - require_relative 'html' # html.rb - include SiSU_HTML_Format - require_relative 'dp' # dp.rb - include SiSU_Param - require_relative 'i18n' # i18n.rb - include SiSU_Viz - class Source - def initialize(opt) - @opt=opt - @particulars=SiSU_Particulars::CombinedSingleton.instance.get_all(opt) - l=SiSU_Env::StandardiseLanguage.new(opt.lng).language - @doc_language=l[:n] - end - def read - begin - @env=SiSU_Env::InfoEnv.new(@opt.fns) - @md=SiSU_Param::Parameters.new(@opt).get - xbrowser=@env.program.web_browser - browser=@env.program.console_web_browser -# webserv_url=@env.path.url.output_tell #fix in sysenv - unless @opt.act[:quiet][:set]==:on - url_html='file://' \ - + @md.file.output_path.manifest.dir + '/' \ - + @md.file.base_filename.manifest - (@opt.act[:verbose][:set]==:on \ - || @opt.act[:verbose_plus][:set]==:on \ - || @opt.act[:maintenance][:set]==:on) \ - ? SiSU_Screen::Ansi.new( - @opt.act[:color_state][:set], - 'Manifest', - "#{xbrowser} #{url_html}" - ).green_hi_blue - : SiSU_Screen::Ansi.new( - @opt.act[:color_state][:set], - 'Manifest', - "[#{@opt.f_pth[:lng_is]}]", - "#{url_html}" - ).grey_title_grey_blue - if (@md.opt.act[:verbose][:set]==:on \ - || @md.opt.act[:verbose_plus][:set]==:on) - SiSU_Screen::Ansi.new( - @opt.act[:color_state][:set], - "#{browser} #{url_html}" - ).grey_tab - end - end - data=SiSU_HTML::Source::HTML_Environment.new(@particulars).tuned_file_instructions - SiSU_Manifest::Source::Output.new(@md).check_output(data) - rescue - SiSU_Errors::Rescued.new($!,$@,@opt.selections.str,@opt.fns).location do - __LINE__.to_s + ':' + __FILE__ - end - ensure - SiSU_Env::CreateSite.new(@opt).cp_css - Dir.chdir(@opt.f_pth[:pth]) - end - end - private - class Output #{@brace_url.xml_open}#{url}/#{file}#{@brace_url.xml_close}} - else - %{

#{@brace_url.xml_open}#{url}/#{file}#{@brace_url.xml_close}

} - end - end - def summarize(id,file,pth='',rel='',url='',img='● ') - size=(File.size("#{pth}/#{file}")/1024.00).to_s - kb=/([0-9]+\.[0-9]{0,1})/m.match(size)[1] - @manifest[:txt] << "#{file} #{id} #{kb}\n" - @manifest[:html] << %{
\n} - end - def summarize_html_seg(id,file,pth='',rel='',url='',img='● ') - size=(File.size("#{pth}/#{file}")/1024.00).to_s - kb=/([0-9]+\.[0-9]{0,1})/m.match(size)[1] - @manifest[:txt] << "#{file} #{id} #{kb}\n" - @manifest[:html] << %{\n} - end - def summarize_sources(id,file,pth,rel,url) - sys=SiSU_Env::SystemCall.new - dgst=case @dg - when :sha512 - sys.sha512("#{pth}/#{file}") - when :sha256 - sys.sha256("#{pth}/#{file}") - when :md5 - sys.md5("#{pth}/#{file}") - else - end - dgst=dgst ? dgst : [ '', 'n/a' ] - if (@md.opt.act[:verbose][:set]==:on \ - || @md.opt.act[:verbose_plus][:set]==:on \ - || @md.opt.act[:maintenance][:set]==:on) - SiSU_Screen::Ansi.new( - @md.opt.act[:color_state][:set], - "#{dgst[1]} #{file}" - ).warn - end - size=(File.size("#{pth}/#{file}")/1024.00).to_s - kb=/([0-9]+\.[0-9]{0,1})/m.match(size)[1] - @manifest[:txt] << "#{file} #{id} #{kb}\n" - @manifest[:html] << %{} \ - + %{} \ - + %{} \ - + %{} \ - + %{\n} \ - if kb and kb =~/\d+/ - end - def published_manifests? - @f=SiSU_Env::FileOp.new(@md) #.base_filename - @m=[] - url=@f.output_path.base.url - manifests={} - mp,mn,mt,mr=nil,nil,nil,nil - ln=SiSU_i18n::Languages.new.language.list - Px[:lng_lst].each do |lc| - lngc=SiSU_Env::FilenameLanguageCodeInsert.new(@md.opt,lc).language_code_insert - fnh={ - fn: @md.fnb, - lng: lngc, - } - mn=@f.base_filename.manifest(fnh) - if @o_str.dump_or_redirect? #does not work for --redirect or --dump - mp="#{@f.output_path.base.dir}" - mt="#{mp}/#{mn}" - mr="../../#{lc}/manifest/#{mn}" - mu="#{url}/#{mn}" - elsif @f.output_dir_structure.by_language_code? - mp="#{@f.output_path.base.dir}/#{lc}/manifest" - mt="#{mp}/#{mn}" - mr="../../#{lc}/manifest/#{mn}" - mu="#{url}/#{lc}/manifest/#{mn}" - elsif @f.output_dir_structure.by_filetype? - mp="#{@f.output_path.base.dir}/manifest" - mt="#{mp}/#{mn}" - mr=mn - mu="#{url}/manifest/#{mn}" - else - mp="#{@f.output_path.base.dir}/#{@md.fnb}" - mt="#{mp}/#{mn}" - mr=mn - mu="#{url}/#{mn}" - end - if FileTest.directory?(mp) \ - && FileTest.file?(mt) - lng=ln[lc][:t] - manifests[lc]={ ln: lng, fn: mn, rel: mr } - @m << { mu: mu, l: lng, rel: mr } - end - end - @m=@m.uniq - end - def languages(id,file) - @manifest[:html] << %{\n} - end - def published_languages(id) - published_manifests?.each do |l| - @manifest[:txt] << "#{l[:mu]} #{l[:l]}\n" - @manifest[:html] << %{\n} - end - end - def metadata(id,info) - info=info.to_s.gsub(/(?:#{Mx[:br_line]}|\\)+/,'
') - @manifest[:html] << %{\n} - end - def links(url,lnk,target) - static=if url =~/^\.\// then url.gsub(/^\.(\.)?/,@base_url) - elsif url =~/^\.\.\// then url.gsub(/^\.(\.)?/,@env.url.root) - else url - end - @manifest[:html] << %{\n} - end - def output_tests - if FileTest.file?(@f.place_file.html_segtoc.dir)==true - img=%{TOC linked } - pth=@f.output_path.html_seg.dir - rel=@f.output_path.html_seg.rel_sm - url=@f.output_path.html_seg.url - id,file='HTML, table of contents (for segmented text)',@f.base_filename.html_segtoc - summarize_html_seg(id,file,pth,rel,url,img) - end - if FileTest.file?(@f.place_file.html_scroll.dir)==true - img=%{Full Text } - pth=@f.output_path.html_scroll.dir - rel=@f.output_path.html_scroll.rel_sm - url=@f.output_path.html_scroll.url - id,file='HTML, full length document',@f.base_filename.html_scroll - summarize(id,file,pth,rel,url,img) - end - if FileTest.file?(@f.place_file.html_book_index.dir)==true - pth=@f.output_path.html_seg.dir - rel=@f.output_path.html_seg.rel_sm - url=@f.output_path.html_seg.url - id,file='HTML, (book type) index',@f.base_filename.html_book_index - summarize(id,file,pth,rel,url) - end - if FileTest.file?(@f.place_file.html_concordance.dir)==true - pth=@f.output_path.html_seg.dir - rel=@f.output_path.html_seg.rel_sm - url=@f.output_path.html_seg.url - id,file='HTML, concordance file',@f.base_filename.html_concordance - summarize(id,file,pth,rel,url) - end - if FileTest.file?(@f.place_file.epub.dir)==true - img=%{EPUB } - id,file='EPUB (Electronic Publication, e-book standard)',@f.base_filename.epub - pth=@f.output_path.epub.dir - rel=@f.output_path.epub.rel_sm - url=@f.output_path.epub.url - summarize(id,file,pth,rel,url,img) - end - if FileTest.file?("#{@f.output_path.pdf.dir}/#{@f.base_filename.pdf_p_letter}")==true - img=%{PDF portrait } - pth=@f.output_path.pdf.dir - rel=@f.output_path.pdf.rel_sm - url=@f.output_path.pdf.url - id,file="PDF, U.S. letter size, portrait/vertical document (recommended for printing)","#{@f.base_filename.pdf_p_letter}" - summarize(id,file,pth,rel,url,img) - end - if FileTest.file?("#{@f.output_path.pdf.dir}/#{@f.base_filename.pdf_l_letter}")==true - img=%{PDF landscape } - pth=@f.output_path.pdf.dir - rel=@f.output_path.pdf.rel_sm - url=@f.output_path.pdf.url - id,file="PDF, U.S. letter size, landscape/horizontal document (recommended for screen viewing)","#{@f.base_filename.pdf_l_letter}" - summarize(id,file,pth,rel,url,img) - end - if FileTest.file?("#{@f.output_path.pdf.dir}/#{@f.base_filename.pdf_p_a4}")==true - img=%{PDF portrait } - pth=@f.output_path.pdf.dir - rel=@f.output_path.pdf.rel_sm - url=@f.output_path.pdf.url - id,file="PDF, A4 size, portrait/vertical document (recommended for printing)","#{@f.base_filename.pdf_p_a4}" - summarize(id,file,pth,rel,url,img) - end - if FileTest.file?("#{@f.output_path.pdf.dir}/#{@f.base_filename.pdf_l_a4}")==true - img=%{PDF landscape } - pth=@f.output_path.pdf.dir - rel=@f.output_path.pdf.rel_sm - url=@f.output_path.pdf.url - id,file="PDF, A4 size, landscape/horizontal document (recommended for screen viewing)","#{@f.base_filename.pdf_l_a4}" - summarize(id,file,pth,rel,url,img) - end - if FileTest.file?("#{@f.output_path.pdf.dir}/#{@f.base_filename.pdf_p_a5}")==true - img=%{PDF portrait } - pth=@f.output_path.pdf.dir - rel=@f.output_path.pdf.rel_sm - url=@f.output_path.pdf.url - id,file="PDF, A5 (book) size, portrait/vertical document (recommended for printing)","#{@f.base_filename.pdf_p_a5}" - summarize(id,file,pth,rel,url,img) - end - if FileTest.file?("#{@f.output_path.pdf.dir}/#{@f.base_filename.pdf_l_a5}")==true - img=%{PDF landscape } - pth=@f.output_path.pdf.dir - rel=@f.output_path.pdf.rel_sm - url=@f.output_path.pdf.url - id,file="PDF, A5 (book) size, landscape/horizontal document (recommended for screen viewing)","#{@f.base_filename.pdf_l_a5}" - summarize(id,file,pth,rel,url,img) - end - if FileTest.file?("#{@f.output_path.pdf.dir}/#{@f.base_filename.pdf_p_b5}")==true - img=%{PDF portrait } - pth=@f.output_path.pdf.dir - rel=@f.output_path.pdf.rel_sm - url=@f.output_path.pdf.url - id,file="PDF, B5 (book) size, portrait/vertical document (recommended for printing)","#{@f.base_filename.pdf_p_b5}" - summarize(id,file,pth,rel,url,img) - end - if FileTest.file?("#{@f.output_path.pdf.dir}/#{@f.base_filename.pdf_l_b5}")==true - img=%{PDF landscape } - pth=@f.output_path.pdf.dir - rel=@f.output_path.pdf.rel_sm - url=@f.output_path.pdf.url - id,file="PDF, B5 (book) size, landscape/horizontal document (recommended for screen viewing)","#{@f.base_filename.pdf_l_b5}" - summarize(id,file,pth,rel,url,img) - end - if FileTest.file?("#{@f.output_path.pdf.dir}/#{@f.base_filename.pdf_p_legal}")==true - img=%{PDF portrait } - pth=@f.output_path.pdf.dir - rel=@f.output_path.pdf.rel_sm - url=@f.output_path.pdf.url - id,file="PDF, U.S. legal size, portrait/vertical document (recommended for printing)","#{@f.base_filename.pdf_p_legal}" - summarize(id,file,pth,rel,url,img) - end - if FileTest.file?("#{@f.output_path.pdf.dir}/#{@f.base_filename.pdf_l_legal}")==true - img=%{PDF landscape } - pth=@f.output_path.pdf.dir - rel=@f.output_path.pdf.rel_sm - url=@f.output_path.pdf.url - id,file="PDF, U.S. legal size, landscape/horizontal document (recommended for screen viewing)","#{@f.base_filename.pdf_l_legal}" - summarize(id,file,pth,rel,url,img) - end - if FileTest.file?(@f.place_file.odt.dir)==true - img=%{ODF/ODT } - pth=@f.output_path.odt.dir - rel=@f.output_path.odt.rel_sm - url=@f.output_path.odt.url - id,file='ODF:ODT (Open Document Format)',@f.base_filename.odt - summarize(id,file,pth,rel,url,img) - end - if FileTest.file?(@f.place_file.xhtml.dir)==true - pth=@f.output_path.xhtml.dir - rel=@f.output_path.xhtml.rel_sm - url=@f.output_path.xhtml.url - id,file='ODF:ODT (Open Document Format)',@f.base_filename.odt - id,file='XHTML',@f.base_filename.xhtml - summarize(id,file,pth,rel,url) - end - if FileTest.file?(@f.place_file.xml_sax.dir)==true - pth=@f.output_path.xml_sax.dir - rel=@f.output_path.xml_sax.rel_sm - url=@f.output_path.xml_sax.url - id,file='XML SAX',@f.base_filename.xml_sax - summarize(id,file,pth,rel,url) - end - if FileTest.file?(@f.place_file.xml_dom.dir)==true - pth=@f.output_path.xml_dom.dir - rel=@f.output_path.xml_dom.rel_sm - url=@f.output_path.xml_dom.url - id,file='XML DOM',@f.base_filename.xml_dom - summarize(id,file,pth,rel,url) - end - if FileTest.file?(@f.place_file.xml_docbook_article.dir)==true - pth=@f.output_path.xml_docbook_article.dir - rel=@f.output_path.xml_docbook_article.rel_sm - url=@f.output_path.xml_docbook_article.url - id,file='XML Docbook Book',@f.base_filename.xml_docbook_article - summarize(id,file,pth,rel,url) - end - if FileTest.file?(@f.place_file.xml_docbook_book.dir)==true - pth=@f.output_path.xml_docbook_book.dir - rel=@f.output_path.xml_docbook_book.rel_sm - url=@f.output_path.xml_docbook_book.url - id,file='XML Docbook Book',@f.base_filename.xml_docbook_book - summarize(id,file,pth,rel,url) - end - if FileTest.file?(@f.place_file.xml_fictionbook.dir)==true - pth=@f.output_path.xml_fictionbook.dir - rel=@f.output_path.xml_fictionbook.rel_sm - url=@f.output_path.xml_fictionbook.url - id,file='XML Fictionbook',@f.base_filename.xml_fictionbook - summarize(id,file,pth,rel,url) - end - if FileTest.file?(@f.place_file.xml_scaffold_structure_sisu.dir)==true - pth=@f.output_path.xml_scaffold_structure_sisu.dir - rel=@f.output_path.xml_scaffold_structure_sisu.rel_sm - url=@f.output_path.xml_scaffold_structure_sisu.url - id,file='XML Scaffold sisu structure',@f.base_filename.xml_scaffold_structure_sisu - summarize(id,file,pth,rel,url) - end - if FileTest.file?(@f.place_file.xml_scaffold_structure_collapse.dir)==true - pth=@f.output_path.xml_scaffold_structure_collapse.dir - rel=@f.output_path.xml_scaffold_structure_collapse.rel_sm - url=@f.output_path.xml_scaffold_structure_collapse.url - id,file='XML Scaffold collapsed structure',@f.base_filename.xml_scaffold_structure_collapse - summarize(id,file,pth,rel,url) - end - if FileTest.file?(@f.place_file.info.dir)==true - pth=@f.output_path.texinfo.dir - rel=@f.output_path.texinfo.rel_sm - url=@f.output_path.texinfo.url - id,file='Info file',@f.base_filename.info - summarize(id,file,pth,rel,url) - end - if FileTest.file?(@f.place_file.manpage.dir)==true - pth=@f.output_path.manpage.dir - rel=@f.output_path.manpage.rel_sm - url=@f.output_path.manpage.url - id,file='Manpage',@f.base_filename.manpage - summarize(id,file,pth,rel,url) - end - if FileTest.file?(@f.place_file.sqlite_discrete.dir)==true - id,file='SQLite3 file',@f.base_filename.sqlite_discrete - pth=@f.output_path.sqlite_discrete.dir - rel=@f.output_path.sqlite_discrete.rel_sm - url=@f.output_path.sqlite_discrete.url - summarize(id,file,pth,rel,url) - end - if FileTest.file?(@f.place_file.txt.dir)==true - id='Plaintext (UTF-8)' - pth=@f.output_path.txt.dir - rel=@f.output_path.txt.rel_sm - url=@f.output_path.txt.url - file=@f.base_filename.txt - summarize(id,file,pth,rel,url) - end - if FileTest.file?(@f.place_file.textile.dir)==true - id='Textile text (UTF-8)' - pth=@f.output_path.textile.dir - rel=@f.output_path.textile.rel_sm - url=@f.output_path.textile.url - file=@f.base_filename.textile - summarize(id,file,pth,rel,url) - end - if FileTest.file?(@f.place_file.asciidoc.dir)==true - id='AsciiDoc text (UTF-8)' - pth=@f.output_path.asciidoc.dir - rel=@f.output_path.asciidoc.rel_sm - url=@f.output_path.asciidoc.url - file=@f.base_filename.asciidoc - summarize(id,file,pth,rel,url) - end - if FileTest.file?(@f.place_file.markdown.dir)==true - id='Markdown text (UTF-8)' - pth=@f.output_path.markdown.dir - rel=@f.output_path.markdown.rel_sm - url=@f.output_path.markdown.url - file=@f.base_filename.markdown - summarize(id,file,pth,rel,url) - end - if FileTest.file?(@f.place_file.rst.dir)==true - id='rST text (UTF-8)' - pth=@f.output_path.rst.dir - rel=@f.output_path.rst.rel_sm - url=@f.output_path.rst.url - file=@f.base_filename.rst - summarize(id,file,pth,rel,url) - end - if FileTest.file?("#{@base_path}/#{@md.fns}.tex")==true - id,file='LaTeX (portrait)',"#{@md.fns}.tex" - pth,rel,url='','','' - summarize(id,file,pth,rel,url) - end - if FileTest.file?("#{@base_path}/#{@md.fns}.tex")==true - id,file='LaTeX (landscape)',"#{@md.fns}.landscape.tex" - pth,rel,url='','','' - summarize(id,file,pth,rel,url) - end - if FileTest.file?(@f.place_file.hash_digest.dir)==true - pth=@f.output_path.hash_digest.dir - rel=@f.output_path.hash_digest.rel_sm - url=@f.output_path.hash_digest.url - id,file="Digest/DCC - Document Content Certificate (#{@dg})",@f.base_filename.hash_digest - summarize(id,file,pth,rel,url) - end - end - def published_versions - id,file='Markup (SiSU source)',@md.fns - languages(id,file) - end - def language_versions - if FileTest.file?(@f.place_file.manifest.dir)==true - id='Markup (SiSU source)' - published_languages(id) - end - end - def qrc_image - fn=(@f.output_dir_structure.by_filename?) \ - ? 'sisu_manifest' - : @md.fnb - pth=((@o_str.dump_or_redirect?) \ - || (@f.output_dir_structure.by_filename?)) \ - ? '.' - : 'qrcode' - img_md="#{pth}/#{fn}#{@fn_lng}.md.png" - img_title="#{pth}/#{fn}#{@fn_lng}.title.png" - if FileTest.file?(@f.place_file.qrcode_md.dir)==true - @manifest[:html] <<< -WOK - end - if FileTest.file?(@f.place_file.qrcode_title.dir)==true - @manifest[:html] <<< -WOK - end - end - def source_tests - if @md.fno =~/\.ssm$/ #% decide whether to extract and include requested/required documents - if FileTest.file?(@f.place_file.src.dir)==true - pth=@f.output_path.src.dir - rel=@f.output_path.src.rel_sm - url=@f.output_path.src.url - id,file='Markup Composite File (SiSU source)',@f.base_filename.src - summarize_sources(id,file,pth,rel,url) - end - else - if FileTest.file?(@f.place_file.src.dir)==true - pth=@f.output_path.src.dir - rel=@f.output_path.src.rel_sm - url=@f.output_path.src.url - id,file='Markup (SiSU source)',@f.base_filename.src - summarize_sources(id,file,pth,rel,url) - end - end - if FileTest.file?(@f.place_file.sisupod.dir)==true - pth=@f.output_path.sisupod.dir - rel=@f.output_path.sisupod.rel_sm - url=@f.output_path.sisupod.url - id,file='SiSU doc (tar.xz)',@f.base_filename.sisupod - summarize_sources(id,file,pth,rel,url) - end - if FileTest.file?(@f.place_file.pot.dir)==true - pth=@f.output_path.pot.dir - rel=@f.output_path.pot.rel_sm - url=@f.output_path.pot.url - id,file='SiSU pot',@f.base_filename.pot - summarize_sources(id,file,pth,rel,url) - end - end - def metadata_tests - if defined? @md.title #% - if defined? @md.title.full \ - and @md.title.full=~/\S+/ - id,info=@translate.full_title,@md.title.full - metadata(id,info) - end - end - if defined? @md.creator #% - if defined? @md.creator.author \ - and @md.creator.author=~/\S+/ - id,info=@translate.author,@md.creator.author - metadata(id,info) - end - if defined? @md.creator.editor \ - and @md.creator.editor=~/\S+/ - id,info=@translate.editor,@md.creator.editor - metadata(id,info) - end - if defined? @md.creator.contributor \ - and @md.creator.contributor=~/\S+/ - id,info=@translate.contributor,@md.creator.contributor - metadata(id,info) - end - if defined? @md.creator.translator \ - and @md.creator.translator=~/\S+/ - id,info=@translate.translator,@md.creator.translator - metadata(id,info) - end - if defined? @md.creator.illustrator \ - and @md.creator.illustrator=~/\S+/ - id,info=@translate.illustrator,@md.creator.illustrator - metadata(id,info) - end - if defined? @md.creator.prepared_by \ - and @md.creator.prepared_by=~/\S+/ - id,info=@translate.prepared_by,@md.creator.prepared_by - metadata(id,info) - end - if defined? @md.creator.digitized_by \ - and @md.creator.digitized_by=~/\S+/ - id,info=@translate.digitized_by,@md.creator.digitized_by - metadata(id,info) - end - end - if defined? @md.rights - if defined? @md.rights.all \ - and @md.rights.all=~/\S+/ #dc - id,info=@translate.rights,@md.rights.all - metadata(id,info) - end - end - if defined? @md.date #% - if defined? @md.date.published \ - and @md.date.published=~/\S+/ #dc - id,info=@translate.date,@md.date.published - metadata(id,info) - end - if defined? @md.date.created \ - and @md.date.created=~/\S+/ #dc - id,info=@translate.date_created,@md.date.created - metadata(id,info) - end - if defined? @md.date.issued \ - and @md.date.issued=~/\S+/ #dc - id,info=@translate.date_issued,@md.date.issued - metadata(id,info) - end - if defined? @md.date.available \ - and @md.date.available=~/\S+/ #dc - id,info=@translate.date_available,@md.date.available - metadata(id,info) - end - if defined? @md.date.modified \ - and @md.date.modified=~/\S+/ #dc - id,info=@translate.date_modified,@md.date.modified - metadata(id,info) - end - if defined? @md.date.valid \ - and @md.date.valid=~/\S+/ #dc - id,info=@translate.date_valid,@md.date.valid - metadata(id,info) - end - end - if defined? @md.publisher \ - and @md.publisher=~/\S+/ #dc - id,info=@translate.publisher,@md.publisher - metadata(id,info) - end - if defined? @md.notes #% - if defined? @md.notes.description \ - and @md.notes.description=~/\S+/ - id,info=@translate.description,@md.notes.description - metadata(id,info) - end - if defined? @md.notes.abstract \ - and @md.notes.abstract=~/\S+/ - id,info=@translate.abstract,@md.notes.abstract - metadata(id,info) - end - if defined? @md.notes.comment \ - and @md.notes.comment=~/\S+/ - id,info=@translate.comments,@md.notes.comment - metadata(id,info) - end - if defined? @md.notes.prefix_a \ - and @md.notes.prefix_a=~/\S+/ - id,info=@translate.prefix_a,@md.notes.prefix_a - metadata(id,info) - end - if defined? @md.notes.prefix_b \ - and @md.notes.prefix_b=~/\S+/ - id,info=@translate.prefix_b,@md.notes.prefix_b - metadata(id,info) - end - end - if defined? @md.title #% - if defined? @md.title.language \ - and @md.title.language=~/\S+/ - id,info=@translate.language,@md.title.language - metadata(id,info) - end - if defined? @md.original.language \ - and @md.original.language=~/\S+/ - id,info=@translate.language_original,@md.original.language - metadata(id,info) - end - end - if defined? @md.classify #% - if defined? @md.topic_register_array \ - and @md.topic_register_array.length > 0 - @manifest[:html] << %{\n} - end - if defined? @md.classify.subject \ - and @md.classify.subject=~/\S+/ - id,info=@translate.subject,@md.classify.subject - metadata(id,info) - end - if defined? @md.classify.keywords \ - and @md.classify.keywords=~/\S+/ - id,info=@translate.keywords,@md.classify.keywords - metadata(id,info) - end - if defined? @md.classify.loc \ - and @md.classify.loc=~/\S+/ - id,info=@translate.cls_loc,@md.classify.loc - metadata(id,info) - end - if defined? @md.classify.dewey \ - and @md.classify.dewey=~/\S+/ - id,info=@translate.cls_dewey,@md.classify.dewey - metadata(id,info) - end - if defined? @md.notes.coverage \ - and @md.notes.coverage=~/\S+/ - id,info=@translate.coverage,@md.notes.coverage - metadata(id,info) - end - if defined? @md.notes.relation \ - and @md.notes.relation=~/\S+/ - id,info=@translate.relation,@md.notes.relation - metadata(id,info) - end - if defined? @md.notes.type \ - and @md.notes.type=~/\S+/ #dc - id,info=@translate.type,@md.notes.type - metadata(id,info) - end - if defined? @md.notes.format \ - and @md.notes.format=~/\S+/ - id,info=@transate.format,@md.notes.format - metadata(id,info) - end - end - if defined? @md.identifier #% - if defined? @md.identifier.oclc \ - and @md.identifier.oclc=~/\S+/ - id,info=@translate.cls_oclc,@md.identifier.oclc - @manifest[:html] << %{\n} - end - if defined? @md.identifier.pg \ - and @md.identifier.pg=~/\S+/ - id,info=@translate.cls_gutenberg,@md.identifier.pg - metadata(id,info) - end - if defined? @md.identifier.isbn \ - and @md.identifier.isbn=~/\S+/ - id,info=@translate.cls_isbn,@md.identifier.isbn - metadata(id,info) - end - end - if defined? @md.original.source \ - and @md.original.source=~/\S+/ - id,info=@translate.source,@md.original.source - metadata(id,info) - end - if @md.fns - id,info=@translate.sourcefile,@md.fns - metadata(id,info) - end - if @md.en[:mismatch] > 0 - id,info='WARNING document error in endnote markup, number mismatch',"endnotes: #{@md.en[:note]} != endnote reference marks: #{@md.en[:mark]} (difference = #{@md.en[:mismatch]})" - metadata(id,info) - end - if @md.wc_words - id,info=@translate.word_count,@md.wc_words - metadata(id,info) - end - if @md.dgst - id,info="#{@translate.sourcefile_digest} (#{@dg})",@md.dgst[1] - metadata(id,info) - end - if @md.sc_number - id,info=@translate.sc_number,@md.sc_number - metadata(id,info) - end - if @md.sc_date - id,info=@translate.sc_date,"#{@md.sc_date} at #{@md.sc_time}" - metadata(id,info) - end - if @md.generated - id,info=@translate.last_generated,@md.generated - metadata(id,info) - end - if @md.sisu_version - id,info=@translate.sisu_version,"#{@md.sisu_version[:project]} #{@md.sisu_version[:version]} #{@md.sisu_version[:date_stamp]} (#{@md.sisu_version[:date]})#{@md.sisu_version[:install_method]}" - metadata(id,info) - end - if @md.ruby_version - id,info=@translate.ruby_version,@md.ruby_version - metadata(id,info) - end - end - def links_tests - if defined? @md.lnk \ - and @md.lnk - @md.lnk.each do |l| - if defined? l[:say] - target=(l[:url] !~/^\.(\.)?\//) \ - ? 'external' - : '_top' - url,lnk=l[:url],l[:say] - unless url.nil? \ - or url.empty? - links(url,lnk,target) - end - end - end - end - end - def check_output(data) - begin - make=SiSU_Env::ProcessingSettings.new(@md) - minitoc=SiSU_HTML_MiniToc::TocMini.new(@md,data).songsheet.join("\n") - vz=SiSU_Viz::Defaults.new - format_head_toc=SiSU_HTML_Format::HeadToc.new(@md) - @manifest[:html] <<< - - - -SiSU manifest: #{@md.title.full} - - - - - -#{@stylesheet.css_head} - - -#{format_head_toc.seg_head_navigation_band(:manifest)} -WOK - if make.build.manifest_minitoc? - if @o_str.dump_or_redirect? - elsif @f.output_dir_structure.by_language_code? \ - or @f.output_dir_structure.by_filetype? - minitoc=minitoc.gsub(/ -#{minitoc.to_s} - - -

#{@md.title.full}

-

#{@md.author}

- -

#{@translate.filename}

#{@translate.description}

 

#{img}#{id}

#{file}

#{url_make(url,file)}

#{kb}

#{img}#{id}

#{file}

#{url_make(url,file)}

#{kb}

#{id}

#{file}   #{dgst[1]}#{url_make(url,file,:src)}

#{kb}

#{l[:l]}

#{l[:l]}

#{@brace_url.xml_open}#{l[:mu]}#{@brace_url.xml_close}

 

#{id}:

#{info}

#{lnk}

  #{@brace_url.xml_open}#{static}#{@brace_url.xml_close}

-

QR code SiSU document metadata:

-

- qrcode metadata -

-
-

QR code document title info:

-

- qrcode title -

-

#{@translate.topic_register}:

\n} - @md.topic_register_array.each do |t| - t.each_with_index do |st,i| - if st.is_a?(Array) - st.each do |v| - if v.is_a?(Array) - v.each do |w| - @manifest[:html] << %{

#{w}

\n} - end - else - @manifest[:html] << %{

#{v}

\n} - end - end - else @manifest[:html] << %{

#{st}

\n} - end - end - end - @manifest[:html] << %{

#{id}:

\n} - @manifest[:html] << %{

#{info}

\n} - @manifest[:html] << %{
-WOK - published_versions - @manifest[:html] << '
' - @manifest[:html] <<<#{@translate.manifest_description_output} - - - -WOK - output_tests - @manifest[:html] << '

#{@translate.filetype_description}

#{@translate.filename}

#{@translate.file_size}

(kB)

' - @manifest[:html] <<< -WOK - source_tests - @manifest[:html] << '' - @manifest[:html] <<<#{@translate.manifest_description_metadata} - - -WOK - metadata_tests - @manifest[:html] <<< -WOK - @manifest[:html] <<<#{@translate.suggested_links}:

-

#{@translate.metadata}

#{@translate.description}

-WOK - links_tests - @manifest[:html] <<< -WOK - @manifest[:html] <<<#{@translate.language_version_list} -
- - -WOK - language_versions - qrc_image - @manifest[:html] <<< - -
-
-#{vz.credits_sisu_manifest} -
- - -WOK - output - rescue - SiSU_Errors::Rescued.new($!,$@,@md.opt.selections.str,@md.fns).location do - __LINE__.to_s + ':' + __FILE__ - end - ensure - end - end - end - end -end -__END__ diff --git a/lib/sisu/v6/html_manifest.rb b/lib/sisu/v6/html_manifest.rb new file mode 100644 index 00000000..1057cd2b --- /dev/null +++ b/lib/sisu/v6/html_manifest.rb @@ -0,0 +1,1032 @@ +# encoding: utf-8 +=begin + + * Name: SiSU + + * Description: a framework for document structuring, publishing and search + + * Author: Ralph Amissah + + * Copyright: (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, + 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014 Ralph Amissah, + All Rights Reserved. + + * License: GPL 3 or later: + + SiSU, a framework for document structuring, publishing and search + + Copyright (C) Ralph Amissah + + This program is free software: you can redistribute it and/or modify it + under the terms of the GNU General Public License as published by the Free + Software Foundation, either version 3 of the License, or (at your option) + any later version. + + This program is distributed in the hope that it will be useful, but WITHOUT + ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for + more details. + + You should have received a copy of the GNU General Public License along with + this program. If not, see . + + If you have Internet connection, the latest version of the GPL should be + available at these locations: + + + + + + * SiSU uses: + * Standard SiSU markup syntax, + * Standard SiSU meta-markup syntax, and the + * Standard SiSU object citation numbering and system + + * Hompages: + + + + * Download: + + + * Git + + + + * Ralph Amissah + + + + ** Description: summary of generated outputs and metadata + +=end +module SiSU_Manifest + require_relative 'se' # se.rb + include SiSU_Env + require_relative 'prog_text_translation' # prog_text_translation.rb + require_relative 'se_hub_particulars' # se_hub_particulars.rb + include SiSU_Particulars + require_relative 'html_minitoc' # html_minitoc.rb + require_relative 'html' # html.rb + include SiSU_HTML_Format + require_relative 'dp' # dp.rb + include SiSU_Param + require_relative 'i18n' # i18n.rb + include SiSU_Viz + class Source + def initialize(opt) + @opt=opt + @particulars=SiSU_Particulars::CombinedSingleton.instance.get_all(opt) + l=SiSU_Env::StandardiseLanguage.new(opt.lng).language + @doc_language=l[:n] + end + def read + begin + @env=SiSU_Env::InfoEnv.new(@opt.fns) + @md=SiSU_Param::Parameters.new(@opt).get + xbrowser=@env.program.web_browser + browser=@env.program.console_web_browser +# webserv_url=@env.path.url.output_tell #fix in sysenv + unless @opt.act[:quiet][:set]==:on + url_html='file://' \ + + @md.file.output_path.manifest.dir + '/' \ + + @md.file.base_filename.manifest + (@opt.act[:verbose][:set]==:on \ + || @opt.act[:verbose_plus][:set]==:on \ + || @opt.act[:maintenance][:set]==:on) \ + ? SiSU_Screen::Ansi.new( + @opt.act[:color_state][:set], + 'Manifest', + "#{xbrowser} #{url_html}" + ).green_hi_blue + : SiSU_Screen::Ansi.new( + @opt.act[:color_state][:set], + 'Manifest', + "[#{@opt.f_pth[:lng_is]}]", + "#{url_html}" + ).grey_title_grey_blue + if (@md.opt.act[:verbose][:set]==:on \ + || @md.opt.act[:verbose_plus][:set]==:on) + SiSU_Screen::Ansi.new( + @opt.act[:color_state][:set], + "#{browser} #{url_html}" + ).grey_tab + end + end + data=SiSU_HTML::Source::HTML_Environment.new(@particulars).tuned_file_instructions + SiSU_Manifest::Source::Output.new(@md).check_output(data) + rescue + SiSU_Errors::Rescued.new($!,$@,@opt.selections.str,@opt.fns).location do + __LINE__.to_s + ':' + __FILE__ + end + ensure + SiSU_Env::CreateSite.new(@opt).cp_css + Dir.chdir(@opt.f_pth[:pth]) + end + end + private + class Output #{@brace_url.xml_open}#{url}/#{file}#{@brace_url.xml_close}} + else + %{

#{@brace_url.xml_open}#{url}/#{file}#{@brace_url.xml_close}

} + end + end + def summarize(id,file,pth='',rel='',url='',img='● ') + size=(File.size("#{pth}/#{file}")/1024.00).to_s + kb=/([0-9]+\.[0-9]{0,1})/m.match(size)[1] + @manifest[:txt] << "#{file} #{id} #{kb}\n" + @manifest[:html] << %{
\n} + end + def summarize_html_seg(id,file,pth='',rel='',url='',img='● ') + size=(File.size("#{pth}/#{file}")/1024.00).to_s + kb=/([0-9]+\.[0-9]{0,1})/m.match(size)[1] + @manifest[:txt] << "#{file} #{id} #{kb}\n" + @manifest[:html] << %{\n} + end + def summarize_sources(id,file,pth,rel,url) + sys=SiSU_Env::SystemCall.new + dgst=case @dg + when :sha512 + sys.sha512("#{pth}/#{file}") + when :sha256 + sys.sha256("#{pth}/#{file}") + when :md5 + sys.md5("#{pth}/#{file}") + else + end + dgst=dgst ? dgst : [ '', 'n/a' ] + if (@md.opt.act[:verbose][:set]==:on \ + || @md.opt.act[:verbose_plus][:set]==:on \ + || @md.opt.act[:maintenance][:set]==:on) + SiSU_Screen::Ansi.new( + @md.opt.act[:color_state][:set], + "#{dgst[1]} #{file}" + ).warn + end + size=(File.size("#{pth}/#{file}")/1024.00).to_s + kb=/([0-9]+\.[0-9]{0,1})/m.match(size)[1] + @manifest[:txt] << "#{file} #{id} #{kb}\n" + @manifest[:html] << %{} \ + + %{} \ + + %{} \ + + %{} \ + + %{\n} \ + if kb and kb =~/\d+/ + end + def published_manifests? + @f=SiSU_Env::FileOp.new(@md) #.base_filename + @m=[] + url=@f.output_path.base.url + manifests={} + mp,mn,mt,mr=nil,nil,nil,nil + ln=SiSU_i18n::Languages.new.language.list + Px[:lng_lst].each do |lc| + lngc=SiSU_Env::FilenameLanguageCodeInsert.new(@md.opt,lc).language_code_insert + fnh={ + fn: @md.fnb, + lng: lngc, + } + mn=@f.base_filename.manifest(fnh) + if @o_str.dump_or_redirect? #does not work for --redirect or --dump + mp="#{@f.output_path.base.dir}" + mt="#{mp}/#{mn}" + mr="../../#{lc}/manifest/#{mn}" + mu="#{url}/#{mn}" + elsif @f.output_dir_structure.by_language_code? + mp="#{@f.output_path.base.dir}/#{lc}/manifest" + mt="#{mp}/#{mn}" + mr="../../#{lc}/manifest/#{mn}" + mu="#{url}/#{lc}/manifest/#{mn}" + elsif @f.output_dir_structure.by_filetype? + mp="#{@f.output_path.base.dir}/manifest" + mt="#{mp}/#{mn}" + mr=mn + mu="#{url}/manifest/#{mn}" + else + mp="#{@f.output_path.base.dir}/#{@md.fnb}" + mt="#{mp}/#{mn}" + mr=mn + mu="#{url}/#{mn}" + end + if FileTest.directory?(mp) \ + && FileTest.file?(mt) + lng=ln[lc][:t] + manifests[lc]={ ln: lng, fn: mn, rel: mr } + @m << { mu: mu, l: lng, rel: mr } + end + end + @m=@m.uniq + end + def languages(id,file) + @manifest[:html] << %{\n} + end + def published_languages(id) + published_manifests?.each do |l| + @manifest[:txt] << "#{l[:mu]} #{l[:l]}\n" + @manifest[:html] << %{\n} + end + end + def metadata(id,info) + info=info.to_s.gsub(/(?:#{Mx[:br_line]}|\\)+/,'
') + @manifest[:html] << %{\n} + end + def links(url,lnk,target) + static=if url =~/^\.\// then url.gsub(/^\.(\.)?/,@base_url) + elsif url =~/^\.\.\// then url.gsub(/^\.(\.)?/,@env.url.root) + else url + end + @manifest[:html] << %{\n} + end + def output_tests + if FileTest.file?(@f.place_file.html_segtoc.dir)==true + img=%{TOC linked } + pth=@f.output_path.html_seg.dir + rel=@f.output_path.html_seg.rel_sm + url=@f.output_path.html_seg.url + id,file='HTML, table of contents (for segmented text)',@f.base_filename.html_segtoc + summarize_html_seg(id,file,pth,rel,url,img) + end + if FileTest.file?(@f.place_file.html_scroll.dir)==true + img=%{Full Text } + pth=@f.output_path.html_scroll.dir + rel=@f.output_path.html_scroll.rel_sm + url=@f.output_path.html_scroll.url + id,file='HTML, full length document',@f.base_filename.html_scroll + summarize(id,file,pth,rel,url,img) + end + if FileTest.file?(@f.place_file.html_book_index.dir)==true + pth=@f.output_path.html_seg.dir + rel=@f.output_path.html_seg.rel_sm + url=@f.output_path.html_seg.url + id,file='HTML, (book type) index',@f.base_filename.html_book_index + summarize(id,file,pth,rel,url) + end + if FileTest.file?(@f.place_file.html_concordance.dir)==true + pth=@f.output_path.html_seg.dir + rel=@f.output_path.html_seg.rel_sm + url=@f.output_path.html_seg.url + id,file='HTML, concordance file',@f.base_filename.html_concordance + summarize(id,file,pth,rel,url) + end + if FileTest.file?(@f.place_file.epub.dir)==true + img=%{EPUB } + id,file='EPUB (Electronic Publication, e-book standard)',@f.base_filename.epub + pth=@f.output_path.epub.dir + rel=@f.output_path.epub.rel_sm + url=@f.output_path.epub.url + summarize(id,file,pth,rel,url,img) + end + if FileTest.file?("#{@f.output_path.pdf.dir}/#{@f.base_filename.pdf_p_letter}")==true + img=%{PDF portrait } + pth=@f.output_path.pdf.dir + rel=@f.output_path.pdf.rel_sm + url=@f.output_path.pdf.url + id,file="PDF, U.S. letter size, portrait/vertical document (recommended for printing)","#{@f.base_filename.pdf_p_letter}" + summarize(id,file,pth,rel,url,img) + end + if FileTest.file?("#{@f.output_path.pdf.dir}/#{@f.base_filename.pdf_l_letter}")==true + img=%{PDF landscape } + pth=@f.output_path.pdf.dir + rel=@f.output_path.pdf.rel_sm + url=@f.output_path.pdf.url + id,file="PDF, U.S. letter size, landscape/horizontal document (recommended for screen viewing)","#{@f.base_filename.pdf_l_letter}" + summarize(id,file,pth,rel,url,img) + end + if FileTest.file?("#{@f.output_path.pdf.dir}/#{@f.base_filename.pdf_p_a4}")==true + img=%{PDF portrait } + pth=@f.output_path.pdf.dir + rel=@f.output_path.pdf.rel_sm + url=@f.output_path.pdf.url + id,file="PDF, A4 size, portrait/vertical document (recommended for printing)","#{@f.base_filename.pdf_p_a4}" + summarize(id,file,pth,rel,url,img) + end + if FileTest.file?("#{@f.output_path.pdf.dir}/#{@f.base_filename.pdf_l_a4}")==true + img=%{PDF landscape } + pth=@f.output_path.pdf.dir + rel=@f.output_path.pdf.rel_sm + url=@f.output_path.pdf.url + id,file="PDF, A4 size, landscape/horizontal document (recommended for screen viewing)","#{@f.base_filename.pdf_l_a4}" + summarize(id,file,pth,rel,url,img) + end + if FileTest.file?("#{@f.output_path.pdf.dir}/#{@f.base_filename.pdf_p_a5}")==true + img=%{PDF portrait } + pth=@f.output_path.pdf.dir + rel=@f.output_path.pdf.rel_sm + url=@f.output_path.pdf.url + id,file="PDF, A5 (book) size, portrait/vertical document (recommended for printing)","#{@f.base_filename.pdf_p_a5}" + summarize(id,file,pth,rel,url,img) + end + if FileTest.file?("#{@f.output_path.pdf.dir}/#{@f.base_filename.pdf_l_a5}")==true + img=%{PDF landscape } + pth=@f.output_path.pdf.dir + rel=@f.output_path.pdf.rel_sm + url=@f.output_path.pdf.url + id,file="PDF, A5 (book) size, landscape/horizontal document (recommended for screen viewing)","#{@f.base_filename.pdf_l_a5}" + summarize(id,file,pth,rel,url,img) + end + if FileTest.file?("#{@f.output_path.pdf.dir}/#{@f.base_filename.pdf_p_b5}")==true + img=%{PDF portrait } + pth=@f.output_path.pdf.dir + rel=@f.output_path.pdf.rel_sm + url=@f.output_path.pdf.url + id,file="PDF, B5 (book) size, portrait/vertical document (recommended for printing)","#{@f.base_filename.pdf_p_b5}" + summarize(id,file,pth,rel,url,img) + end + if FileTest.file?("#{@f.output_path.pdf.dir}/#{@f.base_filename.pdf_l_b5}")==true + img=%{PDF landscape } + pth=@f.output_path.pdf.dir + rel=@f.output_path.pdf.rel_sm + url=@f.output_path.pdf.url + id,file="PDF, B5 (book) size, landscape/horizontal document (recommended for screen viewing)","#{@f.base_filename.pdf_l_b5}" + summarize(id,file,pth,rel,url,img) + end + if FileTest.file?("#{@f.output_path.pdf.dir}/#{@f.base_filename.pdf_p_legal}")==true + img=%{PDF portrait } + pth=@f.output_path.pdf.dir + rel=@f.output_path.pdf.rel_sm + url=@f.output_path.pdf.url + id,file="PDF, U.S. legal size, portrait/vertical document (recommended for printing)","#{@f.base_filename.pdf_p_legal}" + summarize(id,file,pth,rel,url,img) + end + if FileTest.file?("#{@f.output_path.pdf.dir}/#{@f.base_filename.pdf_l_legal}")==true + img=%{PDF landscape } + pth=@f.output_path.pdf.dir + rel=@f.output_path.pdf.rel_sm + url=@f.output_path.pdf.url + id,file="PDF, U.S. legal size, landscape/horizontal document (recommended for screen viewing)","#{@f.base_filename.pdf_l_legal}" + summarize(id,file,pth,rel,url,img) + end + if FileTest.file?(@f.place_file.odt.dir)==true + img=%{ODF/ODT } + pth=@f.output_path.odt.dir + rel=@f.output_path.odt.rel_sm + url=@f.output_path.odt.url + id,file='ODF:ODT (Open Document Format)',@f.base_filename.odt + summarize(id,file,pth,rel,url,img) + end + if FileTest.file?(@f.place_file.xhtml.dir)==true + pth=@f.output_path.xhtml.dir + rel=@f.output_path.xhtml.rel_sm + url=@f.output_path.xhtml.url + id,file='ODF:ODT (Open Document Format)',@f.base_filename.odt + id,file='XHTML',@f.base_filename.xhtml + summarize(id,file,pth,rel,url) + end + if FileTest.file?(@f.place_file.xml_sax.dir)==true + pth=@f.output_path.xml_sax.dir + rel=@f.output_path.xml_sax.rel_sm + url=@f.output_path.xml_sax.url + id,file='XML SAX',@f.base_filename.xml_sax + summarize(id,file,pth,rel,url) + end + if FileTest.file?(@f.place_file.xml_dom.dir)==true + pth=@f.output_path.xml_dom.dir + rel=@f.output_path.xml_dom.rel_sm + url=@f.output_path.xml_dom.url + id,file='XML DOM',@f.base_filename.xml_dom + summarize(id,file,pth,rel,url) + end + if FileTest.file?(@f.place_file.xml_docbook_article.dir)==true + pth=@f.output_path.xml_docbook_article.dir + rel=@f.output_path.xml_docbook_article.rel_sm + url=@f.output_path.xml_docbook_article.url + id,file='XML Docbook Book',@f.base_filename.xml_docbook_article + summarize(id,file,pth,rel,url) + end + if FileTest.file?(@f.place_file.xml_docbook_book.dir)==true + pth=@f.output_path.xml_docbook_book.dir + rel=@f.output_path.xml_docbook_book.rel_sm + url=@f.output_path.xml_docbook_book.url + id,file='XML Docbook Book',@f.base_filename.xml_docbook_book + summarize(id,file,pth,rel,url) + end + if FileTest.file?(@f.place_file.xml_fictionbook.dir)==true + pth=@f.output_path.xml_fictionbook.dir + rel=@f.output_path.xml_fictionbook.rel_sm + url=@f.output_path.xml_fictionbook.url + id,file='XML Fictionbook',@f.base_filename.xml_fictionbook + summarize(id,file,pth,rel,url) + end + if FileTest.file?(@f.place_file.xml_scaffold_structure_sisu.dir)==true + pth=@f.output_path.xml_scaffold_structure_sisu.dir + rel=@f.output_path.xml_scaffold_structure_sisu.rel_sm + url=@f.output_path.xml_scaffold_structure_sisu.url + id,file='XML Scaffold sisu structure',@f.base_filename.xml_scaffold_structure_sisu + summarize(id,file,pth,rel,url) + end + if FileTest.file?(@f.place_file.xml_scaffold_structure_collapse.dir)==true + pth=@f.output_path.xml_scaffold_structure_collapse.dir + rel=@f.output_path.xml_scaffold_structure_collapse.rel_sm + url=@f.output_path.xml_scaffold_structure_collapse.url + id,file='XML Scaffold collapsed structure',@f.base_filename.xml_scaffold_structure_collapse + summarize(id,file,pth,rel,url) + end + if FileTest.file?(@f.place_file.info.dir)==true + pth=@f.output_path.texinfo.dir + rel=@f.output_path.texinfo.rel_sm + url=@f.output_path.texinfo.url + id,file='Info file',@f.base_filename.info + summarize(id,file,pth,rel,url) + end + if FileTest.file?(@f.place_file.manpage.dir)==true + pth=@f.output_path.manpage.dir + rel=@f.output_path.manpage.rel_sm + url=@f.output_path.manpage.url + id,file='Manpage',@f.base_filename.manpage + summarize(id,file,pth,rel,url) + end + if FileTest.file?(@f.place_file.sqlite_discrete.dir)==true + id,file='SQLite3 file',@f.base_filename.sqlite_discrete + pth=@f.output_path.sqlite_discrete.dir + rel=@f.output_path.sqlite_discrete.rel_sm + url=@f.output_path.sqlite_discrete.url + summarize(id,file,pth,rel,url) + end + if FileTest.file?(@f.place_file.txt.dir)==true + id='Plaintext (UTF-8)' + pth=@f.output_path.txt.dir + rel=@f.output_path.txt.rel_sm + url=@f.output_path.txt.url + file=@f.base_filename.txt + summarize(id,file,pth,rel,url) + end + if FileTest.file?(@f.place_file.textile.dir)==true + id='Textile text (UTF-8)' + pth=@f.output_path.textile.dir + rel=@f.output_path.textile.rel_sm + url=@f.output_path.textile.url + file=@f.base_filename.textile + summarize(id,file,pth,rel,url) + end + if FileTest.file?(@f.place_file.asciidoc.dir)==true + id='AsciiDoc text (UTF-8)' + pth=@f.output_path.asciidoc.dir + rel=@f.output_path.asciidoc.rel_sm + url=@f.output_path.asciidoc.url + file=@f.base_filename.asciidoc + summarize(id,file,pth,rel,url) + end + if FileTest.file?(@f.place_file.markdown.dir)==true + id='Markdown text (UTF-8)' + pth=@f.output_path.markdown.dir + rel=@f.output_path.markdown.rel_sm + url=@f.output_path.markdown.url + file=@f.base_filename.markdown + summarize(id,file,pth,rel,url) + end + if FileTest.file?(@f.place_file.rst.dir)==true + id='rST text (UTF-8)' + pth=@f.output_path.rst.dir + rel=@f.output_path.rst.rel_sm + url=@f.output_path.rst.url + file=@f.base_filename.rst + summarize(id,file,pth,rel,url) + end + if FileTest.file?("#{@base_path}/#{@md.fns}.tex")==true + id,file='LaTeX (portrait)',"#{@md.fns}.tex" + pth,rel,url='','','' + summarize(id,file,pth,rel,url) + end + if FileTest.file?("#{@base_path}/#{@md.fns}.tex")==true + id,file='LaTeX (landscape)',"#{@md.fns}.landscape.tex" + pth,rel,url='','','' + summarize(id,file,pth,rel,url) + end + if FileTest.file?(@f.place_file.hash_digest.dir)==true + pth=@f.output_path.hash_digest.dir + rel=@f.output_path.hash_digest.rel_sm + url=@f.output_path.hash_digest.url + id,file="Digest/DCC - Document Content Certificate (#{@dg})",@f.base_filename.hash_digest + summarize(id,file,pth,rel,url) + end + end + def published_versions + id,file='Markup (SiSU source)',@md.fns + languages(id,file) + end + def language_versions + if FileTest.file?(@f.place_file.manifest.dir)==true + id='Markup (SiSU source)' + published_languages(id) + end + end + def qrc_image + fn=(@f.output_dir_structure.by_filename?) \ + ? 'sisu_manifest' + : @md.fnb + pth=((@o_str.dump_or_redirect?) \ + || (@f.output_dir_structure.by_filename?)) \ + ? '.' + : 'qrcode' + img_md="#{pth}/#{fn}#{@fn_lng}.md.png" + img_title="#{pth}/#{fn}#{@fn_lng}.title.png" + if FileTest.file?(@f.place_file.qrcode_md.dir)==true + @manifest[:html] <<< +WOK + end + if FileTest.file?(@f.place_file.qrcode_title.dir)==true + @manifest[:html] <<< +WOK + end + end + def source_tests + if @md.fno =~/\.ssm$/ #% decide whether to extract and include requested/required documents + if FileTest.file?(@f.place_file.src.dir)==true + pth=@f.output_path.src.dir + rel=@f.output_path.src.rel_sm + url=@f.output_path.src.url + id,file='Markup Composite File (SiSU source)',@f.base_filename.src + summarize_sources(id,file,pth,rel,url) + end + else + if FileTest.file?(@f.place_file.src.dir)==true + pth=@f.output_path.src.dir + rel=@f.output_path.src.rel_sm + url=@f.output_path.src.url + id,file='Markup (SiSU source)',@f.base_filename.src + summarize_sources(id,file,pth,rel,url) + end + end + if FileTest.file?(@f.place_file.sisupod.dir)==true + pth=@f.output_path.sisupod.dir + rel=@f.output_path.sisupod.rel_sm + url=@f.output_path.sisupod.url + id,file='SiSU doc (tar.xz)',@f.base_filename.sisupod + summarize_sources(id,file,pth,rel,url) + end + if FileTest.file?(@f.place_file.pot.dir)==true + pth=@f.output_path.pot.dir + rel=@f.output_path.pot.rel_sm + url=@f.output_path.pot.url + id,file='SiSU pot',@f.base_filename.pot + summarize_sources(id,file,pth,rel,url) + end + end + def metadata_tests + if defined? @md.title #% + if defined? @md.title.full \ + and @md.title.full=~/\S+/ + id,info=@translate.full_title,@md.title.full + metadata(id,info) + end + end + if defined? @md.creator #% + if defined? @md.creator.author \ + and @md.creator.author=~/\S+/ + id,info=@translate.author,@md.creator.author + metadata(id,info) + end + if defined? @md.creator.editor \ + and @md.creator.editor=~/\S+/ + id,info=@translate.editor,@md.creator.editor + metadata(id,info) + end + if defined? @md.creator.contributor \ + and @md.creator.contributor=~/\S+/ + id,info=@translate.contributor,@md.creator.contributor + metadata(id,info) + end + if defined? @md.creator.translator \ + and @md.creator.translator=~/\S+/ + id,info=@translate.translator,@md.creator.translator + metadata(id,info) + end + if defined? @md.creator.illustrator \ + and @md.creator.illustrator=~/\S+/ + id,info=@translate.illustrator,@md.creator.illustrator + metadata(id,info) + end + if defined? @md.creator.prepared_by \ + and @md.creator.prepared_by=~/\S+/ + id,info=@translate.prepared_by,@md.creator.prepared_by + metadata(id,info) + end + if defined? @md.creator.digitized_by \ + and @md.creator.digitized_by=~/\S+/ + id,info=@translate.digitized_by,@md.creator.digitized_by + metadata(id,info) + end + end + if defined? @md.rights + if defined? @md.rights.all \ + and @md.rights.all=~/\S+/ #dc + id,info=@translate.rights,@md.rights.all + metadata(id,info) + end + end + if defined? @md.date #% + if defined? @md.date.published \ + and @md.date.published=~/\S+/ #dc + id,info=@translate.date,@md.date.published + metadata(id,info) + end + if defined? @md.date.created \ + and @md.date.created=~/\S+/ #dc + id,info=@translate.date_created,@md.date.created + metadata(id,info) + end + if defined? @md.date.issued \ + and @md.date.issued=~/\S+/ #dc + id,info=@translate.date_issued,@md.date.issued + metadata(id,info) + end + if defined? @md.date.available \ + and @md.date.available=~/\S+/ #dc + id,info=@translate.date_available,@md.date.available + metadata(id,info) + end + if defined? @md.date.modified \ + and @md.date.modified=~/\S+/ #dc + id,info=@translate.date_modified,@md.date.modified + metadata(id,info) + end + if defined? @md.date.valid \ + and @md.date.valid=~/\S+/ #dc + id,info=@translate.date_valid,@md.date.valid + metadata(id,info) + end + end + if defined? @md.publisher \ + and @md.publisher=~/\S+/ #dc + id,info=@translate.publisher,@md.publisher + metadata(id,info) + end + if defined? @md.notes #% + if defined? @md.notes.description \ + and @md.notes.description=~/\S+/ + id,info=@translate.description,@md.notes.description + metadata(id,info) + end + if defined? @md.notes.abstract \ + and @md.notes.abstract=~/\S+/ + id,info=@translate.abstract,@md.notes.abstract + metadata(id,info) + end + if defined? @md.notes.comment \ + and @md.notes.comment=~/\S+/ + id,info=@translate.comments,@md.notes.comment + metadata(id,info) + end + if defined? @md.notes.prefix_a \ + and @md.notes.prefix_a=~/\S+/ + id,info=@translate.prefix_a,@md.notes.prefix_a + metadata(id,info) + end + if defined? @md.notes.prefix_b \ + and @md.notes.prefix_b=~/\S+/ + id,info=@translate.prefix_b,@md.notes.prefix_b + metadata(id,info) + end + end + if defined? @md.title #% + if defined? @md.title.language \ + and @md.title.language=~/\S+/ + id,info=@translate.language,@md.title.language + metadata(id,info) + end + if defined? @md.original.language \ + and @md.original.language=~/\S+/ + id,info=@translate.language_original,@md.original.language + metadata(id,info) + end + end + if defined? @md.classify #% + if defined? @md.topic_register_array \ + and @md.topic_register_array.length > 0 + @manifest[:html] << %{\n} + end + if defined? @md.classify.subject \ + and @md.classify.subject=~/\S+/ + id,info=@translate.subject,@md.classify.subject + metadata(id,info) + end + if defined? @md.classify.keywords \ + and @md.classify.keywords=~/\S+/ + id,info=@translate.keywords,@md.classify.keywords + metadata(id,info) + end + if defined? @md.classify.loc \ + and @md.classify.loc=~/\S+/ + id,info=@translate.cls_loc,@md.classify.loc + metadata(id,info) + end + if defined? @md.classify.dewey \ + and @md.classify.dewey=~/\S+/ + id,info=@translate.cls_dewey,@md.classify.dewey + metadata(id,info) + end + if defined? @md.notes.coverage \ + and @md.notes.coverage=~/\S+/ + id,info=@translate.coverage,@md.notes.coverage + metadata(id,info) + end + if defined? @md.notes.relation \ + and @md.notes.relation=~/\S+/ + id,info=@translate.relation,@md.notes.relation + metadata(id,info) + end + if defined? @md.notes.type \ + and @md.notes.type=~/\S+/ #dc + id,info=@translate.type,@md.notes.type + metadata(id,info) + end + if defined? @md.notes.format \ + and @md.notes.format=~/\S+/ + id,info=@transate.format,@md.notes.format + metadata(id,info) + end + end + if defined? @md.identifier #% + if defined? @md.identifier.oclc \ + and @md.identifier.oclc=~/\S+/ + id,info=@translate.cls_oclc,@md.identifier.oclc + @manifest[:html] << %{\n} + end + if defined? @md.identifier.pg \ + and @md.identifier.pg=~/\S+/ + id,info=@translate.cls_gutenberg,@md.identifier.pg + metadata(id,info) + end + if defined? @md.identifier.isbn \ + and @md.identifier.isbn=~/\S+/ + id,info=@translate.cls_isbn,@md.identifier.isbn + metadata(id,info) + end + end + if defined? @md.original.source \ + and @md.original.source=~/\S+/ + id,info=@translate.source,@md.original.source + metadata(id,info) + end + if @md.fns + id,info=@translate.sourcefile,@md.fns + metadata(id,info) + end + if @md.en[:mismatch] > 0 + id,info='WARNING document error in endnote markup, number mismatch',"endnotes: #{@md.en[:note]} != endnote reference marks: #{@md.en[:mark]} (difference = #{@md.en[:mismatch]})" + metadata(id,info) + end + if @md.wc_words + id,info=@translate.word_count,@md.wc_words + metadata(id,info) + end + if @md.dgst + id,info="#{@translate.sourcefile_digest} (#{@dg})",@md.dgst[1] + metadata(id,info) + end + if @md.sc_number + id,info=@translate.sc_number,@md.sc_number + metadata(id,info) + end + if @md.sc_date + id,info=@translate.sc_date,"#{@md.sc_date} at #{@md.sc_time}" + metadata(id,info) + end + if @md.generated + id,info=@translate.last_generated,@md.generated + metadata(id,info) + end + if @md.sisu_version + id,info=@translate.sisu_version,"#{@md.sisu_version[:project]} #{@md.sisu_version[:version]} #{@md.sisu_version[:date_stamp]} (#{@md.sisu_version[:date]})#{@md.sisu_version[:install_method]}" + metadata(id,info) + end + if @md.ruby_version + id,info=@translate.ruby_version,@md.ruby_version + metadata(id,info) + end + end + def links_tests + if defined? @md.lnk \ + and @md.lnk + @md.lnk.each do |l| + if defined? l[:say] + target=(l[:url] !~/^\.(\.)?\//) \ + ? 'external' + : '_top' + url,lnk=l[:url],l[:say] + unless url.nil? \ + or url.empty? + links(url,lnk,target) + end + end + end + end + end + def check_output(data) + begin + make=SiSU_Env::ProcessingSettings.new(@md) + minitoc=SiSU_HTML_MiniToc::TocMini.new(@md,data).songsheet.join("\n") + vz=SiSU_Viz::Defaults.new + format_head_toc=SiSU_HTML_Format::HeadToc.new(@md) + @manifest[:html] <<< + + + +SiSU manifest: #{@md.title.full} + + + + + +#{@stylesheet.css_head} + + +#{format_head_toc.seg_head_navigation_band(:manifest)} +WOK + if make.build.manifest_minitoc? + if @o_str.dump_or_redirect? + elsif @f.output_dir_structure.by_language_code? \ + or @f.output_dir_structure.by_filetype? + minitoc=minitoc.gsub(/ +#{minitoc.to_s} + + +

#{@md.title.full}

+

#{@md.author}

+ +

#{@translate.filename}

#{@translate.description}

 

#{img}#{id}

#{file}

#{url_make(url,file)}

#{kb}

#{img}#{id}

#{file}

#{url_make(url,file)}

#{kb}

#{id}

#{file}   #{dgst[1]}#{url_make(url,file,:src)}

#{kb}

#{l[:l]}

#{l[:l]}

#{@brace_url.xml_open}#{l[:mu]}#{@brace_url.xml_close}

 

#{id}:

#{info}

#{lnk}

  #{@brace_url.xml_open}#{static}#{@brace_url.xml_close}

+

QR code SiSU document metadata:

+

+ qrcode metadata +

+
+

QR code document title info:

+

+ qrcode title +

+

#{@translate.topic_register}:

\n} + @md.topic_register_array.each do |t| + t.each_with_index do |st,i| + if st.is_a?(Array) + st.each do |v| + if v.is_a?(Array) + v.each do |w| + @manifest[:html] << %{

#{w}

\n} + end + else + @manifest[:html] << %{

#{v}

\n} + end + end + else @manifest[:html] << %{

#{st}

\n} + end + end + end + @manifest[:html] << %{

#{id}:

\n} + @manifest[:html] << %{

#{info}

\n} + @manifest[:html] << %{
+WOK + published_versions + @manifest[:html] << '
' + @manifest[:html] <<<#{@translate.manifest_description_output} + + + +WOK + output_tests + @manifest[:html] << '

#{@translate.filetype_description}

#{@translate.filename}

#{@translate.file_size}

(kB)

' + @manifest[:html] <<< +WOK + source_tests + @manifest[:html] << '' + @manifest[:html] <<<#{@translate.manifest_description_metadata} + + +WOK + metadata_tests + @manifest[:html] <<< +WOK + @manifest[:html] <<<#{@translate.suggested_links}:

+

#{@translate.metadata}

#{@translate.description}

+WOK + links_tests + @manifest[:html] <<< +WOK + @manifest[:html] <<<#{@translate.language_version_list} +
+ + +WOK + language_versions + qrc_image + @manifest[:html] <<< + +
+
+#{vz.credits_sisu_manifest} +
+ + +WOK + output + rescue + SiSU_Errors::Rescued.new($!,$@,@md.opt.selections.str,@md.fns).location do + __LINE__.to_s + ':' + __FILE__ + end + ensure + end + end + end + end +end +__END__ diff --git a/lib/sisu/v6/hub_actions.rb b/lib/sisu/v6/hub_actions.rb index 62373e6c..bad943e5 100644 --- a/lib/sisu/v6/hub_actions.rb +++ b/lib/sisu/v6/hub_actions.rb @@ -542,7 +542,7 @@ module SiSU_Hub_Actions def manifest? if @opt.act[:manifest][:set]==:on #% --manifest, -y if @opt.f_pths.length > 0 - require_relative 'manifest' # manifest.rb + require_relative 'html_manifest' # html_manifest.rb ((@opt.act[:sisupod][:set]==:on \ || @opt.act[:share_source][:set]==:on) \ && @opt.f_pths.length < 2 ) \ @@ -666,7 +666,7 @@ module SiSU_Hub_Actions || @opt.act[:share_source][:set]==:on) \ and @opt.act[:manifest][:set]==:on #% --manifest, -y if @opt.f_pths.length > 0 - require_relative 'manifest' # manifest.rb + require_relative 'html_manifest' # html_manifest.rb begin ensure SiSU_Hub_Loops::OptionLoopFiles.new(@opt). @@ -800,9 +800,9 @@ module SiSU_Hub_Actions def manifest? if @opt.act[:manifest][:set]==:on #% --manifest, -y if @opt.f_pths.length > 1 - require_relative 'manifest' + require_relative 'html_manifest' SiSU_Hub_Loops::OptionLoopFiles.new(@opt).manifest_on_files_translated do - SiSU_Manifest::Source.new(@opt).read # manifest.rb + SiSU_Manifest::Source.new(@opt).read # html_manifest.rb end end end diff --git a/lib/sisu/v6/manifest.rb b/lib/sisu/v6/manifest.rb deleted file mode 100644 index 46490366..00000000 --- a/lib/sisu/v6/manifest.rb +++ /dev/null @@ -1,1032 +0,0 @@ -# encoding: utf-8 -=begin - - * Name: SiSU - - * Description: a framework for document structuring, publishing and search - - * Author: Ralph Amissah - - * Copyright: (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, - 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014 Ralph Amissah, - All Rights Reserved. - - * License: GPL 3 or later: - - SiSU, a framework for document structuring, publishing and search - - Copyright (C) Ralph Amissah - - This program is free software: you can redistribute it and/or modify it - under the terms of the GNU General Public License as published by the Free - Software Foundation, either version 3 of the License, or (at your option) - any later version. - - This program is distributed in the hope that it will be useful, but WITHOUT - ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for - more details. - - You should have received a copy of the GNU General Public License along with - this program. If not, see . - - If you have Internet connection, the latest version of the GPL should be - available at these locations: - - - - - - * SiSU uses: - * Standard SiSU markup syntax, - * Standard SiSU meta-markup syntax, and the - * Standard SiSU object citation numbering and system - - * Hompages: - - - - * Download: - - - * Git - - - - * Ralph Amissah - - - - ** Description: summary of generated outputs and metadata - -=end -module SiSU_Manifest - require_relative 'se' # se.rb - include SiSU_Env - require_relative 'prog_text_translation' # prog_text_translation.rb - require_relative 'se_hub_particulars' # se_hub_particulars.rb - include SiSU_Particulars - require_relative 'html_minitoc' # html_minitoc.rb - require_relative 'html' # html.rb - include SiSU_HTML_Format - require_relative 'dp' # dp.rb - include SiSU_Param - require_relative 'i18n' # i18n.rb - include SiSU_Viz - class Source - def initialize(opt) - @opt=opt - @particulars=SiSU_Particulars::CombinedSingleton.instance.get_all(opt) - l=SiSU_Env::StandardiseLanguage.new(opt.lng).language - @doc_language=l[:n] - end - def read - begin - @env=SiSU_Env::InfoEnv.new(@opt.fns) - @md=SiSU_Param::Parameters.new(@opt).get - xbrowser=@env.program.web_browser - browser=@env.program.console_web_browser -# webserv_url=@env.path.url.output_tell #fix in sysenv - unless @opt.act[:quiet][:set]==:on - url_html='file://' \ - + @md.file.output_path.manifest.dir + '/' \ - + @md.file.base_filename.manifest - (@opt.act[:verbose][:set]==:on \ - || @opt.act[:verbose_plus][:set]==:on \ - || @opt.act[:maintenance][:set]==:on) \ - ? SiSU_Screen::Ansi.new( - @opt.act[:color_state][:set], - 'Manifest', - "#{xbrowser} #{url_html}" - ).green_hi_blue - : SiSU_Screen::Ansi.new( - @opt.act[:color_state][:set], - 'Manifest', - "[#{@opt.f_pth[:lng_is]}]", - "#{url_html}" - ).grey_title_grey_blue - if (@md.opt.act[:verbose][:set]==:on \ - || @md.opt.act[:verbose_plus][:set]==:on) - SiSU_Screen::Ansi.new( - @opt.act[:color_state][:set], - "#{browser} #{url_html}" - ).grey_tab - end - end - data=SiSU_HTML::Source::HTML_Environment.new(@particulars).tuned_file_instructions - SiSU_Manifest::Source::Output.new(@md).check_output(data) - rescue - SiSU_Errors::Rescued.new($!,$@,@opt.selections.str,@opt.fns).location do - __LINE__.to_s + ':' + __FILE__ - end - ensure - SiSU_Env::CreateSite.new(@opt).cp_css - Dir.chdir(@opt.f_pth[:pth]) - end - end - private - class Output #{@brace_url.xml_open}#{url}/#{file}#{@brace_url.xml_close}} - else - %{

#{@brace_url.xml_open}#{url}/#{file}#{@brace_url.xml_close}

} - end - end - def summarize(id,file,pth='',rel='',url='',img='● ') - size=(File.size("#{pth}/#{file}")/1024.00).to_s - kb=/([0-9]+\.[0-9]{0,1})/m.match(size)[1] - @manifest[:txt] << "#{file} #{id} #{kb}\n" - @manifest[:html] << %{
\n} - end - def summarize_html_seg(id,file,pth='',rel='',url='',img='● ') - size=(File.size("#{pth}/#{file}")/1024.00).to_s - kb=/([0-9]+\.[0-9]{0,1})/m.match(size)[1] - @manifest[:txt] << "#{file} #{id} #{kb}\n" - @manifest[:html] << %{\n} - end - def summarize_sources(id,file,pth,rel,url) - sys=SiSU_Env::SystemCall.new - dgst=case @dg - when :sha512 - sys.sha512("#{pth}/#{file}") - when :sha256 - sys.sha256("#{pth}/#{file}") - when :md5 - sys.md5("#{pth}/#{file}") - else - end - dgst=dgst ? dgst : [ '', 'n/a' ] - if (@md.opt.act[:verbose][:set]==:on \ - || @md.opt.act[:verbose_plus][:set]==:on \ - || @md.opt.act[:maintenance][:set]==:on) - SiSU_Screen::Ansi.new( - @md.opt.act[:color_state][:set], - "#{dgst[1]} #{file}" - ).warn - end - size=(File.size("#{pth}/#{file}")/1024.00).to_s - kb=/([0-9]+\.[0-9]{0,1})/m.match(size)[1] - @manifest[:txt] << "#{file} #{id} #{kb}\n" - @manifest[:html] << %{} \ - + %{} \ - + %{} \ - + %{} \ - + %{\n} \ - if kb and kb =~/\d+/ - end - def published_manifests? - @f=SiSU_Env::FileOp.new(@md) #.base_filename - @m=[] - url=@f.output_path.base.url - manifests={} - mp,mn,mt,mr=nil,nil,nil,nil - ln=SiSU_i18n::Languages.new.language.list - Px[:lng_lst].each do |lc| - lngc=SiSU_Env::FilenameLanguageCodeInsert.new(@md.opt,lc).language_code_insert - fnh={ - fn: @md.fnb, - lng: lngc, - } - mn=@f.base_filename.manifest(fnh) - if @o_str.dump_or_redirect? #does not work for --redirect or --dump - mp="#{@f.output_path.base.dir}" - mt="#{mp}/#{mn}" - mr="../../#{lc}/manifest/#{mn}" - mu="#{url}/#{mn}" - elsif @f.output_dir_structure.by_language_code? - mp="#{@f.output_path.base.dir}/#{lc}/manifest" - mt="#{mp}/#{mn}" - mr="../../#{lc}/manifest/#{mn}" - mu="#{url}/#{lc}/manifest/#{mn}" - elsif @f.output_dir_structure.by_filetype? - mp="#{@f.output_path.base.dir}/manifest" - mt="#{mp}/#{mn}" - mr=mn - mu="#{url}/manifest/#{mn}" - else - mp="#{@f.output_path.base.dir}/#{@md.fnb}" - mt="#{mp}/#{mn}" - mr=mn - mu="#{url}/#{mn}" - end - if FileTest.directory?(mp) \ - && FileTest.file?(mt) - lng=ln[lc][:t] - manifests[lc]={ ln: lng, fn: mn, rel: mr } - @m << { mu: mu, l: lng, rel: mr } - end - end - @m=@m.uniq - end - def languages(id,file) - @manifest[:html] << %{\n} - end - def published_languages(id) - published_manifests?.each do |l| - @manifest[:txt] << "#{l[:mu]} #{l[:l]}\n" - @manifest[:html] << %{\n} - end - end - def metadata(id,info) - info=info.to_s.gsub(/(?:#{Mx[:br_line]}|\\)+/,'
') - @manifest[:html] << %{\n} - end - def links(url,lnk,target) - static=if url =~/^\.\// then url.gsub(/^\.(\.)?/,@base_url) - elsif url =~/^\.\.\// then url.gsub(/^\.(\.)?/,@env.url.root) - else url - end - @manifest[:html] << %{\n} - end - def output_tests - if FileTest.file?(@f.place_file.html_segtoc.dir)==true - img=%{TOC linked } - pth=@f.output_path.html_seg.dir - rel=@f.output_path.html_seg.rel_sm - url=@f.output_path.html_seg.url - id,file='HTML, table of contents (for segmented text)',@f.base_filename.html_segtoc - summarize_html_seg(id,file,pth,rel,url,img) - end - if FileTest.file?(@f.place_file.html_scroll.dir)==true - img=%{Full Text } - pth=@f.output_path.html_scroll.dir - rel=@f.output_path.html_scroll.rel_sm - url=@f.output_path.html_scroll.url - id,file='HTML, full length document',@f.base_filename.html_scroll - summarize(id,file,pth,rel,url,img) - end - if FileTest.file?(@f.place_file.html_book_index.dir)==true - pth=@f.output_path.html_seg.dir - rel=@f.output_path.html_seg.rel_sm - url=@f.output_path.html_seg.url - id,file='HTML, (book type) index',@f.base_filename.html_book_index - summarize(id,file,pth,rel,url) - end - if FileTest.file?(@f.place_file.html_concordance.dir)==true - pth=@f.output_path.html_seg.dir - rel=@f.output_path.html_seg.rel_sm - url=@f.output_path.html_seg.url - id,file='HTML, concordance file',@f.base_filename.html_concordance - summarize(id,file,pth,rel,url) - end - if FileTest.file?(@f.place_file.epub.dir)==true - img=%{EPUB } - id,file='EPUB (Electronic Publication, e-book standard)',@f.base_filename.epub - pth=@f.output_path.epub.dir - rel=@f.output_path.epub.rel_sm - url=@f.output_path.epub.url - summarize(id,file,pth,rel,url,img) - end - if FileTest.file?("#{@f.output_path.pdf.dir}/#{@f.base_filename.pdf_p_letter}")==true - img=%{PDF portrait } - pth=@f.output_path.pdf.dir - rel=@f.output_path.pdf.rel_sm - url=@f.output_path.pdf.url - id,file="PDF, U.S. letter size, portrait/vertical document (recommended for printing)","#{@f.base_filename.pdf_p_letter}" - summarize(id,file,pth,rel,url,img) - end - if FileTest.file?("#{@f.output_path.pdf.dir}/#{@f.base_filename.pdf_l_letter}")==true - img=%{PDF landscape } - pth=@f.output_path.pdf.dir - rel=@f.output_path.pdf.rel_sm - url=@f.output_path.pdf.url - id,file="PDF, U.S. letter size, landscape/horizontal document (recommended for screen viewing)","#{@f.base_filename.pdf_l_letter}" - summarize(id,file,pth,rel,url,img) - end - if FileTest.file?("#{@f.output_path.pdf.dir}/#{@f.base_filename.pdf_p_a4}")==true - img=%{PDF portrait } - pth=@f.output_path.pdf.dir - rel=@f.output_path.pdf.rel_sm - url=@f.output_path.pdf.url - id,file="PDF, A4 size, portrait/vertical document (recommended for printing)","#{@f.base_filename.pdf_p_a4}" - summarize(id,file,pth,rel,url,img) - end - if FileTest.file?("#{@f.output_path.pdf.dir}/#{@f.base_filename.pdf_l_a4}")==true - img=%{PDF landscape } - pth=@f.output_path.pdf.dir - rel=@f.output_path.pdf.rel_sm - url=@f.output_path.pdf.url - id,file="PDF, A4 size, landscape/horizontal document (recommended for screen viewing)","#{@f.base_filename.pdf_l_a4}" - summarize(id,file,pth,rel,url,img) - end - if FileTest.file?("#{@f.output_path.pdf.dir}/#{@f.base_filename.pdf_p_a5}")==true - img=%{PDF portrait } - pth=@f.output_path.pdf.dir - rel=@f.output_path.pdf.rel_sm - url=@f.output_path.pdf.url - id,file="PDF, A5 (book) size, portrait/vertical document (recommended for printing)","#{@f.base_filename.pdf_p_a5}" - summarize(id,file,pth,rel,url,img) - end - if FileTest.file?("#{@f.output_path.pdf.dir}/#{@f.base_filename.pdf_l_a5}")==true - img=%{PDF landscape } - pth=@f.output_path.pdf.dir - rel=@f.output_path.pdf.rel_sm - url=@f.output_path.pdf.url - id,file="PDF, A5 (book) size, landscape/horizontal document (recommended for screen viewing)","#{@f.base_filename.pdf_l_a5}" - summarize(id,file,pth,rel,url,img) - end - if FileTest.file?("#{@f.output_path.pdf.dir}/#{@f.base_filename.pdf_p_b5}")==true - img=%{PDF portrait } - pth=@f.output_path.pdf.dir - rel=@f.output_path.pdf.rel_sm - url=@f.output_path.pdf.url - id,file="PDF, B5 (book) size, portrait/vertical document (recommended for printing)","#{@f.base_filename.pdf_p_b5}" - summarize(id,file,pth,rel,url,img) - end - if FileTest.file?("#{@f.output_path.pdf.dir}/#{@f.base_filename.pdf_l_b5}")==true - img=%{PDF landscape } - pth=@f.output_path.pdf.dir - rel=@f.output_path.pdf.rel_sm - url=@f.output_path.pdf.url - id,file="PDF, B5 (book) size, landscape/horizontal document (recommended for screen viewing)","#{@f.base_filename.pdf_l_b5}" - summarize(id,file,pth,rel,url,img) - end - if FileTest.file?("#{@f.output_path.pdf.dir}/#{@f.base_filename.pdf_p_legal}")==true - img=%{PDF portrait } - pth=@f.output_path.pdf.dir - rel=@f.output_path.pdf.rel_sm - url=@f.output_path.pdf.url - id,file="PDF, U.S. legal size, portrait/vertical document (recommended for printing)","#{@f.base_filename.pdf_p_legal}" - summarize(id,file,pth,rel,url,img) - end - if FileTest.file?("#{@f.output_path.pdf.dir}/#{@f.base_filename.pdf_l_legal}")==true - img=%{PDF landscape } - pth=@f.output_path.pdf.dir - rel=@f.output_path.pdf.rel_sm - url=@f.output_path.pdf.url - id,file="PDF, U.S. legal size, landscape/horizontal document (recommended for screen viewing)","#{@f.base_filename.pdf_l_legal}" - summarize(id,file,pth,rel,url,img) - end - if FileTest.file?(@f.place_file.odt.dir)==true - img=%{ODF/ODT } - pth=@f.output_path.odt.dir - rel=@f.output_path.odt.rel_sm - url=@f.output_path.odt.url - id,file='ODF:ODT (Open Document Format)',@f.base_filename.odt - summarize(id,file,pth,rel,url,img) - end - if FileTest.file?(@f.place_file.xhtml.dir)==true - pth=@f.output_path.xhtml.dir - rel=@f.output_path.xhtml.rel_sm - url=@f.output_path.xhtml.url - id,file='ODF:ODT (Open Document Format)',@f.base_filename.odt - id,file='XHTML',@f.base_filename.xhtml - summarize(id,file,pth,rel,url) - end - if FileTest.file?(@f.place_file.xml_sax.dir)==true - pth=@f.output_path.xml_sax.dir - rel=@f.output_path.xml_sax.rel_sm - url=@f.output_path.xml_sax.url - id,file='XML SAX',@f.base_filename.xml_sax - summarize(id,file,pth,rel,url) - end - if FileTest.file?(@f.place_file.xml_dom.dir)==true - pth=@f.output_path.xml_dom.dir - rel=@f.output_path.xml_dom.rel_sm - url=@f.output_path.xml_dom.url - id,file='XML DOM',@f.base_filename.xml_dom - summarize(id,file,pth,rel,url) - end - if FileTest.file?(@f.place_file.xml_docbook_article.dir)==true - pth=@f.output_path.xml_docbook_article.dir - rel=@f.output_path.xml_docbook_article.rel_sm - url=@f.output_path.xml_docbook_article.url - id,file='XML Docbook Book',@f.base_filename.xml_docbook_article - summarize(id,file,pth,rel,url) - end - if FileTest.file?(@f.place_file.xml_docbook_book.dir)==true - pth=@f.output_path.xml_docbook_book.dir - rel=@f.output_path.xml_docbook_book.rel_sm - url=@f.output_path.xml_docbook_book.url - id,file='XML Docbook Book',@f.base_filename.xml_docbook_book - summarize(id,file,pth,rel,url) - end - if FileTest.file?(@f.place_file.xml_fictionbook.dir)==true - pth=@f.output_path.xml_fictionbook.dir - rel=@f.output_path.xml_fictionbook.rel_sm - url=@f.output_path.xml_fictionbook.url - id,file='XML Fictionbook',@f.base_filename.xml_fictionbook - summarize(id,file,pth,rel,url) - end - if FileTest.file?(@f.place_file.xml_scaffold_structure_sisu.dir)==true - pth=@f.output_path.xml_scaffold_structure_sisu.dir - rel=@f.output_path.xml_scaffold_structure_sisu.rel_sm - url=@f.output_path.xml_scaffold_structure_sisu.url - id,file='XML Scaffold sisu structure',@f.base_filename.xml_scaffold_structure_sisu - summarize(id,file,pth,rel,url) - end - if FileTest.file?(@f.place_file.xml_scaffold_structure_collapse.dir)==true - pth=@f.output_path.xml_scaffold_structure_collapse.dir - rel=@f.output_path.xml_scaffold_structure_collapse.rel_sm - url=@f.output_path.xml_scaffold_structure_collapse.url - id,file='XML Scaffold collapsed structure',@f.base_filename.xml_scaffold_structure_collapse - summarize(id,file,pth,rel,url) - end - if FileTest.file?(@f.place_file.info.dir)==true - pth=@f.output_path.texinfo.dir - rel=@f.output_path.texinfo.rel_sm - url=@f.output_path.texinfo.url - id,file='Info file',@f.base_filename.info - summarize(id,file,pth,rel,url) - end - if FileTest.file?(@f.place_file.manpage.dir)==true - pth=@f.output_path.manpage.dir - rel=@f.output_path.manpage.rel_sm - url=@f.output_path.manpage.url - id,file='Manpage',@f.base_filename.manpage - summarize(id,file,pth,rel,url) - end - if FileTest.file?(@f.place_file.sqlite_discrete.dir)==true - id,file='SQLite3 file',@f.base_filename.sqlite_discrete - pth=@f.output_path.sqlite_discrete.dir - rel=@f.output_path.sqlite_discrete.rel_sm - url=@f.output_path.sqlite_discrete.url - summarize(id,file,pth,rel,url) - end - if FileTest.file?(@f.place_file.txt.dir)==true - id='Plaintext (UTF-8)' - pth=@f.output_path.txt.dir - rel=@f.output_path.txt.rel_sm - url=@f.output_path.txt.url - file=@f.base_filename.txt - summarize(id,file,pth,rel,url) - end - if FileTest.file?(@f.place_file.textile.dir)==true - id='Textile text (UTF-8)' - pth=@f.output_path.textile.dir - rel=@f.output_path.textile.rel_sm - url=@f.output_path.textile.url - file=@f.base_filename.textile - summarize(id,file,pth,rel,url) - end - if FileTest.file?(@f.place_file.asciidoc.dir)==true - id='AsciiDoc text (UTF-8)' - pth=@f.output_path.asciidoc.dir - rel=@f.output_path.asciidoc.rel_sm - url=@f.output_path.asciidoc.url - file=@f.base_filename.asciidoc - summarize(id,file,pth,rel,url) - end - if FileTest.file?(@f.place_file.markdown.dir)==true - id='Markdown text (UTF-8)' - pth=@f.output_path.markdown.dir - rel=@f.output_path.markdown.rel_sm - url=@f.output_path.markdown.url - file=@f.base_filename.markdown - summarize(id,file,pth,rel,url) - end - if FileTest.file?(@f.place_file.rst.dir)==true - id='rST text (UTF-8)' - pth=@f.output_path.rst.dir - rel=@f.output_path.rst.rel_sm - url=@f.output_path.rst.url - file=@f.base_filename.rst - summarize(id,file,pth,rel,url) - end - if FileTest.file?("#{@base_path}/#{@md.fns}.tex")==true - id,file='LaTeX (portrait)',"#{@md.fns}.tex" - pth,rel,url='','','' - summarize(id,file,pth,rel,url) - end - if FileTest.file?("#{@base_path}/#{@md.fns}.tex")==true - id,file='LaTeX (landscape)',"#{@md.fns}.landscape.tex" - pth,rel,url='','','' - summarize(id,file,pth,rel,url) - end - if FileTest.file?(@f.place_file.hash_digest.dir)==true - pth=@f.output_path.hash_digest.dir - rel=@f.output_path.hash_digest.rel_sm - url=@f.output_path.hash_digest.url - id,file="Digest/DCC - Document Content Certificate (#{@dg})",@f.base_filename.hash_digest - summarize(id,file,pth,rel,url) - end - end - def published_versions - id,file='Markup (SiSU source)',@md.fns - languages(id,file) - end - def language_versions - if FileTest.file?(@f.place_file.manifest.dir)==true - id='Markup (SiSU source)' - published_languages(id) - end - end - def qrc_image - fn=(@f.output_dir_structure.by_filename?) \ - ? 'sisu_manifest' - : @md.fnb - pth=((@o_str.dump_or_redirect?) \ - || (@f.output_dir_structure.by_filename?)) \ - ? '.' - : 'qrcode' - img_md="#{pth}/#{fn}#{@fn_lng}.md.png" - img_title="#{pth}/#{fn}#{@fn_lng}.title.png" - if FileTest.file?(@f.place_file.qrcode_md.dir)==true - @manifest[:html] <<< -WOK - end - if FileTest.file?(@f.place_file.qrcode_title.dir)==true - @manifest[:html] <<< -WOK - end - end - def source_tests - if @md.fno =~/\.ssm$/ #% decide whether to extract and include requested/required documents - if FileTest.file?(@f.place_file.src.dir)==true - pth=@f.output_path.src.dir - rel=@f.output_path.src.rel_sm - url=@f.output_path.src.url - id,file='Markup Composite File (SiSU source)',@f.base_filename.src - summarize_sources(id,file,pth,rel,url) - end - else - if FileTest.file?(@f.place_file.src.dir)==true - pth=@f.output_path.src.dir - rel=@f.output_path.src.rel_sm - url=@f.output_path.src.url - id,file='Markup (SiSU source)',@f.base_filename.src - summarize_sources(id,file,pth,rel,url) - end - end - if FileTest.file?(@f.place_file.sisupod.dir)==true - pth=@f.output_path.sisupod.dir - rel=@f.output_path.sisupod.rel_sm - url=@f.output_path.sisupod.url - id,file='SiSU doc (tar.xz)',@f.base_filename.sisupod - summarize_sources(id,file,pth,rel,url) - end - if FileTest.file?(@f.place_file.pot.dir)==true - pth=@f.output_path.pot.dir - rel=@f.output_path.pot.rel_sm - url=@f.output_path.pot.url - id,file='SiSU pot',@f.base_filename.pot - summarize_sources(id,file,pth,rel,url) - end - end - def metadata_tests - if defined? @md.title #% - if defined? @md.title.full \ - and @md.title.full=~/\S+/ - id,info=@translate.full_title,@md.title.full - metadata(id,info) - end - end - if defined? @md.creator #% - if defined? @md.creator.author \ - and @md.creator.author=~/\S+/ - id,info=@translate.author,@md.creator.author - metadata(id,info) - end - if defined? @md.creator.editor \ - and @md.creator.editor=~/\S+/ - id,info=@translate.editor,@md.creator.editor - metadata(id,info) - end - if defined? @md.creator.contributor \ - and @md.creator.contributor=~/\S+/ - id,info=@translate.contributor,@md.creator.contributor - metadata(id,info) - end - if defined? @md.creator.translator \ - and @md.creator.translator=~/\S+/ - id,info=@translate.translator,@md.creator.translator - metadata(id,info) - end - if defined? @md.creator.illustrator \ - and @md.creator.illustrator=~/\S+/ - id,info=@translate.illustrator,@md.creator.illustrator - metadata(id,info) - end - if defined? @md.creator.prepared_by \ - and @md.creator.prepared_by=~/\S+/ - id,info=@translate.prepared_by,@md.creator.prepared_by - metadata(id,info) - end - if defined? @md.creator.digitized_by \ - and @md.creator.digitized_by=~/\S+/ - id,info=@translate.digitized_by,@md.creator.digitized_by - metadata(id,info) - end - end - if defined? @md.rights - if defined? @md.rights.all \ - and @md.rights.all=~/\S+/ #dc - id,info=@translate.rights,@md.rights.all - metadata(id,info) - end - end - if defined? @md.date #% - if defined? @md.date.published \ - and @md.date.published=~/\S+/ #dc - id,info=@translate.date,@md.date.published - metadata(id,info) - end - if defined? @md.date.created \ - and @md.date.created=~/\S+/ #dc - id,info=@translate.date_created,@md.date.created - metadata(id,info) - end - if defined? @md.date.issued \ - and @md.date.issued=~/\S+/ #dc - id,info=@translate.date_issued,@md.date.issued - metadata(id,info) - end - if defined? @md.date.available \ - and @md.date.available=~/\S+/ #dc - id,info=@translate.date_available,@md.date.available - metadata(id,info) - end - if defined? @md.date.modified \ - and @md.date.modified=~/\S+/ #dc - id,info=@translate.date_modified,@md.date.modified - metadata(id,info) - end - if defined? @md.date.valid \ - and @md.date.valid=~/\S+/ #dc - id,info=@translate.date_valid,@md.date.valid - metadata(id,info) - end - end - if defined? @md.publisher \ - and @md.publisher=~/\S+/ #dc - id,info=@translate.publisher,@md.publisher - metadata(id,info) - end - if defined? @md.notes #% - if defined? @md.notes.description \ - and @md.notes.description=~/\S+/ - id,info=@translate.description,@md.notes.description - metadata(id,info) - end - if defined? @md.notes.abstract \ - and @md.notes.abstract=~/\S+/ - id,info=@translate.abstract,@md.notes.abstract - metadata(id,info) - end - if defined? @md.notes.comment \ - and @md.notes.comment=~/\S+/ - id,info=@translate.comments,@md.notes.comment - metadata(id,info) - end - if defined? @md.notes.prefix_a \ - and @md.notes.prefix_a=~/\S+/ - id,info=@translate.prefix_a,@md.notes.prefix_a - metadata(id,info) - end - if defined? @md.notes.prefix_b \ - and @md.notes.prefix_b=~/\S+/ - id,info=@translate.prefix_b,@md.notes.prefix_b - metadata(id,info) - end - end - if defined? @md.title #% - if defined? @md.title.language \ - and @md.title.language=~/\S+/ - id,info=@translate.language,@md.title.language - metadata(id,info) - end - if defined? @md.original.language \ - and @md.original.language=~/\S+/ - id,info=@translate.language_original,@md.original.language - metadata(id,info) - end - end - if defined? @md.classify #% - if defined? @md.topic_register_array \ - and @md.topic_register_array.length > 0 - @manifest[:html] << %{\n} - end - if defined? @md.classify.subject \ - and @md.classify.subject=~/\S+/ - id,info=@translate.subject,@md.classify.subject - metadata(id,info) - end - if defined? @md.classify.keywords \ - and @md.classify.keywords=~/\S+/ - id,info=@translate.keywords,@md.classify.keywords - metadata(id,info) - end - if defined? @md.classify.loc \ - and @md.classify.loc=~/\S+/ - id,info=@translate.cls_loc,@md.classify.loc - metadata(id,info) - end - if defined? @md.classify.dewey \ - and @md.classify.dewey=~/\S+/ - id,info=@translate.cls_dewey,@md.classify.dewey - metadata(id,info) - end - if defined? @md.notes.coverage \ - and @md.notes.coverage=~/\S+/ - id,info=@translate.coverage,@md.notes.coverage - metadata(id,info) - end - if defined? @md.notes.relation \ - and @md.notes.relation=~/\S+/ - id,info=@translate.relation,@md.notes.relation - metadata(id,info) - end - if defined? @md.notes.type \ - and @md.notes.type=~/\S+/ #dc - id,info=@translate.type,@md.notes.type - metadata(id,info) - end - if defined? @md.notes.format \ - and @md.notes.format=~/\S+/ - id,info=@transate.format,@md.notes.format - metadata(id,info) - end - end - if defined? @md.identifier #% - if defined? @md.identifier.oclc \ - and @md.identifier.oclc=~/\S+/ - id,info=@translate.cls_oclc,@md.identifier.oclc - @manifest[:html] << %{\n} - end - if defined? @md.identifier.pg \ - and @md.identifier.pg=~/\S+/ - id,info=@translate.cls_gutenberg,@md.identifier.pg - metadata(id,info) - end - if defined? @md.identifier.isbn \ - and @md.identifier.isbn=~/\S+/ - id,info=@translate.cls_isbn,@md.identifier.isbn - metadata(id,info) - end - end - if defined? @md.original.source \ - and @md.original.source=~/\S+/ - id,info=@translate.source,@md.original.source - metadata(id,info) - end - if @md.fns - id,info=@translate.sourcefile,@md.fns - metadata(id,info) - end - if @md.en[:mismatch] > 0 - id,info='WARNING document error in endnote markup, number mismatch',"endnotes: #{@md.en[:note]} != endnote reference marks: #{@md.en[:mark]} (difference = #{@md.en[:mismatch]})" - metadata(id,info) - end - if @md.wc_words - id,info=@translate.word_count,@md.wc_words - metadata(id,info) - end - if @md.dgst - id,info="#{@translate.sourcefile_digest} (#{@dg})",@md.dgst[1] - metadata(id,info) - end - if @md.sc_number - id,info=@translate.sc_number,@md.sc_number - metadata(id,info) - end - if @md.sc_date - id,info=@translate.sc_date,"#{@md.sc_date} at #{@md.sc_time}" - metadata(id,info) - end - if @md.generated - id,info=@translate.last_generated,@md.generated - metadata(id,info) - end - if @md.sisu_version - id,info=@translate.sisu_version,"#{@md.sisu_version[:project]} #{@md.sisu_version[:version]} #{@md.sisu_version[:date_stamp]} (#{@md.sisu_version[:date]})#{@md.sisu_version[:install_method]}" - metadata(id,info) - end - if @md.ruby_version - id,info=@translate.ruby_version,@md.ruby_version - metadata(id,info) - end - end - def links_tests - if defined? @md.lnk \ - and @md.lnk - @md.lnk.each do |l| - if defined? l[:say] - target=(l[:url] !~/^\.(\.)?\//) \ - ? 'external' - : '_top' - url,lnk=l[:url],l[:say] - unless url.nil? \ - or url.empty? - links(url,lnk,target) - end - end - end - end - end - def check_output(data) - begin - make=SiSU_Env::ProcessingSettings.new(@md) - minitoc=SiSU_HTML_MiniToc::TocMini.new(@md,data).songsheet.join("\n") - vz=SiSU_Viz::Defaults.new - format_head_toc=SiSU_HTML_Format::HeadToc.new(@md) - @manifest[:html] <<< - - - -SiSU manifest: #{@md.title.full} - - - - - -#{@stylesheet.css_head} - - -#{format_head_toc.seg_head_navigation_band(:manifest)} -WOK - if make.build.manifest_minitoc? - if @o_str.dump_or_redirect? - elsif @f.output_dir_structure.by_language_code? \ - or @f.output_dir_structure.by_filetype? - minitoc=minitoc.gsub(/ -#{minitoc.to_s} - - -

#{@md.title.full}

-

#{@md.author}

- -

#{@translate.filename}

#{@translate.description}

 

#{img}#{id}

#{file}

#{url_make(url,file)}

#{kb}

#{img}#{id}

#{file}

#{url_make(url,file)}

#{kb}

#{id}

#{file}   #{dgst[1]}#{url_make(url,file,:src)}

#{kb}

#{l[:l]}

#{l[:l]}

#{@brace_url.xml_open}#{l[:mu]}#{@brace_url.xml_close}

 

#{id}:

#{info}

#{lnk}

  #{@brace_url.xml_open}#{static}#{@brace_url.xml_close}

-

QR code SiSU document metadata:

-

- qrcode metadata -

-
-

QR code document title info:

-

- qrcode title -

-

#{@translate.topic_register}:

\n} - @md.topic_register_array.each do |t| - t.each_with_index do |st,i| - if st.is_a?(Array) - st.each do |v| - if v.is_a?(Array) - v.each do |w| - @manifest[:html] << %{

#{w}

\n} - end - else - @manifest[:html] << %{

#{v}

\n} - end - end - else @manifest[:html] << %{

#{st}

\n} - end - end - end - @manifest[:html] << %{

#{id}:

\n} - @manifest[:html] << %{

#{info}

\n} - @manifest[:html] << %{
-WOK - published_versions - @manifest[:html] << '
' - @manifest[:html] <<<#{@translate.manifest_description_output} - - - -WOK - output_tests - @manifest[:html] << '

#{@translate.filetype_description}

#{@translate.filename}

#{@translate.file_size}

(kB)

' - @manifest[:html] <<< -WOK - source_tests - @manifest[:html] << '' - @manifest[:html] <<<#{@translate.manifest_description_metadata} - - -WOK - metadata_tests - @manifest[:html] <<< -WOK - @manifest[:html] <<<#{@translate.suggested_links}:

-

#{@translate.metadata}

#{@translate.description}

-WOK - links_tests - @manifest[:html] <<< -WOK - @manifest[:html] <<<#{@translate.language_version_list} -
- - -WOK - language_versions - qrc_image - @manifest[:html] <<< - -
-
-#{vz.credits_sisu_manifest} -
- - -WOK - output - rescue - SiSU_Errors::Rescued.new($!,$@,@md.opt.selections.str,@md.fns).location do - __LINE__.to_s + ':' + __FILE__ - end - ensure - end - end - end - end -end -__END__ -- cgit v1.2.3 From 33b94cc15e25dedcc6fb93d00942b97823090a4b Mon Sep 17 00:00:00 2001 From: Ralph Amissah Date: Sun, 28 Sep 2014 21:46:45 -0400 Subject: v5 v6: sql, clean searchable text * update for (ao/dal) text representation, fix legacy action --- data/doc/sisu/CHANGELOG_v5 | 3 +++ data/doc/sisu/CHANGELOG_v6 | 3 +++ lib/sisu/v5/db_columns.rb | 2 +- lib/sisu/v5/db_import.rb | 26 +++++++++++++------------- lib/sisu/v5/db_sqltxt.rb | 28 ++++++++++++++++++++++++---- lib/sisu/v6/db_columns.rb | 2 +- lib/sisu/v6/db_import.rb | 26 +++++++++++++------------- lib/sisu/v6/db_sqltxt.rb | 28 ++++++++++++++++++++++++---- 8 files changed, 82 insertions(+), 36 deletions(-) diff --git a/data/doc/sisu/CHANGELOG_v5 b/data/doc/sisu/CHANGELOG_v5 index 2b2a7b89..eed72ecb 100644 --- a/data/doc/sisu/CHANGELOG_v5 +++ b/data/doc/sisu/CHANGELOG_v5 @@ -38,6 +38,9 @@ http://www.jus.uio.no/sisu/pkg/src/sisu_5.6.8.orig.tar.xz sisu_5.6.8.orig.tar.xz sisu_5.6.8-1.dsc +* sql, clean searchable text, update for (ao/dal) text representation, + fix legacy action + %% 5.6.7.orig.tar.xz (2014-09-19:37/5) http://git.sisudoc.org/gitweb/?p=code/sisu.git;a=log;h=refs/tags/sisu_5.6.7 http://git.sisudoc.org/gitweb/?p=code/sisu.git;a=log;h=refs/tags/debian/sisu_5.6.7-1 diff --git a/data/doc/sisu/CHANGELOG_v6 b/data/doc/sisu/CHANGELOG_v6 index 9771fccf..7350e085 100644 --- a/data/doc/sisu/CHANGELOG_v6 +++ b/data/doc/sisu/CHANGELOG_v6 @@ -28,6 +28,9 @@ http://www.jus.uio.no/sisu/pkg/src/sisu_6.2.9.orig.tar.xz sisu_6.2.9.orig.tar.xz sisu_6.2.9-1.dsc +* sql, clean searchable text, update for (ao/dal) text representation, + fix legacy action + %% 6.2.8.orig.tar.xz (2014-09-19:37/5) http://git.sisudoc.org/gitweb/?p=code/sisu.git;a=log;h=refs/tags/sisu_6.2.8 http://git.sisudoc.org/gitweb/?p=code/sisu.git;a=log;h=refs/tags/debian/sisu_6.2.8-1 diff --git a/lib/sisu/v5/db_columns.rb b/lib/sisu/v5/db_columns.rb index 44d45e95..15341042 100644 --- a/lib/sisu/v5/db_columns.rb +++ b/lib/sisu/v5/db_columns.rb @@ -81,7 +81,7 @@ module SiSU_DbColumns @sisutxt=special_character_escape(src) else @sisutxt='' end - @fulltext=clean_searchable_text(txt_arr) + @fulltext=clean_searchable_text_from_document_objects(txt_arr) else @sisutxt,@fulltext='','' end end diff --git a/lib/sisu/v5/db_import.rb b/lib/sisu/v5/db_import.rb index a7f33939..8a500f8a 100644 --- a/lib/sisu/v5/db_import.rb +++ b/lib/sisu/v5/db_import.rb @@ -292,7 +292,7 @@ module SiSU_DbImport src=txt_arr.join("\n") src=special_character_escape(src) @tp[:sisutxt_f],@tp[:sisutxt_i]='sisutxt, ',"'#{src}', " - txt=clean_searchable_text(txt_arr) + txt=clean_searchable_text_from_document_source(txt_arr) #txt=special_character_escape(txt) @tp[:fulltxt_f],@tp[:fulltxt_i]='fulltxt, ',"'#{txt}', " end @@ -374,9 +374,9 @@ module SiSU_DbImport @col[:body]=special_character_escape(body) plaintext=@col[:body].dup plaintext=strip_markup(plaintext) - @col[:plaintext]=clean_searchable_text(plaintext) + @col[:plaintext]=clean_searchable_text_from_document_objects(plaintext) book_idx=book_idx_hash_to_str(data.idx) - @col[:book_idx]=clean_searchable_text(book_idx) + @col[:book_idx]=clean_searchable_text_from_document_objects(book_idx) if @en[0] then @en_a,@en_z=@en[0].first,@en[0].last end if @en_ast[0] then @en_a_asterisk,@en_z_asterisk=@en_ast[0].first,@en_ast[0].last @@ -425,9 +425,9 @@ module SiSU_DbImport @col[:body]=special_character_escape(body) plaintext=@col[:body].dup plaintext=strip_markup(plaintext) - @col[:plaintext]=clean_searchable_text(plaintext) + @col[:plaintext]=clean_searchable_text_from_document_objects(plaintext) book_idx=book_idx_hash_to_str(data.idx) - @col[:book_idx]=clean_searchable_text(book_idx) + @col[:book_idx]=clean_searchable_text_from_document_objects(book_idx) @en_a,@en_z=@en[0].first,@en[0].last if @en[0] @en_a_asterisk,@en_z_asterisk=@en_ast[0].first,@en_ast[0].last if @en_ast[0] @en_a_plus,@en_z_plus=@en_pls[0].first,@en_pls[0].last if @en_pls[0] @@ -470,9 +470,9 @@ module SiSU_DbImport @col[:body]=special_character_escape(body) plaintext=@col[:body].dup plaintext=strip_markup(plaintext) - @col[:plaintext]=clean_searchable_text(plaintext) + @col[:plaintext]=clean_searchable_text_from_document_objects(plaintext) book_idx=book_idx_hash_to_str(data.idx) - @col[:book_idx]=clean_searchable_text(book_idx) + @col[:book_idx]=clean_searchable_text_from_document_objects(book_idx) @en_a,@en_z=@en[0].first,@en[0].last if @en[0] @en_a_asterisk,@en_z_asterisk=@en_ast[0].first,@en_ast[0].last if @en_ast[0] @en_a_plus,@en_z_plus=@en_pls[0].first,@en_pls[0].last if @en_pls[0] @@ -501,9 +501,9 @@ module SiSU_DbImport @col[:body]=special_character_escape(body) plaintext=@col[:body].dup plaintext=strip_markup(plaintext) - @col[:plaintext]=clean_searchable_text(plaintext) + @col[:plaintext]=clean_searchable_text_from_document_objects(plaintext) book_idx=book_idx_hash_to_str(data.idx) - @col[:book_idx]=clean_searchable_text(book_idx) + @col[:book_idx]=clean_searchable_text_from_document_objects(book_idx) @en_a,@en_z=@en[0].first,@en[0].last if @en[0] @en_a_asterisk,@en_z_asterisk=@en_ast[0].first,@en_ast[0].last if @en_ast[0] @en_a_plus,@en_z_plus=@en_pls[0].first,@en_pls[0].last if @en_pls[0] @@ -532,9 +532,9 @@ module SiSU_DbImport @col[:body]=special_character_escape(body) plaintext=@col[:body].dup plaintext=strip_markup(plaintext) - @col[:plaintext]=clean_searchable_text(plaintext) + @col[:plaintext]=clean_searchable_text_from_document_objects(plaintext) book_idx=book_idx_hash_to_str(data.idx) - @col[:book_idx]=clean_searchable_text(book_idx) + @col[:book_idx]=clean_searchable_text_from_document_objects(book_idx) @en_a,@en_z=@en[0].first,@en[0].last if @en[0] @en_a_asterisk,@en_z_asterisk=@en_ast[0].first,@en_ast[0].last if @en_ast[0] @en_a_plus,@en_z_plus=@en_pls[0].first,@en_pls[0].last if @en_pls[0] @@ -603,9 +603,9 @@ module SiSU_DbImport @col[:body]=special_character_escape(body) plaintext=@col[:body].dup plaintext=strip_markup(plaintext) - @col[:plaintext]=clean_searchable_text(plaintext) + @col[:plaintext]=clean_searchable_text_from_document_objects(plaintext) book_idx=book_idx_hash_to_str(data.idx) - @col[:book_idx]=clean_searchable_text(book_idx) + @col[:book_idx]=clean_searchable_text_from_document_objects(book_idx) t=SiSU_DbTuple::LoadDocuments.new(@conn,@col,@opt,@file_maint) @tuple_array << t.tuple @en,@en_ast,@en_pls=[],[],[] diff --git a/lib/sisu/v5/db_sqltxt.rb b/lib/sisu/v5/db_sqltxt.rb index 99d417e1..adb2b0f0 100644 --- a/lib/sisu/v5/db_sqltxt.rb +++ b/lib/sisu/v5/db_sqltxt.rb @@ -71,7 +71,27 @@ module SiSU_DbText gsub(/#{Mx[:lnk_o]}\s*(.+?)\s*#{Mx[:lnk_c]}(?:file|ftp):\/\/\S+?([.,!?]?(?:\s|$))/,'\1\2'). gsub(/#{Mx[:lnk_o]}\s*(.+?)\s*#{Mx[:lnk_c]}#{Mx[:url_o]}\S+?#{Mx[:url_c]}/,'\1') end - def clean_searchable_text(arr) #produce clean, searchable, plaintext from document source + def clean_searchable_text_from_document_objects(arr) + txt_arr,en=[],[] + arr=(arr.is_a?(String)) ? [ arr ] : arr + arr.each do |s| + s=s.gsub(/#{Mx[:fa_o]}[a-z]{1,4}#{Mx[:fa_o_c]}/m,''). + gsub(/#{Mx[:fa_c_o]}[a-z]{1,4}#{Mx[:fa_c]}/m,''). + gsub(/
/m,' ') + en << s.scan(/#{Mx[:en_a_o]}\s*(.+?)\s*#{Mx[:en_a_c]}/m) + s=s.gsub(/#{Mx[:en_a_o]}.+?#{Mx[:en_a_c]}/m,''). + gsub(/#{Mx[:en_b_o]}.+?#{Mx[:en_b_c]}/m,''). + gsub(/ \s+/m,' ') + #p s if s =~/[^ \nA-Za-z0-9'"`?!#@$%^&*=+,.;:\[\]()<>{}‹›|\\\/~_-]/ + s + end + txt_arr << arr << en + #txt_arr=txt_arr.flatten + txt=txt_arr.flatten.join("\n") + txt=special_character_escape(txt) + txt + end + def clean_searchable_text_from_document_source(arr) txt_arr,en=[],[] arr=(arr.is_a?(String)) ? arr.split(/\n+/m) : arr arr.each do |s| @@ -107,14 +127,14 @@ module SiSU_DbText gsub(/^(?::?[A-C]\~(\S+)?)\s+/m,''). gsub(/^%{1,3} .+/m,''). #removed even if contained in code block gsub(/
/m,' ') - en << s.scan(/~\{\s*(.+?)\s*\}~/m) + #en << s.scan(/~\{\s*(.+?)\s*\}~/m) s=s.gsub(/~\{.+?\}~/m,''). gsub(/ \s+/m,' ') - #special_character_escape(s) + ##special_character_escape(s) + #p s if s =~/[^ \nA-Za-z0-9'"`?!#@$%^&*=+,.;:\[\]()<>{}‹›|\\\/~_-]/ s end txt_arr << arr << en - #txt_arr=txt_arr.flatten txt=txt_arr.flatten.join("\n") txt=special_character_escape(txt) txt diff --git a/lib/sisu/v6/db_columns.rb b/lib/sisu/v6/db_columns.rb index 343f66e6..005c45b5 100644 --- a/lib/sisu/v6/db_columns.rb +++ b/lib/sisu/v6/db_columns.rb @@ -81,7 +81,7 @@ module SiSU_DbColumns @sisutxt=special_character_escape(src) else @sisutxt='' end - @fulltext=clean_searchable_text(txt_arr) + @fulltext=clean_searchable_text_from_document_objects(txt_arr) else @sisutxt,@fulltext='','' end end diff --git a/lib/sisu/v6/db_import.rb b/lib/sisu/v6/db_import.rb index 3e2e7271..ccffb904 100644 --- a/lib/sisu/v6/db_import.rb +++ b/lib/sisu/v6/db_import.rb @@ -292,7 +292,7 @@ module SiSU_DbImport src=txt_arr.join("\n") src=special_character_escape(src) @tp[:sisutxt_f],@tp[:sisutxt_i]='sisutxt, ',"'#{src}', " - txt=clean_searchable_text(txt_arr) + txt=clean_searchable_text_from_document_source(txt_arr) #txt=special_character_escape(txt) @tp[:fulltxt_f],@tp[:fulltxt_i]='fulltxt, ',"'#{txt}', " end @@ -374,9 +374,9 @@ module SiSU_DbImport @col[:body]=special_character_escape(body) plaintext=@col[:body].dup plaintext=strip_markup(plaintext) - @col[:plaintext]=clean_searchable_text(plaintext) + @col[:plaintext]=clean_searchable_text_from_document_objects(plaintext) book_idx=book_idx_hash_to_str(data.idx) - @col[:book_idx]=clean_searchable_text(book_idx) + @col[:book_idx]=clean_searchable_text_from_document_objects(book_idx) if @en[0] then @en_a,@en_z=@en[0].first,@en[0].last end if @en_ast[0] then @en_a_asterisk,@en_z_asterisk=@en_ast[0].first,@en_ast[0].last @@ -425,9 +425,9 @@ module SiSU_DbImport @col[:body]=special_character_escape(body) plaintext=@col[:body].dup plaintext=strip_markup(plaintext) - @col[:plaintext]=clean_searchable_text(plaintext) + @col[:plaintext]=clean_searchable_text_from_document_objects(plaintext) book_idx=book_idx_hash_to_str(data.idx) - @col[:book_idx]=clean_searchable_text(book_idx) + @col[:book_idx]=clean_searchable_text_from_document_objects(book_idx) @en_a,@en_z=@en[0].first,@en[0].last if @en[0] @en_a_asterisk,@en_z_asterisk=@en_ast[0].first,@en_ast[0].last if @en_ast[0] @en_a_plus,@en_z_plus=@en_pls[0].first,@en_pls[0].last if @en_pls[0] @@ -470,9 +470,9 @@ module SiSU_DbImport @col[:body]=special_character_escape(body) plaintext=@col[:body].dup plaintext=strip_markup(plaintext) - @col[:plaintext]=clean_searchable_text(plaintext) + @col[:plaintext]=clean_searchable_text_from_document_objects(plaintext) book_idx=book_idx_hash_to_str(data.idx) - @col[:book_idx]=clean_searchable_text(book_idx) + @col[:book_idx]=clean_searchable_text_from_document_objects(book_idx) @en_a,@en_z=@en[0].first,@en[0].last if @en[0] @en_a_asterisk,@en_z_asterisk=@en_ast[0].first,@en_ast[0].last if @en_ast[0] @en_a_plus,@en_z_plus=@en_pls[0].first,@en_pls[0].last if @en_pls[0] @@ -501,9 +501,9 @@ module SiSU_DbImport @col[:body]=special_character_escape(body) plaintext=@col[:body].dup plaintext=strip_markup(plaintext) - @col[:plaintext]=clean_searchable_text(plaintext) + @col[:plaintext]=clean_searchable_text_from_document_objects(plaintext) book_idx=book_idx_hash_to_str(data.idx) - @col[:book_idx]=clean_searchable_text(book_idx) + @col[:book_idx]=clean_searchable_text_from_document_objects(book_idx) @en_a,@en_z=@en[0].first,@en[0].last if @en[0] @en_a_asterisk,@en_z_asterisk=@en_ast[0].first,@en_ast[0].last if @en_ast[0] @en_a_plus,@en_z_plus=@en_pls[0].first,@en_pls[0].last if @en_pls[0] @@ -532,9 +532,9 @@ module SiSU_DbImport @col[:body]=special_character_escape(body) plaintext=@col[:body].dup plaintext=strip_markup(plaintext) - @col[:plaintext]=clean_searchable_text(plaintext) + @col[:plaintext]=clean_searchable_text_from_document_objects(plaintext) book_idx=book_idx_hash_to_str(data.idx) - @col[:book_idx]=clean_searchable_text(book_idx) + @col[:book_idx]=clean_searchable_text_from_document_objects(book_idx) @en_a,@en_z=@en[0].first,@en[0].last if @en[0] @en_a_asterisk,@en_z_asterisk=@en_ast[0].first,@en_ast[0].last if @en_ast[0] @en_a_plus,@en_z_plus=@en_pls[0].first,@en_pls[0].last if @en_pls[0] @@ -603,9 +603,9 @@ module SiSU_DbImport @col[:body]=special_character_escape(body) plaintext=@col[:body].dup plaintext=strip_markup(plaintext) - @col[:plaintext]=clean_searchable_text(plaintext) + @col[:plaintext]=clean_searchable_text_from_document_objects(plaintext) book_idx=book_idx_hash_to_str(data.idx) - @col[:book_idx]=clean_searchable_text(book_idx) + @col[:book_idx]=clean_searchable_text_from_document_objects(book_idx) t=SiSU_DbTuple::LoadDocuments.new(@conn,@col,@opt,@file_maint) @tuple_array << t.tuple @en,@en_ast,@en_pls=[],[],[] diff --git a/lib/sisu/v6/db_sqltxt.rb b/lib/sisu/v6/db_sqltxt.rb index ac96df38..6d2cbb0a 100644 --- a/lib/sisu/v6/db_sqltxt.rb +++ b/lib/sisu/v6/db_sqltxt.rb @@ -71,7 +71,27 @@ module SiSU_DbText gsub(/#{Mx[:lnk_o]}\s*(.+?)\s*#{Mx[:lnk_c]}(?:file|ftp):\/\/\S+?([.,!?]?(?:\s|$))/,'\1\2'). gsub(/#{Mx[:lnk_o]}\s*(.+?)\s*#{Mx[:lnk_c]}#{Mx[:url_o]}\S+?#{Mx[:url_c]}/,'\1') end - def clean_searchable_text(arr) #produce clean, searchable, plaintext from document source + def clean_searchable_text_from_document_objects(arr) + txt_arr,en=[],[] + arr=(arr.is_a?(String)) ? [ arr ] : arr + arr.each do |s| + s=s.gsub(/#{Mx[:fa_o]}[a-z]{1,4}#{Mx[:fa_o_c]}/m,''). + gsub(/#{Mx[:fa_c_o]}[a-z]{1,4}#{Mx[:fa_c]}/m,''). + gsub(/
/m,' ') + en << s.scan(/#{Mx[:en_a_o]}\s*(.+?)\s*#{Mx[:en_a_c]}/m) + s=s.gsub(/#{Mx[:en_a_o]}.+?#{Mx[:en_a_c]}/m,''). + gsub(/#{Mx[:en_b_o]}.+?#{Mx[:en_b_c]}/m,''). + gsub(/ \s+/m,' ') + #p s if s =~/[^ \nA-Za-z0-9'"`?!#@$%^&*=+,.;:\[\]()<>{}‹›|\\\/~_-]/ + s + end + txt_arr << arr << en + #txt_arr=txt_arr.flatten + txt=txt_arr.flatten.join("\n") + txt=special_character_escape(txt) + txt + end + def clean_searchable_text_from_document_source(arr) txt_arr,en=[],[] arr=(arr.is_a?(String)) ? arr.split(/\n+/m) : arr arr.each do |s| @@ -107,14 +127,14 @@ module SiSU_DbText gsub(/^(?::?[A-C]\~(\S+)?)\s+/m,''). gsub(/^%{1,3} .+/m,''). #removed even if contained in code block gsub(/
/m,' ') - en << s.scan(/~\{\s*(.+?)\s*\}~/m) + #en << s.scan(/~\{\s*(.+?)\s*\}~/m) s=s.gsub(/~\{.+?\}~/m,''). gsub(/ \s+/m,' ') - #special_character_escape(s) + ##special_character_escape(s) + #p s if s =~/[^ \nA-Za-z0-9'"`?!#@$%^&*=+,.;:\[\]()<>{}‹›|\\\/~_-]/ s end txt_arr << arr << en - #txt_arr=txt_arr.flatten txt=txt_arr.flatten.join("\n") txt=special_character_escape(txt) txt -- cgit v1.2.3 From ca70dde521c90150f8c36ecf83f05c2d952d1712 Mon Sep 17 00:00:00 2001 From: Ralph Amissah Date: Sun, 28 Sep 2014 22:07:48 -0400 Subject: v5 v6: header comment reduction, minor --- lib/sisu/v5/air.rb | 3 --- lib/sisu/v5/ao.rb | 3 --- lib/sisu/v5/ao_character_check.rb | 3 --- lib/sisu/v5/ao_composite.rb | 3 --- lib/sisu/v5/ao_doc_objects.rb | 3 --- lib/sisu/v5/ao_doc_str.rb | 3 --- lib/sisu/v5/ao_endnotes.rb | 3 --- lib/sisu/v5/ao_expand_insertions.rb | 3 --- lib/sisu/v5/ao_hash_digest.rb | 3 --- lib/sisu/v5/ao_idx.rb | 3 --- lib/sisu/v5/ao_images.rb | 3 --- lib/sisu/v5/ao_metadata.rb | 3 --- lib/sisu/v5/ao_misc_arrange.rb | 3 --- lib/sisu/v5/ao_numbering.rb | 3 --- lib/sisu/v5/ao_syntax.rb | 3 --- lib/sisu/v5/cgi.rb | 3 --- lib/sisu/v5/cgi_pgsql.rb | 3 --- lib/sisu/v5/cgi_sql_common.rb | 6 ------ lib/sisu/v5/cgi_sqlite.rb | 3 --- lib/sisu/v5/conf.rb | 3 --- lib/sisu/v5/constants.rb | 3 --- lib/sisu/v5/css.rb | 3 --- lib/sisu/v5/db_columns.rb | 3 --- lib/sisu/v5/db_create.rb | 3 --- lib/sisu/v5/db_dbi.rb | 3 --- lib/sisu/v5/db_drop.rb | 3 --- lib/sisu/v5/db_import.rb | 3 --- lib/sisu/v5/db_indexes.rb | 3 --- lib/sisu/v5/db_load_tuple.rb | 3 --- lib/sisu/v5/db_remove.rb | 3 --- lib/sisu/v5/db_select.rb | 3 --- lib/sisu/v5/db_sqltxt.rb | 3 --- lib/sisu/v5/db_tests.rb | 3 --- lib/sisu/v5/dbi.rb | 3 --- lib/sisu/v5/dbi_discrete.rb | 3 --- lib/sisu/v5/defaults.rb | 3 --- lib/sisu/v5/digests.rb | 3 --- lib/sisu/v5/dp.rb | 3 --- lib/sisu/v5/dp_identify_markup.rb | 3 --- lib/sisu/v5/dp_make.rb | 3 --- lib/sisu/v5/embedded.rb | 3 --- lib/sisu/v5/errors.rb | 3 --- lib/sisu/v5/git.rb | 3 --- lib/sisu/v5/harvest.rb | 3 --- lib/sisu/v5/harvest_author_format.rb | 3 --- lib/sisu/v5/harvest_authors.rb | 3 --- lib/sisu/v5/harvest_topics.rb | 3 --- lib/sisu/v5/html.rb | 3 --- lib/sisu/v5/html_concordance.rb | 3 --- lib/sisu/v5/html_format.rb | 3 --- lib/sisu/v5/html_lite_shared.rb | 3 --- lib/sisu/v5/html_manifest.rb | 3 --- lib/sisu/v5/html_minitoc.rb | 3 --- lib/sisu/v5/html_promo.rb | 3 --- lib/sisu/v5/html_scroll.rb | 3 --- lib/sisu/v5/html_segments.rb | 3 --- lib/sisu/v5/html_shared.rb | 3 --- lib/sisu/v5/html_table.rb | 3 --- lib/sisu/v5/html_tune.rb | 3 --- lib/sisu/v5/hub.rb | 3 --- lib/sisu/v5/hub_actions.rb | 3 --- lib/sisu/v5/hub_loop_markup_files.rb | 3 --- lib/sisu/v5/hub_options.rb | 3 --- lib/sisu/v5/i18n.rb | 3 --- lib/sisu/v5/manpage.rb | 3 --- lib/sisu/v5/manpage_format.rb | 3 --- lib/sisu/v5/po4a.rb | 3 --- lib/sisu/v5/po4a_set.rb | 3 --- lib/sisu/v5/prog_text_translation.rb | 3 --- lib/sisu/v5/qrcode.rb | 3 --- lib/sisu/v5/relaxng.rb | 6 ------ lib/sisu/v5/remote.rb | 3 --- lib/sisu/v5/rexml.rb | 3 --- lib/sisu/v5/se.rb | 3 --- lib/sisu/v5/se_cleanoutput.rb | 3 --- lib/sisu/v5/se_clear.rb | 3 --- lib/sisu/v5/se_createsite.rb | 3 --- lib/sisu/v5/se_css.rb | 3 --- lib/sisu/v5/se_date.rb | 3 --- lib/sisu/v5/se_db.rb | 3 --- lib/sisu/v5/se_envcall.rb | 3 --- lib/sisu/v5/se_file_op.rb | 3 --- lib/sisu/v5/se_filemap.rb | 3 --- lib/sisu/v5/se_get_init.rb | 3 --- lib/sisu/v5/se_hub_particulars.rb | 3 --- lib/sisu/v5/se_info_env.rb | 3 --- lib/sisu/v5/se_info_port.rb | 3 --- lib/sisu/v5/se_info_system.rb | 3 --- lib/sisu/v5/se_load.rb | 3 --- lib/sisu/v5/se_processing.rb | 3 --- lib/sisu/v5/se_programs.rb | 3 --- lib/sisu/v5/se_remotes.rb | 3 --- lib/sisu/v5/se_standardise_lang.rb | 3 --- lib/sisu/v5/se_version.rb | 3 --- lib/sisu/v5/shared_images.rb | 3 --- lib/sisu/v5/shared_markup_alt.rb | 3 --- lib/sisu/v5/shared_metadata.rb | 3 --- lib/sisu/v5/shared_sem.rb | 3 --- lib/sisu/v5/sitemaps.rb | 3 --- lib/sisu/v5/src_kdissert_share.rb | 3 --- lib/sisu/v5/src_share.rb | 3 --- lib/sisu/v5/src_shared.rb | 3 --- lib/sisu/v5/src_sisupod_make.rb | 3 --- lib/sisu/v5/sst_convert_markup.rb | 3 --- lib/sisu/v5/sst_do_inline_footnotes.rb | 3 --- lib/sisu/v5/sst_from_xml.rb | 3 --- lib/sisu/v5/sst_identify_markup.rb | 3 --- lib/sisu/v5/sst_to_s_xml_sax.rb | 3 --- lib/sisu/v5/termsheet.rb | 3 --- lib/sisu/v5/texinfo.rb | 3 --- lib/sisu/v5/texinfo_format.rb | 3 --- lib/sisu/v5/texpdf.rb | 3 --- lib/sisu/v5/texpdf_format.rb | 3 --- lib/sisu/v5/txt_asciidoc.rb | 3 --- lib/sisu/v5/txt_markdown.rb | 3 --- lib/sisu/v5/txt_plain.rb | 3 --- lib/sisu/v5/txt_rst.rb | 3 --- lib/sisu/v5/txt_shared.rb | 3 --- lib/sisu/v5/txt_textile.rb | 3 --- lib/sisu/v5/update.rb | 3 --- lib/sisu/v5/urls.rb | 3 --- lib/sisu/v5/utils.rb | 3 --- lib/sisu/v5/utils_response.rb | 3 --- lib/sisu/v5/utils_screen_text_color.rb | 3 --- lib/sisu/v5/utils_spell.rb | 3 --- lib/sisu/v5/webrick.rb | 3 --- lib/sisu/v5/wikispeak.rb | 3 --- lib/sisu/v5/xhtml.rb | 3 --- lib/sisu/v5/xhtml_epub2.rb | 3 --- lib/sisu/v5/xhtml_epub2_concordance.rb | 3 --- lib/sisu/v5/xhtml_epub2_format.rb | 3 --- lib/sisu/v5/xhtml_epub2_segments.rb | 3 --- lib/sisu/v5/xhtml_epub2_tune.rb | 3 --- lib/sisu/v5/xhtml_shared.rb | 3 --- lib/sisu/v5/xhtml_table.rb | 3 --- lib/sisu/v5/xml_docbook5.rb | 3 --- lib/sisu/v5/xml_dom.rb | 3 --- lib/sisu/v5/xml_fictionbook2.rb | 3 --- lib/sisu/v5/xml_format.rb | 3 --- lib/sisu/v5/xml_md_oai_pmh_dc.rb | 3 --- lib/sisu/v5/xml_odf_odt.rb | 3 --- lib/sisu/v5/xml_odf_odt_format.rb | 3 --- lib/sisu/v5/xml_sax.rb | 3 --- lib/sisu/v5/xml_scaffold_structure_collapsed.rb | 3 --- lib/sisu/v5/xml_scaffold_structure_sisu.rb | 3 --- lib/sisu/v5/xml_shared.rb | 3 --- lib/sisu/v5/xml_tables.rb | 3 --- lib/sisu/v5/zap.rb | 3 --- lib/sisu/v6/air.rb | 3 --- lib/sisu/v6/ao.rb | 3 --- lib/sisu/v6/ao_character_check.rb | 3 --- lib/sisu/v6/ao_composite.rb | 3 --- lib/sisu/v6/ao_doc_objects.rb | 3 --- lib/sisu/v6/ao_doc_str.rb | 3 --- lib/sisu/v6/ao_endnotes.rb | 3 --- lib/sisu/v6/ao_expand_insertions.rb | 3 --- lib/sisu/v6/ao_hash_digest.rb | 3 --- lib/sisu/v6/ao_idx.rb | 3 --- lib/sisu/v6/ao_images.rb | 3 --- lib/sisu/v6/ao_metadata.rb | 3 --- lib/sisu/v6/ao_misc_arrange.rb | 3 --- lib/sisu/v6/ao_numbering.rb | 3 --- lib/sisu/v6/ao_syntax.rb | 3 --- lib/sisu/v6/cgi.rb | 3 --- lib/sisu/v6/cgi_pgsql.rb | 3 --- lib/sisu/v6/cgi_sql_common.rb | 6 ------ lib/sisu/v6/cgi_sqlite.rb | 3 --- lib/sisu/v6/conf.rb | 3 --- lib/sisu/v6/constants.rb | 3 --- lib/sisu/v6/css.rb | 3 --- lib/sisu/v6/db_columns.rb | 3 --- lib/sisu/v6/db_create.rb | 3 --- lib/sisu/v6/db_dbi.rb | 3 --- lib/sisu/v6/db_drop.rb | 3 --- lib/sisu/v6/db_import.rb | 3 --- lib/sisu/v6/db_indexes.rb | 3 --- lib/sisu/v6/db_load_tuple.rb | 3 --- lib/sisu/v6/db_remove.rb | 3 --- lib/sisu/v6/db_select.rb | 3 --- lib/sisu/v6/db_sqltxt.rb | 3 --- lib/sisu/v6/db_tests.rb | 3 --- lib/sisu/v6/dbi.rb | 3 --- lib/sisu/v6/dbi_discrete.rb | 3 --- lib/sisu/v6/defaults.rb | 3 --- lib/sisu/v6/digests.rb | 3 --- lib/sisu/v6/dp.rb | 3 --- lib/sisu/v6/dp_identify_markup.rb | 3 --- lib/sisu/v6/dp_make.rb | 3 --- lib/sisu/v6/embedded.rb | 3 --- lib/sisu/v6/errors.rb | 3 --- lib/sisu/v6/git.rb | 3 --- lib/sisu/v6/harvest.rb | 3 --- lib/sisu/v6/harvest_author_format.rb | 3 --- lib/sisu/v6/harvest_authors.rb | 3 --- lib/sisu/v6/harvest_topics.rb | 3 --- lib/sisu/v6/html.rb | 3 --- lib/sisu/v6/html_concordance.rb | 3 --- lib/sisu/v6/html_format.rb | 3 --- lib/sisu/v6/html_lite_shared.rb | 3 --- lib/sisu/v6/html_manifest.rb | 3 --- lib/sisu/v6/html_minitoc.rb | 3 --- lib/sisu/v6/html_promo.rb | 3 --- lib/sisu/v6/html_scroll.rb | 3 --- lib/sisu/v6/html_segments.rb | 3 --- lib/sisu/v6/html_shared.rb | 3 --- lib/sisu/v6/html_table.rb | 3 --- lib/sisu/v6/html_tune.rb | 3 --- lib/sisu/v6/hub.rb | 3 --- lib/sisu/v6/hub_actions.rb | 3 --- lib/sisu/v6/hub_loop_markup_files.rb | 3 --- lib/sisu/v6/hub_options.rb | 3 --- lib/sisu/v6/i18n.rb | 3 --- lib/sisu/v6/manpage.rb | 3 --- lib/sisu/v6/manpage_format.rb | 3 --- lib/sisu/v6/po4a.rb | 3 --- lib/sisu/v6/po4a_set.rb | 3 --- lib/sisu/v6/prog_text_translation.rb | 3 --- lib/sisu/v6/qrcode.rb | 3 --- lib/sisu/v6/relaxng.rb | 6 ------ lib/sisu/v6/remote.rb | 3 --- lib/sisu/v6/rexml.rb | 3 --- lib/sisu/v6/se.rb | 3 --- lib/sisu/v6/se_cleanoutput.rb | 3 --- lib/sisu/v6/se_clear.rb | 3 --- lib/sisu/v6/se_createsite.rb | 3 --- lib/sisu/v6/se_css.rb | 3 --- lib/sisu/v6/se_date.rb | 3 --- lib/sisu/v6/se_db.rb | 3 --- lib/sisu/v6/se_envcall.rb | 3 --- lib/sisu/v6/se_file_op.rb | 3 --- lib/sisu/v6/se_filemap.rb | 3 --- lib/sisu/v6/se_get_init.rb | 3 --- lib/sisu/v6/se_hub_particulars.rb | 3 --- lib/sisu/v6/se_info_env.rb | 3 --- lib/sisu/v6/se_info_port.rb | 3 --- lib/sisu/v6/se_info_system.rb | 3 --- lib/sisu/v6/se_load.rb | 3 --- lib/sisu/v6/se_processing.rb | 3 --- lib/sisu/v6/se_programs.rb | 3 --- lib/sisu/v6/se_remotes.rb | 3 --- lib/sisu/v6/se_standardise_lang.rb | 3 --- lib/sisu/v6/se_version.rb | 3 --- lib/sisu/v6/shared_images.rb | 3 --- lib/sisu/v6/shared_markup_alt.rb | 3 --- lib/sisu/v6/shared_metadata.rb | 3 --- lib/sisu/v6/shared_sem.rb | 3 --- lib/sisu/v6/sitemaps.rb | 3 --- lib/sisu/v6/src_kdissert_share.rb | 3 --- lib/sisu/v6/src_share.rb | 3 --- lib/sisu/v6/src_shared.rb | 3 --- lib/sisu/v6/src_sisupod_make.rb | 3 --- lib/sisu/v6/sst_convert_markup.rb | 3 --- lib/sisu/v6/sst_do_inline_footnotes.rb | 3 --- lib/sisu/v6/sst_from_xml.rb | 3 --- lib/sisu/v6/sst_identify_markup.rb | 3 --- lib/sisu/v6/sst_to_s_xml_sax.rb | 3 --- lib/sisu/v6/termsheet.rb | 3 --- lib/sisu/v6/texinfo.rb | 3 --- lib/sisu/v6/texinfo_format.rb | 3 --- lib/sisu/v6/texpdf.rb | 3 --- lib/sisu/v6/texpdf_format.rb | 3 --- lib/sisu/v6/txt_asciidoc.rb | 3 --- lib/sisu/v6/txt_markdown.rb | 3 --- lib/sisu/v6/txt_plain.rb | 3 --- lib/sisu/v6/txt_rst.rb | 3 --- lib/sisu/v6/txt_shared.rb | 3 --- lib/sisu/v6/txt_textile.rb | 3 --- lib/sisu/v6/update.rb | 3 --- lib/sisu/v6/urls.rb | 3 --- lib/sisu/v6/utils.rb | 3 --- lib/sisu/v6/utils_response.rb | 3 --- lib/sisu/v6/utils_screen_text_color.rb | 3 --- lib/sisu/v6/utils_spell.rb | 3 --- lib/sisu/v6/webrick.rb | 3 --- lib/sisu/v6/wikispeak.rb | 3 --- lib/sisu/v6/xhtml.rb | 3 --- lib/sisu/v6/xhtml_epub2.rb | 3 --- lib/sisu/v6/xhtml_epub2_concordance.rb | 3 --- lib/sisu/v6/xhtml_epub2_format.rb | 3 --- lib/sisu/v6/xhtml_epub2_segments.rb | 3 --- lib/sisu/v6/xhtml_epub2_tune.rb | 3 --- lib/sisu/v6/xhtml_shared.rb | 3 --- lib/sisu/v6/xhtml_table.rb | 3 --- lib/sisu/v6/xml_docbook5.rb | 3 --- lib/sisu/v6/xml_dom.rb | 3 --- lib/sisu/v6/xml_fictionbook2.rb | 3 --- lib/sisu/v6/xml_format.rb | 3 --- lib/sisu/v6/xml_md_oai_pmh_dc.rb | 3 --- lib/sisu/v6/xml_odf_odt.rb | 3 --- lib/sisu/v6/xml_odf_odt_format.rb | 3 --- lib/sisu/v6/xml_sax.rb | 3 --- lib/sisu/v6/xml_scaffold_structure_collapsed.rb | 3 --- lib/sisu/v6/xml_scaffold_structure_sisu.rb | 3 --- lib/sisu/v6/xml_shared.rb | 3 --- lib/sisu/v6/xml_tables.rb | 3 --- lib/sisu/v6/zap.rb | 3 --- 296 files changed, 900 deletions(-) diff --git a/lib/sisu/v5/air.rb b/lib/sisu/v5/air.rb index c1422a5a..f09f02c9 100644 --- a/lib/sisu/v5/air.rb +++ b/lib/sisu/v5/air.rb @@ -46,9 +46,6 @@ - * Download: - - * Git diff --git a/lib/sisu/v5/ao.rb b/lib/sisu/v5/ao.rb index 483889db..3f1ce71e 100644 --- a/lib/sisu/v5/ao.rb +++ b/lib/sisu/v5/ao.rb @@ -46,9 +46,6 @@ - * Download: - - * Git diff --git a/lib/sisu/v5/ao_character_check.rb b/lib/sisu/v5/ao_character_check.rb index fc5aa69e..8602f5e9 100644 --- a/lib/sisu/v5/ao_character_check.rb +++ b/lib/sisu/v5/ao_character_check.rb @@ -46,9 +46,6 @@ - * Download: - - * Git diff --git a/lib/sisu/v5/ao_composite.rb b/lib/sisu/v5/ao_composite.rb index bfb66e67..a81e3003 100644 --- a/lib/sisu/v5/ao_composite.rb +++ b/lib/sisu/v5/ao_composite.rb @@ -46,9 +46,6 @@ - * Download: - - * Git diff --git a/lib/sisu/v5/ao_doc_objects.rb b/lib/sisu/v5/ao_doc_objects.rb index 1ca6681a..a07357e5 100644 --- a/lib/sisu/v5/ao_doc_objects.rb +++ b/lib/sisu/v5/ao_doc_objects.rb @@ -46,9 +46,6 @@ - * Download: - - * Git diff --git a/lib/sisu/v5/ao_doc_str.rb b/lib/sisu/v5/ao_doc_str.rb index 98edc751..2ca21f9d 100644 --- a/lib/sisu/v5/ao_doc_str.rb +++ b/lib/sisu/v5/ao_doc_str.rb @@ -46,9 +46,6 @@ - * Download: - - * Git diff --git a/lib/sisu/v5/ao_endnotes.rb b/lib/sisu/v5/ao_endnotes.rb index 5b846810..65726d84 100644 --- a/lib/sisu/v5/ao_endnotes.rb +++ b/lib/sisu/v5/ao_endnotes.rb @@ -46,9 +46,6 @@ - * Download: - - * Git diff --git a/lib/sisu/v5/ao_expand_insertions.rb b/lib/sisu/v5/ao_expand_insertions.rb index f967cb43..fe02d4c6 100644 --- a/lib/sisu/v5/ao_expand_insertions.rb +++ b/lib/sisu/v5/ao_expand_insertions.rb @@ -46,9 +46,6 @@ - * Download: - - * Git diff --git a/lib/sisu/v5/ao_hash_digest.rb b/lib/sisu/v5/ao_hash_digest.rb index d4876f98..f732cc63 100644 --- a/lib/sisu/v5/ao_hash_digest.rb +++ b/lib/sisu/v5/ao_hash_digest.rb @@ -46,9 +46,6 @@ - * Download: - - * Git diff --git a/lib/sisu/v5/ao_idx.rb b/lib/sisu/v5/ao_idx.rb index c4dcde3f..71cfc9df 100644 --- a/lib/sisu/v5/ao_idx.rb +++ b/lib/sisu/v5/ao_idx.rb @@ -46,9 +46,6 @@ - * Download: - - * Git diff --git a/lib/sisu/v5/ao_images.rb b/lib/sisu/v5/ao_images.rb index 631fa0de..26694501 100644 --- a/lib/sisu/v5/ao_images.rb +++ b/lib/sisu/v5/ao_images.rb @@ -46,9 +46,6 @@ - * Download: - - * Git diff --git a/lib/sisu/v5/ao_metadata.rb b/lib/sisu/v5/ao_metadata.rb index 28422a1c..e1f8eb79 100644 --- a/lib/sisu/v5/ao_metadata.rb +++ b/lib/sisu/v5/ao_metadata.rb @@ -46,9 +46,6 @@ - * Download: - - * Git diff --git a/lib/sisu/v5/ao_misc_arrange.rb b/lib/sisu/v5/ao_misc_arrange.rb index ec78e3b6..6c340004 100644 --- a/lib/sisu/v5/ao_misc_arrange.rb +++ b/lib/sisu/v5/ao_misc_arrange.rb @@ -46,9 +46,6 @@ - * Download: - - * Git diff --git a/lib/sisu/v5/ao_numbering.rb b/lib/sisu/v5/ao_numbering.rb index 24652dea..06588159 100644 --- a/lib/sisu/v5/ao_numbering.rb +++ b/lib/sisu/v5/ao_numbering.rb @@ -46,9 +46,6 @@ - * Download: - - * Git diff --git a/lib/sisu/v5/ao_syntax.rb b/lib/sisu/v5/ao_syntax.rb index 34bbb137..e9f4d3bd 100644 --- a/lib/sisu/v5/ao_syntax.rb +++ b/lib/sisu/v5/ao_syntax.rb @@ -46,9 +46,6 @@ - * Download: - - * Git diff --git a/lib/sisu/v5/cgi.rb b/lib/sisu/v5/cgi.rb index a23b5da6..5b0e5831 100644 --- a/lib/sisu/v5/cgi.rb +++ b/lib/sisu/v5/cgi.rb @@ -46,9 +46,6 @@ - * Download: - - * Git diff --git a/lib/sisu/v5/cgi_pgsql.rb b/lib/sisu/v5/cgi_pgsql.rb index 88df052c..8b4210e0 100644 --- a/lib/sisu/v5/cgi_pgsql.rb +++ b/lib/sisu/v5/cgi_pgsql.rb @@ -46,9 +46,6 @@ - * Download: - - * Git diff --git a/lib/sisu/v5/cgi_sql_common.rb b/lib/sisu/v5/cgi_sql_common.rb index 5bf1006a..187859ec 100644 --- a/lib/sisu/v5/cgi_sql_common.rb +++ b/lib/sisu/v5/cgi_sql_common.rb @@ -46,9 +46,6 @@ - * Download: - - * Git @@ -118,9 +115,6 @@ module SiSU_CGI_SQL - * Download: - - * Ralph Amissah diff --git a/lib/sisu/v5/cgi_sqlite.rb b/lib/sisu/v5/cgi_sqlite.rb index 8805c98d..2b4e668f 100644 --- a/lib/sisu/v5/cgi_sqlite.rb +++ b/lib/sisu/v5/cgi_sqlite.rb @@ -46,9 +46,6 @@ - * Download: - - * Git diff --git a/lib/sisu/v5/conf.rb b/lib/sisu/v5/conf.rb index c2a130eb..32354503 100644 --- a/lib/sisu/v5/conf.rb +++ b/lib/sisu/v5/conf.rb @@ -46,9 +46,6 @@ - * Download: - - * Git diff --git a/lib/sisu/v5/constants.rb b/lib/sisu/v5/constants.rb index 1b6dcef1..5bac6769 100644 --- a/lib/sisu/v5/constants.rb +++ b/lib/sisu/v5/constants.rb @@ -47,9 +47,6 @@ - * Download: - - * Git diff --git a/lib/sisu/v5/css.rb b/lib/sisu/v5/css.rb index bab1ea56..09f5a435 100644 --- a/lib/sisu/v5/css.rb +++ b/lib/sisu/v5/css.rb @@ -46,9 +46,6 @@ - * Download: - - * Git diff --git a/lib/sisu/v5/db_columns.rb b/lib/sisu/v5/db_columns.rb index 15341042..158a1ba2 100644 --- a/lib/sisu/v5/db_columns.rb +++ b/lib/sisu/v5/db_columns.rb @@ -46,9 +46,6 @@ - * Download: - - * Git diff --git a/lib/sisu/v5/db_create.rb b/lib/sisu/v5/db_create.rb index 54b84026..58a441de 100644 --- a/lib/sisu/v5/db_create.rb +++ b/lib/sisu/v5/db_create.rb @@ -46,9 +46,6 @@ - * Download: - - * Git diff --git a/lib/sisu/v5/db_dbi.rb b/lib/sisu/v5/db_dbi.rb index 94fafa12..88ebb5ac 100644 --- a/lib/sisu/v5/db_dbi.rb +++ b/lib/sisu/v5/db_dbi.rb @@ -46,9 +46,6 @@ - * Download: - - * Git diff --git a/lib/sisu/v5/db_drop.rb b/lib/sisu/v5/db_drop.rb index 4ac66f4e..4d08313d 100644 --- a/lib/sisu/v5/db_drop.rb +++ b/lib/sisu/v5/db_drop.rb @@ -46,9 +46,6 @@ - * Download: - - * Git diff --git a/lib/sisu/v5/db_import.rb b/lib/sisu/v5/db_import.rb index 8a500f8a..0ce24831 100644 --- a/lib/sisu/v5/db_import.rb +++ b/lib/sisu/v5/db_import.rb @@ -46,9 +46,6 @@ - * Download: - - * Git diff --git a/lib/sisu/v5/db_indexes.rb b/lib/sisu/v5/db_indexes.rb index c59c51b3..b5d99b5d 100644 --- a/lib/sisu/v5/db_indexes.rb +++ b/lib/sisu/v5/db_indexes.rb @@ -46,9 +46,6 @@ - * Download: - - * Git diff --git a/lib/sisu/v5/db_load_tuple.rb b/lib/sisu/v5/db_load_tuple.rb index 661cf52c..ef21f62b 100644 --- a/lib/sisu/v5/db_load_tuple.rb +++ b/lib/sisu/v5/db_load_tuple.rb @@ -46,9 +46,6 @@ - * Download: - - * Git diff --git a/lib/sisu/v5/db_remove.rb b/lib/sisu/v5/db_remove.rb index 1c41a548..10c84560 100644 --- a/lib/sisu/v5/db_remove.rb +++ b/lib/sisu/v5/db_remove.rb @@ -46,9 +46,6 @@ - * Download: - - * Git diff --git a/lib/sisu/v5/db_select.rb b/lib/sisu/v5/db_select.rb index c3a59145..ae87ee1b 100644 --- a/lib/sisu/v5/db_select.rb +++ b/lib/sisu/v5/db_select.rb @@ -46,9 +46,6 @@ - * Download: - - * Git diff --git a/lib/sisu/v5/db_sqltxt.rb b/lib/sisu/v5/db_sqltxt.rb index adb2b0f0..ffb5966b 100644 --- a/lib/sisu/v5/db_sqltxt.rb +++ b/lib/sisu/v5/db_sqltxt.rb @@ -46,9 +46,6 @@ - * Download: - - * Git diff --git a/lib/sisu/v5/db_tests.rb b/lib/sisu/v5/db_tests.rb index 4cd6d8fe..59fa74e2 100644 --- a/lib/sisu/v5/db_tests.rb +++ b/lib/sisu/v5/db_tests.rb @@ -46,9 +46,6 @@ - * Download: - - * Git diff --git a/lib/sisu/v5/dbi.rb b/lib/sisu/v5/dbi.rb index 905ba0ba..019b56a3 100644 --- a/lib/sisu/v5/dbi.rb +++ b/lib/sisu/v5/dbi.rb @@ -46,9 +46,6 @@ - * Download: - - * Git diff --git a/lib/sisu/v5/dbi_discrete.rb b/lib/sisu/v5/dbi_discrete.rb index 6c30b06a..50ef97b4 100644 --- a/lib/sisu/v5/dbi_discrete.rb +++ b/lib/sisu/v5/dbi_discrete.rb @@ -46,9 +46,6 @@ - * Download: - - * Git diff --git a/lib/sisu/v5/defaults.rb b/lib/sisu/v5/defaults.rb index 08f769e7..0ea154b2 100644 --- a/lib/sisu/v5/defaults.rb +++ b/lib/sisu/v5/defaults.rb @@ -46,9 +46,6 @@ - * Download: - - * Git diff --git a/lib/sisu/v5/digests.rb b/lib/sisu/v5/digests.rb index ac4eaa7d..985e76b2 100644 --- a/lib/sisu/v5/digests.rb +++ b/lib/sisu/v5/digests.rb @@ -46,9 +46,6 @@ - * Download: - - * Git diff --git a/lib/sisu/v5/dp.rb b/lib/sisu/v5/dp.rb index b2dd8b60..6186f323 100644 --- a/lib/sisu/v5/dp.rb +++ b/lib/sisu/v5/dp.rb @@ -46,9 +46,6 @@ - * Download: - - * Git diff --git a/lib/sisu/v5/dp_identify_markup.rb b/lib/sisu/v5/dp_identify_markup.rb index 7f0ad545..ee0c4ebc 100644 --- a/lib/sisu/v5/dp_identify_markup.rb +++ b/lib/sisu/v5/dp_identify_markup.rb @@ -46,9 +46,6 @@ - * Download: - - * Git diff --git a/lib/sisu/v5/dp_make.rb b/lib/sisu/v5/dp_make.rb index 25266138..39a5ba1a 100644 --- a/lib/sisu/v5/dp_make.rb +++ b/lib/sisu/v5/dp_make.rb @@ -46,9 +46,6 @@ - * Download: - - * Git diff --git a/lib/sisu/v5/embedded.rb b/lib/sisu/v5/embedded.rb index ce32af41..4eec8a2f 100644 --- a/lib/sisu/v5/embedded.rb +++ b/lib/sisu/v5/embedded.rb @@ -46,9 +46,6 @@ - * Download: - - * Git diff --git a/lib/sisu/v5/errors.rb b/lib/sisu/v5/errors.rb index 362389d0..007100bd 100644 --- a/lib/sisu/v5/errors.rb +++ b/lib/sisu/v5/errors.rb @@ -46,9 +46,6 @@ - * Download: - - * Git diff --git a/lib/sisu/v5/git.rb b/lib/sisu/v5/git.rb index 471783ec..7cf26272 100644 --- a/lib/sisu/v5/git.rb +++ b/lib/sisu/v5/git.rb @@ -46,9 +46,6 @@ - * Download: - - * Git diff --git a/lib/sisu/v5/harvest.rb b/lib/sisu/v5/harvest.rb index 4fec4c6d..87f81bc9 100644 --- a/lib/sisu/v5/harvest.rb +++ b/lib/sisu/v5/harvest.rb @@ -48,9 +48,6 @@ - * Download: - - * Git diff --git a/lib/sisu/v5/harvest_author_format.rb b/lib/sisu/v5/harvest_author_format.rb index 458d5073..92709673 100644 --- a/lib/sisu/v5/harvest_author_format.rb +++ b/lib/sisu/v5/harvest_author_format.rb @@ -46,9 +46,6 @@ - * Download: - - * Git diff --git a/lib/sisu/v5/harvest_authors.rb b/lib/sisu/v5/harvest_authors.rb index 6edb4965..1ea2167a 100644 --- a/lib/sisu/v5/harvest_authors.rb +++ b/lib/sisu/v5/harvest_authors.rb @@ -47,9 +47,6 @@ - * Download: - - * Git diff --git a/lib/sisu/v5/harvest_topics.rb b/lib/sisu/v5/harvest_topics.rb index 4b28c7d2..bb0bbe22 100644 --- a/lib/sisu/v5/harvest_topics.rb +++ b/lib/sisu/v5/harvest_topics.rb @@ -48,9 +48,6 @@ - * Download: - - * Git diff --git a/lib/sisu/v5/html.rb b/lib/sisu/v5/html.rb index d4d36396..047ce9f9 100644 --- a/lib/sisu/v5/html.rb +++ b/lib/sisu/v5/html.rb @@ -46,9 +46,6 @@ - * Download: - - * Git diff --git a/lib/sisu/v5/html_concordance.rb b/lib/sisu/v5/html_concordance.rb index c564d2b3..44a6cd69 100644 --- a/lib/sisu/v5/html_concordance.rb +++ b/lib/sisu/v5/html_concordance.rb @@ -46,9 +46,6 @@ - * Download: - - * Git diff --git a/lib/sisu/v5/html_format.rb b/lib/sisu/v5/html_format.rb index 17df599d..b8db9445 100644 --- a/lib/sisu/v5/html_format.rb +++ b/lib/sisu/v5/html_format.rb @@ -46,9 +46,6 @@ - * Download: - - * Git diff --git a/lib/sisu/v5/html_lite_shared.rb b/lib/sisu/v5/html_lite_shared.rb index a0b63a75..7c3cdf0f 100644 --- a/lib/sisu/v5/html_lite_shared.rb +++ b/lib/sisu/v5/html_lite_shared.rb @@ -46,9 +46,6 @@ - * Download: - - * Git diff --git a/lib/sisu/v5/html_manifest.rb b/lib/sisu/v5/html_manifest.rb index e1c475d0..a31420ac 100644 --- a/lib/sisu/v5/html_manifest.rb +++ b/lib/sisu/v5/html_manifest.rb @@ -46,9 +46,6 @@ - * Download: - - * Git diff --git a/lib/sisu/v5/html_minitoc.rb b/lib/sisu/v5/html_minitoc.rb index be449244..f185b0ee 100644 --- a/lib/sisu/v5/html_minitoc.rb +++ b/lib/sisu/v5/html_minitoc.rb @@ -47,9 +47,6 @@ - * Download: - - * Git diff --git a/lib/sisu/v5/html_promo.rb b/lib/sisu/v5/html_promo.rb index eebc7086..57b45639 100644 --- a/lib/sisu/v5/html_promo.rb +++ b/lib/sisu/v5/html_promo.rb @@ -46,9 +46,6 @@ - * Download: - - * Git diff --git a/lib/sisu/v5/html_scroll.rb b/lib/sisu/v5/html_scroll.rb index 75c23a92..dc636378 100644 --- a/lib/sisu/v5/html_scroll.rb +++ b/lib/sisu/v5/html_scroll.rb @@ -46,9 +46,6 @@ - * Download: - - * Git diff --git a/lib/sisu/v5/html_segments.rb b/lib/sisu/v5/html_segments.rb index 5d51497f..0467a128 100644 --- a/lib/sisu/v5/html_segments.rb +++ b/lib/sisu/v5/html_segments.rb @@ -46,9 +46,6 @@ - * Download: - - * Git diff --git a/lib/sisu/v5/html_shared.rb b/lib/sisu/v5/html_shared.rb index 430e242b..3b6b9dfd 100644 --- a/lib/sisu/v5/html_shared.rb +++ b/lib/sisu/v5/html_shared.rb @@ -46,9 +46,6 @@ - * Download: - - * Git diff --git a/lib/sisu/v5/html_table.rb b/lib/sisu/v5/html_table.rb index 20b7f92f..497f7c4e 100644 --- a/lib/sisu/v5/html_table.rb +++ b/lib/sisu/v5/html_table.rb @@ -46,9 +46,6 @@ - * Download: - - * Git diff --git a/lib/sisu/v5/html_tune.rb b/lib/sisu/v5/html_tune.rb index ac83ab3d..026a1177 100644 --- a/lib/sisu/v5/html_tune.rb +++ b/lib/sisu/v5/html_tune.rb @@ -46,9 +46,6 @@ - * Download: - - * Git diff --git a/lib/sisu/v5/hub.rb b/lib/sisu/v5/hub.rb index e918d2d1..10ac6f23 100644 --- a/lib/sisu/v5/hub.rb +++ b/lib/sisu/v5/hub.rb @@ -46,9 +46,6 @@ - * Download: - - * Git diff --git a/lib/sisu/v5/hub_actions.rb b/lib/sisu/v5/hub_actions.rb index 6b77830d..3d2e112b 100644 --- a/lib/sisu/v5/hub_actions.rb +++ b/lib/sisu/v5/hub_actions.rb @@ -46,9 +46,6 @@ - * Download: - - * Git diff --git a/lib/sisu/v5/hub_loop_markup_files.rb b/lib/sisu/v5/hub_loop_markup_files.rb index 198b9099..70127915 100644 --- a/lib/sisu/v5/hub_loop_markup_files.rb +++ b/lib/sisu/v5/hub_loop_markup_files.rb @@ -46,9 +46,6 @@ - * Download: - - * Git diff --git a/lib/sisu/v5/hub_options.rb b/lib/sisu/v5/hub_options.rb index eda1c054..ceeebe78 100644 --- a/lib/sisu/v5/hub_options.rb +++ b/lib/sisu/v5/hub_options.rb @@ -46,9 +46,6 @@ - * Download: - - * Git diff --git a/lib/sisu/v5/i18n.rb b/lib/sisu/v5/i18n.rb index a7ec3520..20b30483 100644 --- a/lib/sisu/v5/i18n.rb +++ b/lib/sisu/v5/i18n.rb @@ -46,9 +46,6 @@ - * Download: - - * Git diff --git a/lib/sisu/v5/manpage.rb b/lib/sisu/v5/manpage.rb index e32a39af..a42c7dfe 100644 --- a/lib/sisu/v5/manpage.rb +++ b/lib/sisu/v5/manpage.rb @@ -46,9 +46,6 @@ - * Download: - - * Git diff --git a/lib/sisu/v5/manpage_format.rb b/lib/sisu/v5/manpage_format.rb index 29b30361..d255d133 100644 --- a/lib/sisu/v5/manpage_format.rb +++ b/lib/sisu/v5/manpage_format.rb @@ -46,9 +46,6 @@ - * Download: - - * Git diff --git a/lib/sisu/v5/po4a.rb b/lib/sisu/v5/po4a.rb index e56f6253..7b7e2665 100644 --- a/lib/sisu/v5/po4a.rb +++ b/lib/sisu/v5/po4a.rb @@ -46,9 +46,6 @@ - * Download: - - * Git diff --git a/lib/sisu/v5/po4a_set.rb b/lib/sisu/v5/po4a_set.rb index 9eae2c5e..b0d2baaa 100644 --- a/lib/sisu/v5/po4a_set.rb +++ b/lib/sisu/v5/po4a_set.rb @@ -46,9 +46,6 @@ - * Download: - - * Git diff --git a/lib/sisu/v5/prog_text_translation.rb b/lib/sisu/v5/prog_text_translation.rb index b6939394..d097ab27 100644 --- a/lib/sisu/v5/prog_text_translation.rb +++ b/lib/sisu/v5/prog_text_translation.rb @@ -46,9 +46,6 @@ - * Download: - - * Git diff --git a/lib/sisu/v5/qrcode.rb b/lib/sisu/v5/qrcode.rb index 5160b5ce..1f3f7ca8 100644 --- a/lib/sisu/v5/qrcode.rb +++ b/lib/sisu/v5/qrcode.rb @@ -46,9 +46,6 @@ - * Download: - - * Git diff --git a/lib/sisu/v5/relaxng.rb b/lib/sisu/v5/relaxng.rb index 2d80377f..89066c13 100644 --- a/lib/sisu/v5/relaxng.rb +++ b/lib/sisu/v5/relaxng.rb @@ -46,9 +46,6 @@ - * Download: - - * Git @@ -110,9 +107,6 @@ module SiSU_Relaxng - * Download: - - * Ralph Amissah diff --git a/lib/sisu/v5/remote.rb b/lib/sisu/v5/remote.rb index 910799b7..20e648dc 100644 --- a/lib/sisu/v5/remote.rb +++ b/lib/sisu/v5/remote.rb @@ -46,9 +46,6 @@ - * Download: - - * Git diff --git a/lib/sisu/v5/rexml.rb b/lib/sisu/v5/rexml.rb index e8d08786..c83d64a9 100644 --- a/lib/sisu/v5/rexml.rb +++ b/lib/sisu/v5/rexml.rb @@ -46,9 +46,6 @@ - * Download: - - * Git diff --git a/lib/sisu/v5/se.rb b/lib/sisu/v5/se.rb index adebec2c..a4120429 100644 --- a/lib/sisu/v5/se.rb +++ b/lib/sisu/v5/se.rb @@ -46,9 +46,6 @@ - * Download: - - * Git diff --git a/lib/sisu/v5/se_cleanoutput.rb b/lib/sisu/v5/se_cleanoutput.rb index 7fa8856a..1ed9ee8e 100644 --- a/lib/sisu/v5/se_cleanoutput.rb +++ b/lib/sisu/v5/se_cleanoutput.rb @@ -46,9 +46,6 @@ - * Download: - - * Git diff --git a/lib/sisu/v5/se_clear.rb b/lib/sisu/v5/se_clear.rb index 3cf7a2bf..7deb44ec 100644 --- a/lib/sisu/v5/se_clear.rb +++ b/lib/sisu/v5/se_clear.rb @@ -46,9 +46,6 @@ - * Download: - - * Git diff --git a/lib/sisu/v5/se_createsite.rb b/lib/sisu/v5/se_createsite.rb index a0bfc061..1e5d4ef6 100644 --- a/lib/sisu/v5/se_createsite.rb +++ b/lib/sisu/v5/se_createsite.rb @@ -46,9 +46,6 @@ - * Download: - - * Git diff --git a/lib/sisu/v5/se_css.rb b/lib/sisu/v5/se_css.rb index d30f54fe..378fece8 100644 --- a/lib/sisu/v5/se_css.rb +++ b/lib/sisu/v5/se_css.rb @@ -46,9 +46,6 @@ - * Download: - - * Git diff --git a/lib/sisu/v5/se_date.rb b/lib/sisu/v5/se_date.rb index 55efa6ce..0e72d1d5 100644 --- a/lib/sisu/v5/se_date.rb +++ b/lib/sisu/v5/se_date.rb @@ -46,9 +46,6 @@ - * Download: - - * Git diff --git a/lib/sisu/v5/se_db.rb b/lib/sisu/v5/se_db.rb index 3d6c0f44..373fcfab 100644 --- a/lib/sisu/v5/se_db.rb +++ b/lib/sisu/v5/se_db.rb @@ -46,9 +46,6 @@ - * Download: - - * Git diff --git a/lib/sisu/v5/se_envcall.rb b/lib/sisu/v5/se_envcall.rb index 29f2788e..64758811 100644 --- a/lib/sisu/v5/se_envcall.rb +++ b/lib/sisu/v5/se_envcall.rb @@ -46,9 +46,6 @@ - * Download: - - * Git diff --git a/lib/sisu/v5/se_file_op.rb b/lib/sisu/v5/se_file_op.rb index 4d35b34e..dfd2aadf 100644 --- a/lib/sisu/v5/se_file_op.rb +++ b/lib/sisu/v5/se_file_op.rb @@ -46,9 +46,6 @@ - * Download: - - * Git diff --git a/lib/sisu/v5/se_filemap.rb b/lib/sisu/v5/se_filemap.rb index 6a803090..867111bb 100644 --- a/lib/sisu/v5/se_filemap.rb +++ b/lib/sisu/v5/se_filemap.rb @@ -46,9 +46,6 @@ - * Download: - - * Git diff --git a/lib/sisu/v5/se_get_init.rb b/lib/sisu/v5/se_get_init.rb index 3813d4da..04aa633c 100644 --- a/lib/sisu/v5/se_get_init.rb +++ b/lib/sisu/v5/se_get_init.rb @@ -46,9 +46,6 @@ - * Download: - - * Git diff --git a/lib/sisu/v5/se_hub_particulars.rb b/lib/sisu/v5/se_hub_particulars.rb index a3f74493..9b443305 100644 --- a/lib/sisu/v5/se_hub_particulars.rb +++ b/lib/sisu/v5/se_hub_particulars.rb @@ -47,9 +47,6 @@ - * Download: - - * Git diff --git a/lib/sisu/v5/se_info_env.rb b/lib/sisu/v5/se_info_env.rb index fca4c6aa..bf8de180 100644 --- a/lib/sisu/v5/se_info_env.rb +++ b/lib/sisu/v5/se_info_env.rb @@ -46,9 +46,6 @@ - * Download: - - * Git diff --git a/lib/sisu/v5/se_info_port.rb b/lib/sisu/v5/se_info_port.rb index 3b7900e1..87c96861 100644 --- a/lib/sisu/v5/se_info_port.rb +++ b/lib/sisu/v5/se_info_port.rb @@ -46,9 +46,6 @@ - * Download: - - * Git diff --git a/lib/sisu/v5/se_info_system.rb b/lib/sisu/v5/se_info_system.rb index db63ec41..0216d0a1 100644 --- a/lib/sisu/v5/se_info_system.rb +++ b/lib/sisu/v5/se_info_system.rb @@ -46,9 +46,6 @@ - * Download: - - * Git diff --git a/lib/sisu/v5/se_load.rb b/lib/sisu/v5/se_load.rb index 509cfad4..c5fda092 100644 --- a/lib/sisu/v5/se_load.rb +++ b/lib/sisu/v5/se_load.rb @@ -46,9 +46,6 @@ - * Download: - - * Git diff --git a/lib/sisu/v5/se_processing.rb b/lib/sisu/v5/se_processing.rb index 2bb0f19c..88b0b7df 100644 --- a/lib/sisu/v5/se_processing.rb +++ b/lib/sisu/v5/se_processing.rb @@ -46,9 +46,6 @@ - * Download: - - * Git diff --git a/lib/sisu/v5/se_programs.rb b/lib/sisu/v5/se_programs.rb index d56c7349..985f8233 100644 --- a/lib/sisu/v5/se_programs.rb +++ b/lib/sisu/v5/se_programs.rb @@ -46,9 +46,6 @@ - * Download: - - * Git diff --git a/lib/sisu/v5/se_remotes.rb b/lib/sisu/v5/se_remotes.rb index 7ba2d291..633d85e9 100644 --- a/lib/sisu/v5/se_remotes.rb +++ b/lib/sisu/v5/se_remotes.rb @@ -46,9 +46,6 @@ - * Download: - - * Git diff --git a/lib/sisu/v5/se_standardise_lang.rb b/lib/sisu/v5/se_standardise_lang.rb index d60208e7..f7be20df 100644 --- a/lib/sisu/v5/se_standardise_lang.rb +++ b/lib/sisu/v5/se_standardise_lang.rb @@ -46,9 +46,6 @@ - * Download: - - * Git diff --git a/lib/sisu/v5/se_version.rb b/lib/sisu/v5/se_version.rb index ba274792..0243491d 100644 --- a/lib/sisu/v5/se_version.rb +++ b/lib/sisu/v5/se_version.rb @@ -46,9 +46,6 @@ - * Download: - - * Git diff --git a/lib/sisu/v5/shared_images.rb b/lib/sisu/v5/shared_images.rb index 8dd96c93..1bd08260 100644 --- a/lib/sisu/v5/shared_images.rb +++ b/lib/sisu/v5/shared_images.rb @@ -46,9 +46,6 @@ - * Download: - - * Git diff --git a/lib/sisu/v5/shared_markup_alt.rb b/lib/sisu/v5/shared_markup_alt.rb index 7dd4d206..3869dea4 100644 --- a/lib/sisu/v5/shared_markup_alt.rb +++ b/lib/sisu/v5/shared_markup_alt.rb @@ -46,9 +46,6 @@ - * Download: - - * Git diff --git a/lib/sisu/v5/shared_metadata.rb b/lib/sisu/v5/shared_metadata.rb index 4b00195c..3a83d674 100644 --- a/lib/sisu/v5/shared_metadata.rb +++ b/lib/sisu/v5/shared_metadata.rb @@ -46,9 +46,6 @@ - * Download: - - * Git diff --git a/lib/sisu/v5/shared_sem.rb b/lib/sisu/v5/shared_sem.rb index dfe3a78e..397aaa62 100644 --- a/lib/sisu/v5/shared_sem.rb +++ b/lib/sisu/v5/shared_sem.rb @@ -47,9 +47,6 @@ - * Download: - - * Git diff --git a/lib/sisu/v5/sitemaps.rb b/lib/sisu/v5/sitemaps.rb index 7542ce36..39c02255 100644 --- a/lib/sisu/v5/sitemaps.rb +++ b/lib/sisu/v5/sitemaps.rb @@ -46,9 +46,6 @@ - * Download: - - * Git diff --git a/lib/sisu/v5/src_kdissert_share.rb b/lib/sisu/v5/src_kdissert_share.rb index 1be648cc..54e1cc4e 100644 --- a/lib/sisu/v5/src_kdissert_share.rb +++ b/lib/sisu/v5/src_kdissert_share.rb @@ -46,9 +46,6 @@ - * Download: - - * Git diff --git a/lib/sisu/v5/src_share.rb b/lib/sisu/v5/src_share.rb index 7f519d5c..1ecd1107 100644 --- a/lib/sisu/v5/src_share.rb +++ b/lib/sisu/v5/src_share.rb @@ -46,9 +46,6 @@ - * Download: - - * Git diff --git a/lib/sisu/v5/src_shared.rb b/lib/sisu/v5/src_shared.rb index 528b0cf5..b047fe08 100644 --- a/lib/sisu/v5/src_shared.rb +++ b/lib/sisu/v5/src_shared.rb @@ -46,9 +46,6 @@ - * Download: - - * Git diff --git a/lib/sisu/v5/src_sisupod_make.rb b/lib/sisu/v5/src_sisupod_make.rb index 3cb722a6..0077948e 100644 --- a/lib/sisu/v5/src_sisupod_make.rb +++ b/lib/sisu/v5/src_sisupod_make.rb @@ -46,9 +46,6 @@ - * Download: - - * Git diff --git a/lib/sisu/v5/sst_convert_markup.rb b/lib/sisu/v5/sst_convert_markup.rb index 21384300..70615d1c 100644 --- a/lib/sisu/v5/sst_convert_markup.rb +++ b/lib/sisu/v5/sst_convert_markup.rb @@ -46,9 +46,6 @@ - * Download: - - * Git diff --git a/lib/sisu/v5/sst_do_inline_footnotes.rb b/lib/sisu/v5/sst_do_inline_footnotes.rb index 3becb1da..41bc30f2 100644 --- a/lib/sisu/v5/sst_do_inline_footnotes.rb +++ b/lib/sisu/v5/sst_do_inline_footnotes.rb @@ -46,9 +46,6 @@ - * Download: - - * Git diff --git a/lib/sisu/v5/sst_from_xml.rb b/lib/sisu/v5/sst_from_xml.rb index a7f2b66a..e18e1798 100644 --- a/lib/sisu/v5/sst_from_xml.rb +++ b/lib/sisu/v5/sst_from_xml.rb @@ -46,9 +46,6 @@ - * Download: - - * Git diff --git a/lib/sisu/v5/sst_identify_markup.rb b/lib/sisu/v5/sst_identify_markup.rb index 21d6ff24..e7cae892 100644 --- a/lib/sisu/v5/sst_identify_markup.rb +++ b/lib/sisu/v5/sst_identify_markup.rb @@ -46,9 +46,6 @@ - * Download: - - * Git diff --git a/lib/sisu/v5/sst_to_s_xml_sax.rb b/lib/sisu/v5/sst_to_s_xml_sax.rb index c2701290..5c026c05 100644 --- a/lib/sisu/v5/sst_to_s_xml_sax.rb +++ b/lib/sisu/v5/sst_to_s_xml_sax.rb @@ -46,9 +46,6 @@ - * Download: - - * Git diff --git a/lib/sisu/v5/termsheet.rb b/lib/sisu/v5/termsheet.rb index aeaa7c52..9349816a 100644 --- a/lib/sisu/v5/termsheet.rb +++ b/lib/sisu/v5/termsheet.rb @@ -46,9 +46,6 @@ - * Download: - - * Git diff --git a/lib/sisu/v5/texinfo.rb b/lib/sisu/v5/texinfo.rb index f52f7d90..43ab5118 100644 --- a/lib/sisu/v5/texinfo.rb +++ b/lib/sisu/v5/texinfo.rb @@ -46,9 +46,6 @@ - * Download: - - * Git diff --git a/lib/sisu/v5/texinfo_format.rb b/lib/sisu/v5/texinfo_format.rb index ce912044..00ee77b3 100644 --- a/lib/sisu/v5/texinfo_format.rb +++ b/lib/sisu/v5/texinfo_format.rb @@ -46,9 +46,6 @@ - * Download: - - * Git diff --git a/lib/sisu/v5/texpdf.rb b/lib/sisu/v5/texpdf.rb index b9bde0bc..6579d338 100644 --- a/lib/sisu/v5/texpdf.rb +++ b/lib/sisu/v5/texpdf.rb @@ -46,9 +46,6 @@ - * Download: - - * Git diff --git a/lib/sisu/v5/texpdf_format.rb b/lib/sisu/v5/texpdf_format.rb index 6653ba09..d5defb39 100644 --- a/lib/sisu/v5/texpdf_format.rb +++ b/lib/sisu/v5/texpdf_format.rb @@ -46,9 +46,6 @@ - * Download: - - * Git diff --git a/lib/sisu/v5/txt_asciidoc.rb b/lib/sisu/v5/txt_asciidoc.rb index 96d37161..89deca87 100644 --- a/lib/sisu/v5/txt_asciidoc.rb +++ b/lib/sisu/v5/txt_asciidoc.rb @@ -46,9 +46,6 @@ - * Download: - - * Git diff --git a/lib/sisu/v5/txt_markdown.rb b/lib/sisu/v5/txt_markdown.rb index c79108ae..440956be 100644 --- a/lib/sisu/v5/txt_markdown.rb +++ b/lib/sisu/v5/txt_markdown.rb @@ -46,9 +46,6 @@ - * Download: - - * Git diff --git a/lib/sisu/v5/txt_plain.rb b/lib/sisu/v5/txt_plain.rb index cdf25df5..6233038f 100644 --- a/lib/sisu/v5/txt_plain.rb +++ b/lib/sisu/v5/txt_plain.rb @@ -46,9 +46,6 @@ - * Download: - - * Git diff --git a/lib/sisu/v5/txt_rst.rb b/lib/sisu/v5/txt_rst.rb index 9217c2b3..1426f4b3 100644 --- a/lib/sisu/v5/txt_rst.rb +++ b/lib/sisu/v5/txt_rst.rb @@ -46,9 +46,6 @@ - * Download: - - * Git diff --git a/lib/sisu/v5/txt_shared.rb b/lib/sisu/v5/txt_shared.rb index 9c5d8e50..faf4c9c6 100644 --- a/lib/sisu/v5/txt_shared.rb +++ b/lib/sisu/v5/txt_shared.rb @@ -46,9 +46,6 @@ - * Download: - - * Git diff --git a/lib/sisu/v5/txt_textile.rb b/lib/sisu/v5/txt_textile.rb index a2acfa8d..cc4bf167 100644 --- a/lib/sisu/v5/txt_textile.rb +++ b/lib/sisu/v5/txt_textile.rb @@ -46,9 +46,6 @@ - * Download: - - * Git diff --git a/lib/sisu/v5/update.rb b/lib/sisu/v5/update.rb index 0b3d152b..30a184f0 100644 --- a/lib/sisu/v5/update.rb +++ b/lib/sisu/v5/update.rb @@ -46,9 +46,6 @@ - * Download: - - * Git diff --git a/lib/sisu/v5/urls.rb b/lib/sisu/v5/urls.rb index 923a30b9..6c8cb1ec 100644 --- a/lib/sisu/v5/urls.rb +++ b/lib/sisu/v5/urls.rb @@ -46,9 +46,6 @@ - * Download: - - * Git diff --git a/lib/sisu/v5/utils.rb b/lib/sisu/v5/utils.rb index b91d648c..ba467bb4 100644 --- a/lib/sisu/v5/utils.rb +++ b/lib/sisu/v5/utils.rb @@ -46,9 +46,6 @@ - * Download: - - * Git diff --git a/lib/sisu/v5/utils_response.rb b/lib/sisu/v5/utils_response.rb index 59c333ca..4979048e 100644 --- a/lib/sisu/v5/utils_response.rb +++ b/lib/sisu/v5/utils_response.rb @@ -46,9 +46,6 @@ - * Download: - - * Git diff --git a/lib/sisu/v5/utils_screen_text_color.rb b/lib/sisu/v5/utils_screen_text_color.rb index b0b4c0e8..5689389e 100644 --- a/lib/sisu/v5/utils_screen_text_color.rb +++ b/lib/sisu/v5/utils_screen_text_color.rb @@ -46,9 +46,6 @@ - * Download: - - * Git diff --git a/lib/sisu/v5/utils_spell.rb b/lib/sisu/v5/utils_spell.rb index da3a644c..7c453262 100644 --- a/lib/sisu/v5/utils_spell.rb +++ b/lib/sisu/v5/utils_spell.rb @@ -46,9 +46,6 @@ - * Download: - - * Git diff --git a/lib/sisu/v5/webrick.rb b/lib/sisu/v5/webrick.rb index aed587d9..9519f34b 100644 --- a/lib/sisu/v5/webrick.rb +++ b/lib/sisu/v5/webrick.rb @@ -46,9 +46,6 @@ - * Download: - - * Git diff --git a/lib/sisu/v5/wikispeak.rb b/lib/sisu/v5/wikispeak.rb index 40c833e5..192e1cb7 100644 --- a/lib/sisu/v5/wikispeak.rb +++ b/lib/sisu/v5/wikispeak.rb @@ -46,9 +46,6 @@ - * Download: - - * Git diff --git a/lib/sisu/v5/xhtml.rb b/lib/sisu/v5/xhtml.rb index 23b7f87d..914648d9 100644 --- a/lib/sisu/v5/xhtml.rb +++ b/lib/sisu/v5/xhtml.rb @@ -46,9 +46,6 @@ - * Download: - - * Git diff --git a/lib/sisu/v5/xhtml_epub2.rb b/lib/sisu/v5/xhtml_epub2.rb index cd68f487..2d89bc68 100644 --- a/lib/sisu/v5/xhtml_epub2.rb +++ b/lib/sisu/v5/xhtml_epub2.rb @@ -46,9 +46,6 @@ - * Download: - - * Git diff --git a/lib/sisu/v5/xhtml_epub2_concordance.rb b/lib/sisu/v5/xhtml_epub2_concordance.rb index 7591abdc..3484b1d8 100644 --- a/lib/sisu/v5/xhtml_epub2_concordance.rb +++ b/lib/sisu/v5/xhtml_epub2_concordance.rb @@ -46,9 +46,6 @@ - * Download: - - * Git diff --git a/lib/sisu/v5/xhtml_epub2_format.rb b/lib/sisu/v5/xhtml_epub2_format.rb index a38d45ae..751aa32b 100644 --- a/lib/sisu/v5/xhtml_epub2_format.rb +++ b/lib/sisu/v5/xhtml_epub2_format.rb @@ -46,9 +46,6 @@ - * Download: - - * Git diff --git a/lib/sisu/v5/xhtml_epub2_segments.rb b/lib/sisu/v5/xhtml_epub2_segments.rb index 8092a94f..1abc2d1b 100644 --- a/lib/sisu/v5/xhtml_epub2_segments.rb +++ b/lib/sisu/v5/xhtml_epub2_segments.rb @@ -46,9 +46,6 @@ - * Download: - - * Git diff --git a/lib/sisu/v5/xhtml_epub2_tune.rb b/lib/sisu/v5/xhtml_epub2_tune.rb index c9e39515..afeff30e 100644 --- a/lib/sisu/v5/xhtml_epub2_tune.rb +++ b/lib/sisu/v5/xhtml_epub2_tune.rb @@ -46,9 +46,6 @@ - * Download: - - * Git diff --git a/lib/sisu/v5/xhtml_shared.rb b/lib/sisu/v5/xhtml_shared.rb index 4caf71a6..677d7a47 100644 --- a/lib/sisu/v5/xhtml_shared.rb +++ b/lib/sisu/v5/xhtml_shared.rb @@ -46,9 +46,6 @@ - * Download: - - * Git diff --git a/lib/sisu/v5/xhtml_table.rb b/lib/sisu/v5/xhtml_table.rb index 3ae1c730..33e4f48e 100644 --- a/lib/sisu/v5/xhtml_table.rb +++ b/lib/sisu/v5/xhtml_table.rb @@ -46,9 +46,6 @@ - * Download: - - * Git diff --git a/lib/sisu/v5/xml_docbook5.rb b/lib/sisu/v5/xml_docbook5.rb index 2e8d222b..73cfc75b 100644 --- a/lib/sisu/v5/xml_docbook5.rb +++ b/lib/sisu/v5/xml_docbook5.rb @@ -46,9 +46,6 @@ - * Download: - - * Git diff --git a/lib/sisu/v5/xml_dom.rb b/lib/sisu/v5/xml_dom.rb index 7b036567..215b6d61 100644 --- a/lib/sisu/v5/xml_dom.rb +++ b/lib/sisu/v5/xml_dom.rb @@ -46,9 +46,6 @@ - * Download: - - * Git diff --git a/lib/sisu/v5/xml_fictionbook2.rb b/lib/sisu/v5/xml_fictionbook2.rb index 7d21897f..c192179b 100644 --- a/lib/sisu/v5/xml_fictionbook2.rb +++ b/lib/sisu/v5/xml_fictionbook2.rb @@ -46,9 +46,6 @@ - * Download: - - * Git diff --git a/lib/sisu/v5/xml_format.rb b/lib/sisu/v5/xml_format.rb index a27afa0c..7959696c 100644 --- a/lib/sisu/v5/xml_format.rb +++ b/lib/sisu/v5/xml_format.rb @@ -46,9 +46,6 @@ - * Download: - - * Git diff --git a/lib/sisu/v5/xml_md_oai_pmh_dc.rb b/lib/sisu/v5/xml_md_oai_pmh_dc.rb index 2421427a..a452c9b5 100644 --- a/lib/sisu/v5/xml_md_oai_pmh_dc.rb +++ b/lib/sisu/v5/xml_md_oai_pmh_dc.rb @@ -46,9 +46,6 @@ - * Download: - - * Git diff --git a/lib/sisu/v5/xml_odf_odt.rb b/lib/sisu/v5/xml_odf_odt.rb index e3ed834c..e120d7b9 100644 --- a/lib/sisu/v5/xml_odf_odt.rb +++ b/lib/sisu/v5/xml_odf_odt.rb @@ -46,9 +46,6 @@ - * Download: - - * Git diff --git a/lib/sisu/v5/xml_odf_odt_format.rb b/lib/sisu/v5/xml_odf_odt_format.rb index 4b1ae1dc..03db3f9d 100644 --- a/lib/sisu/v5/xml_odf_odt_format.rb +++ b/lib/sisu/v5/xml_odf_odt_format.rb @@ -46,9 +46,6 @@ - * Download: - - * Git diff --git a/lib/sisu/v5/xml_sax.rb b/lib/sisu/v5/xml_sax.rb index fca6afa3..17ff4327 100644 --- a/lib/sisu/v5/xml_sax.rb +++ b/lib/sisu/v5/xml_sax.rb @@ -46,9 +46,6 @@ - * Download: - - * Git diff --git a/lib/sisu/v5/xml_scaffold_structure_collapsed.rb b/lib/sisu/v5/xml_scaffold_structure_collapsed.rb index ae4fe473..2f4bea17 100644 --- a/lib/sisu/v5/xml_scaffold_structure_collapsed.rb +++ b/lib/sisu/v5/xml_scaffold_structure_collapsed.rb @@ -46,9 +46,6 @@ - * Download: - - * Git diff --git a/lib/sisu/v5/xml_scaffold_structure_sisu.rb b/lib/sisu/v5/xml_scaffold_structure_sisu.rb index fc29a752..ea76bc7c 100644 --- a/lib/sisu/v5/xml_scaffold_structure_sisu.rb +++ b/lib/sisu/v5/xml_scaffold_structure_sisu.rb @@ -46,9 +46,6 @@ - * Download: - - * Git diff --git a/lib/sisu/v5/xml_shared.rb b/lib/sisu/v5/xml_shared.rb index fdf832a4..2a8ac27e 100644 --- a/lib/sisu/v5/xml_shared.rb +++ b/lib/sisu/v5/xml_shared.rb @@ -46,9 +46,6 @@ - * Download: - - * Git diff --git a/lib/sisu/v5/xml_tables.rb b/lib/sisu/v5/xml_tables.rb index 2e0f940f..fe957a99 100644 --- a/lib/sisu/v5/xml_tables.rb +++ b/lib/sisu/v5/xml_tables.rb @@ -46,9 +46,6 @@ - * Download: - - * Git diff --git a/lib/sisu/v5/zap.rb b/lib/sisu/v5/zap.rb index 7d435145..b309b793 100644 --- a/lib/sisu/v5/zap.rb +++ b/lib/sisu/v5/zap.rb @@ -46,9 +46,6 @@ - * Download: - - * Git diff --git a/lib/sisu/v6/air.rb b/lib/sisu/v6/air.rb index 63581cff..85cbc1e4 100644 --- a/lib/sisu/v6/air.rb +++ b/lib/sisu/v6/air.rb @@ -46,9 +46,6 @@ - * Download: - - * Git diff --git a/lib/sisu/v6/ao.rb b/lib/sisu/v6/ao.rb index 01922f01..4b439d94 100644 --- a/lib/sisu/v6/ao.rb +++ b/lib/sisu/v6/ao.rb @@ -46,9 +46,6 @@ - * Download: - - * Git diff --git a/lib/sisu/v6/ao_character_check.rb b/lib/sisu/v6/ao_character_check.rb index 9dd9b0cc..6f47432e 100644 --- a/lib/sisu/v6/ao_character_check.rb +++ b/lib/sisu/v6/ao_character_check.rb @@ -46,9 +46,6 @@ - * Download: - - * Git diff --git a/lib/sisu/v6/ao_composite.rb b/lib/sisu/v6/ao_composite.rb index 5fd5cfdd..64c6c11f 100644 --- a/lib/sisu/v6/ao_composite.rb +++ b/lib/sisu/v6/ao_composite.rb @@ -46,9 +46,6 @@ - * Download: - - * Git diff --git a/lib/sisu/v6/ao_doc_objects.rb b/lib/sisu/v6/ao_doc_objects.rb index c218f844..e361e0b2 100644 --- a/lib/sisu/v6/ao_doc_objects.rb +++ b/lib/sisu/v6/ao_doc_objects.rb @@ -46,9 +46,6 @@ - * Download: - - * Git diff --git a/lib/sisu/v6/ao_doc_str.rb b/lib/sisu/v6/ao_doc_str.rb index 7c098e7a..e8b15cd6 100644 --- a/lib/sisu/v6/ao_doc_str.rb +++ b/lib/sisu/v6/ao_doc_str.rb @@ -46,9 +46,6 @@ - * Download: - - * Git diff --git a/lib/sisu/v6/ao_endnotes.rb b/lib/sisu/v6/ao_endnotes.rb index 640e74d3..3b731e30 100644 --- a/lib/sisu/v6/ao_endnotes.rb +++ b/lib/sisu/v6/ao_endnotes.rb @@ -46,9 +46,6 @@ - * Download: - - * Git diff --git a/lib/sisu/v6/ao_expand_insertions.rb b/lib/sisu/v6/ao_expand_insertions.rb index 5e23329c..a1566da2 100644 --- a/lib/sisu/v6/ao_expand_insertions.rb +++ b/lib/sisu/v6/ao_expand_insertions.rb @@ -46,9 +46,6 @@ - * Download: - - * Git diff --git a/lib/sisu/v6/ao_hash_digest.rb b/lib/sisu/v6/ao_hash_digest.rb index 9d6bb83e..aeb881bf 100644 --- a/lib/sisu/v6/ao_hash_digest.rb +++ b/lib/sisu/v6/ao_hash_digest.rb @@ -46,9 +46,6 @@ - * Download: - - * Git diff --git a/lib/sisu/v6/ao_idx.rb b/lib/sisu/v6/ao_idx.rb index 8fc8de73..6d53367b 100644 --- a/lib/sisu/v6/ao_idx.rb +++ b/lib/sisu/v6/ao_idx.rb @@ -46,9 +46,6 @@ - * Download: - - * Git diff --git a/lib/sisu/v6/ao_images.rb b/lib/sisu/v6/ao_images.rb index 75be1e31..93356e9f 100644 --- a/lib/sisu/v6/ao_images.rb +++ b/lib/sisu/v6/ao_images.rb @@ -46,9 +46,6 @@ - * Download: - - * Git diff --git a/lib/sisu/v6/ao_metadata.rb b/lib/sisu/v6/ao_metadata.rb index 6e62069e..33db841c 100644 --- a/lib/sisu/v6/ao_metadata.rb +++ b/lib/sisu/v6/ao_metadata.rb @@ -46,9 +46,6 @@ - * Download: - - * Git diff --git a/lib/sisu/v6/ao_misc_arrange.rb b/lib/sisu/v6/ao_misc_arrange.rb index bd4d4511..ffd8684f 100644 --- a/lib/sisu/v6/ao_misc_arrange.rb +++ b/lib/sisu/v6/ao_misc_arrange.rb @@ -46,9 +46,6 @@ - * Download: - - * Git diff --git a/lib/sisu/v6/ao_numbering.rb b/lib/sisu/v6/ao_numbering.rb index b0f8a5de..a8000c92 100644 --- a/lib/sisu/v6/ao_numbering.rb +++ b/lib/sisu/v6/ao_numbering.rb @@ -46,9 +46,6 @@ - * Download: - - * Git diff --git a/lib/sisu/v6/ao_syntax.rb b/lib/sisu/v6/ao_syntax.rb index eb73583e..7a7ad8a0 100644 --- a/lib/sisu/v6/ao_syntax.rb +++ b/lib/sisu/v6/ao_syntax.rb @@ -46,9 +46,6 @@ - * Download: - - * Git diff --git a/lib/sisu/v6/cgi.rb b/lib/sisu/v6/cgi.rb index 8207b30e..8ce8596f 100644 --- a/lib/sisu/v6/cgi.rb +++ b/lib/sisu/v6/cgi.rb @@ -46,9 +46,6 @@ - * Download: - - * Git diff --git a/lib/sisu/v6/cgi_pgsql.rb b/lib/sisu/v6/cgi_pgsql.rb index 00a77401..9feffd40 100644 --- a/lib/sisu/v6/cgi_pgsql.rb +++ b/lib/sisu/v6/cgi_pgsql.rb @@ -46,9 +46,6 @@ - * Download: - - * Git diff --git a/lib/sisu/v6/cgi_sql_common.rb b/lib/sisu/v6/cgi_sql_common.rb index dff517f1..c6758685 100644 --- a/lib/sisu/v6/cgi_sql_common.rb +++ b/lib/sisu/v6/cgi_sql_common.rb @@ -46,9 +46,6 @@ - * Download: - - * Git @@ -118,9 +115,6 @@ module SiSU_CGI_SQL - * Download: - - * Ralph Amissah diff --git a/lib/sisu/v6/cgi_sqlite.rb b/lib/sisu/v6/cgi_sqlite.rb index 0b702ec4..d9b1559d 100644 --- a/lib/sisu/v6/cgi_sqlite.rb +++ b/lib/sisu/v6/cgi_sqlite.rb @@ -46,9 +46,6 @@ - * Download: - - * Git diff --git a/lib/sisu/v6/conf.rb b/lib/sisu/v6/conf.rb index 9c3c2bbd..ea0ea387 100644 --- a/lib/sisu/v6/conf.rb +++ b/lib/sisu/v6/conf.rb @@ -46,9 +46,6 @@ - * Download: - - * Git diff --git a/lib/sisu/v6/constants.rb b/lib/sisu/v6/constants.rb index bcd939e9..80fa7c7a 100644 --- a/lib/sisu/v6/constants.rb +++ b/lib/sisu/v6/constants.rb @@ -47,9 +47,6 @@ - * Download: - - * Git diff --git a/lib/sisu/v6/css.rb b/lib/sisu/v6/css.rb index 3693eef9..d68503f5 100644 --- a/lib/sisu/v6/css.rb +++ b/lib/sisu/v6/css.rb @@ -46,9 +46,6 @@ - * Download: - - * Git diff --git a/lib/sisu/v6/db_columns.rb b/lib/sisu/v6/db_columns.rb index 005c45b5..95beab3b 100644 --- a/lib/sisu/v6/db_columns.rb +++ b/lib/sisu/v6/db_columns.rb @@ -46,9 +46,6 @@ - * Download: - - * Git diff --git a/lib/sisu/v6/db_create.rb b/lib/sisu/v6/db_create.rb index bb9ee2e9..861e3b56 100644 --- a/lib/sisu/v6/db_create.rb +++ b/lib/sisu/v6/db_create.rb @@ -46,9 +46,6 @@ - * Download: - - * Git diff --git a/lib/sisu/v6/db_dbi.rb b/lib/sisu/v6/db_dbi.rb index e4917c3c..db09a855 100644 --- a/lib/sisu/v6/db_dbi.rb +++ b/lib/sisu/v6/db_dbi.rb @@ -46,9 +46,6 @@ - * Download: - - * Git diff --git a/lib/sisu/v6/db_drop.rb b/lib/sisu/v6/db_drop.rb index 69d7f58f..c8e00bde 100644 --- a/lib/sisu/v6/db_drop.rb +++ b/lib/sisu/v6/db_drop.rb @@ -46,9 +46,6 @@ - * Download: - - * Git diff --git a/lib/sisu/v6/db_import.rb b/lib/sisu/v6/db_import.rb index ccffb904..e61290aa 100644 --- a/lib/sisu/v6/db_import.rb +++ b/lib/sisu/v6/db_import.rb @@ -46,9 +46,6 @@ - * Download: - - * Git diff --git a/lib/sisu/v6/db_indexes.rb b/lib/sisu/v6/db_indexes.rb index 23200a10..c3717a83 100644 --- a/lib/sisu/v6/db_indexes.rb +++ b/lib/sisu/v6/db_indexes.rb @@ -46,9 +46,6 @@ - * Download: - - * Git diff --git a/lib/sisu/v6/db_load_tuple.rb b/lib/sisu/v6/db_load_tuple.rb index 42093468..d5cb6e14 100644 --- a/lib/sisu/v6/db_load_tuple.rb +++ b/lib/sisu/v6/db_load_tuple.rb @@ -46,9 +46,6 @@ - * Download: - - * Git diff --git a/lib/sisu/v6/db_remove.rb b/lib/sisu/v6/db_remove.rb index 1f0b3c9f..9378378e 100644 --- a/lib/sisu/v6/db_remove.rb +++ b/lib/sisu/v6/db_remove.rb @@ -46,9 +46,6 @@ - * Download: - - * Git diff --git a/lib/sisu/v6/db_select.rb b/lib/sisu/v6/db_select.rb index 4162d79a..f7bf7ee0 100644 --- a/lib/sisu/v6/db_select.rb +++ b/lib/sisu/v6/db_select.rb @@ -46,9 +46,6 @@ - * Download: - - * Git diff --git a/lib/sisu/v6/db_sqltxt.rb b/lib/sisu/v6/db_sqltxt.rb index 6d2cbb0a..7016c931 100644 --- a/lib/sisu/v6/db_sqltxt.rb +++ b/lib/sisu/v6/db_sqltxt.rb @@ -46,9 +46,6 @@ - * Download: - - * Git diff --git a/lib/sisu/v6/db_tests.rb b/lib/sisu/v6/db_tests.rb index 1e174386..dbe227aa 100644 --- a/lib/sisu/v6/db_tests.rb +++ b/lib/sisu/v6/db_tests.rb @@ -46,9 +46,6 @@ - * Download: - - * Git diff --git a/lib/sisu/v6/dbi.rb b/lib/sisu/v6/dbi.rb index 1fa1c99e..e939607c 100644 --- a/lib/sisu/v6/dbi.rb +++ b/lib/sisu/v6/dbi.rb @@ -46,9 +46,6 @@ - * Download: - - * Git diff --git a/lib/sisu/v6/dbi_discrete.rb b/lib/sisu/v6/dbi_discrete.rb index 07f66cf7..d4efe687 100644 --- a/lib/sisu/v6/dbi_discrete.rb +++ b/lib/sisu/v6/dbi_discrete.rb @@ -46,9 +46,6 @@ - * Download: - - * Git diff --git a/lib/sisu/v6/defaults.rb b/lib/sisu/v6/defaults.rb index c53c76ef..fb56a6d4 100644 --- a/lib/sisu/v6/defaults.rb +++ b/lib/sisu/v6/defaults.rb @@ -46,9 +46,6 @@ - * Download: - - * Git diff --git a/lib/sisu/v6/digests.rb b/lib/sisu/v6/digests.rb index 7f3b9cfc..fe72ea84 100644 --- a/lib/sisu/v6/digests.rb +++ b/lib/sisu/v6/digests.rb @@ -46,9 +46,6 @@ - * Download: - - * Git diff --git a/lib/sisu/v6/dp.rb b/lib/sisu/v6/dp.rb index fcb8aace..89c6ba58 100644 --- a/lib/sisu/v6/dp.rb +++ b/lib/sisu/v6/dp.rb @@ -46,9 +46,6 @@ - * Download: - - * Git diff --git a/lib/sisu/v6/dp_identify_markup.rb b/lib/sisu/v6/dp_identify_markup.rb index ea5ace43..2ec5ac8a 100644 --- a/lib/sisu/v6/dp_identify_markup.rb +++ b/lib/sisu/v6/dp_identify_markup.rb @@ -46,9 +46,6 @@ - * Download: - - * Git diff --git a/lib/sisu/v6/dp_make.rb b/lib/sisu/v6/dp_make.rb index 14c60689..9a2c2989 100644 --- a/lib/sisu/v6/dp_make.rb +++ b/lib/sisu/v6/dp_make.rb @@ -46,9 +46,6 @@ - * Download: - - * Git diff --git a/lib/sisu/v6/embedded.rb b/lib/sisu/v6/embedded.rb index 161f5d3a..1e5d7925 100644 --- a/lib/sisu/v6/embedded.rb +++ b/lib/sisu/v6/embedded.rb @@ -46,9 +46,6 @@ - * Download: - - * Git diff --git a/lib/sisu/v6/errors.rb b/lib/sisu/v6/errors.rb index 1ea0a0b0..b56f80a3 100644 --- a/lib/sisu/v6/errors.rb +++ b/lib/sisu/v6/errors.rb @@ -46,9 +46,6 @@ - * Download: - - * Git diff --git a/lib/sisu/v6/git.rb b/lib/sisu/v6/git.rb index 547c79a4..3c20b2e3 100644 --- a/lib/sisu/v6/git.rb +++ b/lib/sisu/v6/git.rb @@ -46,9 +46,6 @@ - * Download: - - * Git diff --git a/lib/sisu/v6/harvest.rb b/lib/sisu/v6/harvest.rb index 5701ff67..09c1b883 100644 --- a/lib/sisu/v6/harvest.rb +++ b/lib/sisu/v6/harvest.rb @@ -48,9 +48,6 @@ - * Download: - - * Git diff --git a/lib/sisu/v6/harvest_author_format.rb b/lib/sisu/v6/harvest_author_format.rb index ecb0dffe..c5081193 100644 --- a/lib/sisu/v6/harvest_author_format.rb +++ b/lib/sisu/v6/harvest_author_format.rb @@ -46,9 +46,6 @@ - * Download: - - * Git diff --git a/lib/sisu/v6/harvest_authors.rb b/lib/sisu/v6/harvest_authors.rb index 7ae504db..0f375c00 100644 --- a/lib/sisu/v6/harvest_authors.rb +++ b/lib/sisu/v6/harvest_authors.rb @@ -47,9 +47,6 @@ - * Download: - - * Git diff --git a/lib/sisu/v6/harvest_topics.rb b/lib/sisu/v6/harvest_topics.rb index 386580f3..aafc3755 100644 --- a/lib/sisu/v6/harvest_topics.rb +++ b/lib/sisu/v6/harvest_topics.rb @@ -48,9 +48,6 @@ - * Download: - - * Git diff --git a/lib/sisu/v6/html.rb b/lib/sisu/v6/html.rb index a0b56032..199770e7 100644 --- a/lib/sisu/v6/html.rb +++ b/lib/sisu/v6/html.rb @@ -46,9 +46,6 @@ - * Download: - - * Git diff --git a/lib/sisu/v6/html_concordance.rb b/lib/sisu/v6/html_concordance.rb index 5d7436b8..ce284e3f 100644 --- a/lib/sisu/v6/html_concordance.rb +++ b/lib/sisu/v6/html_concordance.rb @@ -46,9 +46,6 @@ - * Download: - - * Git diff --git a/lib/sisu/v6/html_format.rb b/lib/sisu/v6/html_format.rb index 5c7ea0b9..eb0745da 100644 --- a/lib/sisu/v6/html_format.rb +++ b/lib/sisu/v6/html_format.rb @@ -46,9 +46,6 @@ - * Download: - - * Git diff --git a/lib/sisu/v6/html_lite_shared.rb b/lib/sisu/v6/html_lite_shared.rb index 40d3cc98..7249ba31 100644 --- a/lib/sisu/v6/html_lite_shared.rb +++ b/lib/sisu/v6/html_lite_shared.rb @@ -46,9 +46,6 @@ - * Download: - - * Git diff --git a/lib/sisu/v6/html_manifest.rb b/lib/sisu/v6/html_manifest.rb index 1057cd2b..036713e9 100644 --- a/lib/sisu/v6/html_manifest.rb +++ b/lib/sisu/v6/html_manifest.rb @@ -46,9 +46,6 @@ - * Download: - - * Git diff --git a/lib/sisu/v6/html_minitoc.rb b/lib/sisu/v6/html_minitoc.rb index 66d8a13b..9c8ed2a1 100644 --- a/lib/sisu/v6/html_minitoc.rb +++ b/lib/sisu/v6/html_minitoc.rb @@ -47,9 +47,6 @@ - * Download: - - * Git diff --git a/lib/sisu/v6/html_promo.rb b/lib/sisu/v6/html_promo.rb index 56415244..a6f456ae 100644 --- a/lib/sisu/v6/html_promo.rb +++ b/lib/sisu/v6/html_promo.rb @@ -46,9 +46,6 @@ - * Download: - - * Git diff --git a/lib/sisu/v6/html_scroll.rb b/lib/sisu/v6/html_scroll.rb index 86e22529..1415c585 100644 --- a/lib/sisu/v6/html_scroll.rb +++ b/lib/sisu/v6/html_scroll.rb @@ -46,9 +46,6 @@ - * Download: - - * Git diff --git a/lib/sisu/v6/html_segments.rb b/lib/sisu/v6/html_segments.rb index 0930c85d..47fe9d14 100644 --- a/lib/sisu/v6/html_segments.rb +++ b/lib/sisu/v6/html_segments.rb @@ -46,9 +46,6 @@ - * Download: - - * Git diff --git a/lib/sisu/v6/html_shared.rb b/lib/sisu/v6/html_shared.rb index f90d6600..3067b153 100644 --- a/lib/sisu/v6/html_shared.rb +++ b/lib/sisu/v6/html_shared.rb @@ -46,9 +46,6 @@ - * Download: - - * Git diff --git a/lib/sisu/v6/html_table.rb b/lib/sisu/v6/html_table.rb index 4927fe56..82ab4913 100644 --- a/lib/sisu/v6/html_table.rb +++ b/lib/sisu/v6/html_table.rb @@ -46,9 +46,6 @@ - * Download: - - * Git diff --git a/lib/sisu/v6/html_tune.rb b/lib/sisu/v6/html_tune.rb index b77bf825..7ce62bfc 100644 --- a/lib/sisu/v6/html_tune.rb +++ b/lib/sisu/v6/html_tune.rb @@ -46,9 +46,6 @@ - * Download: - - * Git diff --git a/lib/sisu/v6/hub.rb b/lib/sisu/v6/hub.rb index 30d11664..87c7040e 100644 --- a/lib/sisu/v6/hub.rb +++ b/lib/sisu/v6/hub.rb @@ -46,9 +46,6 @@ - * Download: - - * Git diff --git a/lib/sisu/v6/hub_actions.rb b/lib/sisu/v6/hub_actions.rb index bad943e5..3b3201d6 100644 --- a/lib/sisu/v6/hub_actions.rb +++ b/lib/sisu/v6/hub_actions.rb @@ -46,9 +46,6 @@ - * Download: - - * Git diff --git a/lib/sisu/v6/hub_loop_markup_files.rb b/lib/sisu/v6/hub_loop_markup_files.rb index f5b86eb9..abae9912 100644 --- a/lib/sisu/v6/hub_loop_markup_files.rb +++ b/lib/sisu/v6/hub_loop_markup_files.rb @@ -46,9 +46,6 @@ - * Download: - - * Git diff --git a/lib/sisu/v6/hub_options.rb b/lib/sisu/v6/hub_options.rb index c0cd753f..0cb0d336 100644 --- a/lib/sisu/v6/hub_options.rb +++ b/lib/sisu/v6/hub_options.rb @@ -46,9 +46,6 @@ - * Download: - - * Git diff --git a/lib/sisu/v6/i18n.rb b/lib/sisu/v6/i18n.rb index b8a7d4e5..c80d0e9a 100644 --- a/lib/sisu/v6/i18n.rb +++ b/lib/sisu/v6/i18n.rb @@ -46,9 +46,6 @@ - * Download: - - * Git diff --git a/lib/sisu/v6/manpage.rb b/lib/sisu/v6/manpage.rb index e0bb47d7..2eb32e36 100644 --- a/lib/sisu/v6/manpage.rb +++ b/lib/sisu/v6/manpage.rb @@ -46,9 +46,6 @@ - * Download: - - * Git diff --git a/lib/sisu/v6/manpage_format.rb b/lib/sisu/v6/manpage_format.rb index ba8ff942..72f7668b 100644 --- a/lib/sisu/v6/manpage_format.rb +++ b/lib/sisu/v6/manpage_format.rb @@ -46,9 +46,6 @@ - * Download: - - * Git diff --git a/lib/sisu/v6/po4a.rb b/lib/sisu/v6/po4a.rb index 06653ca3..b616e764 100644 --- a/lib/sisu/v6/po4a.rb +++ b/lib/sisu/v6/po4a.rb @@ -46,9 +46,6 @@ - * Download: - - * Git diff --git a/lib/sisu/v6/po4a_set.rb b/lib/sisu/v6/po4a_set.rb index 7f1ac183..2fc56cb9 100644 --- a/lib/sisu/v6/po4a_set.rb +++ b/lib/sisu/v6/po4a_set.rb @@ -46,9 +46,6 @@ - * Download: - - * Git diff --git a/lib/sisu/v6/prog_text_translation.rb b/lib/sisu/v6/prog_text_translation.rb index a77c0f9d..222d8940 100644 --- a/lib/sisu/v6/prog_text_translation.rb +++ b/lib/sisu/v6/prog_text_translation.rb @@ -46,9 +46,6 @@ - * Download: - - * Git diff --git a/lib/sisu/v6/qrcode.rb b/lib/sisu/v6/qrcode.rb index 4f163b11..b4a84f22 100644 --- a/lib/sisu/v6/qrcode.rb +++ b/lib/sisu/v6/qrcode.rb @@ -46,9 +46,6 @@ - * Download: - - * Git diff --git a/lib/sisu/v6/relaxng.rb b/lib/sisu/v6/relaxng.rb index a542043e..95d227bb 100644 --- a/lib/sisu/v6/relaxng.rb +++ b/lib/sisu/v6/relaxng.rb @@ -46,9 +46,6 @@ - * Download: - - * Git @@ -110,9 +107,6 @@ module SiSU_Relaxng - * Download: - - * Ralph Amissah diff --git a/lib/sisu/v6/remote.rb b/lib/sisu/v6/remote.rb index 6a34a2bb..9862c62a 100644 --- a/lib/sisu/v6/remote.rb +++ b/lib/sisu/v6/remote.rb @@ -46,9 +46,6 @@ - * Download: - - * Git diff --git a/lib/sisu/v6/rexml.rb b/lib/sisu/v6/rexml.rb index e89d1a1c..9e6ee4eb 100644 --- a/lib/sisu/v6/rexml.rb +++ b/lib/sisu/v6/rexml.rb @@ -46,9 +46,6 @@ - * Download: - - * Git diff --git a/lib/sisu/v6/se.rb b/lib/sisu/v6/se.rb index a1af7a09..5afb5ee3 100644 --- a/lib/sisu/v6/se.rb +++ b/lib/sisu/v6/se.rb @@ -46,9 +46,6 @@ - * Download: - - * Git diff --git a/lib/sisu/v6/se_cleanoutput.rb b/lib/sisu/v6/se_cleanoutput.rb index 92e3e7b7..e8395a1d 100644 --- a/lib/sisu/v6/se_cleanoutput.rb +++ b/lib/sisu/v6/se_cleanoutput.rb @@ -46,9 +46,6 @@ - * Download: - - * Git diff --git a/lib/sisu/v6/se_clear.rb b/lib/sisu/v6/se_clear.rb index d60c55b0..7eab9765 100644 --- a/lib/sisu/v6/se_clear.rb +++ b/lib/sisu/v6/se_clear.rb @@ -46,9 +46,6 @@ - * Download: - - * Git diff --git a/lib/sisu/v6/se_createsite.rb b/lib/sisu/v6/se_createsite.rb index a6195800..e6aa2a6e 100644 --- a/lib/sisu/v6/se_createsite.rb +++ b/lib/sisu/v6/se_createsite.rb @@ -46,9 +46,6 @@ - * Download: - - * Git diff --git a/lib/sisu/v6/se_css.rb b/lib/sisu/v6/se_css.rb index 56e96b27..fed9c571 100644 --- a/lib/sisu/v6/se_css.rb +++ b/lib/sisu/v6/se_css.rb @@ -46,9 +46,6 @@ - * Download: - - * Git diff --git a/lib/sisu/v6/se_date.rb b/lib/sisu/v6/se_date.rb index 8e23f1b4..31446a60 100644 --- a/lib/sisu/v6/se_date.rb +++ b/lib/sisu/v6/se_date.rb @@ -46,9 +46,6 @@ - * Download: - - * Git diff --git a/lib/sisu/v6/se_db.rb b/lib/sisu/v6/se_db.rb index aced6c83..392af850 100644 --- a/lib/sisu/v6/se_db.rb +++ b/lib/sisu/v6/se_db.rb @@ -46,9 +46,6 @@ - * Download: - - * Git diff --git a/lib/sisu/v6/se_envcall.rb b/lib/sisu/v6/se_envcall.rb index 1af40f56..840092eb 100644 --- a/lib/sisu/v6/se_envcall.rb +++ b/lib/sisu/v6/se_envcall.rb @@ -46,9 +46,6 @@ - * Download: - - * Git diff --git a/lib/sisu/v6/se_file_op.rb b/lib/sisu/v6/se_file_op.rb index acde9306..941b7b7a 100644 --- a/lib/sisu/v6/se_file_op.rb +++ b/lib/sisu/v6/se_file_op.rb @@ -46,9 +46,6 @@ - * Download: - - * Git diff --git a/lib/sisu/v6/se_filemap.rb b/lib/sisu/v6/se_filemap.rb index 816d1df0..1af08ffd 100644 --- a/lib/sisu/v6/se_filemap.rb +++ b/lib/sisu/v6/se_filemap.rb @@ -46,9 +46,6 @@ - * Download: - - * Git diff --git a/lib/sisu/v6/se_get_init.rb b/lib/sisu/v6/se_get_init.rb index 9d82bb3d..b5f8fd16 100644 --- a/lib/sisu/v6/se_get_init.rb +++ b/lib/sisu/v6/se_get_init.rb @@ -46,9 +46,6 @@ - * Download: - - * Git diff --git a/lib/sisu/v6/se_hub_particulars.rb b/lib/sisu/v6/se_hub_particulars.rb index a9215362..ca9a8a06 100644 --- a/lib/sisu/v6/se_hub_particulars.rb +++ b/lib/sisu/v6/se_hub_particulars.rb @@ -47,9 +47,6 @@ - * Download: - - * Git diff --git a/lib/sisu/v6/se_info_env.rb b/lib/sisu/v6/se_info_env.rb index 0f1764e2..d00868b1 100644 --- a/lib/sisu/v6/se_info_env.rb +++ b/lib/sisu/v6/se_info_env.rb @@ -46,9 +46,6 @@ - * Download: - - * Git diff --git a/lib/sisu/v6/se_info_port.rb b/lib/sisu/v6/se_info_port.rb index 288eefaa..ccd75bd2 100644 --- a/lib/sisu/v6/se_info_port.rb +++ b/lib/sisu/v6/se_info_port.rb @@ -46,9 +46,6 @@ - * Download: - - * Git diff --git a/lib/sisu/v6/se_info_system.rb b/lib/sisu/v6/se_info_system.rb index f916da7a..58de52a0 100644 --- a/lib/sisu/v6/se_info_system.rb +++ b/lib/sisu/v6/se_info_system.rb @@ -46,9 +46,6 @@ - * Download: - - * Git diff --git a/lib/sisu/v6/se_load.rb b/lib/sisu/v6/se_load.rb index ddd720c3..238930dd 100644 --- a/lib/sisu/v6/se_load.rb +++ b/lib/sisu/v6/se_load.rb @@ -46,9 +46,6 @@ - * Download: - - * Git diff --git a/lib/sisu/v6/se_processing.rb b/lib/sisu/v6/se_processing.rb index d7104a55..e437bd0f 100644 --- a/lib/sisu/v6/se_processing.rb +++ b/lib/sisu/v6/se_processing.rb @@ -46,9 +46,6 @@ - * Download: - - * Git diff --git a/lib/sisu/v6/se_programs.rb b/lib/sisu/v6/se_programs.rb index a71ef02a..5c8bb70f 100644 --- a/lib/sisu/v6/se_programs.rb +++ b/lib/sisu/v6/se_programs.rb @@ -46,9 +46,6 @@ - * Download: - - * Git diff --git a/lib/sisu/v6/se_remotes.rb b/lib/sisu/v6/se_remotes.rb index 1ed66e9a..3b4ded45 100644 --- a/lib/sisu/v6/se_remotes.rb +++ b/lib/sisu/v6/se_remotes.rb @@ -46,9 +46,6 @@ - * Download: - - * Git diff --git a/lib/sisu/v6/se_standardise_lang.rb b/lib/sisu/v6/se_standardise_lang.rb index 4d087b7a..a2340374 100644 --- a/lib/sisu/v6/se_standardise_lang.rb +++ b/lib/sisu/v6/se_standardise_lang.rb @@ -46,9 +46,6 @@ - * Download: - - * Git diff --git a/lib/sisu/v6/se_version.rb b/lib/sisu/v6/se_version.rb index 10265dea..b5998b26 100644 --- a/lib/sisu/v6/se_version.rb +++ b/lib/sisu/v6/se_version.rb @@ -46,9 +46,6 @@ - * Download: - - * Git diff --git a/lib/sisu/v6/shared_images.rb b/lib/sisu/v6/shared_images.rb index 34bceb33..85520a51 100644 --- a/lib/sisu/v6/shared_images.rb +++ b/lib/sisu/v6/shared_images.rb @@ -46,9 +46,6 @@ - * Download: - - * Git diff --git a/lib/sisu/v6/shared_markup_alt.rb b/lib/sisu/v6/shared_markup_alt.rb index 66f35048..83f843be 100644 --- a/lib/sisu/v6/shared_markup_alt.rb +++ b/lib/sisu/v6/shared_markup_alt.rb @@ -46,9 +46,6 @@ - * Download: - - * Git diff --git a/lib/sisu/v6/shared_metadata.rb b/lib/sisu/v6/shared_metadata.rb index 9df42d00..182acde1 100644 --- a/lib/sisu/v6/shared_metadata.rb +++ b/lib/sisu/v6/shared_metadata.rb @@ -46,9 +46,6 @@ - * Download: - - * Git diff --git a/lib/sisu/v6/shared_sem.rb b/lib/sisu/v6/shared_sem.rb index 272782a6..74cfeaa7 100644 --- a/lib/sisu/v6/shared_sem.rb +++ b/lib/sisu/v6/shared_sem.rb @@ -47,9 +47,6 @@ - * Download: - - * Git diff --git a/lib/sisu/v6/sitemaps.rb b/lib/sisu/v6/sitemaps.rb index ef5235ad..39432146 100644 --- a/lib/sisu/v6/sitemaps.rb +++ b/lib/sisu/v6/sitemaps.rb @@ -46,9 +46,6 @@ - * Download: - - * Git diff --git a/lib/sisu/v6/src_kdissert_share.rb b/lib/sisu/v6/src_kdissert_share.rb index 2d3055e7..7b70344f 100644 --- a/lib/sisu/v6/src_kdissert_share.rb +++ b/lib/sisu/v6/src_kdissert_share.rb @@ -46,9 +46,6 @@ - * Download: - - * Git diff --git a/lib/sisu/v6/src_share.rb b/lib/sisu/v6/src_share.rb index ecd3e793..6bd76bb9 100644 --- a/lib/sisu/v6/src_share.rb +++ b/lib/sisu/v6/src_share.rb @@ -46,9 +46,6 @@ - * Download: - - * Git diff --git a/lib/sisu/v6/src_shared.rb b/lib/sisu/v6/src_shared.rb index 36e5295c..957fcb30 100644 --- a/lib/sisu/v6/src_shared.rb +++ b/lib/sisu/v6/src_shared.rb @@ -46,9 +46,6 @@ - * Download: - - * Git diff --git a/lib/sisu/v6/src_sisupod_make.rb b/lib/sisu/v6/src_sisupod_make.rb index 7f9fd653..a8dee5c8 100644 --- a/lib/sisu/v6/src_sisupod_make.rb +++ b/lib/sisu/v6/src_sisupod_make.rb @@ -46,9 +46,6 @@ - * Download: - - * Git diff --git a/lib/sisu/v6/sst_convert_markup.rb b/lib/sisu/v6/sst_convert_markup.rb index fd46b92d..d92461f6 100644 --- a/lib/sisu/v6/sst_convert_markup.rb +++ b/lib/sisu/v6/sst_convert_markup.rb @@ -46,9 +46,6 @@ - * Download: - - * Git diff --git a/lib/sisu/v6/sst_do_inline_footnotes.rb b/lib/sisu/v6/sst_do_inline_footnotes.rb index cc378351..e013506d 100644 --- a/lib/sisu/v6/sst_do_inline_footnotes.rb +++ b/lib/sisu/v6/sst_do_inline_footnotes.rb @@ -46,9 +46,6 @@ - * Download: - - * Git diff --git a/lib/sisu/v6/sst_from_xml.rb b/lib/sisu/v6/sst_from_xml.rb index 8a779b92..d42d5e6a 100644 --- a/lib/sisu/v6/sst_from_xml.rb +++ b/lib/sisu/v6/sst_from_xml.rb @@ -46,9 +46,6 @@ - * Download: - - * Git diff --git a/lib/sisu/v6/sst_identify_markup.rb b/lib/sisu/v6/sst_identify_markup.rb index 19b1af83..bd2e4569 100644 --- a/lib/sisu/v6/sst_identify_markup.rb +++ b/lib/sisu/v6/sst_identify_markup.rb @@ -46,9 +46,6 @@ - * Download: - - * Git diff --git a/lib/sisu/v6/sst_to_s_xml_sax.rb b/lib/sisu/v6/sst_to_s_xml_sax.rb index e7e0b83f..9d63bbf1 100644 --- a/lib/sisu/v6/sst_to_s_xml_sax.rb +++ b/lib/sisu/v6/sst_to_s_xml_sax.rb @@ -46,9 +46,6 @@ - * Download: - - * Git diff --git a/lib/sisu/v6/termsheet.rb b/lib/sisu/v6/termsheet.rb index 99e2b04e..bc07dd25 100644 --- a/lib/sisu/v6/termsheet.rb +++ b/lib/sisu/v6/termsheet.rb @@ -46,9 +46,6 @@ - * Download: - - * Git diff --git a/lib/sisu/v6/texinfo.rb b/lib/sisu/v6/texinfo.rb index 10b29b92..f0360502 100644 --- a/lib/sisu/v6/texinfo.rb +++ b/lib/sisu/v6/texinfo.rb @@ -46,9 +46,6 @@ - * Download: - - * Git diff --git a/lib/sisu/v6/texinfo_format.rb b/lib/sisu/v6/texinfo_format.rb index 2a1249af..9c841ff0 100644 --- a/lib/sisu/v6/texinfo_format.rb +++ b/lib/sisu/v6/texinfo_format.rb @@ -46,9 +46,6 @@ - * Download: - - * Git diff --git a/lib/sisu/v6/texpdf.rb b/lib/sisu/v6/texpdf.rb index b0cf49cb..00bf7961 100644 --- a/lib/sisu/v6/texpdf.rb +++ b/lib/sisu/v6/texpdf.rb @@ -46,9 +46,6 @@ - * Download: - - * Git diff --git a/lib/sisu/v6/texpdf_format.rb b/lib/sisu/v6/texpdf_format.rb index 0d52a8d8..b3ee1230 100644 --- a/lib/sisu/v6/texpdf_format.rb +++ b/lib/sisu/v6/texpdf_format.rb @@ -46,9 +46,6 @@ - * Download: - - * Git diff --git a/lib/sisu/v6/txt_asciidoc.rb b/lib/sisu/v6/txt_asciidoc.rb index ab6c3147..ed1f2826 100644 --- a/lib/sisu/v6/txt_asciidoc.rb +++ b/lib/sisu/v6/txt_asciidoc.rb @@ -46,9 +46,6 @@ - * Download: - - * Git diff --git a/lib/sisu/v6/txt_markdown.rb b/lib/sisu/v6/txt_markdown.rb index 4e372f26..80277cf6 100644 --- a/lib/sisu/v6/txt_markdown.rb +++ b/lib/sisu/v6/txt_markdown.rb @@ -46,9 +46,6 @@ - * Download: - - * Git diff --git a/lib/sisu/v6/txt_plain.rb b/lib/sisu/v6/txt_plain.rb index 7408d60d..22e5a520 100644 --- a/lib/sisu/v6/txt_plain.rb +++ b/lib/sisu/v6/txt_plain.rb @@ -46,9 +46,6 @@ - * Download: - - * Git diff --git a/lib/sisu/v6/txt_rst.rb b/lib/sisu/v6/txt_rst.rb index 127b957d..71912858 100644 --- a/lib/sisu/v6/txt_rst.rb +++ b/lib/sisu/v6/txt_rst.rb @@ -46,9 +46,6 @@ - * Download: - - * Git diff --git a/lib/sisu/v6/txt_shared.rb b/lib/sisu/v6/txt_shared.rb index 746efd4e..f0745d7b 100644 --- a/lib/sisu/v6/txt_shared.rb +++ b/lib/sisu/v6/txt_shared.rb @@ -46,9 +46,6 @@ - * Download: - - * Git diff --git a/lib/sisu/v6/txt_textile.rb b/lib/sisu/v6/txt_textile.rb index 6dc1c846..93a23f86 100644 --- a/lib/sisu/v6/txt_textile.rb +++ b/lib/sisu/v6/txt_textile.rb @@ -46,9 +46,6 @@ - * Download: - - * Git diff --git a/lib/sisu/v6/update.rb b/lib/sisu/v6/update.rb index 70839e42..e72c26ee 100644 --- a/lib/sisu/v6/update.rb +++ b/lib/sisu/v6/update.rb @@ -46,9 +46,6 @@ - * Download: - - * Git diff --git a/lib/sisu/v6/urls.rb b/lib/sisu/v6/urls.rb index b4e85d96..c89bbafa 100644 --- a/lib/sisu/v6/urls.rb +++ b/lib/sisu/v6/urls.rb @@ -46,9 +46,6 @@ - * Download: - - * Git diff --git a/lib/sisu/v6/utils.rb b/lib/sisu/v6/utils.rb index de941d57..42901e42 100644 --- a/lib/sisu/v6/utils.rb +++ b/lib/sisu/v6/utils.rb @@ -46,9 +46,6 @@ - * Download: - - * Git diff --git a/lib/sisu/v6/utils_response.rb b/lib/sisu/v6/utils_response.rb index c3da43f9..0e10f66c 100644 --- a/lib/sisu/v6/utils_response.rb +++ b/lib/sisu/v6/utils_response.rb @@ -46,9 +46,6 @@ - * Download: - - * Git diff --git a/lib/sisu/v6/utils_screen_text_color.rb b/lib/sisu/v6/utils_screen_text_color.rb index 5429919e..a1b194a3 100644 --- a/lib/sisu/v6/utils_screen_text_color.rb +++ b/lib/sisu/v6/utils_screen_text_color.rb @@ -46,9 +46,6 @@ - * Download: - - * Git diff --git a/lib/sisu/v6/utils_spell.rb b/lib/sisu/v6/utils_spell.rb index 6e5377f2..0e5d8158 100644 --- a/lib/sisu/v6/utils_spell.rb +++ b/lib/sisu/v6/utils_spell.rb @@ -46,9 +46,6 @@ - * Download: - - * Git diff --git a/lib/sisu/v6/webrick.rb b/lib/sisu/v6/webrick.rb index 316bef6e..f05e16de 100644 --- a/lib/sisu/v6/webrick.rb +++ b/lib/sisu/v6/webrick.rb @@ -46,9 +46,6 @@ - * Download: - - * Git diff --git a/lib/sisu/v6/wikispeak.rb b/lib/sisu/v6/wikispeak.rb index ee844879..a66d529a 100644 --- a/lib/sisu/v6/wikispeak.rb +++ b/lib/sisu/v6/wikispeak.rb @@ -46,9 +46,6 @@ - * Download: - - * Git diff --git a/lib/sisu/v6/xhtml.rb b/lib/sisu/v6/xhtml.rb index fd403110..6ff864f6 100644 --- a/lib/sisu/v6/xhtml.rb +++ b/lib/sisu/v6/xhtml.rb @@ -46,9 +46,6 @@ - * Download: - - * Git diff --git a/lib/sisu/v6/xhtml_epub2.rb b/lib/sisu/v6/xhtml_epub2.rb index 61414183..245050a1 100644 --- a/lib/sisu/v6/xhtml_epub2.rb +++ b/lib/sisu/v6/xhtml_epub2.rb @@ -46,9 +46,6 @@ - * Download: - - * Git diff --git a/lib/sisu/v6/xhtml_epub2_concordance.rb b/lib/sisu/v6/xhtml_epub2_concordance.rb index 2087bf29..67fc623b 100644 --- a/lib/sisu/v6/xhtml_epub2_concordance.rb +++ b/lib/sisu/v6/xhtml_epub2_concordance.rb @@ -46,9 +46,6 @@ - * Download: - - * Git diff --git a/lib/sisu/v6/xhtml_epub2_format.rb b/lib/sisu/v6/xhtml_epub2_format.rb index 179eb44c..d654937e 100644 --- a/lib/sisu/v6/xhtml_epub2_format.rb +++ b/lib/sisu/v6/xhtml_epub2_format.rb @@ -46,9 +46,6 @@ - * Download: - - * Git diff --git a/lib/sisu/v6/xhtml_epub2_segments.rb b/lib/sisu/v6/xhtml_epub2_segments.rb index c011cdc9..961ef299 100644 --- a/lib/sisu/v6/xhtml_epub2_segments.rb +++ b/lib/sisu/v6/xhtml_epub2_segments.rb @@ -46,9 +46,6 @@ - * Download: - - * Git diff --git a/lib/sisu/v6/xhtml_epub2_tune.rb b/lib/sisu/v6/xhtml_epub2_tune.rb index dacff934..4188ae24 100644 --- a/lib/sisu/v6/xhtml_epub2_tune.rb +++ b/lib/sisu/v6/xhtml_epub2_tune.rb @@ -46,9 +46,6 @@ - * Download: - - * Git diff --git a/lib/sisu/v6/xhtml_shared.rb b/lib/sisu/v6/xhtml_shared.rb index 41d8f5db..c1a1a207 100644 --- a/lib/sisu/v6/xhtml_shared.rb +++ b/lib/sisu/v6/xhtml_shared.rb @@ -46,9 +46,6 @@ - * Download: - - * Git diff --git a/lib/sisu/v6/xhtml_table.rb b/lib/sisu/v6/xhtml_table.rb index b49f65d1..bfaed250 100644 --- a/lib/sisu/v6/xhtml_table.rb +++ b/lib/sisu/v6/xhtml_table.rb @@ -46,9 +46,6 @@ - * Download: - - * Git diff --git a/lib/sisu/v6/xml_docbook5.rb b/lib/sisu/v6/xml_docbook5.rb index 0cf57783..5cd6fc66 100644 --- a/lib/sisu/v6/xml_docbook5.rb +++ b/lib/sisu/v6/xml_docbook5.rb @@ -46,9 +46,6 @@ - * Download: - - * Git diff --git a/lib/sisu/v6/xml_dom.rb b/lib/sisu/v6/xml_dom.rb index 6571391b..16c1895e 100644 --- a/lib/sisu/v6/xml_dom.rb +++ b/lib/sisu/v6/xml_dom.rb @@ -46,9 +46,6 @@ - * Download: - - * Git diff --git a/lib/sisu/v6/xml_fictionbook2.rb b/lib/sisu/v6/xml_fictionbook2.rb index cf496a98..94fac895 100644 --- a/lib/sisu/v6/xml_fictionbook2.rb +++ b/lib/sisu/v6/xml_fictionbook2.rb @@ -46,9 +46,6 @@ - * Download: - - * Git diff --git a/lib/sisu/v6/xml_format.rb b/lib/sisu/v6/xml_format.rb index d0d9faaa..73a41efa 100644 --- a/lib/sisu/v6/xml_format.rb +++ b/lib/sisu/v6/xml_format.rb @@ -46,9 +46,6 @@ - * Download: - - * Git diff --git a/lib/sisu/v6/xml_md_oai_pmh_dc.rb b/lib/sisu/v6/xml_md_oai_pmh_dc.rb index e46ff662..3394d9c5 100644 --- a/lib/sisu/v6/xml_md_oai_pmh_dc.rb +++ b/lib/sisu/v6/xml_md_oai_pmh_dc.rb @@ -46,9 +46,6 @@ - * Download: - - * Git diff --git a/lib/sisu/v6/xml_odf_odt.rb b/lib/sisu/v6/xml_odf_odt.rb index 6a489cee..0e887d05 100644 --- a/lib/sisu/v6/xml_odf_odt.rb +++ b/lib/sisu/v6/xml_odf_odt.rb @@ -46,9 +46,6 @@ - * Download: - - * Git diff --git a/lib/sisu/v6/xml_odf_odt_format.rb b/lib/sisu/v6/xml_odf_odt_format.rb index 5f861b56..980fd29d 100644 --- a/lib/sisu/v6/xml_odf_odt_format.rb +++ b/lib/sisu/v6/xml_odf_odt_format.rb @@ -46,9 +46,6 @@ - * Download: - - * Git diff --git a/lib/sisu/v6/xml_sax.rb b/lib/sisu/v6/xml_sax.rb index 99589980..9e236d1c 100644 --- a/lib/sisu/v6/xml_sax.rb +++ b/lib/sisu/v6/xml_sax.rb @@ -46,9 +46,6 @@ - * Download: - - * Git diff --git a/lib/sisu/v6/xml_scaffold_structure_collapsed.rb b/lib/sisu/v6/xml_scaffold_structure_collapsed.rb index f362e263..cb895f24 100644 --- a/lib/sisu/v6/xml_scaffold_structure_collapsed.rb +++ b/lib/sisu/v6/xml_scaffold_structure_collapsed.rb @@ -46,9 +46,6 @@ - * Download: - - * Git diff --git a/lib/sisu/v6/xml_scaffold_structure_sisu.rb b/lib/sisu/v6/xml_scaffold_structure_sisu.rb index f2e992fe..3bd413cf 100644 --- a/lib/sisu/v6/xml_scaffold_structure_sisu.rb +++ b/lib/sisu/v6/xml_scaffold_structure_sisu.rb @@ -46,9 +46,6 @@ - * Download: - - * Git diff --git a/lib/sisu/v6/xml_shared.rb b/lib/sisu/v6/xml_shared.rb index 661a153a..73eee6ec 100644 --- a/lib/sisu/v6/xml_shared.rb +++ b/lib/sisu/v6/xml_shared.rb @@ -46,9 +46,6 @@ - * Download: - - * Git diff --git a/lib/sisu/v6/xml_tables.rb b/lib/sisu/v6/xml_tables.rb index 3cd6da5c..eedd74d5 100644 --- a/lib/sisu/v6/xml_tables.rb +++ b/lib/sisu/v6/xml_tables.rb @@ -46,9 +46,6 @@ - * Download: - - * Git diff --git a/lib/sisu/v6/zap.rb b/lib/sisu/v6/zap.rb index ff64cf3c..c99eab77 100644 --- a/lib/sisu/v6/zap.rb +++ b/lib/sisu/v6/zap.rb @@ -46,9 +46,6 @@ - * Download: - - * Git -- cgit v1.2.3

#{@translate.filename}

#{@translate.description}