From mboxrd@z Thu Jan 1 00:00:00 1970 From: AW Subject: Re: Open PDF under Windows on specific page using PDF-XChange Viewer Date: Tue, 19 Mar 2013 12:04:56 +0100 Message-ID: <2482110.ZpXqzf2ZLg@linux-ik7b.site> References: <2047181.TCzP6MzcPz@linux-ik7b.site> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([208.118.235.92]:55578) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UHuI9-0001S7-Os for emacs-orgmode@gnu.org; Tue, 19 Mar 2013 07:01:31 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UHuHu-00067i-5E for emacs-orgmode@gnu.org; Tue, 19 Mar 2013 07:01:17 -0400 Received: from mailout01.t-online.de ([194.25.134.80]:52038) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UHuHt-00065Q-Tf for emacs-orgmode@gnu.org; Tue, 19 Mar 2013 07:01:02 -0400 In-Reply-To: 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-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Thomas Holst Cc: OrgMode ML Am Dienstag, 19. M=E4rz 2013, 11:32:26 schrieb Thomas Holst: > Hello Alexander, >=20 > =B7 AW wrote: > > [... snip ...] > > #+begin_source lisp > > (delete '("\\.pdf\\'" . default) org-file-apps) > >=20 > > (add-to-list 'org-file-apps '("\\.pdf::\\([0-9]+\\)\\'" > > . "PDFXCview /A 'page'=3D%1 \"%s\" ")) > >=20 > > #+end_source >=20 > for me the following works under Win7: >=20 > #+begin_src emacs-lisp > (add-to-list 'org-file-apps > '("\\.pdf::\\([0-9]+\\)\\'" . > "\"C:/Program Files (x86)/Adobe/Acrobat 10.0/Acrobat/Acrobat.exe\= " > /A page=3D%1 %s") > #+end_src > (Without line break in the string) >=20 > I think Win7 chokes on single quotes. >=20 > HTH Yes, it did help indeed, thank you very much! For the record: #+begin_src emacs-lisp (add-to-list 'org-file-apps '("\\.pdf::\\([0-9]+\\)\\'" . "\"C:/Program Files/Tracker Software/PD= F=20 Viewer/PDFXCview.exe\" /A page=3D%1 %s")) #+end_src