[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

4.2.1 Forward and inverse search

You can make use of forward and inverse searching if this is supported by your DVI viewer and you enabled TeX-source-specials-mode as described in 4.1 Executing Commands. AUCTeX will automatically pass the necessary command line options to the viewer in order to display the page containing the content you are currently editing (forward search). Upon opening the viewer you will be asked if you want to start a server process (Gnuserv or Emacs server) which is necessary for inverse search. This happens only if there is no server running already. You can customize the variable TeX-source-specials-view-start-server to inhibit the question and always or never start the server respectively. Once the server and the viewer are running you can use a mouse click in the viewer to jump to the corresponding part of your document in Emacs (inverse search). Refer to the documentation of your viewer to find out what you have to do exactly. In xdvi you usually have to use C-down-mouse-1.

User Option: TeX-source-specials-view-start-server
If TeX-source-specials-mode is active and a DVI viewer is invoked, the default behavior is to ask if a server process should be started. Set this variable to t if the question should be inhibited and the server should be started always. Set it to nil if the server should never be started. Inverse search will not be available in the latter case.



This document was generated by Build Daemon user on October, 27 2004 using texi2html