Favor bookmark' and
desktop' over uninstalled `saveplace-pdf-view'
This commit is contained in:
parent
26a713a4eb
commit
4e7e9d2d1a
16
README.org
16
README.org
@ -253,7 +253,6 @@ recommendation of [[info:emacs#Saving Customizations][saving customizations (inf
|
|||||||
mode-line-compact 'long
|
mode-line-compact 'long
|
||||||
next-error-message-highlight t
|
next-error-message-highlight t
|
||||||
recentf-mode t
|
recentf-mode t
|
||||||
save-place-mode t
|
|
||||||
scroll-bar-mode nil
|
scroll-bar-mode nil
|
||||||
tab-always-indent 'complete
|
tab-always-indent 'complete
|
||||||
tab-width 8
|
tab-width 8
|
||||||
@ -2011,18 +2010,16 @@ Listing [[lst:configure-nov]] configures [[https://depp.brause.cc/nov.el/][nov.e
|
|||||||
|
|
||||||
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
|
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]]
|
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. The [[https://github.com/nicolaisingh/saveplace-pdf-view#readme][saveplace-pdf-view]]
|
files produced with LaTeX to the original LaTeX sources. In order to use
|
||||||
package saves =pdf-view= and =doc-view= places.
|
[[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 rebuild the
|
||||||
In order to use [[https://github.com/vedang/pdf-tools][pdf-tools]], you have to type {{{kbd(M-x pdf-tools-install)}}} after
|
=epdfinfo= executable that serves the [[https://en.wikipedia.org/wiki/PDF][PDF]] files to Emacs.
|
||||||
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
|
|
||||||
rebuild the =epdfinfo= executable that serves the [[https://en.wikipedia.org/wiki/PDF][PDF]] files to Emacs.
|
|
||||||
|
|
||||||
#+caption[Setup =pdf-tools=]:
|
#+caption[Setup =pdf-tools=]:
|
||||||
#+caption: Setup =pdf-tools=.
|
#+caption: Setup =pdf-tools=.
|
||||||
#+name: lst:setup-pdf-tools
|
#+name: lst:setup-pdf-tools
|
||||||
#+begin_src emacs-lisp -n
|
#+begin_src emacs-lisp -n
|
||||||
(when (and (ensure-package-installation 'pdf-tools 'saveplace-pdf-view)
|
(when (and (ensure-package-installation 'pdf-tools)
|
||||||
(fboundp 'pdf-loader-install))
|
(fboundp 'pdf-loader-install))
|
||||||
;; `pdf-loader-install' is the lazy equivalent of `pdf-tools-install':
|
;; `pdf-loader-install' is the lazy equivalent of `pdf-tools-install':
|
||||||
;; see the README file.
|
;; see the README file.
|
||||||
@ -2036,8 +2033,7 @@ rebuild the =epdfinfo= executable that serves the [[https://en.wikipedia.org/wik
|
|||||||
|
|
||||||
(with-eval-after-load 'pdf-view
|
(with-eval-after-load 'pdf-view
|
||||||
(setopt pdf-view-display-size 'fit-page
|
(setopt pdf-view-display-size 'fit-page
|
||||||
pdf-view-use-scaling (eq system-type 'darwin))
|
pdf-view-use-scaling (eq system-type 'darwin))))
|
||||||
(require 'saveplace-pdf-view nil 'noerror)))
|
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
* Writing
|
* Writing
|
||||||
|
Loading…
x
Reference in New Issue
Block a user