aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib/sisu/v4/constants.rb
diff options
context:
space:
mode:
authorRalph Amissah <ralph@amissah.com>2013-01-31 18:36:08 -0500
committerRalph Amissah <ralph@amissah.com>2013-01-31 18:36:08 -0500
commit8fe365726f3bb7866a7a9285cb5045c50c39fd67 (patch)
tree29ed9813072aeb435d8b548fe3d24c810689bc93 /lib/sisu/v4/constants.rb
parentv4 v3: dal, on ocn excluded paragraphs (~# -#), hang/indent bullet, fix (diff)
v4: epub, constants, debug alternative for various readers ... work on
Diffstat (limited to 'lib/sisu/v4/constants.rb')
-rw-r--r--lib/sisu/v4/constants.rb14
1 files changed, 14 insertions, 0 deletions
diff --git a/lib/sisu/v4/constants.rb b/lib/sisu/v4/constants.rb
index 08279630..65b17796 100644
--- a/lib/sisu/v4/constants.rb
+++ b/lib/sisu/v4/constants.rb
@@ -198,10 +198,24 @@ Px={
}
Px[:lng_lst_rgx]=Px[:lng_lst].join('|')
Ep={
+ alt: :on,
d_oebps: 'OEBPS',
+ d_image: 'OEBPS/image',
+ d_css: 'OEBPS/css',
f_ncx: 'toc.ncx',
f_opf: 'content.opf',
}
+$ep=if Ep[:alt]==:on
+ {
+ o: 'opf:',
+ hsp: ' ',
+ }
+else
+ {
+ o: '',
+ hsp: '&nbsp;',
+ }
+end
Db={
name_prefix: "SiSU#{SiSU_version_dir}a_",
name_prefix_db: "sisu_#{SiSU_version_dir}a_",