Use saveplace-pdf-view instead of pdf-view-restore

This commit is contained in:
Gerard Vermeulen 2022-04-15 07:59:23 +02:00
parent 42488a2af2
commit 02ae9bcb6b
1 changed files with 4 additions and 4 deletions

View File

@ -233,9 +233,9 @@ the ~custom-file~ as [[info:emacs#Saving Customizations][saving customizations (
nov ; EPUB reader
orderless ; Emacs completion style
pdf-tools ; interactive docview replacement
pdf-view-restore ; add view history to pdf-tools
quelpa ; install Emacs packages from source
rainbow-mode ; set background color to color string
saveplace-pdf-view ; save pdf-view and doc-view places
sly ; Sylvester the Cat's Common Lisp IDE
smartparens ; smart editing of character pairs
toml-mode ; Tom's Obvious Minimal Language mode
@ -1104,7 +1104,8 @@ Listing [[lst:enable-nov-mode]] enables =nov-mode=.
The [[https://github.com/vedang/pdf-tools][pdf-tools]] package exploits the [[https://github.com/freedesktop/poppler][poppler]] library to render and to let you
annotate [[https://en.wikipedia.org/wiki/PDF][PDF]] files. It also exploits the [[https://wiki.contextgarden.net/SyncTeX][SyncTeX]] library to link anchors in [[https://en.wikipedia.org/wiki/PDF][PDF]]
files produced with LaTeX to the original LaTeX sources.
files produced with LaTeX to the original LaTeX sources. The [[https://github.com/nicolaisingh/saveplace-pdf-view#readme][saveplace-pdf-view]]
package saves =pdf-view= and =doc-view= places.
In order to use [[https://github.com/vedang/pdf-tools][pdf-tools]], you have to type {{{kbd(M-x pdf-tools-install)}}} after
installation of [[https://github.com/vedang/pdf-tools][pdf-tools]] from [[https://melpa.org/][MELPA]] or after each update of [[https://github.com/freedesktop/poppler][poppler]] to build or
@ -1123,8 +1124,7 @@ rebuild the =epdfinfo= executable that serves the [[https://en.wikipedia.org/wik
(custom-set-variables
'(pdf-view-display-size 'fit-page))
(when (fboundp 'pdf-view-restore-mode)
(add-hook 'pdf-view-mode-hook #'pdf-view-restore-mode))))
(require 'saveplace-pdf-view nil 'noerror)))
#+end_src
* Writing