diff options
author | Ralph Amissah <ralph@amissah.com> | 2013-01-31 18:36:08 -0500 |
---|---|---|
committer | Ralph Amissah <ralph@amissah.com> | 2013-01-31 18:36:08 -0500 |
commit | 8fe365726f3bb7866a7a9285cb5045c50c39fd67 (patch) | |
tree | 29ed9813072aeb435d8b548fe3d24c810689bc93 /lib/sisu/v4/constants.rb | |
parent | v4 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.rb | 14 |
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: ' ', + } +end Db={ name_prefix: "SiSU#{SiSU_version_dir}a_", name_prefix_db: "sisu_#{SiSU_version_dir}a_", |