[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] Open PDF under Windows on specific page using PDF-XChange Viewer
From: |
AW |
Subject: |
Re: [O] Open PDF under Windows on specific page using PDF-XChange Viewer |
Date: |
Tue, 19 Mar 2013 12:04:56 +0100 |
User-agent: |
KMail/4.10 (Linux/3.7.10-1.1-desktop; KDE/4.10.0; x86_64; ; ) |
Am Dienstag, 19. März 2013, 11:32:26 schrieb Thomas Holst:
> 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
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/PDF
Viewer/PDFXCview.exe\" /A page=%1 %s"))
#+end_src