1

I am trying to setup forward search and inverse search between Emacs 24.3.1 and Auctex under Ubuntu 14.04.

Forward search is working fine by enable TeX-source-correlate-mode in Emacs but while performing this search, the focus also moves to PDF. I would like to keep the focus on .tex file during forward search. Is there any hack or command available to achieve this.

I would also like to setup inverse-search. I have tried Ctrl + left click but it doesn't work.

1

You need to (i) tell Emacs what is your document viewer, and then (ii) configure the document viewer to collaborate with Emacs to use the inverse search, that is, Ctrl+left click.

I don't think that Evince offers configuration option directly. I prefer more to work with Okular than Evince. The following post describes how to activate the forwards and reverse search on Auctex+Okular. I hope that you find it helpful: How to configure Emacs and AUCTeX to perform Forward and Inverse Search

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.