Function: preview-gs-dsc-cvx

preview-gs-dsc-cvx is a byte-compiled function defined in preview.el.

Signature

(preview-gs-dsc-cvx PAGE DSC)

Documentation

Generate PostScript code accessing PAGE in the DSC object.

The returned PostScript code will need the file on top of the stack, and will replace it with an executable object corresponding to the wanted page.

Source Code

;; Defined in ~/.emacs.d/elpa/auctex-14.1.2/preview.el
(defun preview-gs-dsc-cvx (page dsc)
  "Generate PostScript code accessing PAGE in the DSC object.
The returned PostScript code will need the file on
top of the stack, and will replace it with an executable
object corresponding to the wanted page."
  (let ((curpage (aref dsc page)))
    (format "dup %d setfileposition %d()/SubFileDecode filter cvx"
            (1- (car curpage)) (nth 1 curpage))))