aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib/sisu/v5/xhtml_epub2.rb
diff options
context:
space:
mode:
authorRalph Amissah <ralph@amissah.com>2014-10-12 10:56:59 -0400
committerRalph Amissah <ralph@amissah.com>2014-10-12 10:56:59 -0400
commit2e4c214d4d2323864985ccfe93346a9796edee2f (patch)
treebd450b52b31b81fc46150ebee9d4e06bc7e1e560 /lib/sisu/v5/xhtml_epub2.rb
parentdebian/changelog (5.6.9-1) (diff)
parentv5: merge v6: remove defaults.rb & some relics related to sisu skins (diff)
Merge tag 'sisu_5.7.0' into debian/sid
SiSU 5.7.0
Diffstat (limited to 'lib/sisu/v5/xhtml_epub2.rb')
-rw-r--r--lib/sisu/v5/xhtml_epub2.rb7
1 files changed, 1 insertions, 6 deletions
diff --git a/lib/sisu/v5/xhtml_epub2.rb b/lib/sisu/v5/xhtml_epub2.rb
index 2d89bc68..ceed3239 100644
--- a/lib/sisu/v5/xhtml_epub2.rb
+++ b/lib/sisu/v5/xhtml_epub2.rb
@@ -66,8 +66,6 @@ module SiSU_XHTML_EPUB2
end
require_relative 'se_hub_particulars' # se_hub_particulars.rb
include SiSU_Particulars
- require_relative 'defaults' # defaults.rb
- include SiSU_Viz
require_relative 'xml_shared' # xml_shared.rb
include SiSU_XML_Munge
require_relative 'xhtml_table' # xhtml_table.rb
@@ -161,7 +159,6 @@ module SiSU_XHTML_EPUB2
def initialize(particulars)
@particulars=particulars
@md,@env=particulars.md,particulars.env
- @vz=SiSU_Viz::Defaults.new
@env,@css=particulars.env,SiSU_Style::CSS.new
end
def directories
@@ -213,7 +210,6 @@ module SiSU_XHTML_EPUB2
@@firstseg=nil
def initialize(md=nil,data='')
@md,@data=md,data
- @vz=SiSU_Viz::Defaults.new
@epub=SiSU_XHTML_EPUB2_Format::HeadInformation.new(@md)
@tell=SiSU_Screen::Ansi.new(@md.opt.act[:color_state][:set]) if @md
@make=SiSU_Env::ProcessingSettings.new(@md)
@@ -645,7 +641,6 @@ module SiSU_XHTML_EPUB2
class ScrollHeadAndSegToc < Toc
def initialize(md='',toc='',links_guide_toc='')
@md,@toc,@links_guide_toc=md,toc,links_guide_toc
- @vz=SiSU_Viz::Defaults.new
end
def in_common
toc_shared=[]
@@ -850,7 +845,7 @@ module SiSU_XHTML_EPUB2
<link rel="stylesheet" href="css/xhtml.css" type="text/css" />
<style type="text/css"> img { max-width: 100%; } </style>
</head>
- <body bgcolor="#ffffff" text="#000000" link="#003090" lang="en" xml:lang="en">
+ <body xml:lang="en">
<div class="svg_outer">
<div class="svg_inner">
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xl="http://www.w3.org/1999/xlink" width="100%" height="100%" viewBox="0 0 #{@md.make.cover_image[:w]} #{@md.make.cover_image[:h]}" preserveAspectRatio="xMidYMid meet">