Let pdf-tools scale the page size to the display size
This commit is contained in:
parent
5ea766e3d7
commit
fc2a31d20c
@ -906,12 +906,15 @@ rebuild the =epdfinfo= executable that serves the [[https://en.wikipedia.org/wik
|
||||
#+caption: Enable =pdf-tools=.
|
||||
#+name: lst:enable-pdf-tools
|
||||
#+begin_src emacs-lisp
|
||||
;; '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.
|
||||
(when (fboundp 'pdf-loader-install)
|
||||
(pdf-loader-install))
|
||||
|
||||
(with-eval-after-load 'pdf-view
|
||||
(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)))
|
||||
#+end_src
|
||||
|
Loading…
x
Reference in New Issue
Block a user