diff options
author | Ralph Amissah <ralph@amissah.com> | 2015-01-11 08:51:54 -0500 |
---|---|---|
committer | Ralph Amissah <ralph@amissah.com> | 2015-01-19 23:46:16 -0500 |
commit | 01ce3c47e2d4e8fe3fe0b487cd847dc9588d660a (patch) | |
tree | 110ffb42c8aba887ec50aa815fba20733cad64b8 /lib | |
parent | d: composite documents (.ssm), extract insert files list (diff) |
c&d: some cruft
Diffstat (limited to 'lib')
-rw-r--r-- | lib/sisu/current/dp.rb | 28 | ||||
-rw-r--r-- | lib/sisu/current/se_clear.rb | 2 | ||||
-rw-r--r-- | lib/sisu/current/se_file_op.rb | 10 | ||||
-rw-r--r-- | lib/sisu/develop/dp.rb | 28 | ||||
-rw-r--r-- | lib/sisu/develop/se_clear.rb | 1 | ||||
-rw-r--r-- | lib/sisu/develop/se_file_op.rb | 10 |
6 files changed, 11 insertions, 68 deletions
diff --git a/lib/sisu/current/dp.rb b/lib/sisu/current/dp.rb index 9c8ab9fc..4cf058e7 100644 --- a/lib/sisu/current/dp.rb +++ b/lib/sisu/current/dp.rb @@ -67,19 +67,6 @@ module SiSU_Param require_relative 'dp_make' # dp_make.rb require_relative 'dp_identify_markup' # dp_identify_markup.rb @@date=SiSU_Env::InfoDate.new - @@proc= - @@filename_txt= - @@filename_texinfo= - @@filename_lout_portrait= - @@filename_lout_landscape= - @@filename_html_scroll= - @@filename_html_index= - @@filename_html_segtoc= - @@filename_semantic= - @@filename_rss= - @@newfile= - @@drr= - nil @doc={ initialise: nil, markup: '', @@ -87,7 +74,6 @@ module SiSU_Param stmp: '', req: {}, } - @@yaml=@@yamladdr=nil @@trigger=nil @@lv,@@flag={},{} @@tex_backslash="\\\\" @@ -1574,19 +1560,6 @@ module SiSU_Param class Instantiate def param_instantiate @@date=SiSU_Env::InfoDate.new - @@proc= - @@filename_txt= - @@filename_texinfo= - @@filename_lout_portrait= - @@filename_lout_landscape= - @@filename_html_scroll= - @@filename_html_index= - @@filename_html_segtoc= - @@filename_semantic= - @@filename_rss= - @@newfile= - @@drr= - nil @doc={ initialise: nil, markup: '', @@ -1596,7 +1569,6 @@ module SiSU_Param prefix_b: '', req: {} } - @@yaml=@@yamladdr=nil @@flag={} @@publisher='SiSU scribe' end diff --git a/lib/sisu/current/se_clear.rb b/lib/sisu/current/se_clear.rb index f39ea9d6..1d769268 100644 --- a/lib/sisu/current/se_clear.rb +++ b/lib/sisu/current/se_clear.rb @@ -98,7 +98,7 @@ module SiSU_Clear def param_instantiate @cX||=SiSU_Screen::Ansi.new(@cmd) @@date=SiSU_Env::InfoDate.new - @@proc=@@filename_txt=@@filename_texinfo=@@filename_lout_portrait=@@filename_lout_landscape=@@filename_html_scroll=@@filename_html_index=@@filename_html_segtoc=@@filename_semantic=@@filename_rss=@@newfile=@@drr=@@yaml=@@yamladdr=nil + @@proc=@@filename_txt=@@filename_texinfo=@@filename_html_scroll=@@filename_html_index=@@filename_html_segtoc=@@filename_semantic=@@filename_rss=@@newfile=@@drr=@@yaml=@@yamladdr=nil @@publisher='SiSU scribe' end end diff --git a/lib/sisu/current/se_file_op.rb b/lib/sisu/current/se_file_op.rb index bccb7605..3f9cb834 100644 --- a/lib/sisu/current/se_file_op.rb +++ b/lib/sisu/current/se_file_op.rb @@ -351,7 +351,7 @@ module SiSU_File_Op pth=output_path.html.dir make_path(pth) p_fn=place_file.html_scroll.dir - @@filename_html_scroll=File.new(p_fn,'w+') + File.new(p_fn,'w+') end def html_seg_index pth=((output_dir_structure.by_filename?) \ @@ -360,7 +360,7 @@ module SiSU_File_Op : "#{output_path.html.dir}/#{@md.fnb}" make_path(pth) p_fn=place_file.html_seg_index.dir - @@filename_html_index=File.new(p_fn,'w+') + File.new(p_fn,'w+') end def html_segtoc pth=((output_dir_structure.by_filename?) \ @@ -370,7 +370,7 @@ module SiSU_File_Op : "#{output_path.html.dir}/#{@md.fnb}" make_path(pth) p_fn=place_file.html_segtoc.dir - @@filename_html_index=File.new(p_fn,'w+') + File.new(p_fn,'w+') end def xhtml path=output_path.xhtml.dir @@ -2568,11 +2568,11 @@ module SiSU_Create_File end def file_semantic fn='./semantic.yaml' - @@filename_semantic=File.new(fn,'w+') + File.new(fn,'w+') end def file_rss fn='./semantic.xml' - @@filename_rss=File.new(fn,'w+') + File.new(fn,'w+') end def epub @pth=@env.processing_path.epub diff --git a/lib/sisu/develop/dp.rb b/lib/sisu/develop/dp.rb index 76fe87ff..42a51363 100644 --- a/lib/sisu/develop/dp.rb +++ b/lib/sisu/develop/dp.rb @@ -67,19 +67,6 @@ module SiSU_Param require_relative 'dp_make' # dp_make.rb require_relative 'dp_identify_markup' # dp_identify_markup.rb @@date=SiSU_Env::InfoDate.new - @@proc= - @@filename_txt= - @@filename_texinfo= - @@filename_lout_portrait= - @@filename_lout_landscape= - @@filename_html_scroll= - @@filename_html_index= - @@filename_html_segtoc= - @@filename_semantic= - @@filename_rss= - @@newfile= - @@drr= - nil @doc={ initialise: nil, markup: '', @@ -87,7 +74,6 @@ module SiSU_Param stmp: '', req: {}, } - @@yaml=@@yamladdr=nil @@trigger=nil @@lv,@@flag={},{} @@tex_backslash="\\\\" @@ -1580,19 +1566,6 @@ module SiSU_Param class Instantiate def param_instantiate @@date=SiSU_Env::InfoDate.new - @@proc= - @@filename_txt= - @@filename_texinfo= - @@filename_lout_portrait= - @@filename_lout_landscape= - @@filename_html_scroll= - @@filename_html_index= - @@filename_html_segtoc= - @@filename_semantic= - @@filename_rss= - @@newfile= - @@drr= - nil @doc={ initialise: nil, markup: '', @@ -1602,7 +1575,6 @@ module SiSU_Param prefix_b: '', req: {} } - @@yaml=@@yamladdr=nil @@flag={} @@publisher='SiSU scribe' end diff --git a/lib/sisu/develop/se_clear.rb b/lib/sisu/develop/se_clear.rb index 553fd98b..f86a2477 100644 --- a/lib/sisu/develop/se_clear.rb +++ b/lib/sisu/develop/se_clear.rb @@ -98,7 +98,6 @@ module SiSU_Clear def param_instantiate @cX||=SiSU_Screen::Ansi.new(@cmd) @@date=SiSU_Env::InfoDate.new - @@proc=@@filename_txt=@@filename_texinfo=@@filename_lout_portrait=@@filename_lout_landscape=@@filename_html_scroll=@@filename_html_index=@@filename_html_segtoc=@@filename_semantic=@@filename_rss=@@newfile=@@drr=@@yaml=@@yamladdr=nil @@publisher='SiSU scribe' end end diff --git a/lib/sisu/develop/se_file_op.rb b/lib/sisu/develop/se_file_op.rb index 585a1c12..22a6f778 100644 --- a/lib/sisu/develop/se_file_op.rb +++ b/lib/sisu/develop/se_file_op.rb @@ -357,7 +357,7 @@ module SiSU_File_Op pth=output_path.html.dir make_path(pth) p_fn=place_file.html_scroll.dir - @@filename_html_scroll=File.new(p_fn,'w+') + File.new(p_fn,'w+') end def html_seg_index pth=((output_dir_structure.by_filename?) \ @@ -366,7 +366,7 @@ module SiSU_File_Op : "#{output_path.html.dir}/#{@md.fnb}" make_path(pth) p_fn=place_file.html_seg_index.dir - @@filename_html_index=File.new(p_fn,'w+') + File.new(p_fn,'w+') end def html_segtoc pth=((output_dir_structure.by_filename?) \ @@ -376,7 +376,7 @@ module SiSU_File_Op : "#{output_path.html.dir}/#{@md.fnb}" make_path(pth) p_fn=place_file.html_segtoc.dir - @@filename_html_index=File.new(p_fn,'w+') + File.new(p_fn,'w+') end def xhtml path=output_path.xhtml.dir @@ -2626,11 +2626,11 @@ module SiSU_Create_File end def file_semantic fn='./semantic.yaml' - @@filename_semantic=File.new(fn,'w+') + File.new(fn,'w+') end def file_rss fn='./semantic.xml' - @@filename_rss=File.new(fn,'w+') + File.new(fn,'w+') end def epub @pth=@env.processing_path.epub |