You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After changing some components.src and write to epub .opf is correct, but .ncx path are not changed. Check this:
book = Peregrin::Book.new
book = Peregrin::Epub.read('my_validate_book.epub').to_book
book.components.each do | component |
component.src = "new_" + component.src
end
epub = Peregrin::Epub.new book
epub.write 'new_not_proper_epub.epub'
Problem is in lib/formats/epub.rb build_ncx method. xml.content(:src => chapter.src) should rather write proper content.src. Each chapter don't have to be in seperate file.
The text was updated successfully, but these errors were encountered:
After changing some components.src and write to epub .opf is correct, but .ncx path are not changed. Check this:
Problem is in lib/formats/epub.rb build_ncx method. xml.content(:src => chapter.src) should rather write proper content.src. Each chapter don't have to be in seperate file.
The text was updated successfully, but these errors were encountered: