From bf2a99e821f9d4ac64c2d558a6b6ca940a8aade4 Mon Sep 17 00:00:00 2001 From: Ralph Amissah Date: Fri, 10 Oct 2008 22:26:18 -0400 Subject: book code, minor adjustment; and fix to manifest reporting of the creation of sisupod (zip) --- lib/sisu/v0/dal_idx.rb | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 'lib/sisu/v0/dal_idx.rb') diff --git a/lib/sisu/v0/dal_idx.rb b/lib/sisu/v0/dal_idx.rb index d7d5223e..36489e74 100644 --- a/lib/sisu/v0/dal_idx.rb +++ b/lib/sisu/v0/dal_idx.rb @@ -169,12 +169,17 @@ module SiSU_book_index @idx[:sst] << "\n\n#{Mx[:br_page_new]}" @idx[:sst] << "\n\n#{Mx[:lv_o]}2:#{Mx[:lv_c]}Index #{Mx[:id_o]}~0;0:0;x0#{Mx[:id_c]}" @idx[:sst] << "\n\n#{Mx[:lv_o]}4:idx#{Mx[:lv_c]} [Index] #{Mx[:pa_non_object_dummy_heading]} #{Mx[:id_o]}~0;0:0;x0#{Mx[:id_c]}" - alph=%W[A B C D E F G H I J K L M N O P Q R S T U V W X Y Z] + alph=%W[9 A B C D E F G H I J K L M N O P Q R S T U V W X Y Z] @idx[:html] << '

' - alph.each {|x| @idx[:html] << %{#{x}, }} + alph.each do |x| + @idx[:html] << if x =~/[0-9]/; '' + else + %{#{x}, } + end + end @idx[:html] << '

' letter=alph.shift - @idx[:html] << %{\n
\n

A

} + @idx[:html] << %{\n

} the_idx.each do |i| i.each do |x| if x.class == String -- cgit v1.2.3