[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

22. Editing PostScript Programs

This mode is used for editing PostScript programs. It is automatically invoked for buffers visiting any file ending with an extension of `.cps' or `.ps'.

C-c C-c will send the contents of the buffer to the NeWS server using psh(1). C-c | sends the current region. C-c ! starts an interactive psh(1) window which will be used for subsequent C-c C-c or C-c | commands.

In this mode, TAB and M-C-\ attempt to indent code based on the position of {}, [], and begin/end pairs. The variable ps-indent-level controls the amount of indentation used inside arrays and begin/end pairs.

The following key mappings are defined:

tab ps-tab
C-c << Prefix Command >>
C-i ps-tab
C-c ! ps-shell
C-c | ps-execute-region
C-c C-c ps-execute-buffer

M-x postscript-mode calls the value of the variable postscript-mode-hook with no args, if that value is non-nil.

To configure this package please view the source code. This can be done by typing C-x 4 l postscript.

22.1 About PostScript  


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

22.1 About PostScript

PostScript is a programming language optimized for printing graphics and text (whether on paper, film, or CRT is immaterial). In the jargon of the day, it is a page description language. It was introduced by Adobe in 1985 and first (to my knowledge) appeared in the Apple LaserWriter. The main purpose of PostScript was to provide a convenient language in which to describe images in a device independent manner. This device independence means that the image is described without reference to any specific device features (e.g. printer resolution) so that the same description could be used on any PostScript printer (say, a LaserWriter or a Linotron) without modification.


[ << ] [ >> ]           [Top] [Contents] [Index] [ ? ]

This document was generated by XEmacs shared group account on December, 19 2009 using texi2html 1.65.