Variable: TeX-source-correlate-method

TeX-source-correlate-method is a customizable variable defined in tex.el.

Value

((dvi . source-specials) (pdf . synctex))

Documentation

Method to use for enabling forward and inverse search.

This can be source-specials if source specials should be used, synctex if SyncTeX should be used, or auto if AUCTeX should decide.

The previous values determine the variable for both DVI and PDF mode. This variable can also be an alist of the kind

  ((dvi . <source-specials or synctex>)
   (pdf . <source-specials or synctex>))

in which the CDR of each entry is a symbol specifying the method to be used in the corresponding mode.

Programs should not use this variable directly but the function TeX-source-correlate-method-active which returns the method actually used for forward and inverse search.

Source Code

;; Defined in ~/.emacs.d/elpa/auctex-14.1.2/tex.el
;;; Forward and inverse search

(defcustom TeX-source-correlate-method
  '((dvi . source-specials) (pdf . synctex))
  "Method to use for enabling forward and inverse search.
This can be `source-specials' if source specials should be used,
`synctex' if SyncTeX should be used, or `auto' if AUCTeX should
decide.

The previous values determine the variable for both DVI and PDF
mode.  This variable can also be an alist of the kind

  ((dvi . <source-specials or synctex>)
   (pdf . <source-specials or synctex>))

in which the CDR of each entry is a symbol specifying the method
to be used in the corresponding mode.

Programs should not use this variable directly but the function
`TeX-source-correlate-method-active' which returns the method
actually used for forward and inverse search."
  :type '(choice (const auto)
                 (const synctex)
                 (const source-specials)
                 (list :tag "Different method for DVI and PDF"
                       (cons (const dvi)
                             (choice :tag "Method for DVI mode"
                                     (const synctex)
                                     (const source-specials)))
                       (cons (const pdf)
                             (choice :tag "Method for PDF mode"
                                     (const synctex)
                                     (const source-specials)))))
  :group 'TeX-view)