[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[O] orgmode & pdf-tools
From: |
AW |
Subject: |
[O] orgmode & pdf-tools |
Date: |
Sun, 03 Apr 2016 12:19:33 +0200 |
User-agent: |
KMail/5.1.3 (Linux/4.5.0-2-default; KDE/5.20.0; x86_64; ; ) |
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
- [O] orgmode & pdf-tools,
AW <=