|
| From: | Thomas Holst |
| Subject: | Re: [O] Open PDF under Windows on specific page using PDF-XChange Viewer |
| Date: | Tue, 19 Mar 2013 11:32:26 +0100 |
| User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/24.2 (windows-nt) |
Hello Alexander,
· AW <address@hidden> wrote:
> [... snip ...]
> #+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
for me the following works under Win7:
#+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=%1 %s")
#+end_src
(Without line break in the string)
I think Win7 chokes on single quotes.
HTH
--
Bis neulich ...
Thomas
| [Prev in Thread] | Current Thread | [Next in Thread] |