emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] Setting the PDF viewer


From: Oleh
Subject: Re: [O] Setting the PDF viewer
Date: Sat, 26 Oct 2013 17:26:54 +0200

The variable to set is `org-file-apps'.
Here's what I have currently:

(setq org-file-apps '((auto-mode . emacs)
                      ("\\.x?html?\\'" . "firefox %s")
                      ("\\.pdf\\'" . "evince \"%s\"")
                      ("\\.pdf::\\([0-9]+\\)\\'" . "evince \"%s\" -p %1")
                      ("\\.pdf.xoj" . "xournal %s")))

Just change evince to your favorite viewer.
And make sure that you're calling `org-return' to open (it's bound to C-m).

Oleh

On Sat, Oct 26, 2013 at 5:14 PM, Scott Randby <address@hidden> wrote:
> If I have a file:./paper.pdf link in an Org document, the PDF opens
> using GV when I click on the link. I like GV, but it doesn't support
> links. How do I change the PDF viewer for file:./paper.pdf external
> links?
>
> Scott Randby
>



reply via email to

[Prev in Thread] Current Thread [Next in Thread]