From mboxrd@z Thu Jan 1 00:00:00 1970 From: AW Subject: Open PDF under Windows on specific page using PDF-XChange Viewer Date: Tue, 19 Mar 2013 11:11:22 +0100 Message-ID: <2047181.TCzP6MzcPz@linux-ik7b.site> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Return-path: Received: from eggs.gnu.org ([208.118.235.92]:42580) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UHtSG-0003xP-MQ for emacs-orgmode@gnu.org; Tue, 19 Mar 2013 06:07:46 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UHtSF-0005BQ-A9 for emacs-orgmode@gnu.org; Tue, 19 Mar 2013 06:07:40 -0400 Received: from mailout06.t-online.de ([194.25.134.19]:35948) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UHtSF-0005Am-40 for emacs-orgmode@gnu.org; Tue, 19 Mar 2013 06:07:39 -0400 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: OrgMode ML Dear all, under Windows 7, Emacs 24.2 and orgmode 7.9.4 I would like to have a hyperlink to an external pdf. The pdf should be opened by a software called PDVXchange viewer /at a certain page/. The command on the command line in windows is: PDFXCview /A page=10 filename.pdf This works on the command line: The pdf is opened on page 10. But how do I implement that in orgmode? Which lines to add to my .emacs file? I found an example for evince here: http://emacswiki.org/emacs/OrgMode #+begin_source lisp (delete '("\\.pdf\\'" . default) org-file-apps) (add-to-list 'org-file-apps '("\\.pdf::\\([0-9]+\\)\\'" . "evince \"%s\" -p %1")) #+end_source I tried in vain to adapt it: #+begin_source lisp (delete '("\\.pdf\\'" . default) org-file-apps) (add-to-list 'org-file-apps '("\\.pdf::\\([0-9]+\\)\\'" . "PDFXCview /A 'page'=%1 \"%s\" ")) #+end_source The hyperlink in org looks like this: [[file:filename.pdf::10][link to my file]] Could anybody provide a working solution? Emacs simply not reacts with my adaption. Thank you! Alexander