From 4aa58e16055fd24b7958c50397a27795105743e6 Mon Sep 17 00:00:00 2001 From: Ralph Amissah Date: Sun, 12 Jan 2014 21:25:51 -0500 Subject: v5: heading recalibration, code (downstream) changes, continue --- lib/sisu/v5/texinfo.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lib/sisu/v5/texinfo.rb') diff --git a/lib/sisu/v5/texinfo.rb b/lib/sisu/v5/texinfo.rb index c18b4b1e..955b1060 100644 --- a/lib/sisu/v5/texinfo.rb +++ b/lib/sisu/v5/texinfo.rb @@ -272,7 +272,7 @@ module SiSU_TexInfo @submenu,@subsubmenu={},{} data.each do |dob| if dob.is ==:heading \ - && (dob.ln.to_s =~ /^[1-3]$/) + && (dob.ln.to_s =~ /^[0-3]$/) toc=SiSU_TexInfoFormat::Texinfo.new(@md,dob) texinfo_menu << toc.menu elsif dob.is ==:heading \ @@ -313,6 +313,7 @@ module SiSU_TexInfo end if dob.is==:heading case dob.ln + when 0 then dob=mono.level0 when 1 then dob=mono.level1 when 2 then dob=mono.level2 when 3 then dob=mono.level3 -- cgit v1.2.3