aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib/sisu/develop/xhtml_epub2_format.rb
diff options
context:
space:
mode:
authorRalph Amissah <ralph@amissah.com>2014-11-20 23:03:49 -0500
committerRalph Amissah <ralph@amissah.com>2014-12-08 00:18:16 -0500
commit563195c124e66bc1e571e08c574a6107af7eb1c3 (patch)
treebc97dfffebfbd2820e79239db0780769ca89ec1b /lib/sisu/develop/xhtml_epub2_format.rb
parentd: html, segments, reorganize, introduce new file (diff)
d: epub, reorganize, introduce new file
Diffstat (limited to 'lib/sisu/develop/xhtml_epub2_format.rb')
-rw-r--r--lib/sisu/develop/xhtml_epub2_format.rb7
1 files changed, 4 insertions, 3 deletions
diff --git a/lib/sisu/develop/xhtml_epub2_format.rb b/lib/sisu/develop/xhtml_epub2_format.rb
index e4d4ac0f..54c79434 100644
--- a/lib/sisu/develop/xhtml_epub2_format.rb
+++ b/lib/sisu/develop/xhtml_epub2_format.rb
@@ -1251,8 +1251,9 @@ module SiSU_XHTML_EPUB2_Format
@md=md
# DublinCore 1 - title
@css=SiSU_Env::CSS_Stylesheet.new(md)
- @seg_name_xhtml=(SiSU_XHTML_EPUB2::Source::Seg.new.seg_name_xhtml || [])
- @seg_name_xhtml_tracker=(SiSU_XHTML_EPUB2::Source::Seg.new.seg_name_xhtml_tracker || [])
+ @per=SiSU_XHTML_EPUB2_Persist::Persist.new
+ @per.seg_name_x=SiSU_XHTML_EPUB2::Seg.new.seg_name_x
+ @per.seg_name_x_tracker=SiSU_XHTML_EPUB2::Seg.new.seg_name_x_tracker
@tocband_scroll,@tocband_segtoc=nil,nil
@index,@metalink='index','#metadata'
end
@@ -1827,7 +1828,7 @@ output_epub_cont_seg.close
%{#{doc_type}
<head>
<title>
- #{@seg_name_xhtml[@seg_name_xhtml_tracker]} -
+ #{@per.seg_name_x[@per.seg_name_x_tracker]} -
#{@md.html_title}
</title>
<meta http-equiv='Content-Type' content='text/html; charset=utf-8' />