aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib/sisu/v3/constants.rb
diff options
context:
space:
mode:
authorRalph Amissah <ralph@amissah.com>2011-08-09 00:06:18 -0400
committerRalph Amissah <ralph@amissah.com>2011-08-09 00:06:20 -0400
commit532c0301d456758990609bdf65b718ce2f1f32ca (patch)
treef8c142d36f20acbe21e875c5fe049d841bbd986a /lib/sisu/v3/constants.rb
parentv3: constants, re-arranged (diff)
v3: epub, constants, experiment with presentationsisu_3.0.15sisu-3.0.15
* disable some internal "features" * make file and directory naming more flexible, now using 'OEBPS', 'toc.ncx', 'content.opf', * adjustment of some headers and general tuning * add opf guide * clean processing directory between each build * constants, added constants Ep (for epub) * constants, added DISABLE (used here with epub)
Diffstat (limited to 'lib/sisu/v3/constants.rb')
-rw-r--r--lib/sisu/v3/constants.rb12
1 files changed, 12 insertions, 0 deletions
diff --git a/lib/sisu/v3/constants.rb b/lib/sisu/v3/constants.rb
index 3357996b..498ee1f3 100644
--- a/lib/sisu/v3/constants.rb
+++ b/lib/sisu/v3/constants.rb
@@ -195,6 +195,11 @@ Px={
lv5: '.',
lv6: '.',
}
+Ep={
+ d_oebps: 'OEBPS',
+ f_ncx: 'toc.ncx',
+ f_opf: 'content.opf',
+}
Db={
name_prefix: "SiSU#{SiSU_version_dir}e_",
name_prefix_db: "sisu_#{SiSU_version_dir}e_",
@@ -229,6 +234,13 @@ Gt={
conf: 'conf',
skin: 'conf/skin', #Gt[:skin: 'conf/skin/doc'
}
+DISABLE={
+ epub: {
+ internal_navigation: true,
+ per_section_title: true,
+ ncx_navpoint_unique_id: true,
+ },
+}
__END__
consider:
〔comment〕