dalanicolai / djvu-layer

Spacemacs layer to view and edit djvu files
1 stars 0 forks source link

+TITLE: djvu layer

+TAGS: layer|reader

The maximum height of the logo should be 200 pixels.

[[img/djvu-logo.svg]]

TOC links should be GitHub style anchors.

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 [[https://github.com/dalanicolai/djvu2.el][djvu.el package]] along with the [[https://github.com/dalanicolai/djvu3][djvu3]] extension (a newer alternative to [[https://github.com/dalanicolai/djvu2.el][djvu2.el]]).

djvu-read-mode Key Binding Description -------------+---------------------------------------------------------------------------------- ~i~ djvu-image-toggle ~j~ scroll up ~k~ scroll down ~J~ next page ~K~ previous page ~g~ goto page
~d~ djvu-toggle-invert (dark-mode)
~c~ djvu-toggle-semi-continuous-scrolling (works only when image larger than window)
~+/-~ zoom-in/out
~, s~ djvu-occur
~/~ djvu fast search
~n~ djvu search continue
~SPC j i~ imenu navigation
~o~ outline

/Annotations/ | ~SPC m h~ | keyboard highlight | | ~mouse-1-drag~ | highlight | | ~S-mouse-1-drag~ | text annotation ([[https://github.com/dalanicolai/djvu3#comments][comment]]) | | ~C-mouse-1-drag~ | text pushpin (rendering pushpin not, yet, implemented) | | ~mouse-2-drag~ | line | | ~S-mouse-2-drag~ | horizontal line | | ~C-mouse-2-drag~ | vertical line | | ~C-S-mouse-2-drag~ | arrow |

djvu-image-minor-mode | ~s~ | save-image |

djvu-occur-mode | ~C-j~ | next entry and follow | | ~C-k~ | prevoius entry and follow |

Use GitHub URLs if you wish to link a Spacemacs documentation file or its heading.

Examples:

[[https://github.com/syl20bnr/spacemacs/blob/master/doc/VIMUSERS.org#sessions]]

[[https://github.com/syl20bnr/spacemacs/blob/master/layers/%2Bfun/emoji/README.org][Link to Emoji layer README.org]]

If space-doc-mode is enabled, Spacemacs will open a local copy of the linked file.