Variable: TeX-PDF-from-DVI

TeX-PDF-from-DVI is a customizable and buffer-local variable defined in tex.el.

Documentation

Specify if and how to produce PDF output from a DVI file.

If non-nil, the default compiler produces DVI output. The value should be the name of the command used to convert the DVI file to PDF or to an intermediate type.

Possible values are

* "Dvips": the DVI file is converted to PS with dvips. After
  successfully running it, ps2pdf will be the default command to
  convert the PS file to PDF
* "Dvipdfmx": the PDF is produced with dvipdfmx

Programs should not use this variable directly but the function TeX-PDF-from-DVI(var)/TeX-PDF-from-DVI(fun) which handles now obsolete variable TeX-PDF-via-dvips-ps2pdf.

Source Code

;; Defined in ~/.emacs.d/elpa/auctex-14.1.2/tex.el
(defcustom TeX-PDF-from-DVI nil
  "Specify if and how to produce PDF output from a DVI file.

If non-nil, the default compiler produces DVI output.  The value
should be the name of the command used to convert the DVI file to
PDF or to an intermediate type.

Possible values are

* \"Dvips\": the DVI file is converted to PS with dvips.  After
  successfully running it, ps2pdf will be the default command to
  convert the PS file to PDF
* \"Dvipdfmx\": the PDF is produced with dvipdfmx

Programs should not use this variable directly but the function
`TeX-PDF-from-DVI' which handles now obsolete variable
`TeX-PDF-via-dvips-ps2pdf'."
  :group 'TeX-command
  :type '(choice
          (const :tag "No DVI to PDF conversion" nil)
          (const :tag "dvips - ps2pdf sequence" "Dvips")
          (const :tag "dvipdfmx" "Dvipdfmx"))
  :safe #'string-or-null-p
  :local t)