auctex
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[AUCTeX] inverse source correlation with Okular


From: Tamas Papp
Subject: [AUCTeX] inverse source correlation with Okular
Date: Fri, 17 Mar 2017 14:59:24 +0100
User-agent: mu4e 0.9.19; emacs 25.1.1

hi,

I am trying to set up AUCTeX (11.90.0) with Okular. If I understand
correctly, Ctrl-leftclick (or is it something else?) would raise Emacs
and move point to the relevant location, neither of which happens.

1. Relevant excerpts from init.el:

  (setq TeX-view-program-selection
        '(((output-dvi has-no-display-manager) "dvi2tty")
          ((output-dvi style-pstricks) "dvips and gv")
          (output-dvi "xdvi")
          (output-pdf "Okular")
          (output-html "xdg-open")))

  (TeX-PDF-mode t)

  (TeX-source-correlate-mode t)

AUCTeX works fine and has been setup from ELPA.

2. Using okular 4:16.04.3-0ubuntu1 in Ubuntu. According to ps -fp, it
was called as

okular --unique test.pdf#src:80/tmp/test.tex

Forward correlation works perfectly (C-c C-v). test.synctex.gz is
created in the same directory. In Okular, the chosen editor is
Emacsclient, ie

emacsclient -a emacs --no-wait +%l %f

3. Replacing "Okular" with "PDF Tools" , the inverse correlation works fine.

"Zathura" also works fine, "Atril" doesn't, "Evince" does.

Any help debugging this would be appreciated.

Best,

Tamas



reply via email to

[Prev in Thread] Current Thread [Next in Thread]