emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Thomas Holst <thomas.holst@de.bosch.com>
To: AW <alexander.willand@t-online.de>
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 11:32:26 +0100	[thread overview]
Message-ID: <ywod4ng71xz9@de.bosch.com> (raw)
In-Reply-To: <2047181.TCzP6MzcPz@linux-ik7b.site> (alexander.willand@t-online.de's message of "Tue, 19 Mar 2013 11:11:22 +0100")


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
-- 
Bis neulich ...
  Thomas

  reply	other threads:[~2013-03-19 10:38 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 [this message]
2013-03-19 11:04   ` AW
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=ywod4ng71xz9@de.bosch.com \
    --to=thomas.holst@de.bosch.com \
    --cc=alexander.willand@t-online.de \
    --cc=emacs-orgmode@gnu.org \
    /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).