Here's the current scenario:
- Edit a LaTeX file with Emacs
- Run C-c C-c to compile
- Run C-c C-c to view
- Yap will load up with the DVI file in the spot that is currently being edited in Emacs
- Double-click in a spot in the DVI file in Yap and ... !?!
It all comes down to the problem that the implementation for Emacs' client-server architecture isn't complete on Windows. However, there is an external implementation, the one used in XEmacs, that works rather well.
This is hardly an automated task, so don't run through these instructions too quickly.
- Download gnuserve for Windows. It's near the bottom of the page. I used "newer and hopefully more compatible version".
- Unzip the file that was just downloaded.
- From the zip file, copy the executable files (*.exe) to the bin subdirectory folder and the Emacs Lisp files (*.el) to the site-lisp subdirectory of your Emacs folder.
- In your .emacs file, add the lines
If everything worked, you can fire up Emacs and enjoy some fantastic Emacs-Yap editing interaction
- It seems that there may be an issue with running more than one instance of gnuserv. I'm looking into that.
- It seems that the version of gnuserv that I'm recommending may be a bit outdated or has had it's development abandoned. However, I can't find a newer version. Hopefully there will be a development soon on this front.