aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/sisu/v0/html.rb2
-rw-r--r--lib/sisu/v0/html_format.rb35
2 files changed, 36 insertions, 1 deletions
diff --git a/lib/sisu/v0/html.rb b/lib/sisu/v0/html.rb
index e57b5add..28098f6c 100644
--- a/lib/sisu/v0/html.rb
+++ b/lib/sisu/v0/html.rb
@@ -359,7 +359,7 @@ WOK
else format_toc.lev1
end
toc[:seg_mini]=if para =~/^#{Mx[:lv_o]}\d:meta#{Mx[:lv_c]}\s*Document Information/
- format_toc.mini_lev0
+ format_toc.mini_tail
else format_toc.mini_lev1
end
title=if para =~/(#{Mx[:id_o]}~0;(?:\w|[0-6]:)\d+;\w\d+#{Mx[:id_c]}#{Mx[:id_o]}#@dp:#@dp#{Mx[:id_c]})$/
diff --git a/lib/sisu/v0/html_format.rb b/lib/sisu/v0/html_format.rb
index 1ee409ab..0bfe580e 100644
--- a/lib/sisu/v0/html_format.rb
+++ b/lib/sisu/v0/html_format.rb
@@ -764,6 +764,7 @@ WOK
scroll=seg=''
wgt=Widget.new(@md)
#dir=SiSU_Env::Info_env.new(@md.fns)
+ x=if @md.concord_make
%{
<table summary="segment navigation available documents types: toc,doc,pdf,concordance" border="0" cellpadding="3" cellspacing="0">
<tr>
@@ -776,6 +777,19 @@ WOK
#{wgt.search}
#{wgt.home}
</tr></table>}
+ else
+ %{
+<table summary="segment navigation available documents types: toc,doc,pdf,concordance" border="0" cellpadding="3" cellspacing="0">
+<tr>
+ #{wgt.seg(@vz.nav_txt_toc_link)}
+ #{wgt.scroll(@vz.nav_txt_doc_link)}
+ #{wgt.pdf}#{wgt.odf}
+<td align="center" bgcolor=#{@vz.color_band2}>
+ #{wgt.manifest}
+ #{wgt.search}
+ #{wgt.home}
+</tr></table>}
+ end
end
def toc_pre_next3 #used with seg_doc_types in seg_nav_band #with pdf & other doc types #knxjs
%{<table summary="segment navigation pre/next" border="0" cellpadding="3" cellspacing="0">
@@ -1510,6 +1524,27 @@ WOK
def mini_lev0 #docinfo
lev('h0','minitoc')
end
+ def mini_tail
+# <h0 class="minitoc">
+# <a href="metadata.html">Document Information (metadata)</a>
+# </h0>
+ x=if @md.concord_make
+ %{
+ <h4 class="minitoc">
+ <a href="concordance.html">Concordance (wordlist)</a>
+ </h4>
+ <h4 class="minitoc">
+ <a href="sisu_manifest.html">Manifest (alternative outputs)</a>
+ </h4>
+}
+ else
+ %{
+ <h4 class="minitoc">
+ <a href="sisu_manifest.html">Manifest (alternative outputs)</a>
+ </h4>
+}
+ end
+ end
end
end
__END__