DEMO (Notice how I press some text in PDF file and Latex buffer jumps to corresponding automatically).

First, don’t use MELPA; you must install pdf-tools manually from this repository. Then, you need to install Cygwin. The following dependencies are needed:

If you don't plan to use Xwidget browser, just install Emacs from Cygwin:

emacs-w32 (Editors category)

Then install the tool chain for PDF Tools:

make ( Devel category)

category) gcc-core ( Devel category)

category) gcc-g++ ( Devel category)

category) autoconf ( Devel category)

category) automake ( Devel category)

category) perl (Perl category)

Then install Poppler development library:

libpoppler-devel ( Lib category)

category) libpoppler-glib-devel (Lib category)

Just type the dependency name above and click to choose. For example, enter libpoppler-devel into the search box.

After all dependencies installed, clone pdf-tools :

git clone https://github.com/politza/pdf-tools

Then, go into pdf-tools directory and build it:

make

When the compilation is done, from your Cygwin Terminal, copy the file server/epdfinfo.exe into /usr/bin/ :

cp server/epdfinfo.exe /usr/bin/

Then, also within Cygwin, run emacs command. Within Emacs, run the Emacs command:

M-x package-install-file

Press RET

Select pdf-tools-${VERSION}.tar RET (the tar file is in your repository).

Finally, run pdf-tools-install and enjoy. Here is the configuration you can put in your init file: