Variable: TeX-view-predicate-list
TeX-view-predicate-list is a customizable variable defined in tex.el.
Value
nil
Documentation
Alist of predicates for viewer selection and invocation.
The key of each list item is a symbol and the value a Lisp form to be evaluated. The form should return nil if the predicate is not fulfilled.
Built-in predicates provided in TeX-view-predicate-list-builtin
can be overwritten by defining predicates with the same symbol.
The following built-in predicates are available:
output-dvi: The output is a DVI file.
output-pdf: The output is a PDF file.
output-html: The output is an HTML file.
style-pstricks: The document loads a PSTricks package.
engine-omega: The Omega engine is used for typesetting.
engine-xetex: The XeTeX engine is used for typesetting.
mode-io-correlate: TeX Source Correlate mode is active.
paper-landscape: The document is typeset in landscape orientation.
paper-portrait: The document is not typeset in landscape orientation.
paper-a4: The paper format is A4.
paper-a5: The paper format is A5.
paper-b5: The paper format is B5.
paper-letter: The paper format is letter.
paper-legal: The paper format is legal.
paper-executive: The paper format is executive.
Source Code
;; Defined in ~/.emacs.d/elpa/auctex-14.1.2/tex.el
(defcustom TeX-view-predicate-list nil
"Alist of predicates for viewer selection and invocation.
The key of each list item is a symbol and the value a Lisp form
to be evaluated. The form should return nil if the predicate is
not fulfilled.
Built-in predicates provided in `TeX-view-predicate-list-builtin'
can be overwritten by defining predicates with the same symbol.
The following built-in predicates are available:
`output-dvi': The output is a DVI file.
`output-pdf': The output is a PDF file.
`output-html': The output is an HTML file.
`style-pstricks': The document loads a PSTricks package.
`engine-omega': The Omega engine is used for typesetting.
`engine-xetex': The XeTeX engine is used for typesetting.
`mode-io-correlate': TeX Source Correlate mode is active.
`paper-landscape': The document is typeset in landscape orientation.
`paper-portrait': The document is not typeset in landscape orientation.
`paper-a4': The paper format is A4.
`paper-a5': The paper format is A5.
`paper-b5': The paper format is B5.
`paper-letter': The paper format is letter.
`paper-legal': The paper format is legal.
`paper-executive': The paper format is executive."
:group 'TeX-view
:type '(alist :key-type symbol :value-type (group sexp)))