From mboxrd@z Thu Jan 1 00:00:00 1970 From: AW Subject: orgmode & pdf-tools Date: Sun, 03 Apr 2016 12:19:33 +0200 Message-ID: <1752382.rEMxcOGRGz@linux-k2bd.site> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:55697) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1amf8B-000628-4M for emacs-orgmode@gnu.org; Sun, 03 Apr 2016 06:19:43 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1amf87-00089L-Uk for emacs-orgmode@gnu.org; Sun, 03 Apr 2016 06:19:43 -0400 Received: from mailout01.t-online.de ([194.25.134.80]:41051) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1amf87-00089F-Of for emacs-orgmode@gnu.org; Sun, 03 Apr 2016 06:19:39 -0400 Received: from fwd33.aul.t-online.de (fwd33.aul.t-online.de [172.20.27.144]) by mailout01.t-online.de (Postfix) with SMTP id 6A99B30FCCE for ; Sun, 3 Apr 2016 12:19:37 +0200 (CEST) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org 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