Tamas Papp
2017-03-17 13:59:24 UTC
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
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