I have configured Okular and Auctex so that forward and inverse search work like a charm when I have the *.tex file open and after I compiled the PDF file. I do, however, often encounter a scenario where some other person comments, corrects or annotates this PDF file. Is there a way to configure okular (or any other PDF viewer) and emscas in a way that inverse seach is still working under these conditions? I.e. under conditions where I cannot recompile the PDF file?
The answer is yes.
The .synctex.gz file links your TeX source file and the PDF output by postion. Supposing you complied
test.tex and got the
test.pdf file, you can find that even if you replace
aaaa.pdf, forward and inverse searching will still work---position is right, however, the contents can be quite different.