I'm using TeXStudio on Windows 7 with MikTeX. I don't know how to get the "Jump to source" command that appears in the mouse right-click menu, in the pdf viewer, once I compile a *.tex file with Quick Build. This feature is present and works well in TeXStudio under UBUNTU 12.04. How can I get it in Windows 7 too?
You have to add
-synctex=1 to the commands:
pdflatex -synctex=1 -interaction=nonstopmode %.tex
xelatex -synctex=1 -interaction=nonstopmode %.tex
lualatex -synctex=1 -interaction=nonstopmode %.tex
After the next compilation there is a right-click menu item titled "Go to source" (Or shortcut
In my case, the option
-synctex=1 was in the command line. Yet it didn't work. What fixed it is deleting a file with the extension
*.synctex. After that, syncing worked perfectly. Apparently, the file was a remnant of a previous latex compilation on a different machine.
protected by Community♦ Aug 26 '16 at 14:11
Thank you for your interest in this question.
Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).
Would you like to answer one of these unanswered questions instead?