emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Opening linked PDFs in OS's own browser
@ 2019-03-12 10:04 Christian Holz
  0 siblings, 0 replies; only message in thread
From: Christian Holz @ 2019-03-12 10:04 UTC (permalink / raw)
  To: emacs-orgmode

[-- 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 --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2019-03-12 10:07 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-03-12 10:04 Opening linked PDFs in OS's own browser Christian Holz

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).