# Texmaker generated pdf file of multi-file latex not showing the position of cursor

I am compiling LaTeX files with Texmaker on Ubuntu 14.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.

This question was already asked before (Texmaker generated pdf file not showing the position of cursor) but the answers don't work in my case.

Probably the reason is that I am using a multi-file latex (each chapter in a separate tex) and I compile a `template.tex` file which has the `\include` command to "call" the separate `chapters*.tex` files.

• Make the main file (the one with preamble) to be the Master Document. – Sigur May 2 '15 at 9:34
• @ Sigur: I have already tried that, but it doesn't change anything. – Thomas May 2 '15 at 9:43
• @LCF, to make sure: are you using the synctex option? – Sigur May 2 '15 at 9:54