Class: SiSU_XHTML_EPUB2_Format::HeadSeg

Inherits:
HeadInformation show all
Defined in:
lib/sisu/xhtml_epub2_format.rb

Instance Attribute Summary

Attributes inherited from HeadInformation

#md, #rdf

Instance Method Summary collapse

Methods inherited from HeadInformation

#close, #doc_author, #doc_title, #doc_type, #doc_type_xhtml, #guide, #guide_close, #guide_cover_image, #guide_open, #guide_sisu_toc, #head_close, #head_open, #manifest_close, #manifest_content, #manifest_content_sisu_toc, #manifest_cover_image_information, #manifest_images, #manifest_open, #metadata, #metadata_opf, #metainf_container, #mimetype, #navmap_close, #navmap_open, #navmap_sisu_toc, #navpoint, #navpoint_close, #open, #package_close, #package_open, #sections, #spine, #spine_close, #spine_cover_image, #spine_open, #spine_sisu_toc, #structure, #table_close, #toc_ncx, #xhtml_close

Constructor Details

#initialize(md) ⇒ HeadSeg

Returns a new instance of HeadSeg.



1824
1825
1826
# File 'lib/sisu/xhtml_epub2_format.rb', line 1824

def initialize(md)
  super(md)
end

Instance Method Details

#endnote_markObject



1839
1840
1841
1842
1843
# File 'lib/sisu/xhtml_epub2_format.rb', line 1839

def endnote_mark
%{
  <hr class="endnote" />
}
end

#headObject



1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
# File 'lib/sisu/xhtml_epub2_format.rb', line 1827

def head
  %{#{doc_type}
  <head>
<title>
  #{@per.seg_name_x[@per.seg_name_x_tracker]} -
  #{@md.html_title}
</title>
<meta http-equiv='Content-Type' content='text/html; charset=utf-8' />
#{@css.xhtml_epub}
  </head>
<body lang="#{@md.opt.lng}">}
end