aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib
diff options
context:
space:
mode:
authorRalph Amissah <ralph@amissah.com>2007-11-27 02:36:56 +0000
committerRalph Amissah <ralph@amissah.com>2007-11-27 02:36:56 +0000
commitc87c41a53efc0fb2a5723567f0512a4f20ff0a97 (patch)
treeb6e9f213af406926201aeeeeabe1b49d9c1955eb /lib
parentDm-Upload-Allowed: yes (diff)
html scroll more convenient (code) placement of line separator <hr>
Diffstat (limited to 'lib')
-rw-r--r--lib/sisu/v0/html.rb3
-rw-r--r--lib/sisu/v0/html_format.rb2
-rw-r--r--lib/sisu/v0/html_scroll.rb3
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='<center><hr width=90% /></center>'
+ 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}
- <a name="endnotes" id="endnotes"><hr></a>
+ <a name="endnotes" id="endnotes"></a>
#{@vz.margin_num}
&nbsp;
#{@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\))/,'<hr><br>\1')
- end
if para =~/<a name="n\d+">/ \
and para =~/^(?:\^~\d+\s|<!e[:_]\d+!>)/ # hmmm re-adjusted 200507, for alt endnote which should again be matched ^~ ... not in response to problem though
para=''