1 rizwank 1.1
2 What's new in GNU enscript
3 --------------------------
4
5 Noteworthy changes in enscript version 1.6.3:
6
7 * Changes in the highlighting / pretty printing
8
9 - The `States*' config file options have changed. The new options
10 are:
11 - StatesBinary specify an absolute path for `states'
12 - StatesColor use colors in the highlighting outputs?
13 - StatesConfigFile config file name (enscript.st)
14 - StatesHighlightStyle highlighting style
15 - StatesPath path from which the states is looking
16 up the state definition files (.st)
17
18 - Support for user defined local highlighting definitions and styles.
19 - new option `--style=STYLE' to specify the highlighting style
20 - Verbose highlighting for the C, C++, and Objective-C languages.
21 In the verbose highlighting, some mathematical constructs (&&, ||,
22 rizwank 1.1 !=, etc.) are replaced with the corresponding mathematical symbols
23 (logical and, logical or, not equal, etc.). The mode can be
24 enabled with option `--style=emacs_verbose'.
25 - renamed `--pretty-print' and `--help-pretty-print' options to
26 `--highlight' and `--help-highlight'
27
28 * states:
29
30 - Support for state inheritance.
31
32 * new highlighting rules:
33
34 - bash, csh, ksh, tcsh, zsh
35 Unix shells
36 - m4 m4 macro preprocessor
37 - skill Cadence Design Systems lispy language
38 - vrml Virtual Reality Modeling Language (VRML97)
39 - rfc fix broken page breaks in RFCs and in Internet Drafts
40 - inf GUI INF Script language
41 - matlab Matlab files
42 - outline Emacs' outline text
43 rizwank 1.1 - tex TeX/LaTeX source files.
44 - diffs side diff files
45 - fortran_pp fortran 77 with preprocessor
46 - wmlscript WMLScript language
47 - maple Maple programming language
48 - nested support for different nested highlighting rules
49
50 - new output language `ansi' to print color outputs on color xterm,
51 etc.
52
53 * new encodings:
54
55 - 88599 ISO-8859-9 (ISO Latin5)
56 - 885910 ISO-8859-10 (ISO Latin6)
57
58 * new options:
59
60 - -3, -4, -5, -6, -7, -8, -9 select 3-9 columns
61 - --nup-columnwise layout pages in the N-up printing
62 columnwise
63 - --swap-even-page-margins swap left and right side margins for
64 rizwank 1.1 even numbered pages
65 - --extended-return-values encode more status information in the
66 return value of the program
67 - --footer=STRING specify the page footer string
68 - --continuous-page-numbers count page numbers across input files
69 - -W, --option=APP,OPTION pass option OPTION to helper
70 application APP
71
72 * misc:
73
74 - It is possible to specify the font encoding in the ^@font{}
75 escape. But, it allows only `ps' or the enscript's global input
76 encoding values. For example, ^@font{Symbol@7:ps}b^@font{default}
77 prints the beta symbol
78 - New escape ^@bgcolor{} to change the text background color.
79 - New fancy headers `squeeze' and `enscript-color'.
80 - Minor fixes in the 88593 and 88594 encodings.
81 - New highlighting style `msvc'.
82 - Support for the matrix printers. Try `enscript -fMatrix10' ;-)
83 - Fixed some buffer overrun bugs. Now all buffer space for unknown
84 items (filenames, user-supplied tokens, etc.) is allocated
85 rizwank 1.1 dynamically.
86 - Removed the `--list-options' option. It was an old debugging
87 option. I can remember when I have used or updated it.
88 - Renamed `-W' to `-w'.
89
90
91 Noteworthy changes in enscript version 1.6.1:
92
93 * new options:
94
95 - --ps-level=LEVEL, PostScriptLevel
96 set the PostScript language level that
97 enscript should use for its output
98 - --rotate-even-pages
99 Rotate each even-numbered page 180 degrees.
100
101 * misc
102
103 - updated C, C++, and Objective-C highlighting
104 - set the states to process the stdin if argument "-" is given
105 - bug and portability fixes
106 rizwank 1.1
107
108 Noteworthy changes in enscript version 1.6:
109
110 * new options:
111
112 - StatesPath define absolute path for the states program
113 - GeneratePageSize specify wheter the PageSize page device
114 setting is generated to the output
115 - -C, --line-numbers option takes an optional argument to specify
116 the number of the first line in the input
117 - -W, --language=LANG set ouput language to LANG
118 - --h-column-height=HEIGHT
119 set the horizontal column height to HEIGHT
120 PostScript points
121 - --mark-wrapped-lines[=STYLE], MarkWrappedLines
122 mark wrapped lines in the printout with STYLE
123 - --margins=LEFT:RIGHT:TOP:BOTTOM
124 adjust page marginals
125 - --nup-xpad=NUM set the page x-padding of N-up printing to NUM
126 - --nup-ypad=NUM set the page y-padding of N-up printing to NUM
127 rizwank 1.1 - --word-wrap wrap long lines from word boundaries
128
129 * new highlighting rules:
130
131 - ada Ada95 programming language
132 - asm assembler listings
133 - awk awk scripting language
134 - delphi Delphi programming language
135 - diff diff files
136 - diffu unified diff files
137 - elisp Emacs Lisp
138 - fortran Fortran77 programming language
139 - haskell Haskell programming language
140 - idl CORBA interface definition language
141 - java Java programming language
142 - javascript JavaScript language
143 - pascal Pascal programming language
144 - perl Perl programming language
145 - postscript PostScript
146 - python Python programming language
147 - sh Bourne shell scripts
148 rizwank 1.1 - sql Sybase 11 SQL
149 - vba Visual Basic (for Applications)
150
151 - improved C, C++ and Objective-C highlighting
152
153 * new special escapes:
154
155 - ^@bggray{GRAY} change text's background color
156 - ^@escape{CODE} changes the escape character
157
158 * new encodings:
159
160 - 88594 ISO-8859-4 (ISO Latin4)
161 - 88597 ISO-8859-7 (ISO Greek)
162
163 * misc:
164
165 - interpret formatting escapes from the page header strings
166 - page header string can contain left, center and right aligned
167 fields
168 - support for HTML, RTF (Rich Text Format) and overstrike output
169 rizwank 1.1 languages
170 - fixed tabulator character handling with variable width fonts
171 - added support for regular expression character syntax tables in
172 the states program
173 - generates the PageSize page device setting to the PostScript
174 output -- this should make the printer to select the correct paper
175 tray automatically
176 - replaced all stdarg functions with macros
177 - fixed N-up printing to cooperate with the page margins
178 - renamed the ISO-8859-* input encoding names to conform their
179 ISO names
180
181 Noteworthy changes in enscript version 1.5:
182
183 * new options:
184
185 -A ALIGN, --file-align=ALIGN
186 align separate input files to even ALIGN page
187 count
188 -E, --pretty-print pretty print program source files with states
189 -U NUM, --nup=NUM print NUM logical pages on each output page
190 rizwank 1.1 (N-up printing)
191 --help-pretty-print describe all supported --pretty-print
192 languages and file formats
193 --slice print vertical slices of input files
194 --toc print table of contents
195
196 * config file options:
197
198 - TOCFormat set the table-of-contents line format
199 - NoJobHeaderSwitch set the spooler switch which disables job
200 header (-h)
201 - OutputFirstLine set output's fist line
202 - StatesColorModel define color model for states
203 - StatesConfigFile set states' config file
204 - StatesHighlightLevel
205 define highlight level for states
206
207 * new utilities:
208
209 - sliceprint print documents with long lines
210 - states awk like state machine to highlight program listings
211 rizwank 1.1 - many2html convert files to HTML. Program supports all file
212 formats which can be pretty-printed with enscript.
213
214 * new encodings:
215
216 - koi8 Adobe Standard Cyrillic Font KOI8 charset
217 - 88595 ISO-8859-5 (ISO Cyrillic)
218 - asciifise 7 bit ascii with fi and se encodings for {|}[\]
219 (old asciiscands)
220 - asciidkno 7 bit ascii with dk and no encodings for {|}[\]
221
222 * misc
223
224 - ^@color{r g b} special escape
225 - if input file (all input files) does not exist, enscript doesn't
226 generate any output
227 - -E, --pretty-print highlighting for: C, ChangeLog, C++, mail,
228 Makefile, nroff output, Objective-C, Scheme, States, Synopsys,
229 Tcl, Verilog, VHDL
230
231
232 rizwank 1.1 Noteworthy changes in enscript version 1.4:
233
234 * new and changed options:
235
236 -a, --pages select pages to print
237 -e, --escapes option takes an optional argument which
238 changes the escape character
239 -h, --no-job-header supress the job header page
240 --title sets the name of stdin
241 -I, --filter set input filter
242 -j, --borders print borders around columns
243 -k, --page-prefeed enable page prefeed
244 -K, --no-page-prefeed disable page prefeed
245 --highlight-bars enable highlight bars
246 --highlight-bar-gray set the gray-level for highlight bars
247 --printer-options pass extra options to the printer command
248 --ul-style specify how the underlay strings are printed
249
250 - renamed option `--page-header' to `--header'
251 - renamed option `--pass-through-ps-files' to `--pass-through'
252
253 rizwank 1.1 * config file options:
254
255 - AcceptCompositeCharacters
256 - AppendCtrlD
257 - FormFeedType what to do when a formfeed character is
258 encountered from input
259 - EscapeChar specify the escape character
260 - UnderlayStyle how underlays are printed: outline / filled
261
262 * new fancy headers: mp, frame
263
264 * escapes:
265
266 - font works now over page boundaries
267 - ps include raw PostScript code to the output
268 - shade new escape to highlight text regions
269 - setfilename
270 - setpagenumber
271 - newpage
272
273 * new encodings:
274 rizwank 1.1 - hp8 HP Roman-8
275
276 * internationalization support with the GNU gettext
277
278 * changed to use GNU Automake
279
280 * program renamed from genscript to enscript
281
282 * new utility scripts:
283 - diffpp - pretty-print diff outputs
284
285
286 Noteworthy changes in enscript version 1.3:
287
288 * new encodings:
289 - 88593 ISO-8859-3
290 - pslatin1 PostScript interpreter's ISOLatin1Encoding
291
292 * new fancy header: edd, a2ps
293
294 * option changes:
295 rizwank 1.1 - option -Z, --pass-through-ps-files no longer wraps PS document
296 inside enscript prolog and epilog.
297
298 - renamed some options to conform the GNU coding standards:
299 --output-file => --output
300 --queue => --printer
301 --tab-size => --tabsize
302
303 - new command line / config file options:
304 -z, --no-formfeed
305 --ul-angle UnderlayAngle
306 --ul-position UnderlayPosition
307 --non-printable-format NonPrintableFormat
308
309 * added some customization options to header description files:
310 %Format format and define string constants according
311 to format string
312 %HeaderHeight explicit set the fancy header height
313 %FooterHeight allocate space for the page footer
314
315 Note! If you have defined your own fancy header, it will probably
316 rizwank 1.1 not work on enscript-1.3 without modifications. Following constants
317 are removed from the enscript prolog so you must define them with
318 the `%Format' comment:
319
320 usadatestr = %Format: usadatestr %W
321 eurdatestr = %Format: eurdatestr %E
322 findatestr = %Format: findatestr %F
323 timestr = %Format: timestr %C
324 fmodstr = %Format: fmodstr $D{%a %b %e %T %Y}
325
326 Check `lib/*.hdr' to see them in action.
327
328 * the library directory has changed from `<prefix>/lib/enscript' to
329 `<prefix>/share/enscript'
330
331 * new Makefile targets: check, uninstall
332
333 * enscript must no longer be installed before it can be tested; you
334 can print files directly after you have compiled enscript.
335
336 * support for Windows95/NT via the Win32 api
|