triska / the-power-of-prolog

Introduction to modern Prolog
https://www.metalevel.at/prolog
1.23k stars 76 forks source link

creating valid epub structure #7

Open kiicia opened 6 years ago

kiicia commented 6 years ago

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:

NJBS commented 5 years ago

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:

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

XVilka commented 5 years ago

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

triska commented 5 years ago

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 commented 4 years ago

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