Function: ebnf-eps-region
ebnf-eps-region is an autoloaded, interactive and byte-compiled
function defined in ebnf2ps.el.gz.
Signature
(ebnf-eps-region FROM TO)
Documentation
Generate a PostScript syntactic chart image of the region in an EPS file.
Generate an EPS file for each production in the region. The EPS file name has the following form:
<PREFIX><PRODUCTION>.eps
<PREFIX> is given by variable ebnf-eps-prefix.
The default value is "ebnf--".
<PRODUCTION> is the production name.
Some characters in the production file name are replaced to
produce a valid file name. For example, the production name
"A/B + C" is modified to produce "A_B_+_C", and the EPS
file name used in this case will be "ebnf--A_B_+_C.eps".
WARNING: This function does *NOT* ask any confirmation to override existing
files.
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/progmodes/ebnf2ps.el.gz
;;;###autoload
(defun ebnf-eps-region (from to)
"Generate a PostScript syntactic chart image of the region in an EPS file.
Generate an EPS file for each production in the region.
The EPS file name has the following form:
<PREFIX><PRODUCTION>.eps
<PREFIX> is given by variable `ebnf-eps-prefix'.
The default value is \"ebnf--\".
<PRODUCTION> is the production name.
Some characters in the production file name are replaced to
produce a valid file name. For example, the production name
\"A/B + C\" is modified to produce \"A_B_+_C\", and the EPS
file name used in this case will be \"ebnf--A_B_+_C.eps\".
WARNING: This function does *NOT* ask any confirmation to override existing
files."
(interactive "r")
(ebnf-log-header "(ebnf-eps-region %S %S)" from to)
(let ((ebnf-eps-executing t))
(ebnf-generate-region from to 'ebnf-generate-eps)))