I'm using Texmaker 4.4.1, and I want to be able to jump to pdf (Ctrl+RClick) from the tex script, and vice versa.
I tried to use the tips of -synctex=1
in the PDFLatex command, but it doesn't seem to work, nor does the tip here.
My PDFLatex command is
"C:/Program Files (x86)/MiKTeX 2.9/miktex/bin/pdflatex.exe" -interaction=nonstopmode -synctex=1 -shell-escape %.tex
Thank you!
Best Answer
In
Options->Confige TexMaker->Commands
in Padflatex you should writepdflatex -synctex=1 -interaction=nonstopmode %.tex
, or full path topdflatex.exe
. After compilation with.log
,.aux
and other files this.synctex.gz
extra file is created. From the.synctex.gz
it reads instructions how to connect buit-in Viewer with code. If you delete this file, close the Viewer and re-open it, program won't be able to jump to code lines.