Function: TeX-view

TeX-view is an interactive and byte-compiled function defined in tex.el.

Signature

(TeX-view)

Documentation

Start a viewer without confirmation.

The viewer is started either on region or master file, depending on the last command issued.

Key Bindings

Source Code

;; Defined in ~/.emacs.d/elpa/auctex-14.1.2/tex.el
(defun TeX-view ()
  "Start a viewer without confirmation.
The viewer is started either on region or master file,
depending on the last command issued."
  (interactive)
  (let ((output-file (TeX-active-master (TeX-output-extension))))
    (if (file-exists-p output-file)
        (TeX-command "View" #'TeX-active-master 0)
      (message "Output file %S does not exist." output-file))))