![]() Unfortunately, Ubuntu 20.04 has a broken version of Calibre that can’t possibly start or work - Ubuntu pulled a development version from Debian, nobody noticed before release time that it literally didn’t work at all, and now the broken version’s stuck in place for the next five years. ePub is weird and annoying.) Getting Calibre (I’m using zip -f and not just making a zip file of the separate files because that way, the mimetype file stays both uncompressed and first in the zip file - if it isn’t, epubcheck complains. Nobody who isn’t me should expect to have to do this sort of thing, but I’m a control addict. This let me hand-tweak the files directly in vim, then add them back to the ePub using zip -f (freshen). ![]() Īt one point I unzipped the ePub into separate XHTML files. Unfortunately, Apple Books requires your book to pass epubcheck anyway, with no errors or warnings. The developer of Calibre considers epubcheck broken, which it is, and wrong about the ePub specification, which it is. There’s an online version, but I just installed the Java. If you’ve lived your life wrong enough that you’re hand-editing ePub XHTML, you should probably install epubcheck. ![]() The good news is that Calibre has a pretty good XHTML editor - right-click on book title, “Edit book”. Since this is on computers, there are some gotchas - specifically, that ePub is an absolute shower of a format, and you will be editing XHTML by hand if you want to get onto Apple Books and the other minor ebook stores. If you don’t understand any of the technical detail here, don’t worry about it - there must surely be better ways than this. ![]() (Comments suggesting using L AT EX instead will get you slapped over the Internet.) There’s almost certainly bits I could have done better some other way, and a lot of bits where I got way too deep into technical twiddling just because I could. This post is a record of what I actually did to make the ePub for Libra Shrugged. Its format converters are robust and battle-hardened. Ĭalibre is also the most common ePub generator. It comes with a nice ebook reader too, which I use all the time. Calibre is an ebook management application. ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |