Skip to content

dalanicolai/djvu-layer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

djvu layer

img/djvu-logo.svg

Table of Contents

Description

This layer adds support for reading djvu files with spacemacs.

Because of some difficulties, the layer does not lazy load the djvu.el and djvu3.el packages.

Features:

This layer provides a full featured djvu editor by implementing the djvu.el package along with the djvu3 extension (a newer alternative to djvu2.el).

  • flexible annotation editing and rendering, covering most (but not all) of djvused annotation definitions
  • fast navigation with imenu
  • fast search with djvu-occur
  • remember last view with djvu-restore
  • dark mode

Install

First download this repository to you private directory with

git clone https://github.com/dalanicolai/djvu-layer.git ~/.emacs.d/private/djvu

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

Key bindings

djvu-read-mode

Key BindingDescription
idjvu-image-toggle
jscroll up
kscroll down
Jnext page
Kprevious page
ggoto page
ddjvu-toggle-invert (dark-mode)
cdjvu-toggle-semi-continuous-scrolling (works only when image larger than window)
+/-zoom-in/out
, sdjvu-occur
/djvu fast search
ndjvu search continue
SPC j iimenu navigation
ooutline

Annotations

SPC m hkeyboard highlight
mouse-1-draghighlight
S-mouse-1-dragtext annotation (comment)
C-mouse-1-dragtext pushpin (rendering pushpin not, yet, implemented)
mouse-2-dragline
S-mouse-2-draghorizontal line
C-mouse-2-dragvertical line
C-S-mouse-2-dragarrow

djvu-image-minor-mode

ssave-image

djvu-occur-mode

C-jnext entry and follow
C-kprevoius entry and follow

About

Spacemacs layer to view and edit djvu files

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published