diff options
author | Ralph Amissah <ralph@amissah.com> | 2012-02-14 21:32:53 -0500 |
---|---|---|
committer | Ralph Amissah <ralph@amissah.com> | 2012-02-14 21:33:13 -0500 |
commit | 6d898f1eb74160fbc7d6365b3ad8d6b9417d2f19 (patch) | |
tree | 066bf34901b3169eec6a573e58ce971ec2fbde8e /lib/sisu/v3dv/html_segments.rb | |
parent | v3dv: dal, remove sisu_manifest from document structure & toc (diff) |
v3dv: control hookssisu_3.1.14
* hooks to make it possible to control (via: the command line; the document
markup header, or; the command line) the likes of: toc, manifest,
manifest-links, metadata, html-minitoc, html-navigation, html-navigation-bar;
these are switched on by default and control takes the form of making it
possible to switch them off.
Diffstat (limited to 'lib/sisu/v3dv/html_segments.rb')
-rw-r--r-- | lib/sisu/v3dv/html_segments.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/sisu/v3dv/html_segments.rb b/lib/sisu/v3dv/html_segments.rb index 05f30cc4..b20d2271 100644 --- a/lib/sisu/v3dv/html_segments.rb +++ b/lib/sisu/v3dv/html_segments.rb @@ -138,6 +138,7 @@ module SiSU_HTML_Seg @seg_name_html=@@seg_name_html || nil @seg_name_html_tracker=@@tracker || nil @env=SiSU_Env::InfoEnv.new(@md.fns) if @md + @make=SiSU_Env::InfoSet.new(@md) if @md if @md @title_banner_=SiSU_Env::CreateSite.new(@md.opt.cmd).html_seg_title_banner? end @@ -244,7 +245,7 @@ module SiSU_HTML_Seg SiSU_HTML_Seg::Seg.new(@md).tail segfilename="#{@file.output_path.html_seg.dir}/#{@@seg_name_html[tracking-1]}#{@md.lang_code_insert}#{Sfx[:html]}" output_seg_file=File.new(segfilename,'w') if @@seg_name_html[tracking-1] - minitoc=(@env.html_minitoc?) \ + minitoc=(@make.html_minitoc?) \ ? @minitoc : '' if dob.is==:heading \ |