I am compiling LaTeX files with Texmaker on Ubuntu 12.04 system.
When I run pdflatex and then view the pdf file (internal), it does not show me the exact place where I am editing on Texmaker i.e. the generated pdf file does not show me the position of the cursor.
But some days before it was working fine. I don't know what causes this problem.
I already tried uninstalling and then reinstalling, I did update and upgrade too. But the problem still persists.
Best Answer
Synchronization between source TeX files and the resulting dvi or pdf file is done with
synctex
support. You must add the-synctex=1
option to thepdflatex
command to enablesynctex
and thereby generatingfileName.synctex.gz
file which stores the linkages between source and pdf. synctex does not like special characters, follow best practices for file names.