Variable: TeX-view-predicate-list-builtin

TeX-view-predicate-list-builtin is a variable defined in tex.el.

Value

Large value
((paper-a4
  (let
      ((regex "\\`\\(?:a4j\\|a4paper\\|a4dutch\\|a4wide\\|sem-a4\\)\\'"))
    (or
     (TeX-match-style regex)
     (and
      (fboundp 'LaTeX-match-class-option)
      (LaTeX-match-class-option regex)))))
 (paper-a5
  (let
      ((regex "\\`\\(?:a5j\\|a5paper\\|a5comb\\)\\'"))
    (or
     (TeX-match-style regex)
     (and
      (fboundp 'LaTeX-match-class-option)
      (LaTeX-match-class-option regex)))))
 (paper-b5
  (and
   (fboundp 'LaTeX-match-class-option)
   (LaTeX-match-class-option "\\`b5paper\\'")
   (not
    (TeX-match-style "\\`u?[jt]s?\\(?:article\\|report\\|book\\)\\'"))))
 (paper-b5jis
  (and
   (fboundp 'LaTeX-match-class-option)
   (or
    (LaTeX-match-class-option "\\`b5j\\'")
    (and
     (LaTeX-match-class-option "\\`b5paper\\'")
     (TeX-match-style "\\`u?[jt]s?\\(?:article\\|report\\|book\\)\\'")))))
 (paper-b4jis
  (and
   (fboundp 'LaTeX-match-class-option)
   (LaTeX-match-class-option "\\`\\(?:b4j\\|b4paper\\)\\'")))
 (output-dvi
  (string-match "dvi"
		(TeX-output-extension)))
 (output-pdf
  (string-match "pdf"
		(TeX-output-extension)))
 (output-html
  (string-match "html"
		(TeX-output-extension)))
 (has-no-display-manager
  (not
   (display-graphic-p)))
 (style-pstricks
  (TeX-match-style "^pstricks$\\|^pst-\\|^psfrag$"))
 (engine-omega
  (eq TeX-engine 'omega))
 (engine-xetex
  (eq TeX-engine 'xetex))
 (mode-io-correlate TeX-source-correlate-mode)
 (paper-landscape
  (and
   (fboundp 'LaTeX-match-class-option)
   (LaTeX-match-class-option "\\`landscape\\'")))
 (paper-portrait
  (not
   (and
    (fboundp 'LaTeX-match-class-option)
    (LaTeX-match-class-option "\\`landscape\\'"))))
 (paper-a4
  (let
      ((regex "\\`\\(?:a4paper\\|a4dutch\\|a4wide\\|sem-a4\\)\\'"))
    (or
     (TeX-match-style regex)
     (and
      (fboundp 'LaTeX-match-class-option)
      (LaTeX-match-class-option regex)))))
 (paper-a5
  (let
      ((regex "\\`\\(?:a5paper\\|a5comb\\)\\'"))
    (or
     (TeX-match-style regex)
     (and
      (fboundp 'LaTeX-match-class-option)
      (LaTeX-match-class-option regex)))))
 (paper-b5
  (and
   (fboundp 'LaTeX-match-class-option)
   (LaTeX-match-class-option "\\`b5paper\\'")))
 (paper-letter
  (and
   (fboundp 'LaTeX-match-class-option)
   (LaTeX-match-class-option "\\`letterpaper\\'")))
 (paper-legal
  (and
   (fboundp 'LaTeX-match-class-option)
   (LaTeX-match-class-option "\\`legalpaper\\'")))
 (paper-executive
  (and
   (fboundp 'LaTeX-match-class-option)
   (LaTeX-match-class-option "\\`executivepaper\\'"))))

Documentation

Alist of built-in predicates for viewer selection and invocation.

See the doc string of TeX-view-predicate-list for a short description of each predicate.

Source Code

;; Defined in ~/.emacs.d/elpa/auctex-14.1.2/tex.el
(defvar TeX-view-predicate-list-builtin
  '((output-dvi
     (string-match "dvi" (TeX-output-extension)))
    (output-pdf
     (string-match "pdf" (TeX-output-extension)))
    (output-html
     (string-match "html" (TeX-output-extension)))
    (has-no-display-manager
     (not (display-graphic-p)))
    (style-pstricks
     (TeX-match-style "^pstricks$\\|^pst-\\|^psfrag$"))
    (engine-omega
     (eq TeX-engine 'omega))
    (engine-xetex
     (eq TeX-engine 'xetex))
    (mode-io-correlate
     TeX-source-correlate-mode)
    (paper-landscape
     (and (fboundp 'LaTeX-match-class-option)
          (LaTeX-match-class-option "\\`landscape\\'")))
    (paper-portrait
     (not (and (fboundp 'LaTeX-match-class-option)
               (LaTeX-match-class-option "\\`landscape\\'"))))
    (paper-a4
     (let ((regex "\\`\\(?:a4paper\\|a4dutch\\|a4wide\\|sem-a4\\)\\'"))
       (or (TeX-match-style regex)
           (and (fboundp 'LaTeX-match-class-option)
                (LaTeX-match-class-option regex)))))
    (paper-a5
     (let ((regex "\\`\\(?:a5paper\\|a5comb\\)\\'"))
       (or (TeX-match-style regex)
           (and (fboundp 'LaTeX-match-class-option)
                (LaTeX-match-class-option regex)))))
    (paper-b5
     (and (fboundp 'LaTeX-match-class-option)
          (LaTeX-match-class-option "\\`b5paper\\'")))
    (paper-letter
     (and (fboundp 'LaTeX-match-class-option)
          (LaTeX-match-class-option "\\`letterpaper\\'")))
    (paper-legal
     (and (fboundp 'LaTeX-match-class-option)
          (LaTeX-match-class-option "\\`legalpaper\\'")))
    (paper-executive
     (and (fboundp 'LaTeX-match-class-option)
          (LaTeX-match-class-option "\\`executivepaper\\'"))))
  "Alist of built-in predicates for viewer selection and invocation.
See the doc string of `TeX-view-predicate-list' for a short
description of each predicate.")