emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Scott Randby <srandby@gmail.com>
To: Oleh <ohwoeowho@gmail.com>
Cc: org-mode mailing list <emacs-orgmode@gnu.org>
Subject: Re: Setting the PDF viewer
Date: Sat, 26 Oct 2013 11:57:29 -0400	[thread overview]
Message-ID: <526BE669.3080009@gmail.com> (raw)
In-Reply-To: <CAA01p3osJ-wqxsHvz0uQRXSc5iY4VOQf0PPm=4NB0qHim_SHmg@mail.gmail.com>

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 <srandby@gmail.com> 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	other threads:[~2013-10-26 15:57 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-10-26 15:14 Setting the PDF viewer Scott Randby
2013-10-26 15:26 ` Oleh
2013-10-26 15:57   ` Scott Randby [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=526BE669.3080009@gmail.com \
    --to=srandby@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=ohwoeowho@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).