aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib/sisu/v4/epub_format.rb
diff options
context:
space:
mode:
authorRalph Amissah <ralph@amissah.com>2012-10-03 00:16:59 -0400
committerRalph Amissah <ralph@amissah.com>2012-10-03 00:16:59 -0400
commitf6bc7d81dee102b438a9118a66a2f2a86382c729 (patch)
tree36fe1d991dbbcb34426bd17afa212086be937994 /lib/sisu/v4/epub_format.rb
parentv4: bin/sisu $0, make possible to run sisu command on/within project dir tree (diff)
v4: bin/sisu $*, hub, make possible to specify dir path for markup files
* bin/sisu4 & bin/sisu3 now syslinks to bin/sisu
Diffstat (limited to 'lib/sisu/v4/epub_format.rb')
-rw-r--r--lib/sisu/v4/epub_format.rb10
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/sisu/v4/epub_format.rb b/lib/sisu/v4/epub_format.rb
index 70636fb1..15028362 100644
--- a/lib/sisu/v4/epub_format.rb
+++ b/lib/sisu/v4/epub_format.rb
@@ -61,7 +61,7 @@ module SiSU_EPUB_Format
def initialize(md,ocn)
@md,@ocn=md,ocn.to_s
@ocn ||=''
- vz=SiSU_Env::GetInit.instance.skin
+ vz=SiSU_Env::GetInit.new.skin
end
def ocn_display
@make=SiSU_Env::ProcessingSettings.new(@md)
@@ -1223,7 +1223,7 @@ WOK
def initialize(md)
@md=md
# DublinCore 1 - title
- @vz=SiSU_Env::GetInit.instance.skin
+ @vz=SiSU_Env::GetInit.new.skin
@css=SiSU_Env::CSS_Stylesheet.new(md)
@seg_name_xhtml=(SiSU_EPUB::Source::Seg.new.seg_name_xhtml || [])
@seg_name_xhtml_tracker=(SiSU_EPUB::Source::Seg.new.seg_name_xhtml_tracker || [])
@@ -1802,7 +1802,7 @@ WOK
end
end
class FormatTextObject
- @vz=SiSU_Env::GetInit.instance.skin
+ @vz=SiSU_Env::GetInit.new.skin
attr_accessor :md,:t_o,:txt,:ocn,:format,:table,:link,:linkname,:paranum,:p_num,:headname,:banner,:url
def initialize(md,t_o)
@md,@t_o=md,t_o
@@ -1846,7 +1846,7 @@ WOK
@txt=@txt.gsub(/#{Mx[:mk_o]}[-~]##{Mx[:mk_c]}/,'')
end
@p_num=ParagraphNumber.new(@md,@ocn)
- @vz=SiSU_Env::GetInit.instance.skin
+ @vz=SiSU_Env::GetInit.new.skin
end
def nametags_seg(dob) #FIX
tags=''
@@ -2049,7 +2049,7 @@ WOK
class FormatScroll < FormatTextObject
def initialize(md,txt)
super(md,txt)
- @vz=SiSU_Env::GetInit.instance.skin
+ @vz=SiSU_Env::GetInit.new.skin
end
end
class FormatSeg < FormatTextObject