diff options
author | Ralph Amissah <ralph@amissah.com> | 2013-01-27 15:43:37 -0500 |
---|---|---|
committer | Ralph Amissah <ralph@amissah.com> | 2013-01-27 16:25:25 -0500 |
commit | 46b067aa9afd1ff9ff9e49d0a1eca9950324402c (patch) | |
tree | 39e54aa51047bd8cfdac076011af3738adb8e9c7 /lib | |
parent | v4 v3: remove markup-sample, first edition of FaiF (diff) |
v4 v3: epub, toc.ncx fix, navpoint_close
Diffstat (limited to 'lib')
-rw-r--r-- | lib/sisu/v3/epub.rb | 1 | ||||
-rw-r--r-- | lib/sisu/v4/epub.rb | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/lib/sisu/v3/epub.rb b/lib/sisu/v3/epub.rb index fdb1398f..a645f03b 100644 --- a/lib/sisu/v3/epub.rb +++ b/lib/sisu/v3/epub.rb @@ -343,6 +343,7 @@ module SiSU_EPUB @@toc[:ncx] << @epub.toc_ncx.navpoint_close if @ncxo[4] @@toc[:ncx] << @epub.toc_ncx.navpoint_close if @ncxo[3] @@toc[:ncx] << @epub.toc_ncx.navpoint_close if @ncxo[2] + @@toc[:ncx] << @epub.toc_ncx.navpoint_close if @ncxo[1] @ncxo[1],@ncxo[2],@ncxo[3],@ncxo[4],@ncxo[5],@ncxo[6]=false,false,false,false,false,false md_opf_a_content << @epub.metadata_opf.manifest_images(@md.ec[:image]) @@toc[:seg] << "</div>\n</div>" diff --git a/lib/sisu/v4/epub.rb b/lib/sisu/v4/epub.rb index 1af5ec49..195f719e 100644 --- a/lib/sisu/v4/epub.rb +++ b/lib/sisu/v4/epub.rb @@ -351,6 +351,7 @@ module SiSU_EPUB @@toc[:ncx] << @epub.toc_ncx.navpoint_close if @ncxo[4] @@toc[:ncx] << @epub.toc_ncx.navpoint_close if @ncxo[3] @@toc[:ncx] << @epub.toc_ncx.navpoint_close if @ncxo[2] + @@toc[:ncx] << @epub.toc_ncx.navpoint_close if @ncxo[1] @ncxo[1],@ncxo[2],@ncxo[3],@ncxo[4],@ncxo[5],@ncxo[6]=false,false,false,false,false,false md_opf_a_content << @epub.metadata_opf.manifest_images(@md.ec[:image]) @@toc[:seg] << "</div>\n</div>" |