diff options
author | Ralph Amissah <ralph@amissah.com> | 2010-07-02 13:43:08 -0400 |
---|---|---|
committer | Ralph Amissah <ralph@amissah.com> | 2010-07-02 13:43:08 -0400 |
commit | 7799148a0f21054947bb44e435a28007c0604e19 (patch) | |
tree | ff53b3a32132ba6bb4f87813d43d9a1bc03e754d /lib/sisu/v2/hub.rb | |
parent | Free as in Freedom, add oclc (Online Computer Library Center) number and isbn (diff) |
hub, make -t produce plaintext output, (documentation needs update)
Diffstat (limited to 'lib/sisu/v2/hub.rb')
-rw-r--r-- | lib/sisu/v2/hub.rb | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/sisu/v2/hub.rb b/lib/sisu/v2/hub.rb index 443d0734..db167571 100644 --- a/lib/sisu/v2/hub.rb +++ b/lib/sisu/v2/hub.rb @@ -129,8 +129,8 @@ module SiSU 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 # -T - when /^plaintext$/; SiSU_Plaintext::Source.new(@opt).read # -a + when /^xml_scaffold$/; SiSU_XML_scaffold::Source.new(@opt).read # -k + when /^plaintext$/; SiSU_Plaintext::Source.new(@opt).read # -t -a #when /^git$/; SiSU_Git::Source.new(@opt).read # -g #when /^wikispeak$/; SiSU_Wikispeak::Source.new(@opt).read # -g when /^epub$/; SiSU_EPUB::Source.new(@opt).read # -e @@ -283,7 +283,7 @@ p "here #{__FILE__} #{__LINE__}" if @opt =~/M/ if @opt.mod.inspect =~/--convert|--to|--from/ require "#{SiSU_lib}/sst_convert_markup" # sst_convert_markup.rb end - if @opt.cmd =~/([AabCcDdeFfgGHhIiJjLMmNnOopQqrRSsTtUuVvwWXxYyZ_0-9])/ \ + if @opt.cmd =~/([AabCcDdeFfgGHhIiJjkLMmNnOopQqrRSsTtUuVvwWXxYyZ_0-9])/ \ and @opt.cmd =~/^-/ \ and @opt.mod.inspect !~/--(?:sitemaps|query|identify)/ \ or @opt.mod.inspect =~/--(?:(?:sq)?lite|pg(?:sql)?)/ #and @@ -422,7 +422,7 @@ p "here #{__FILE__} #{__LINE__}" if @opt =~/M/ end if @opt.cmd =~/[hHz]/; op('html','html') #% -h -H -z html css end - if @opt.cmd =~/a/; op('plaintext','plaintext') #% -a #-A -f -e -E plaintext -a creates ms-dos type; -A creates unix type, plaintext file + if @opt.cmd =~/[at]/; op('plaintext','plaintext') #% -t -a #-A -f -e -E plaintext -a creates ms-dos type; -A creates unix type, plaintext file end #if @opt.cmd =~/g/; op('git','git') #% -g git #end @@ -444,7 +444,7 @@ p "here #{__FILE__} #{__LINE__}" if @opt =~/M/ end if @opt.cmd =~/O/; op('xml_md_oai_pmh_dc','OAI PMH') #% -O open archive initiative, metadata harvesting end - if @opt.cmd =~/t/ #% -t termsheet/standard form + if @opt.cmd =~/T/ #% -T termsheet/standard form SiSU_Help::Help.new('termsheet').help_request @opt.files.each do |fns| if FileTest.file?(fns) @@ -458,7 +458,7 @@ p "here #{__FILE__} #{__LINE__}" if @opt =~/M/ end Operations.new.counter end - if @opt.cmd =~/T/; op('xml_scaffold','XML scaffold') #% -T temporary tests + if @opt.cmd =~/k/; op('xml_scaffold','XML scaffold') #% -T temporary tests end if @opt.cmd =~/p/; op('texpdf','LaTeX pdf') #% -p latex/ texpdf end |