Variable: tex-main-file

tex-main-file is a customizable variable defined in tex-mode.el.gz.

Value

nil

Documentation

The main TeX source file which includes this buffer's file.

The command tex-file runs TeX on the file specified by tex-main-file(var)/tex-main-file(fun) if the variable is non-nil.

View in manual

Probably introduced at or before Emacs version 20.1.

Source Code

;; Defined in /usr/src/emacs/lisp/textmodes/tex-mode.el.gz
;;;###autoload
(defcustom tex-main-file nil
  "The main TeX source file which includes this buffer's file.
The command `tex-file' runs TeX on the file specified by `tex-main-file'
if the variable is non-nil."
  :type '(choice (const :tag "None" nil)
                 file)
  :group 'tex-file)