Hot answers tagged

22 votes

How can I reduce the resolution of images in an epub or mobi file?

Calibre already offers this functionality without any plugin. It's part of the ebook editor that installs with Calibre. The editor will only edit files in the epub or azw3 format though. You can ...
user avatar
  • 321
13 votes
Accepted

How to add external epub to Kobo Desktop?

Please note that if you simply need to transfer .epub files to the reader, you can simply connect it to your computer with an USB cable, it will be treated like an external USB storage drive; you can ...
user avatar
  • 6,066
11 votes

Are there any WYSIWYG editors for EPUB books?

Brackets.io As a suggestion, I have been enjoying using Brackets to create epubs on my Mac. Procedure Unarchive your epub into a folder (change the extension to .zip, and extract). Open Brackets, ...
user avatar
  • 474
11 votes

Command line extraction of metadata (title. author) from epub file

exiftool can read (but not write) epub meta data. For example exiftool -T -Title main.epub
user avatar
  • 211
10 votes
Accepted

Centering images and text in ePUB and Kindle ebooks

You will probably run into problems doing it that way, particularly on iBooks. The most reliable method I've found for centering is: <div class="centered_image"> <img src="image.jpg" alt="...
user avatar
  • 4,628
10 votes
Accepted

Command line extraction of metadata (title. author) from epub file

Here's a quick bash script (with no error-checking whatsoever) to do what you want: #!/bin/bash # if [ $# -lt 3 ] then echo echo "Usage: minfo -m <meta-type> <epub-file>" echo ...
user avatar
  • 525
9 votes
Accepted

Is it possible to convert Pocket articles into epub format?

There are several different possible solutions for your task. The approaches differ in terms of used tools and level of automation. a technically very easy way is a special Google Chrome browser ...
user avatar
  • 617
9 votes
Accepted

How do I prevent Calibre from modifying EPUB files when I read them?

I hadn't looked before so I did a little investigating. With Calibre 4.23 on Linux, I found that it's not exactly Calibre, it's the Reader. I don't know why this Reader (it's a newly re-written reader,...
user avatar
8 votes
Accepted

Setting up margins in ePUB and Kindle ebooks and @page rule

Quite a few rendering engines are actually taking @page into account. Others like iBooks or Kindle are ignoring it and overriding the margins' values set for body with default values. I can confirm @...
user avatar
7 votes

Command line extraction of metadata (title. author) from epub file

An EPUB file is just a zip file, and the book's metadata is contained in the OPF (Open Packaging Format) file, which is an XML file. The title is located in the /package/metadata/dc:title element. The ...
user avatar
  • 406
7 votes

Any opensource or free css stylesheets for books?

Paul Salvette wrote an ebook formatting guide which I recommend. He wrote boilerplate css which you can view/download here: http://bbebooksthailand.com/bb-CSS-boilerplate.html His company has ...
user avatar
7 votes
Accepted

Can I change the cover of a mobi/epub book?

Yes we can do that using opensource software like Calibre. Install the Calibre software and start the program. Copy the ebook.mobi file to your PC. Drag the book onto the Calibre software UI. It will ...
user avatar
6 votes

How to repack an epub file from command line

zip -X0 "my.epub" "mimetype" zip -Xr "my.epub" "META-INF/" "OEBPS/" As palacsint already pointed out, without the -X flag, one would run into the epubcheck error PKG_005 "The mimetype file has an ...
user avatar
  • 101
6 votes
Accepted

Can an ePub 2.0 contain multiple .opf files?

I am not sure what your two .opf files contain, but the EPUB 2.0.1 specs http://www.idpf.org/doc_library/epub/OCF_2.0.1_draft.doc (section 10.1) say: The <rootfiles> element MUST contain at ...
user avatar
6 votes
Accepted

Numbered paragraphs or lines in epub?

You can download a free version of Dante's Divine Comedy from ReadBeyond (Inferno, Purgatorio, Paradiso), these are well formatted epubs that also have numbered lines. You may find useful to look ...
user avatar
  • 6,066
6 votes
Accepted

Is it possible to sell PDF as Kindle books on Amazon?

No, Amazon does not sell PDFs on their site. If you submit a PDF to them via KDP, it will be auto-converted to mobi format for sale to Kindles. (As an aside, the fact that no major retailers sell PDFs ...
user avatar
  • 4,628
5 votes

Alternative epub reader app for Android

Aldiko, though not perfect, is by far the best ebook reader available for Android. It has full support for all ePub features, plus PDF, and has a reasonably nice UI unlike all the other apps. It has ...
user avatar
  • 193
5 votes
Accepted

how to properly declare metadata in epub3

The difference between the suggestions from the source you pointed at is how you define the target element. You should be aware that a lot of the metadata options available in an EPUB 3 can have ...
user avatar
  • 166
5 votes

ePub readers for Windows that support continous scrolling?

Try the calibre ebook viewer: open your book and enable "Switch to flow mode" (the button on the top right corner)
user avatar
  • 151
5 votes
Accepted

Where should font licenses be embedded?

I don't disagree with the above answer. I just wanted to say that on the Title/Credits HTML page (which contains copyright, date, etc) I included this line: The HomemadeApple Font embedded in this ...
user avatar
5 votes
Accepted

How can I reduce the resolution of images in an epub or mobi file?

I had a similar situation: a 134 MB .mobi that I wanted to shrink. Here's how I reduced the file size to 26 MB. The key to this approach is that an .epub is actually just a zipped web page with ...
user avatar
5 votes

How can I reduce the resolution of images in an epub or mobi file?

Note: I intended to leave this as a comment for @mosh but didn't have the necessary rep. This is my own personal solution based on the solution he outlined. This will recursively scan a specified ...
user avatar
5 votes

Can I change the cover of a mobi/epub book?

Actually, there's an easier way of changing the content: Change the file extension of your epub book from ".epub" to ".zip" You will be able to access all content because, now, the file became just a ...
user avatar
5 votes

How do I export Wikipedia article collections to epub?

This feature was removed as the result of changes of the mwlib that was used for export to ocg that has better support for non-latin scripts for PDF files. In the process EPUB export was disabled, ...
user avatar
  • 7,631
4 votes

Which ereaders support the EPUB3 format?

http://epubtest.org/ is very current and provides stats on overall eReader support as well as support for individual ePub 3 features. It would appear this site is updated regularly and is likely to ...
user avatar
  • 141
4 votes
Accepted

Help creating a toc.ncx file for compatibility with epub 2

Instead of using Adobe DE (which isn't always reliable), you should use the epubcheck validator online on your epub file. http://validator.idpf.org/ You can download a copy of the validator tool on ...
user avatar
4 votes

Adding blurb/summary metadata to an ebook file

Anything that you want to actually show up on an ebook reader will need to be in the content files of the epub, just like any of the chapters or other divisions of the text. It is possible to include ...
user avatar
  • 4,628
4 votes

Reader interactivity in epub3/other ebook formats

The epub 3.0 spec forbids scripts from changing the DOM of the document, so this will not be possible. Here's the relevant bit: It must not allow a container-constrained script to modify the DOM of ...
user avatar
  • 4,628
4 votes

Reader interactivity in epub3/other ebook formats

There's no support for that currently. EPUB is intended to be a one-way delivery system, that is why it's contents are packaged in a predictable format with strict specifications. In order to alter ...
user avatar
  • 742
4 votes
Accepted

Desktop publishing programs that are capable of including videos in an ebook

Anthon is correct but he doesn't really explain why he is correct which is what the real question is about: EPUB 3 supports video in ebooks. Quark and InDesign are two commercial top notch desktop ...
user avatar
  • 742

Only top scored, non community-wiki answers of a minimum length are eligible