From abaab645690444fcc168180c43ed79fbdd28a97d Mon Sep 17 00:00:00 2001 From: Ralph Amissah Date: Tue, 1 Mar 2011 20:23:50 -0500 Subject: v3: hub, minor rearrangement --- lib/sisu/v3/hub.rb | 56 +++++++++++++++++++++++++++--------------------------- 1 file changed, 28 insertions(+), 28 deletions(-) (limited to 'lib') diff --git a/lib/sisu/v3/hub.rb b/lib/sisu/v3/hub.rb index 5e86ea76..9439982f 100644 --- a/lib/sisu/v3/hub.rb +++ b/lib/sisu/v3/hub.rb @@ -112,7 +112,7 @@ module SiSU if @opt.cmd.inspect =~/-P/\ and @req =~ /^po4a$/ require "#{SiSU_lib}/composite" # composite.rb #pre-processing - SiSU_po4a::Source.new(@opt).read # -P + SiSU_po4a::Source.new(@opt).read # -P po4a.rb elsif @req=~/^dal$/ \ and FileTest.file?(@opt.fns) \ and @opt.fns =~ /\.(?:(?:-|ssm\.)?sst|ssm)$/ @@ -132,33 +132,33 @@ module SiSU SiSU_Assemble::Composite.new(@opt).read @opt.fns=fns.gsub(/\.ssm$/,'.ssm.sst') end - SiSU_DAL::Source.new(@opt).read # -m - when /^git$/; SiSU_Git::Source.new(@opt).read # -g - when /^concordance$/; SiSU_Concordance::Source.new(@opt).read # -w - when /^share_src$/; SiSU_Markup::Source.new(@opt).read # -s - when /^sisupod_make$/; SiSU_Doc::Source.new(@opt).read # -S - when /^source_kdissert$/; SiSU_Kdi_source::Source.new(@opt).read ## -S - when /^digests$/; SiSU_Digest_view::Source.new(@opt).read # -N - when /^xml_scaffold$/; SiSU_XML_scaffold::Source.new(@opt).read # -k - when /^plaintext$/; SiSU_Plaintext::Source.new(@opt).read # -t -a -# when /^po4a$/; SiSU_po4a::Source.new(@opt).read # -P - #when /^wikispeak$/; SiSU_Wikispeak::Source.new(@opt).read # -g - when /^epub$/; SiSU_EPUB::Source.new(@opt).read # -e - when /^odf$/; SiSU_ODF::Source.new(@opt).read # -o - when /^xml_md_oai_pmh_dc$/; SiSU_XML_metadata::OAI_PMH.new(@opt).read # -O - when /^texpdf$/; SiSU_TeX::Source.new(@opt).read # -p - when /^manpage$/; SiSU_Manpage::Source.new(@opt).read # -i - when /^texinfo$/; SiSU_TexInfo::Source.new(@opt).read # -I - when /^html$/; SiSU_HTML::Source.new(@opt).read # -h -H - when /^xml$/; SiSU_XML_SAX::Source.new(@opt).read # -x - when /^xml_dom$/; SiSU_XML_DOM::Source.new(@opt).read # -X - when /^xml_fictionbook$/; SiSU_XML_Fictionbook::Source.new(@opt).read # -f - when /^xhtml$/; SiSU_XHTML::Source.new(@opt).read # -b - when /^embedded$/; SiSU_Embedded::Source.new(@opt).read # -m (image and other content) - when /^manifest$/; SiSU_Manifest::Source.new(@opt).read # -y - when /^sitemaps$/; SiSU_Sitemaps::Source.new(@opt).read # -Y - when /^zap$/; SiSU_Zap::Source.new(@opt).read # -Z - when /^dbi$/; SiSU_DBI::SiSU_SQL.new(@opt).connect # -D -d + SiSU_DAL::Source.new(@opt).read # -m dal.rb + when /^git$/; SiSU_Git::Source.new(@opt).read # -g git.rb + when /^concordance$/; SiSU_Concordance::Source.new(@opt).read # -w concordance.rb + when /^share_src$/; SiSU_Markup::Source.new(@opt).read # -s share_src.rb + when /^sisupod_make$/; SiSU_Doc::Source.new(@opt).read # -S sisupod_make.rb +# when /^source_kdissert$/; SiSU_Kdi_source::Source.new(@opt).read # -S share_src_kdissert.rb + when /^digests$/; SiSU_Digest_view::Source.new(@opt).read # -N digests.rb + when /^plaintext$/; SiSU_Plaintext::Source.new(@opt).read # -t -a plaintext.rb +# when /^po4a$/; SiSU_po4a::Source.new(@opt).read # -P po4a.rb + #when /^wikispeak$/; SiSU_Wikispeak::Source.new(@opt).read # -g + when /^epub$/; SiSU_EPUB::Source.new(@opt).read # -e epub.rb + when /^odf$/; SiSU_ODF::Source.new(@opt).read # -o odf.rb + when /^xml_md_oai_pmh_dc$/; SiSU_XML_metadata::OAI_PMH.new(@opt).read # -O + when /^texpdf$/; SiSU_TeX::Source.new(@opt).read # -p texpdf.rb + when /^manpage$/; SiSU_Manpage::Source.new(@opt).read # -i manpage.rb + when /^texinfo$/; SiSU_TexInfo::Source.new(@opt).read # -I texinfo.rb + when /^html$/; SiSU_HTML::Source.new(@opt).read # -h -H html.rb + when /^xhtml$/; SiSU_XHTML::Source.new(@opt).read # -b xhtml.rb + when /^xml$/; SiSU_XML_SAX::Source.new(@opt).read # -x xml.rb + when /^xml_dom$/; SiSU_XML_DOM::Source.new(@opt).read # -X xml_dom.rb + when /^xml_fictionbook$/; SiSU_XML_Fictionbook::Source.new(@opt).read # -f + when /^xml_scaffold$/; SiSU_XML_scaffold::Source.new(@opt).read # -k xml_scaffold.rb + when /^embedded$/; SiSU_Embedded::Source.new(@opt).read # -m embedded.rb (image and other content) #check + when /^manifest$/; SiSU_Manifest::Source.new(@opt).read # -y manifest.rb + when /^sitemaps$/; SiSU_Sitemaps::Source.new(@opt).read # -Y sitemaps.rb + when /^zap$/; SiSU_Zap::Source.new(@opt).read # -Z zap.rb + when /^dbi$/; SiSU_DBI::SiSU_SQL.new(@opt).connect # -D -d dbi.rb end @n_do=@n_do+1 SiSU_Screen::Ansi.new(@opt.cmd,@n_do,"#{@req.upcase} processed").files_processed if @opt.cmd =~/[MVv]/ -- cgit v1.2.3