Hot answers tagged

13 votes
Accepted

Is there an easier way to edit a .mobi file?

As far as I know .mobi files can't be edited directly, they have to be converted first to another editable format. So, no, you can't directly edit .mobi files in just one step. See this thread on ...
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

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
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
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
4 votes

Is there an easier way to edit a .mobi file?

What are you looking to edit? Content or basic metadata? If it is basic metadata, there is a program I have found and played with called MOBIeditor. It's written in .Net so you need Windows (the ...
user avatar
  • 3,076
4 votes

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

To print out epub metadata, exiftool yourbook.epub To edit the metadata, you'd need to unzip it and then zip it back again, as mentioned by others, epub is just a zip file mkdir tempfolder mv ...
user avatar
4 votes
Accepted

How to alternate row colors of tables in ePub files

You can use the following CSS rules to style respectively even or odd table rows (See the Example on W3schools): tr:nth-child(even) { background-color: #f2f2f2 } tr:nth-child(odd) { ...
user avatar
  • 6,066
4 votes

Does .epub support inline links?

Yes, you can do that, .epub books are basically made of HTML and CSS, so if you have knowledge of these languages, in theory you can manually build an .epub from scratch (but the norm is to use ...
user avatar
  • 6,066
3 votes
Accepted

How can I prevent a widowed/orphaned header?

According to this blog article, you should use the display: inline-block property on a div selector that encloses your header and paragraph. Here is an excerpt from the said article: If you set ...
user avatar
  • 6,066
3 votes
Accepted

Can I split chapters with CSS?

It can be accomplished with the page-break-after (link) or page-break-before (link) CSS properties. Pretty obviously, these create a page break after or before the element that they are applied on. ...
user avatar
  • 6,066
3 votes

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

with Calibre's ebook-meta Example output of ebook-meta unixpowertools.epub: Title : UNIX Power Tools, 3rd Edition Author(s) : Jerry Peek, Shelley Powers, Tim O’Reilly & ...
user avatar
3 votes

Are there any WYSIWYG editors for EPUB books?

I have never tried this...but have heard good things about Scrivener What differentiates from other products here are the productivity tools for writers: outlining story boarding stores text snips ...
user avatar
  • 185
3 votes

Is there a way to publish an eBook, distribute it and the push updates to the distributed eBooks?

Most online publishers have a method to allow for updates to published ebooks. The user generally is given way to identify that a book has an update, then the user is given the option to re-download ...
user avatar
3 votes

How to remove and add certain pages from pdf file?

I think that PDFtk is the tool you need. https://www.pdflabs.com/tools/pdftk-the-pdf-toolkit/
user avatar
  • 6,066
3 votes

How can I prevent a widowed/orphaned header?

I would use h4 {page-break-after: avoid;} p { widows: 2; orphans: 2; } I think this works for Kindles as well as epubs. This is just example code. My guess is that this is structured content ...
user avatar
3 votes

Can I use Google Docs to write an ebook for Kindle?

Yes. You can write. Here are my experiences. MS Word approach I exported the manuscript as .DOCX. This format worked best for me. I faced serious problems with .epub and .pdf formats. Caveat - If ...
user avatar
  • 131
3 votes
Accepted

How to change text alignment with Calibre book editor

You can use a CSS style to apply this formatting to all your text: body { text-align: left; } This rule will be applied to all your text, so it will affect both regular paragraphs (<p> and ...
user avatar
  • 6,066
3 votes

Version control for writing ebooks

Git can be used, but if you use with epub, or any other kind of archive files then you will not get a meaningful diff between versions, just store each version of the ebook. You can use Git wit ...
user avatar
2 votes

How to remove and add certain pages from pdf file?

Try using Adobe Acrobat. That programme has lots of functions like: toggling pages and removing pages!
user avatar
2 votes

Are there any WYSIWYG editors for EPUB books?

LibreOffice (free) also has an extension Write2xhtml to write EPUB files. CAUTION: make sure your epub validates here before sending it to a publisher. LibreOffice is for Linux, Mac OSX, and Windows....
user avatar
  • 367
2 votes
Accepted

Should every paragraph tag have a CSS style (InDesign)?

There is no need to give every paragraph a class, the definition at 1. will apply to every paragraph, with or without a tag, and only on paragraphs that are directly below a footnote the settings ...
user avatar
  • 7,631
2 votes

Can I use bold and italics tags?

I have never used Adobe Indesign, but I'm guessing that when they spit out html they use the italic and bold html tags. My guess is that in Adobe Indesign you are not seeing a separate font at all but ...
user avatar
2 votes

Are image subfolders allowed in Sigil?

After doing more research, I've learned that Calibre allows subfolders in the Images folder but Sigil doesn't. There are some suggestions that you can tweak Sigil to allow subfolders, but I haven't ...
user avatar
  • 647
2 votes

Can I use Google Docs to write an ebook for Kindle?

There are many ways to produce Kindle .mobi files. One method is to create a MS Word file and to convert it to a .mobi file (using Calibre or Amazon's own suggestions). https://kdp.amazon.com/help?...
user avatar
2 votes
Accepted

want to convert OCR PDF to computer font

The problem is that the original image of the text is "in front" of the actual digital text of the PDF. Figure 1: How layers are stacked in a PDF PDF is composed of overlapping visible and ...
user avatar
1 vote
Accepted

Overriding Device Styles

Every device works in a different way, I don't think that there are standards regarding the programming of the software that they are equipped with. Besides that, almost every e-reading device and ...
user avatar
  • 6,066

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