This repository has been archived on 2024-10-22. You can view files and clone it, but cannot push or open issues or pull requests.
spacemacs/layers/+readers/epub
2021-03-25 22:59:32 -04:00
..
img
packages.el Apply GPLv3 terms explicitly to all elisp files 2021-03-25 22:59:32 -04:00
README.org documentation formatting: Wed Dec 30 21:04:48 UTC 2020 2020-12-30 23:41:14 +01:00

epub layer

/TakeV/spacemacs/media/commit/79952251b4a203e963e7b988fdc5f6edd8448db4/layers/+readers/epub/img/epub.png

Description

This layer provides support for reading EPUB-formatted eBooks in Spacemacs using the excellent nov.el package.

Features:

  • Basic navigation (jump to TOC, previous/next chapter)
  • Remembering and restoring the last read position
  • Jump to next chapter when scrolling beyond end
  • Renders EPUB2 (.ncx) and EPUB3 (<nav>) TOCs
  • Hyperlinks to internal and external targets
  • Supports textual and image documents
  • View source of document files
  • Metadata display
  • Image rescaling

Install

To use this configuration layer, add it to your ~/.spacemacs. You will need to add epub to the existing dotspacemacs-configuration-layers list in this file.

Key bindings

Key binding Description
<TAB> Next link
<BACKTAB> Previous link
H or [ Previous chapter
L or ] Next chapter
K/u Scroll up
J/d Scroll down
g m Display metadata
g r Re-render document
g t Table of contents
g v View source
g V View content source

Hint: use SPC w c to center the buffer.