Sha256: 79a80d927f81d072056117796f74aacac591e17c744eaf85c6d52bfa56884afa

Contents?: true

Size: 521 Bytes

Versions: 7

Compression:

Stored size: 521 Bytes

Contents

<% if @config['direction'] %>
  <spine page-progression-direction="<%= @config['direction'] %>">
<% else %>
  <spine>
<% end %>
    <itemref idref="<%= @config['bookname'] %>" linear="<%= @cover_linear %>"/>
<% toc = nil %>
<% @tocx_contents.each do |item| %>
<%   if toc.nil? && item.chaptype != 'pre' %>
<%     if @config['toc'] %>
    <itemref idref="<%= @config['bookname'] %>-toc.<%= @config['htmlext'] %>" />
<%     end %>
<%     toc = true %>
<%   end %>
    <itemref idref="<%= item.id %>"/>
<% end %>
  </spine>

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
review-5.6.0 templates/opf/opf_tocx_epubv3.opf.erb
review-5.5.0 templates/opf/opf_tocx_epubv3.opf.erb
review-5.4.0 templates/opf/opf_tocx_epubv3.opf.erb
review-5.3.0 templates/opf/opf_tocx_epubv3.opf.erb
review-5.2.0 templates/opf/opf_tocx_epubv3.opf.erb
review-5.1.1 templates/opf/opf_tocx_epubv3.opf.erb
review-5.1.0 templates/opf/opf_tocx_epubv3.opf.erb