You are viewing the documentation for the develop branch. The documentation for the release version is here .

Table of Contents

epub layer

Table of ContentsClose

epub.png

1. Description

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

1.1. 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

2. 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.

3. 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.

Author: root

Created: 2021-09-29 Wed 20:46

Validate