Sha256: ab28953be43253e70d54e2e6d749863619dad655f70d722199be706b32045d36

Contents?: true

Size: 566 Bytes

Versions: 4

Compression:

Stored size: 566 Bytes

Contents

<% if @config['direction'] %>
  <spine page-progression-direction="<%= @config['direction'] %>">
<% else %>
  <spine>
<% end %>
<% if @config['cover'].present? %>
    <itemref idref="<%= @config['bookname'] %>" linear="<%= @cover_linear %>"/>
<% end %>
<% 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

4 entries across 4 versions & 1 rubygems

Version Path
review-5.10.0 templates/opf/opf_tocx_epubv3.opf.erb
review-5.9.0 templates/opf/opf_tocx_epubv3.opf.erb
review-5.8.0 templates/opf/opf_tocx_epubv3.opf.erb
review-5.7.0 templates/opf/opf_tocx_epubv3.opf.erb