#{@p_num.name}#{@headname}#{@dob.obj}
} + %{#{@dob.ocn}
\n} end def heading_body1 %{#{@dob.ocn}
\n} end def heading_body2 %{#{@dob.ocn}
\n} end def heading_body3 %{#{@dob.ocn}
\n} end def heading_body4 %{#{@dob.ocn}
\n} end def heading_body5 %{#{@dob.ocn}
\n} end def heading_body6 %{#{@dob.ocn}
\n} end end class Paragraph_number def initialize(md,ocn) @md,@ocn=md,ocn.to_s @ocn ||='' vz=SiSU_Env::Get_init.instance.skin @skin_no_ocn=if not ocn true elsif defined? vz.ocn_display_off \ and vz.ocn_display_off==true true else false end end def ocn_display if @md.markup.inspect =~/no_ocn/ \ or @md.opt.mod.inspect =~/--no-ocn/ \ or @skin_no_ocn ocn_class='ocn_off' @ocn.gsub(/^(\d+|)$/, %{}) elsif @ocn.to_i==0 @ocn.gsub(/^(\d+|)$/, %{}) else ocn_class='ocn' @ocn.gsub(/^(\d+|)$/, %{}) end end def name %{} end def id #w3c? "tidy" complains about numbers as identifiers ! annoying %{id="o#{@ocn}"} end def goto %{} end end class Head_information include SiSU_Viz attr_reader :md,:sfx,:pdf,:rdf,:vz def initialize(md) @md=md @rdf=SiSU_XML_tags::RDF.new(md) # DublinCore 1 - title @vz=SiSU_Env::Get_init.instance.skin @css=SiSU_Env::CSS_stylesheet.new(md) @seg_name_html=(SiSU_HTML::Source::Seg.new.seg_name_html || []) @seg_name_html_tracker=(SiSU_HTML::Source::Seg.new.seg_name_html_tracker || []) @index='index' @metalink='#metadata' @tocband_scroll,@tocband_segtoc=nil,nil end def doc_type %{ \n} end def table_close %{ #{@vz.table_close}} end def buttons_home %{ #{@vz.banner_home_and_index_buttons} } end def copyat %{#{@vz.paragraph_font_tiny}copy @ #{@vz.txt_home} } end def html_close #moved %{