Variable: tex-print-file-extension

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

Value

".dvi"

Documentation

The TeX-compiled file extension for viewing and printing.

If you use pdflatex instead of latex, set this to ".pdf" and modify
 tex-dvi-view-command and tex-dvi-print-command appropriately.

This variable was added, or its default value changed, in Emacs 25.1.

Probably introduced at or before Emacs version 25.1.

Source Code

;; Defined in /usr/src/emacs/lisp/textmodes/tex-mode.el.gz
(defcustom tex-print-file-extension ".dvi"
  "The TeX-compiled file extension for viewing and printing.
If you use pdflatex instead of latex, set this to \".pdf\" and modify
 `tex-dvi-view-command' and `tex-dvi-print-command' appropriately."
  :type 'string
  :group 'tex-view
  :version "25.1")