Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

creating valid epub structure #7

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

creating valid epub structure #7

wants to merge 1 commit into from

Conversation

kiicia
Copy link

@kiicia kiicia commented May 28, 2018

added bash script to create minimal valid epub structure, todo: table of contents/order of chapters, images, cross-reference links

instructions how to create ebook:

  • one need to zip all files in ebook directory (without directory), rename .zip to .epub and this is epub ebook
  • then use kindlegen or calibre to convert to mobi
  • pdf file can be created with calibre, too

@NJBS
Copy link

NJBS commented Jan 6, 2019

Excellent work! I've checked out and merged it with the current master locally for testing.

I'm able to generate a epub file using your instructions and read it in calibre. However, when I try to convert the epub file to other formats (mobi or pdf) I get errors related to epub validation. The same errors occur both when trying to convert using calibre and pandoc.

According to epubcheck it seems like the generated epub fails validation for the following reasons:

  • File 'META-INF/container.xml' could not be found.
  • Mimetype file entry is missing or is not the first file in the archive.

I'm not too familiar with the epub format so any guidance would be appreciated 😄 .

@XVilka
Copy link

XVilka commented May 14, 2019

@triska what you decided about this one by the way?

@triska
Copy link
Owner

triska commented May 14, 2019

First of all, thank you a lot for this contribution!

This will become very important once the book becomes more final. Currently, there is too much still missing, and I need to add a lot more material before I feel confident in providing a static version, or even making it easier to generate one.

As soon as a PDF is generated, copied, printed, distributed etc., readers will no longer automatically see the latest updates, so I would like to add as much as possible before distributing a PDF or e-book.

Please also see #3.

@ghost
Copy link

ghost commented Feb 19, 2020

Thanks a lot for this work! Hopefully this can be done eventually.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants