GitHub - whacked/calibre-mode: query calibre from emacs, useful for referencing...
source link: https://github.com/whacked/calibre-mode
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
README.md
Preflight
This package relies on esqlite
to execute sqlite3
queries
This package assumes Calibre 4+ and that your library file location is defined in global.py.json
If your Calibre library is not in the default location, calibre--find-library-filepath
will try to find it; alternatively, set calibre-root-dir
explicitly:
(setq calibre-root-dir (expand-file-name "~/Calibre Library"))
if somehow your calibre library is not metadata.db
, override the full db path directly:
(setq calibre-db (concat calibre-root-dir "/metadata.db"))
Installation
simpler installation methods to be added later
el-get
add this to your `el-get-sources`
(:name calibre-query :type git :url "git://github.com/whacked/calibre-query.el.git" :features "calibre-query")
Usage
M-x calibre-list
Prompts for a search string and displays all records which match on title or author.
M-x calibre-find
Prompts for a search string. Matches the first record which would have been matched by calibre-list. Offers several options for opening the work.
org-mode interaction
Provides org-calibre-open
, which registers a handler for org links like [[calibre:Quick Start Guide]]
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK