holyschist (
holyschist) wrote in
ebooks2011-02-11 06:33 pm
Entry tags:
Editing and creating EPUB files
I recently picked up a used Sony PRS-600 to try out ereaders properly, and so far I like it. However, I have noticed that EPUB files converted from PDF annoy the hell out of me, because they have hard page breaks, which do not coincide with ereader pages on my preferred font size. So I have two questions:
1) What's the easiest way to edit EPUB files created by someone else to add a table of contents, fix formatting issues and typos, etc.?
2) What's the easiest way to create basic EPUB files from scratch, if one felt inclined to do so? (No images, no fancy formatting.)
I could do it entirely by hand, but that seems less than efficient--I'd rather generate the file automatically and clean up by hand if necessary. I'm using a Mac, current operating system, and I do have Adobe InDesign (CS3), but that sounds like it might be overkill. Free is good.
Has anyone tried Sigil or eCub? Have another favorite EPUB editor/creator?
Also--does anyone happen to know how the PRS-600 handles epub ebooks that were originally created from HTML that had non-Roman unicode characters (e.g. Chinese)? I know I am going to run into this on occasion. Do ebooks with non-Roman characters have to be PDFs to display correctly?
Thanks!
1) What's the easiest way to edit EPUB files created by someone else to add a table of contents, fix formatting issues and typos, etc.?
2) What's the easiest way to create basic EPUB files from scratch, if one felt inclined to do so? (No images, no fancy formatting.)
I could do it entirely by hand, but that seems less than efficient--I'd rather generate the file automatically and clean up by hand if necessary. I'm using a Mac, current operating system, and I do have Adobe InDesign (CS3), but that sounds like it might be overkill. Free is good.
Has anyone tried Sigil or eCub? Have another favorite EPUB editor/creator?
Also--does anyone happen to know how the PRS-600 handles epub ebooks that were originally created from HTML that had non-Roman unicode characters (e.g. Chinese)? I know I am going to run into this on occasion. Do ebooks with non-Roman characters have to be PDFs to display correctly?
Thanks!

no subject
I haven't gotten to creating epubs by hand, but the easiest way to learn how, if you're code-minded, is to take one apart and look at the pieces:
1) Take an epub (AO3's are simple; Calibre's output less simple)
2) Rename from "epub" to "zip"
3) Unzip. Examine contents at will.
4) Tinker with contents; rezip; change extension; view on reader.
I gather that the build-an-epub part is easy; the reason people have programs is to do the .css and other formatting parts. A basic .epub consists of an html file and a tiny group of very simple metadata files.
Converting from PDF is always going to be problematic. I'm comfortable with Word, so I convert to doc or rtf and edit to remove the useless page breaks & such; other people prefer to convert them to HTML and edit that instead.
no subject
Do you know offhand how to get Calibre NOT to automatically turn the first page into a cover? It's really annoying when it makes the first page of text a cover. Do I have to have a cover image to avoid that?
no subject
Embedding fonts: there's apparently two options; putting it inside the zip (which is considered wasteful) and making the .css attach to an external font.
Mobileread thread from a couple of years ago, which means Calibre may have changed so much it's completely invalid now.
Embed fonts in epub instructions, which loses me at Step 2.
Person who claims embedding doesn't work, which I don't think is quite true, with a comment including link to epub with embedded font/s and an invitation to take it apart and see how it ticks. Link is dead, but commenter's site has sample ebooks which presumably could be played with.
no subject
no subject
I posted threads in both the Astak reader forum and the Sigil forum. The Astak thread was about fixing embedding in the textbook, and the Sigil about doing the same in my lecture notes.
The Sigil posts contain links to some of the files used, and a detailed and simple description of what needs to be done to get embedding to work. I was close to pulling all my hair out.
Sigil creator Valloric noted that "the style rule that uses a new font family name has to come after the @font-face rules that declare it."
no subject
Well, I will attempt to figure this out later.
no subject
I think you have to have a cover image (or at least use Calibre's cover format) but I'm not certain. There are a number of ways to play with cover formation - metadata, the convert pop-up window, preferences. Are you looking for no cover or just not a page of text as the cover?
no subject