emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: AW <alexander.willand@t-online.de>
To: Thomas Holst <thomas.holst@de.bosch.com>
Cc: OrgMode ML <emacs-orgmode@gnu.org>
Subject: Re: Open PDF under Windows on specific page using PDF-XChange Viewer
Date: Tue, 19 Mar 2013 12:04:56 +0100	[thread overview]
Message-ID: <2482110.ZpXqzf2ZLg@linux-ik7b.site> (raw)
In-Reply-To: <ywod4ng71xz9@de.bosch.com>

Am Dienstag, 19. März 2013, 11:32:26 schrieb Thomas Holst:
> Hello Alexander,
> 
> · AW <alexander.willand@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	other threads:[~2013-03-19 11:01 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-03-19 10:11 Open PDF under Windows on specific page using PDF-XChange Viewer AW
2013-03-19 10:32 ` Thomas Holst
2013-03-19 11:04   ` AW [this message]
2013-03-20  7:42     ` Otto Pichlhöfer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=2482110.ZpXqzf2ZLg@linux-ik7b.site \
    --to=alexander.willand@t-online.de \
    --cc=emacs-orgmode@gnu.org \
    --cc=thomas.holst@de.bosch.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).