}) else ocn_class='ocn' @paranum.gsub(/^(\d+|)$/, %{
\\1
}) end end def name %{} end def id #w3c? "tidy" complains about numbers as identifiers ! annoying %{id="o#@paranum"} end def goto %{} end end class Paragraph_id_ocn #used by table version #work area 2003w48 attr_accessor :paranum,:font,:p_num def initialize(md,paranum) @paranum,@vz,@p_num=paranum,SiSU_Env::Get_init.instance.skin,SiSU_HTML_Format::Paragraph_number.new(md,paranum) #font end def txt %{#{@p_num.name}
}
end
def txt_00
%{ #{@p_num.name}
}
end
def font_citation
%{}
end
def endnote
%{ #{@p_num.name}
}
end
def table
%{ #{@p_num.name}
}
end
def tiny
%{ #{@p_num.name}
}
end
def small
%{ #{@p_num.name}
} # keep but not used?
end
def font_tiny
%{}
end
def font_small
%{}
end
def header_
%{ #{@p_num.name}
}
end
end
class Head_information
include SiSU_Viz
include SiSU_HTML_Format
include SiSU_Env
attr_reader :md,:sfx,:pdf,:rdf,:vz
def initialize(md='')
@md=md
@sfx,@pdf=@md.sfx,@md.pdf
@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 || [])
case @md.file_type
when /php/; @index='index' # @index="index.php"
else @index='index'
end
@metalink='#metadata'
@tocband_scroll,@tocband_segtoc=nil,nil
end
def doc_type
%{
\n}
end
def toc_head_escript #embedded script in this case PHP
# %{ PHP or other embedded script for object persistence may go HERE PHP or other embedded script for object persistence may go HERE
#{@vz.banner_band} | #{pdf}
#{@vz.table_close}
}
end
def concordance_navigation_band(type='')
if type=~/pdf/
@tocband_concordance=make_concordance
end
%{
|