From d98f27086318452017b80952a297f2ccb05bc4b1 Mon Sep 17 00:00:00 2001 From: Ralph Amissah Date: Mon, 1 Oct 2012 16:09:17 -0400 Subject: v3: some fixes, cleaning, removing --- lib/sisu/v3/epub_format.rb | 43 ++++++------------------------------------- 1 file changed, 6 insertions(+), 37 deletions(-) (limited to 'lib/sisu/v3/epub_format.rb') diff --git a/lib/sisu/v3/epub_format.rb b/lib/sisu/v3/epub_format.rb index ab6f34c7..70636fb1 100644 --- a/lib/sisu/v3/epub_format.rb +++ b/lib/sisu/v3/epub_format.rb @@ -1233,7 +1233,7 @@ WOK end def doc_type_xhtml < + @@ -1277,7 +1277,7 @@ WOK #simple, make sure full-path of rootfile points to metadata.opf #epub_metadata.opf content.opf < + @@ -1298,7 +1298,7 @@ WOK #{dob.obj} - #{@md.html_title} - + #{@css.xhtml_epub} #{@vz.color_body} @@ -1435,7 +1435,7 @@ WOK end def package_open < + WOK end @@ -1658,24 +1658,9 @@ WOK end self end - def toc_head_escript - end - def seg_head_escript - end def table_close %{ #{@vz.table_close}} - end - def buttons_home - %{ - #{@vz.banner_home_and_index_buttons} -} - end - def copyat - %{

copy @ - - #{@vz.txt_home} -

} end def xhtml_close %{#{@vz.credits_sisu_epub} @@ -1689,22 +1674,6 @@ WOK @md=md @tocband_segtoc=make_seg end - def seg_head_navigation_band - firstseg=%{ - #{@vz.epub_png_nav_nxt} - } if @md.firstseg =~/\S+/ - DISABLE[:epub][:internal_navigation] \ - ? '' - : %{

#{firstseg}

} - end - def seg_head_navigation_band_bottom - firstseg=%{ - #{@vz.epub_png_nav_nxt} - } if @md.firstseg =~/\S+/ - DISABLE[:epub][:internal_navigation] \ - ? '' - : %{

#{firstseg}

} - end def manifest_link(text) %{ #{text}} end @@ -1719,7 +1688,7 @@ WOK def head %{#{doc_type} - + #{@css.xhtml_epub} #{@vz.color_body}} @@ -1804,7 +1773,7 @@ WOK #{@seg_name_xhtml[@seg_name_xhtml_tracker]} - #{@md.html_title} - + #{@css.xhtml_epub} #{@vz.color_body}} -- cgit v1.2.3