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


Reply via email to