Function: preview-start-dvips
preview-start-dvips is a byte-compiled function defined in preview.el.
Signature
(preview-start-dvips &optional FAST)
Documentation
Start a DviPS process.
If FAST is set, do a fast conversion.
Source Code
;; Defined in ~/.emacs.d/elpa/auctex-14.1.2/preview.el
(defun preview-start-dvips (&optional fast)
"Start a DviPS process.
If FAST is set, do a fast conversion."
(let* (tempdir
(command (with-current-buffer TeX-command-buffer
(prog1
(TeX-command-expand (if fast
preview-fast-dvips-command
preview-dvips-command))
(setq tempdir TeX-active-tempdir)))))
(setq preview-ps-file (and fast
(preview-make-filename
(preview-make-filename
"preview.ps" tempdir)
tempdir)))
(preview-start-process "Preview-DviPS" command)))