SyncTeX support

SyncTeX is a extension, which enables synchronization of pdf documents and its (La)TeX sources. It is supported in most modern LaTeX distributions, e.g., in TeXLive since TeXLive 2008 and in MikTeX since version 2.7.
To enable SyncTeX for your build, you need to activate it with the -synctex command line switch, e.g., pdflatex -synctex=1 test.tex

More technical details about SyncTeX can be found on the official SyncTeX page.

Pdf4Eclipse natively supports SyncTeX and enables the user to use both the forward and inverse search features. For this it uses its own SyncTeX parser, since there is no official Java implementation. Therefore, it can happen that the forward and inverse search results are different from the results in other PDF viewers.

Forward search

By forward search we denote the process of finding the position in the pdf file that corresponds to the cursor position in the active tex-file. For a successful forward search it is necessary that the corresponding pdf file is already open in Eclipse. To make a forward search, open the context menu by right-clicking somewhere in the editor and selecting Forward search. Another possibility is to use the short key Ctrl+Alt+F.

Forward search
This command is enabled in every text editor.

Inverse search

By inverse search we denote the process of the line in the source file that corresponds to the mouse cursor position in the pdf-file. A inverse search is triggered by a simple double-click in the pdf document on the searched position. If it successful, Pdf4Eclipse opens the source file and highlights the line that fits best.