#@parablock
#{@vz.table_close}}
end
def navigation_header5
%{
#@parablock
}
end
def navigation_header6
%{
#@parablock
}
end
def navigation_center
"#@parablock"
end
end
class Format_toc < SiSU_HTML_Format::Format_text_object
def initialize(md='',*txt)
super(md,*txt)
end
def links_guide
#@three distinguishes between _top and external, can be used e.g. for different colour scheme
%{
#@linkname
}
end
def lev(tag,attrib)
%{<#{tag} class="#{attrib}">
#@one
#{tag}>
}
end
def lev1
lev('h1','toc')
end
def lev2
lev('h2','toc')
end
def lev3
lev('h3','toc')
end
def lev4
lev('h4','toc')
end
def lev5
lev('h5','toc')
end
def lev6
lev('h6','toc')
end
def lev0 #docinfo
lev('h0','toc')
end
def mini_lev1
lev('h1','minitoc')
end
def mini_lev2
lev('h2','minitoc')
end
def mini_lev3
lev('h3','minitoc')
end
def mini_lev4
lev('h4','minitoc')
end
def mini_lev5
lev('h5','minitoc')
end
def mini_lev6
lev('h6','minitoc')
end
def mini_lev0 #docinfo
lev('h0','minitoc')
end
end
end
__END__
|