diff options
author | Ralph Amissah <ralph@amissah.com> | 2013-02-22 19:23:04 -0500 |
---|---|---|
committer | Ralph Amissah <ralph@amissah.com> | 2013-02-22 19:23:16 -0500 |
commit | 9916bc2ddd1480a3ba35b3a74b766d9acbd34873 (patch) | |
tree | 75d53c4d9e951a26d4057c7a1167c96882d29a94 /lib/sisu/v4/dal_doc_str.rb | |
parent | v4: version & changelog (diff) |
v4: dal, markup: line across page divider -..- introduced
* an alternative to page breaks -\\- & =\\=, significantly affects pdf & odf
* output formats modified to include (pdf, odf, epub, html, plaintext)
Diffstat (limited to 'lib/sisu/v4/dal_doc_str.rb')
-rw-r--r-- | lib/sisu/v4/dal_doc_str.rb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/sisu/v4/dal_doc_str.rb b/lib/sisu/v4/dal_doc_str.rb index ddae0af0..dfea4ad4 100644 --- a/lib/sisu/v4/dal_doc_str.rb +++ b/lib/sisu/v4/dal_doc_str.rb @@ -75,6 +75,7 @@ module SiSU_DAL_DocumentStructureExtract SiSU_DAL_DocumentStructureExtract::Instantiate.new @pb=SiSU_DAL_DocumentStructure::ObjectLayout.new.break(Hx[:br_page]) @pbn=SiSU_DAL_DocumentStructure::ObjectLayout.new.break(Hx[:br_page_new]) + @pbl=SiSU_DAL_DocumentStructure::ObjectLayout.new.break(Hx[:br_page_line]) end def ln_get(lv) ln=case lv @@ -243,6 +244,8 @@ module SiSU_DAL_DocumentStructureExtract SiSU_DAL_DocumentStructure::ObjectLayout.new.break(Hx[:br_page],:markup) when /^(?:=\\\\=|<:pn>)\s*$/ #[br:pgn] SiSU_DAL_DocumentStructure::ObjectLayout.new.break(Hx[:br_page_new],:markup) + when /^-\.\.-\s*$/ #[br:pgl] + SiSU_DAL_DocumentStructure::ObjectLayout.new.break(Hx[:br_page_line],:markup) else #paragraph image=image_test(t_o) note=endnote_test?(t_o) |