Variable: preview-gs-command
preview-gs-command is a customizable variable defined in preview.el.
Value
nil
Documentation
How to call gs for conversion from EPS. See also preview-gs-options.
Source Code
;; Defined in ~/.emacs.d/elpa/auctex-14.1.2/preview.el
(defcustom preview-gs-command
(or ;; The GS wrapper coming with TeX Live
(executable-find "rungs")
;; The MikTeX builtin GS
(let ((gs (executable-find "mgs")))
;; Check if mgs is functional for external non-MikTeX apps.
;; See http://blog.miktex.org/post/2005/04/07/Starting-mgsexe-at-the-DOS-Prompt.aspx
(when (and gs (= 0 (shell-command (concat (shell-quote-argument gs) " -q -dNODISPLAY -c quit"))))
gs))
;; Windows ghostscript
(executable-find "GSWIN32C.EXE")
;; standard GhostScript
(executable-find "gs"))
"How to call gs for conversion from EPS. See also `preview-gs-options'."
:group 'preview-gs
:type 'string)