comparison lisp/progmodes/ebnf2ps.el @ 75624:287a9e827176

Doc fixes
author Vinicius Jose Latorre <viniciusjl@ig.com.br>
date Sat, 03 Feb 2007 00:18:24 +0000
parents c33174e3988a
children 4c69a90220e3 52a7f3f50b89
comparison
equal deleted inserted replaced
75623:33cf1027eb42 75624:287a9e827176
98 ;; spool - The PostScript image is saved temporarily in an Emacs buffer. 98 ;; spool - The PostScript image is saved temporarily in an Emacs buffer.
99 ;; Many images may be spooled locally before printing them. To 99 ;; Many images may be spooled locally before printing them. To
100 ;; send the spooled images to the printer, use the command 100 ;; send the spooled images to the printer, use the command
101 ;; `ebnf-despool'. 101 ;; `ebnf-despool'.
102 ;; 102 ;;
103 ;; eps - The PostScript image is immediately sent to a EPS file. 103 ;; eps - The PostScript image is immediately sent to an EPS file.
104 ;; 104 ;;
105 ;; The spooling mechanism is the same as used by ps-print and was designed for 105 ;; The spooling mechanism is the same as used by ps-print and was designed for
106 ;; printing lots of small files to save paper that would otherwise be wasted on 106 ;; printing lots of small files to save paper that would otherwise be wasted on
107 ;; banner pages, and to make it easier to find your output at the printer (it's 107 ;; banner pages, and to make it easier to find your output at the printer (it's
108 ;; easier to pick up one 50-page printout than to find 50 single-page 108 ;; easier to pick up one 50-page printout than to find 50 single-page
805 ;; 805 ;;
806 ;; These commands help to put together a lot of variable settings in a group 806 ;; These commands help to put together a lot of variable settings in a group
807 ;; and name this group. So when you wish to apply these settings it's only 807 ;; and name this group. So when you wish to apply these settings it's only
808 ;; needed to give the name. 808 ;; needed to give the name.
809 ;; 809 ;;
810 ;; There is also a notion of simple inheritance of style; so, if you declare 810 ;; There is also a notion of simple inheritance of style: if you declare that
811 ;; that a style A inherits from a style B, all settings of B is applied first 811 ;; style A inherits from style B, all settings of B are applied first and then
812 ;; and then the settings of A is applied. This is useful when you wish to 812 ;; the settings of A are applied. This is useful when you wish to modify some
813 ;; modify some aspects of an existing style, but at same time wish to keep it 813 ;; aspects of an existing style, but at same time wish to keep it unmodified.
814 ;; unmodified.
815 ;; 814 ;;
816 ;; See documentation for `ebnf-style-database'. 815 ;; See documentation for `ebnf-style-database'.
817 ;; 816 ;;
818 ;; 817 ;;
819 ;; Layout 818 ;; Layout
1092 ;; 1091 ;;
1093 ;; 1092 ;;
1094 ;; Acknowledgements 1093 ;; Acknowledgements
1095 ;; ---------------- 1094 ;; ----------------
1096 ;; 1095 ;;
1096 ;; Thanks to Eli Zaretskii <eliz@gnu.org> for some doc fixes.
1097 ;;
1097 ;; Thanks to Drew Adams <drew.adams@oracle.com> for suggestions: 1098 ;; Thanks to Drew Adams <drew.adams@oracle.com> for suggestions:
1098 ;; - `ebnf-arrow-extra-width', `ebnf-arrow-scale', 1099 ;; - `ebnf-arrow-extra-width', `ebnf-arrow-scale',
1099 ;; `ebnf-production-name-p', `ebnf-stop-on-error', 1100 ;; `ebnf-production-name-p', `ebnf-stop-on-error',
1100 ;; `ebnf-file-suffix-regexp'and `ebnf-special-show-delimiter' variables. 1101 ;; `ebnf-file-suffix-regexp'and `ebnf-special-show-delimiter' variables.
1101 ;; - `ebnf-delete-style', `ebnf-eps-file' and `ebnf-eps-directory' 1102 ;; - `ebnf-delete-style', `ebnf-eps-file' and `ebnf-eps-directory'
2180 (ebnf-file 'ebnf-eps-buffer file do-not-kill-buffer-when-done)) 2181 (ebnf-file 'ebnf-eps-buffer file do-not-kill-buffer-when-done))
2181 2182
2182 2183
2183 ;;;###autoload 2184 ;;;###autoload
2184 (defun ebnf-eps-buffer () 2185 (defun ebnf-eps-buffer ()
2185 "Generate a PostScript syntactic chart image of the buffer in a EPS file. 2186 "Generate a PostScript syntactic chart image of the buffer in an EPS file.
2186 2187
2187 Generate an EPS file for each production in the buffer. 2188 Generate an EPS file for each production in the buffer.
2188 The EPS file name has the following form: 2189 The EPS file name has the following form:
2189 2190
2190 <PREFIX><PRODUCTION>.eps 2191 <PREFIX><PRODUCTION>.eps
2204 (ebnf-eps-region (point-min) (point-max))) 2205 (ebnf-eps-region (point-min) (point-max)))
2205 2206
2206 2207
2207 ;;;###autoload 2208 ;;;###autoload
2208 (defun ebnf-eps-region (from to) 2209 (defun ebnf-eps-region (from to)
2209 "Generate a PostScript syntactic chart image of the region in a EPS file. 2210 "Generate a PostScript syntactic chart image of the region in an EPS file.
2210 2211
2211 Generate an EPS file for each production in the region. 2212 Generate an EPS file for each production in the region.
2212 The EPS file name has the following form: 2213 The EPS file name has the following form:
2213 2214
2214 <PREFIX><PRODUCTION>.eps 2215 <PREFIX><PRODUCTION>.eps
4826 (yacc ebnf-yac-parser ebnf-yac-initialize) 4827 (yacc ebnf-yac-parser ebnf-yac-initialize)
4827 (abnf ebnf-abn-parser ebnf-abn-initialize) 4828 (abnf ebnf-abn-parser ebnf-abn-initialize)
4828 (ebnf ebnf-bnf-parser ebnf-bnf-initialize) 4829 (ebnf ebnf-bnf-parser ebnf-bnf-initialize)
4829 (ebnfx ebnf-ebx-parser ebnf-ebx-initialize) 4830 (ebnfx ebnf-ebx-parser ebnf-ebx-initialize)
4830 (dtd ebnf-dtd-parser ebnf-dtd-initialize)) 4831 (dtd ebnf-dtd-parser ebnf-dtd-initialize))
4831 "Alist associating EBNF syntax with a parser and a initializer.") 4832 "Alist associating EBNF syntax with a parser and an initializer.")
4832 4833
4833 4834
4834 (defun ebnf-begin-job () 4835 (defun ebnf-begin-job ()
4835 (ps-printing-region nil nil nil) 4836 (ps-printing-region nil nil nil)
4836 (if ebnf-use-float-format 4837 (if ebnf-use-float-format