How to compile your TeX document with SyncTeX
Tiffany Antopolski
tiffany@antopolski.com
Creative Commons Share Alike 3.0
Fatih Demir
kabalak@kabalak.net
2000.
Görkem Çetin
gorkem@gelecek.com.tr
2002/2003.
Barış Çicek
baris@teamforce.name.tr
2004, 2008, 2009.
Muhammet Kara
muhammet.k@gmail.com
2011.
hsngrms
dead-bodies-everywhere@hotmail.com
2012
Atilla Öntaş
tarakbumba@gmail.com
2014
Emre FIRAT
emrefirat93@gmail.com
2013, 2014, 2015
Compile TeX with SyncTeX
Adding the line \synctex=1 in the preamble of your TeX file will trigger synchronization with SyncTeX.
\documentclass{article}
\synctex=1
\usepackage{fullpage}
\begin{document}
...
\end{document}
Alternatively, you can run the pdflatex command with the -synctex=1 option:
pdflatex -synctex=1 yourFile.tex