From: AW <alexander.willand@t-online.de>
To: emacs-orgmode@gnu.org
Subject: orgmode & pdf-tools
Date: Sun, 03 Apr 2016 12:19:33 +0200 [thread overview]
Message-ID: <1752382.rEMxcOGRGz@linux-k2bd.site> (raw)
Hi!
Linux, Orgmode 8.3.4, org-file with many links. Recently I discovered pdf-
tools, which can display PDFs inside Emacs, just like docview, but much
faster.
I'd like to
1. open via a given link from inside the org-file using C-c C-o
2. the PDF with pdf-tools
3. on a given page.
Result: PDF is being opened, but always on p. 1 instead of e.g. page 5!
.emacs:
(eval-after-load 'org '(require 'org-pdfview))
(delete '("\\.pdf\\'" . default) org-file-apps)
(add-to-list 'org-file-apps '("\\.pdf\\'" . org-pdfview-open))
(add-to-list 'org-file-apps '("\\.pdf::\\([[:digit:]]+\\)\\'" . org-pdfview-
open))
link in org-file:
[[./localfile.pdf::5]]
Same setup works under windows with other viewer. So probably there is an
error in those lines above. Any hints? -- Thank you!
Regards,
Alexander
next reply other threads:[~2016-04-03 10:19 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-04-03 10:19 AW [this message]
2016-04-19 19:53 ` orgmode & pdf-tools AW
2016-07-24 18:03 ` Pablo S. Casas
2016-07-25 11:47 ` Nicolas Goaziou
2016-08-16 11:19 ` AW
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=1752382.rEMxcOGRGz@linux-k2bd.site \
--to=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).