diff options
author | Ralph Amissah <ralph@amissah.com> | 2010-12-16 23:19:35 -0500 |
---|---|---|
committer | Ralph Amissah <ralph@amissah.com> | 2010-12-16 23:46:13 -0500 |
commit | ff4ceb260ae3931072810a0ada124841d3b8e032 (patch) | |
tree | a736b8a7c4d7ce046d23f3cc834619e374f9bf68 /lib/sisu/v2/epub_segments.rb | |
parent | dal_syntax, sisu syntax modification (insist on curly braces) (diff) |
document objects: page break; object separator (introduced & used, adjust later)
* object separator introduced
(requested Cory Doctorow, implementation not discussed)
* dal_syntax, object separator syntax (<:---> or <:ols>)
* constants, object separator
* vim syntax highlighting, match object separator
* document objects: page break; object separator
(introduced & used)
* dal, page break and object separator objects
* represent page break and object separator: plaintext, html, epub, odf,
texpdf (adjust later)
Diffstat (limited to 'lib/sisu/v2/epub_segments.rb')
-rw-r--r-- | lib/sisu/v2/epub_segments.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/sisu/v2/epub_segments.rb b/lib/sisu/v2/epub_segments.rb index 4edcc93b..a09aebe3 100644 --- a/lib/sisu/v2/epub_segments.rb +++ b/lib/sisu/v2/epub_segments.rb @@ -357,7 +357,6 @@ WOK end def markup(dob) @debug=[] - dob.obj.gsub!(/(?:\s*#{Mx[:br_page]}\s*|\s*#{Mx[:br_page_new]}\s*)+/m,'') format_head_seg=SiSU_EPUB_Format::Head_seg.new(@md) if dob.is =~/(?:heading|para)/ #extend as necessary FIX @p_num=SiSU_EPUB_Format::Paragraph_number.new(@md,dob.ocn) @@ -392,6 +391,8 @@ WOK sto.code elsif dob.is=='table' sto.table + elsif dob.is=='break' + sto.break end if @md.flag_separate_endnotes # may need to revisit, check dob.obj.gsub!(/"\s+href="#note_ref(\d+)">/,%{" href=\"endnotes#{Sfx[:epub_xhtml]}#note_ref\\1">}) #endnote- twice #removed file type |