Dear Colin (cc. John),

Many thanks ! Unfortunately, I have always the same result. Here is the message:

Viewing with pdf-view-mode
pdf-info-encrypted-p: pdf-info-epdfinfo-program is not executable

is org-ref the culprit? I cc. to John Kitchin.

Best wishes,

Jo.

Le jeu. 4 juil. 2019 à 13:00, Colin Baxter <m43...@yandex.com> a écrit :
>
> Dear Joseph,
> >>>>> Joseph Vidal-Rosset <joseph.vidal.ros...@gmail.com> writes:
>
>     > Hi the list, I do not want to use pdf-tools to view pdf in emacs,
>     > I want only to use an external program (evince) to view pdf
>     > files. Unfortunately, links to pdf do not work with openwith and
>     > my emacs open on a pdf. I cannot delete pdft-tools that is a
>     > dependency of org-ref that I am using. A solution for my setup
>     > would be welcome.
>
> Try this:
>
> (add-hook 'org-mode-hook
>            '(lambda ()
>             (delete '("\\.pdf\\'" . default) org-file-apps)
>             (add-to-list 'org-file-apps '("\\.pdf\\'" . "evince %s"))))
>
> Best wishes,
>
> Colin Baxter
> www.Colin-Baxter.com

Reply via email to