From 46b067aa9afd1ff9ff9e49d0a1eca9950324402c Mon Sep 17 00:00:00 2001 From: Ralph Amissah Date: Sun, 27 Jan 2013 15:43:37 -0500 Subject: v4 v3: epub, toc.ncx fix, navpoint_close --- data/doc/sisu/CHANGELOG_v3 | 3 +++ data/doc/sisu/CHANGELOG_v4 | 3 +++ lib/sisu/v3/epub.rb | 1 + lib/sisu/v4/epub.rb | 1 + 4 files changed, 8 insertions(+) diff --git a/data/doc/sisu/CHANGELOG_v3 b/data/doc/sisu/CHANGELOG_v3 index 22b79a15..b9b15cf5 100644 --- a/data/doc/sisu/CHANGELOG_v3 +++ b/data/doc/sisu/CHANGELOG_v3 @@ -36,6 +36,9 @@ http://www.jus.uio.no/sisu/pkg/src/sisu_3.3.6.orig.tar.xz sisu_3.3.6-1.dsc sisu_3.3.6-1.debian.tar.gz +* v3: epub some fixing, more documents render in more readers/viewers + * ncx fix, navpoint_close + * v3: remove markup-sample of the first edition of FaiF as redundant, the markup for the second edition being available (& partly in response to Bug#698664 which leads me to think about it), removed: diff --git a/data/doc/sisu/CHANGELOG_v4 b/data/doc/sisu/CHANGELOG_v4 index cd53dbcb..120127e8 100644 --- a/data/doc/sisu/CHANGELOG_v4 +++ b/data/doc/sisu/CHANGELOG_v4 @@ -25,6 +25,9 @@ http://www.jus.uio.no/sisu/pkg/src/sisu_4.0.3.orig.tar.xz sisu_4.0.3-1.dsc sisu_4.0.3-1.debian.tar.gz +* v4: epub some fixing, more documents render in more readers/viewers + * ncx fix, navpoint_close + * v4: remove markup-sample of the first edition of FaiF as redundant, the markup for the second edition being available (& partly in response to Bug#698664 which leads me to think about it), removed: 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] << "\n" 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] << "\n" -- cgit v1.2.3