summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorRalph Amissah <ralph@amissah.com>2015-01-11 13:51:54 +0000
committerRalph Amissah <ralph@amissah.com>2015-01-20 04:46:16 +0000
commit01ce3c47e2d4e8fe3fe0b487cd847dc9588d660a (patch)
tree110ffb42c8aba887ec50aa815fba20733cad64b8 /lib
parentd: composite documents (.ssm), extract insert files list (diff)
downloadsisu-01ce3c47e2d4e8fe3fe0b487cd847dc9588d660a.zip
sisu-01ce3c47e2d4e8fe3fe0b487cd847dc9588d660a.tar.xz
c&d: some cruft
Diffstat (limited to 'lib')
-rw-r--r--lib/sisu/current/dp.rb28
-rw-r--r--lib/sisu/current/se_clear.rb2
-rw-r--r--lib/sisu/current/se_file_op.rb10
-rw-r--r--lib/sisu/develop/dp.rb28
-rw-r--r--lib/sisu/develop/se_clear.rb1
-rw-r--r--lib/sisu/develop/se_file_op.rb10
6 files changed, 11 insertions, 68 deletions
diff --git a/lib/sisu/current/dp.rb b/lib/sisu/current/dp.rb
index 9c8ab9f..4cf058e 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 f39ea9d..1d76926 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 bccb760..3f9cb83 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 76fe87f..42a5136 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 553fd98..f86a247 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 585a1c1..22a6f77 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