From: Carsten Dominik <dominik@science.uva.nl>
To: anhnmncb <anhnmncb@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: Passing an option to org-file-apps?
Date: Sun, 7 Sep 2008 09:02:57 +0200 [thread overview]
Message-ID: <CD3CC58A-7F36-4421-B805-CD88AF6D9A05@uva.nl> (raw)
In-Reply-To: <87fxq9b327.fsf@gentoo.hasee.cpu>
On Jul 17, 2008, at 5:30 AM, anhnmncb wrote:
> Hi, list,
> I have an external link like this:
> [[file:~/doc/foo.pdf]]
> And I have configured to use xpdf to open it, but every time I open
> it,
> it always at the first page.
>
> If can I pass an option to xpdf, so after I finish reading, I change
> the
> page number, then next time I open it, it will automatically open that
> page for me?
>
> Something like this:
> [[file:~/doc/foo.pdf 25]]
> So org will invoke xpdf in this way: xpdf ~/doc/foo.pdf 25.
Org has no mechanism to pass switches to external commands. But you
can try to find a pdf viewer that supports going back to a previous
location. For example, "Preview" in MacOS X does this, maybe there
are also open source programs that do it.
- Carsten
next prev parent reply other threads:[~2008-09-07 7:03 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-07-17 3:30 Passing an option to org-file-apps? anhnmncb
2008-09-07 7:02 ` Carsten Dominik [this message]
2008-09-07 8:33 ` Sebastian Rose
2008-09-07 14:25 ` Jose A. Ortega Ruiz
2008-09-07 8:33 ` Daniel Clemente
2008-09-11 10:16 ` anhnmncb
2008-09-11 14:34 ` Jason F. McBrayer
2008-09-12 9:29 ` anhnmncb
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=CD3CC58A-7F36-4421-B805-CD88AF6D9A05@uva.nl \
--to=dominik@science.uva.nl \
--cc=anhnmncb@gmail.com \
--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).