spacemacs/layers/+readers/epub/README.org

50 lines
1.5 KiB
Org Mode
Raw Normal View History

#+TITLE: epub layer
2019-05-02 21:49:30 +00:00
#+TAGS: layer|reader
[[file:img/epub.png]]
2019-05-07 20:05:06 +00:00
* Table of Contents :TOC_5_gh:noexport:
- [[#description][Description]]
- [[#features][Features:]]
- [[#install][Install]]
- [[#key-bindings][Key bindings]]
* Description
This layer provides support for reading EPUB-formatted eBooks in Spacemacs using the
excellent [[https://github.com/wasamasa/nov.el][nov.el]] package.
** Features:
2018-09-19 03:54:47 +00:00
- 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 |
| ~u~ | Scroll up |
| ~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.