From 1e089ff9864237be31ca6cff015d2a2bf8736555 Mon Sep 17 00:00:00 2001 From: Ralph Amissah Date: Wed, 6 Jun 2012 22:47:59 -0400 Subject: v3: html, excludes (options) --exc-html-top-band, touch * html (toc & scroll), (html_segments, concordance,) exclude top band sisu --exc-top-band --html --concordance filename.sst --- data/doc/sisu/CHANGELOG_v3 | 3 +++ lib/sisu/v3/html.rb | 8 ++++++-- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/data/doc/sisu/CHANGELOG_v3 b/data/doc/sisu/CHANGELOG_v3 index d3ed60d4..2a395864 100644 --- a/data/doc/sisu/CHANGELOG_v3 +++ b/data/doc/sisu/CHANGELOG_v3 @@ -25,6 +25,9 @@ http://www.jus.uio.no/sisu/pkg/src/sisu_3.2.12.orig.tar.xz * v3: shared_images, fix +* v3: excludes --exc-html- + * html (toc & scroll), (html_segments, concordance,) exclude top band, touch + sisu --exc-top-band --html --concordance filename.sst v3: screen reporting, ansi colors, cosmetic * Rake, Rant installer sisu installer require ruby >= 1.9.3 diff --git a/lib/sisu/v3/html.rb b/lib/sisu/v3/html.rb index a5c1edb1..100916ff 100644 --- a/lib/sisu/v3/html.rb +++ b/lib/sisu/v3/html.rb @@ -530,7 +530,9 @@ WOK @segtoc << format_head_toc.head << ads.div.major toc_shared << format_head_toc.toc_head_escript if SiSU_HTML_Format::HeadToc.method_defined? :toc_head_escript @segtoc << format_head_toc.toc_head_escript if SiSU_HTML_Format::HeadToc.method_defined? :toc_head_escript - toc_shared << format_head_toc.scroll_head_navigation_band + if @make.build.html_top_band? + toc_shared << format_head_toc.scroll_head_navigation_band + end if defined? @md.rights.all rights=format_head_toc.rights.all rights=SiSU_HTML_Tune::CleanHTML.new(rights).clean @@ -539,7 +541,9 @@ WOK prefix_b=format_head_toc.notes.prefix_b prefix_b=SiSU_HTML_Tune::CleanHTML.new(prefix_b).clean end - @segtoc << format_head_toc.seg_head_navigation_band + if @make.build.html_top_band? + @segtoc << format_head_toc.seg_head_navigation_band + end toc_shared << format_head_toc.scroll_head_title_banner_open @segtoc << format_head_toc.seg_head_title_banner_open tmp_head=nil -- cgit v1.2.3