From c87c41a53efc0fb2a5723567f0512a4f20ff0a97 Mon Sep 17 00:00:00 2001 From: Ralph Amissah Date: Tue, 27 Nov 2007 02:36:56 +0000 Subject: html scroll more convenient (code) placement of line separator
--- lib/sisu/v0/html.rb | 3 ++- lib/sisu/v0/html_format.rb | 2 +- lib/sisu/v0/html_scroll.rb | 3 --- 3 files changed, 3 insertions(+), 5 deletions(-) diff --git a/lib/sisu/v0/html.rb b/lib/sisu/v0/html.rb index 930fdb36..2fab4d21 100644 --- a/lib/sisu/v0/html.rb +++ b/lib/sisu/v0/html.rb @@ -669,7 +669,8 @@ WOK end def publish scroll=[] - scroll << @scr_toc << @scr_body << @scr_endnotes << @scr_metadata << @scr_owner_details << @scr_tails + hr='

' + scroll << @scr_toc << hr << @scr_body << hr << @scr_endnotes << hr << @scr_metadata << @scr_owner_details << @scr_tails scroll.flatten!.compact! end end diff --git a/lib/sisu/v0/html_format.rb b/lib/sisu/v0/html_format.rb index 22d434c1..13746973 100644 --- a/lib/sisu/v0/html_format.rb +++ b/lib/sisu/v0/html_format.rb @@ -649,7 +649,7 @@ WOK def title_endnote %{#{@vz.margin_txt_0} #{@vz.paragraph_txt} -
+ #{@vz.margin_num}   #{@vz.table_close}} diff --git a/lib/sisu/v0/html_scroll.rb b/lib/sisu/v0/html_scroll.rb index e7a63951..17810dda 100644 --- a/lib/sisu/v0/html_scroll.rb +++ b/lib/sisu/v0/html_scroll.rb @@ -150,9 +150,6 @@ module SiSU_HTML_scroll format_seg=SiSU_HTML_Format_type::Format_seg.new(@md,one,two) para=format_seg.no_paranum end - if para =~/Document Information \(metadata\)/ - para.gsub!(/(Document Information \(metadata\))/,'

\1') - end if para =~// \ and para =~/^(?:\^~\d+\s|)/ # hmmm re-adjusted 200507, for alt endnote which should again be matched ^~ ... not in response to problem though para='' -- cgit v1.2.3