emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Christian Holz <christian.holz@callowhill.de>
To: emacs-orgmode@gnu.org
Subject: Opening linked PDFs in OS's own browser
Date: Tue, 12 Mar 2019 11:04:47 +0100	[thread overview]
Message-ID: <CAEykFhSBx8en5h71OSxddkZGHwhiimy9uED4cP-AtAg8ppD9yA@mail.gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 826 bytes --]

Hi,

I have an org file with lots of linked documents. The links all have the
format:

[[file:/ssh:user@host:/path/path/file.pdf][Title for document]

I can click on the links in Linux fine and the documents open in evince or
whatever viewer I want to use. However, when I try to click on them on OSX,
it seems that the call that is actually made is "open %s" where %s is
replaces with the link, e.g. "file:/ssh:..." instead of some temporary file
that OSX can then open.

Of course this open fails on OSX as open or preview.app does not understand
the URI syntax provided here.

I have tried to find documentation on alternatives to "%s" that would pass
either a temporary file or a URI that preview.app can understand but was
not successful. It cannot be that hard, right?

Any help would be greatly appreciated!

Christian

[-- Attachment #2: Type: text/html, Size: 1205 bytes --]

                 reply	other threads:[~2019-03-12 10:07 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=CAEykFhSBx8en5h71OSxddkZGHwhiimy9uED4cP-AtAg8ppD9yA@mail.gmail.com \
    --to=christian.holz@callowhill.de \
    --cc=emacs-orgmode@gnu.org \
    /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).