Skip to content

epubQTools 1.0

Latest

Choose a tag to compare

@quiris11 quiris11 released this 27 Nov 10:30

New: calibre plugin

Fix the selected books in calibre the same way as epubQTools -e, without the
terminal. Download epubQTools-calibre-1.0.zip below and in calibre choose
Preferences → Plugins → Load plugin from file (details in the
README). The fixed book
becomes the EPUB format, the original is kept in the data files of the book
and can be restored. Converting the fixed book in calibre (e.g. to MOBI) starts
from the fixed EPUB. The plugin is in the language of calibre (Polish or
English). Once a day it checks GitHub for a newer version and tells you
about it (can be turned off in its settings). Requires calibre 6.17 or newer.

Po polsku: instrukcja wtyczki.

Fixing books (-e)

  • Results in the MOH folder (with the subfolders of the originals)
  • Hyphenates words in the language of the book (-s turns it off): Polish with
    its own dictionary, other languages with the dictionaries of calibre (the plugin
    always has them, the command line uses them when calibre is installed). Books in
    other languages are no longer changed to Polish
  • Finds an existing table of contents page in any language (no second one is
    added) and keeps the TOC working when the NCX file is in another folder
  • Approximate page list for books without one (--skip-page-list turns it off)
  • Kindle pop-up notes: notes in asides and lists converted, back links on note numbers
  • Removes hidden texts added to books and images, fundraising, support and purchase details pages
  • Fixes CSS: unusual spaces, missing semicolons, typos in property names, misplaced descriptors
  • --remove-colors removes only the colors of the text and the background;
    before, it could break other styles
  • Decrypts all obfuscated fonts (also compressed ones and with a changed identifier);
    converts TTC font collections to TTF
  • Fixes covers, empty titles, broken links and URLs, empty TOC entries, orphan metadata
  • Only problems are printed by default (-v prints everything); colored messages
  • One broken book no longer stops the whole batch

Checking books (-q, -p)

  • New CSS check of problems in e-book readers (-u hides warnings)
  • Reports probably encrypted fonts and font media types not allowed by EPUB 3.3 (-w hides them)
  • -p uses the newest EpubCheck ZIP; INFO messages alone are not problems
  • The book language is reported only when it is missing or does not match the
    text (books in other languages are no longer reported)

Other

  • -i: choose books in the console, several at once (-i 1,3,5-7)
  • Books are processed in alphabetical (Polish) order
  • Tools (kindlegen, EpubCheck) in a per-user folder (~/.local/share/epubQTools)
  • Removed options: -x, -z, --font-dir, --replace-font-files, --replace-font-family