aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorRalph Amissah <ralph@amissah.com>2007-09-23 19:31:29 +0100
committerRalph Amissah <ralph@amissah.com>2007-09-23 19:31:29 +0100
commit4ac76c462554b231084d2894e726e1b00522bbe0 (patch)
treeb73dcdebbd76418ae7cbde5af610feb6cc1a3202
parentprimarily todo with sisu documentation, changelog reproduced below: (diff)
minor cleaning
-rw-r--r--lib/sisu/v0/html_segments.rb4
-rw-r--r--lib/sisu/v0/manpage.rb2
-rw-r--r--lib/sisu/v0/plaintext.rb2
3 files changed, 4 insertions, 4 deletions
diff --git a/lib/sisu/v0/html_segments.rb b/lib/sisu/v0/html_segments.rb
index a7e81624..7c97925e 100644
--- a/lib/sisu/v0/html_segments.rb
+++ b/lib/sisu/v0/html_segments.rb
@@ -65,7 +65,7 @@ module SiSU_HTML_seg
@@loop_count=@@seg_total=@@tracker=0
@@is4=@@is3=@@is2=@@is1=0
@@header1=@@header2=@@header3=@@header4=0
- @@seg[:tocband],@@seg[:title],@@seg[:headers],@@seg[:main],@@seg[:tail],@@seg[:credits],@@seg_subtoc_array,@@seg_endnotes_array,@@heading_endnotes_array,@@seg[:endnote_all]=Array.new(10){[]}
+ @@seg[:tocband],@@seg[:title],@@seg[:headers],@@seg[:main],@@seg[:tail],@@seg[:credits],@@seg_subtoc_array,@@seg_endnotes_array,@@seg[:endnote_all]=Array.new(9){[]}
@@seg[:header_endnotes]=''
@@tablehead,@@number_of_cols=0,0
@@flag_group=false
@@ -385,7 +385,7 @@ module SiSU_HTML_seg
reinitialise
@@seg_total,@@tracker=0,0
@@seg_endnotes,@@seg_subtoc={},{}
- @@seg_endnotes_array,@@seg_subtoc_array,@@heading_endnotes_array=[],[],[]
+ @@seg_endnotes_array,@@seg_subtoc_array=[],[]
@@seg[:endnote_all]=[]
end
def get_subtoc_endnotes(data) #get endnotes & sub-table of contents subtoc
diff --git a/lib/sisu/v0/manpage.rb b/lib/sisu/v0/manpage.rb
index dfc1ebf8..05586dec 100644
--- a/lib/sisu/v0/manpage.rb
+++ b/lib/sisu/v0/manpage.rb
@@ -489,7 +489,7 @@ WOK
#content << manpage[:owner_details] if @md.stmp =~/\w+/ #not used?
content << manpage[:tail]
Output.new(content,@md).manpage
- @@endnotes[:para],@@endnotes[:end]=[],[]
+ @@endnotes={ :para=>[],:end=>[] }
end
end
class Output <Source
diff --git a/lib/sisu/v0/plaintext.rb b/lib/sisu/v0/plaintext.rb
index 886e50a2..aa2d747a 100644
--- a/lib/sisu/v0/plaintext.rb
+++ b/lib/sisu/v0/plaintext.rb
@@ -458,7 +458,7 @@ WOK
content << plaintext[:owner_details] if @md.stmp =~/\w+/ #not used?
content << plaintext[:tail]
Output.new(content,@md).plaintext
- @@endnotes[:para],@@endnotes[:end]=[],[]
+ @@endnotes={ :para=>[],:end=>[] }
end
end
class Output <Source