Did anyone succeed setting up forward search between Emacs+AUCTeX and evince?
In order to establish inverse/forward search between Emacs+AUCTeX and evince, it is necessary to:
- install new TeX Live version, as explained in here;
- add special lisp script to .emacs file, (the script depends of gnome version and it can be found here).
However, since release of TeX Live 2011, there is a problem of a new synctex format, as it is pointed by Richard Hansen.
I've noticed that Emacs+AUCTeX invokes pdflatex compilation as (taken from latex output file):
pdflatex --shell-escape --synctex=1 -interaction=nonstopmode "\input" file.tex
If I do the same compilation manually, using absolute path, i.e.
pdflatex --shell-escape --synctex=1 -interaction=nonstopmode "\input" /absolute/path/to/file.tex
forward search is working properly!
So the question is:
are there any ways to force Emacs/AUCTeX to use absolute path name (as in the second pattern) while running pdflatex compilation?