diff options
author | Ralph Amissah <ralph@amissah.com> | 2008-09-10 21:24:31 -0400 |
---|---|---|
committer | Ralph Amissah <ralph@amissah.com> | 2008-09-10 21:24:31 -0400 |
commit | 291080c0495f59f031bf5c0de2482f1bc7df59f2 (patch) | |
tree | 6e8a1d334be8979f5c9e77687e2ec8ee7fc633b2 /lib/sisu/v0/particulars.rb | |
parent | book index, sample html file and to screen sisu markup sample added (-M flag) (diff) |
primarily on book index where (markup) provided
* book index, html, tex/pdf, xml
* texpdf no ocn if ocn is 0
* odf, plaintext, if book index? remove ... do other outputs for which not relevant
* concordance, better matches
* constants, dal special character for hardspace changed as (ruby) regx bug in replacing it in xml, odd but move on
Note: to fix html seg headers for endnotes and for index
Diffstat (limited to 'lib/sisu/v0/particulars.rb')
-rw-r--r-- | lib/sisu/v0/particulars.rb | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/lib/sisu/v0/particulars.rb b/lib/sisu/v0/particulars.rb index 8ae4f66e..59b8956b 100644 --- a/lib/sisu/v0/particulars.rb +++ b/lib/sisu/v0/particulars.rb @@ -92,7 +92,11 @@ module SiSU_Particulars set_env set_md end - attr_accessor :opt,:md + def get_html_idx(opt) + @opt=opt + set_html_idx + end + attr_accessor :opt,:md,:html_idx def set_md begin @md=SiSU_Param::Parameters.new(@opt).get @@ -116,6 +120,13 @@ module SiSU_Particulars rescue; SiSU_Errors::Info_error.new($!,$@,@opt.cmd,@opt.fns).error end end + def set_html_idx + begin + @html_idx=SiSU_DAL::Source.new(@md).get_idx_html + self + rescue; SiSU_Errors::Info_error.new($!,$@,@opt.cmd,@opt.fns).error + end + end end end __END__ |