reddit / emacs

how to run pdf-view by default (and not Docview)

tlreddit · 2022-11-16 12:14
Hi, How should I configure emacs to use pdf-view instead of Docview when I load a pdf ? I have both installed but Docview is used by default and I have to M-x pdf-view-mode each time. Thanks !
OutOfCharm · 2022-11-16 12:36
Insert this in your .emacs or init.el file. ```(pdf-tools-install) ; Standard activation command```
tlreddit · 2022-11-16 16:59
It worked ! Thank you so much !
georgist · 2022-11-16 20:09
Just out of curiosity - why do you prefer pdf-view please?
tlreddit · 2022-11-16 20:14
Pdf-view let you annotate the document. See https://github.com/vedang/pdf-tools for more features. There are also quiet a few packages that work with pdf-tools.
georgist · 2022-11-16 20:35
interesting, thx. personally i use org-noter for a side-by-side view of my notes and the pdf.
tlreddit · 2022-11-16 20:48
There is also a org-pdftool package that may interest you.