[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] Setting the PDF viewer
From: |
Scott Randby |
Subject: |
Re: [O] Setting the PDF viewer |
Date: |
Sat, 26 Oct 2013 11:57:29 -0400 |
User-agent: |
Mozilla/5.0 (X11; Linux i686; rv:24.0) Gecko/20100101 Thunderbird/24.0 |
On 10/26/2013 11:26 AM, Oleh wrote:
> 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
>
This is exactly what I need and it has the added benefit of showing me
how to open XOJ files in Xournal via an external link in an Org
file. Many thanks.
Scott
> 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
>>
>