This problem usually happens in my TexShop on Mac. When I try "command+left click" in source, the corresponding part in preview should be highlighted. But it usually cannot be highlighted and the ...
In TeXShop, under Preferences -> Engines I have modified the LaTeX command by adding -output-dir=/tmp. All of my auxiliary and final output files end up in this directory instead of where my source ...