From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christian Holz Subject: Opening linked PDFs in OS's own browser Date: Tue, 12 Mar 2019 11:04:47 +0100 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="000000000000789dfd0583e2d264" Return-path: Received: from eggs.gnu.org ([209.51.188.92]:37977) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h3eJI-0005dK-NH for emacs-orgmode@gnu.org; Tue, 12 Mar 2019 06:07:01 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1h3eHP-0004yp-09 for emacs-orgmode@gnu.org; Tue, 12 Mar 2019 06:05:03 -0400 Received: from mail-ed1-x52d.google.com ([2a00:1450:4864:20::52d]:40954) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1h3eHO-0004xm-Ak for emacs-orgmode@gnu.org; Tue, 12 Mar 2019 06:05:02 -0400 Received: by mail-ed1-x52d.google.com with SMTP id r23so1735992edm.7 for ; Tue, 12 Mar 2019 03:05:01 -0700 (PDT) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: emacs-orgmode@gnu.org --000000000000789dfd0583e2d264 Content-Type: text/plain; charset="UTF-8" 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 --000000000000789dfd0583e2d264 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi,

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

[[file:/ssh:user@host:/pat= h/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:..." i= nstead of some temporary file that OSX can then open.=C2=A0

Of course this open fails on OSX as o= pen or preview.app does not understand the URI syntax provided here.=C2=A0<= /div>

I have tried to find doc= umentation on alternatives to "%s" that would pass either a tempo= rary 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
--000000000000789dfd0583e2d264--