diff options
author | Ralph Amissah <ralph@amissah.com> | 2012-10-03 00:16:59 -0400 |
---|---|---|
committer | Ralph Amissah <ralph@amissah.com> | 2012-10-03 00:16:59 -0400 |
commit | f6bc7d81dee102b438a9118a66a2f2a86382c729 (patch) | |
tree | 36fe1d991dbbcb34426bd17afa212086be937994 /lib/sisu/v4/xml_format.rb | |
parent | v4: 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/xml_format.rb')
-rw-r--r-- | lib/sisu/v4/xml_format.rb | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/sisu/v4/xml_format.rb b/lib/sisu/v4/xml_format.rb index 52874eb1..50e90772 100644 --- a/lib/sisu/v4/xml_format.rb +++ b/lib/sisu/v4/xml_format.rb @@ -192,7 +192,7 @@ module SiSU_XML_Format @copyright=%{<meta name="copyright" content="#{@md.rights.copyright.all}" />\n} if @md.rights.copyright.all # possibly redundant see dc.rights @owner=%{<meta name="owner" content="#{@md.owner}" />\n} if @md.owner @keywords=%{<meta name="keywords" content="#{@md.keywords}" />\n} if @md.keywords - @vz=SiSU_Env::GetInit.instance.skin #margin,paragraph,table,banner,url,png,txt,color,font,nav_txt,nav_png,credits,js,php + @vz=SiSU_Env::GetInit.new.skin #margin,paragraph,table,banner,url,png,txt,color,font,nav_txt,nav_png,credits,js,php @index='index' end def table_close @@ -279,7 +279,7 @@ WOK @lnk_url=@lnk_url.gsub(rgx,'') if @lnk_url =~rgx rgx=/~\{\d+\s+(.+?)\}~/ @lnk_url=@lnk_url.gsub(rgx,'\1') if @lnk_url =~rgx - @vz=SiSU_Env::GetInit.instance.skin + @vz=SiSU_Env::GetInit.new.skin end def scr_endnote_body "<endnote>#{@txt}</endnote> " @@ -357,7 +357,7 @@ WOK @md=md @rdf=SiSU_XML_Tags::RDF.new(md) # DublinCore 1 - title - @vz=SiSU_Env::GetInit.instance.skin + @vz=SiSU_Env::GetInit.new.skin @stylesheet=SiSU_Style::CSS_HeadInfo.new(md).stylesheet @seg_name_html=(SiSU_HTML::Source::Seg.new.seg_name_html || []) @seg_name_html_tracker=(SiSU_HTML::Source::Seg.new.seg_name_html_tracker || []) @@ -973,7 +973,7 @@ WOK end end class FormatTextObject - @vz=SiSU_Env::GetInit.instance.skin + @vz=SiSU_Env::GetInit.new.skin attr_accessor :md,:dob,:txt,:ocn,:format,:table,:link,:linkname,:paranum,:p_num,:headname,:banner,:url def initialize(md,t_o) @md,@t_o=md,t_o @@ -1019,7 +1019,7 @@ WOK end end @dob=t_o if defined? t_o.is - @vz=SiSU_Env::GetInit.instance.skin + @vz=SiSU_Env::GetInit.new.skin end def endnote_body %{ @@ -1196,7 +1196,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 |