aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorRalph Amissah <ralph@amissah.com>2013-01-27 15:43:37 -0500
committerRalph Amissah <ralph@amissah.com>2013-01-27 16:25:25 -0500
commit46b067aa9afd1ff9ff9e49d0a1eca9950324402c (patch)
tree39e54aa51047bd8cfdac076011af3738adb8e9c7
parentv4 v3: remove markup-sample, first edition of FaiF (diff)
v4 v3: epub, toc.ncx fix, navpoint_close
-rw-r--r--data/doc/sisu/CHANGELOG_v33
-rw-r--r--data/doc/sisu/CHANGELOG_v43
-rw-r--r--lib/sisu/v3/epub.rb1
-rw-r--r--lib/sisu/v4/epub.rb1
4 files changed, 8 insertions, 0 deletions
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] << "</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>"