Am Dienstag, 19. März 2013, 11:32:26 schrieb Thomas Holst:
> Hello Alexander,
> 
> · AW <alexander.will...@t-online.de> 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




Reply via email to