1 | |
---|
2 | What's new in GNU enscript |
---|
3 | -------------------------- |
---|
4 | |
---|
5 | Noteworthy changes in enscript version 1.6.1: |
---|
6 | |
---|
7 | * new options: |
---|
8 | |
---|
9 | - --ps-level=LEVEL, PostScriptLevel |
---|
10 | set the PostScript language level that |
---|
11 | enscript should use for its output |
---|
12 | - --rotate-even-pages |
---|
13 | Rotate each even-numbered page 180 degrees. |
---|
14 | |
---|
15 | * misc |
---|
16 | |
---|
17 | - updated C, C++, and Objective-C highlighting |
---|
18 | - set the states to process the stdin if argument "-" is given |
---|
19 | - bug and portability fixes |
---|
20 | |
---|
21 | |
---|
22 | Noteworthy changes in enscript version 1.6: |
---|
23 | |
---|
24 | * new options: |
---|
25 | |
---|
26 | - StatesPath define absolute path for the states program |
---|
27 | - GeneratePageSize specify wheter the PageSize page device |
---|
28 | setting is generated to the output |
---|
29 | - -C, --line-numbers option takes an optional argument to specify |
---|
30 | the number of the first line in the input |
---|
31 | - -W, --language=LANG set ouput language to LANG |
---|
32 | - --h-column-height=HEIGHT |
---|
33 | set the horizontal column height to HEIGHT |
---|
34 | PostScript points |
---|
35 | - --mark-wrapped-lines[=STYLE], MarkWrappedLines |
---|
36 | mark wrapped lines in the printout with STYLE |
---|
37 | - --margins=LEFT:RIGHT:TOP:BOTTOM |
---|
38 | adjust page marginals |
---|
39 | - --nup-xpad=NUM set the page x-padding of N-up printing to NUM |
---|
40 | - --nup-ypad=NUM set the page y-padding of N-up printing to NUM |
---|
41 | - --word-wrap wrap long lines from word boundaries |
---|
42 | |
---|
43 | * new highlighting rules: |
---|
44 | |
---|
45 | - ada Ada95 programming language |
---|
46 | - asm assembler listings |
---|
47 | - awk awk scripting language |
---|
48 | - delphi Delphi programming language |
---|
49 | - diff diff files |
---|
50 | - diffu unified diff files |
---|
51 | - elisp Emacs Lisp |
---|
52 | - fortran Fortran77 programming language |
---|
53 | - haskell Haskell programming language |
---|
54 | - idl CORBA interface definition language |
---|
55 | - java Java programming language |
---|
56 | - javascript JavaScript language |
---|
57 | - pascal Pascal programming language |
---|
58 | - perl Perl programming language |
---|
59 | - postscript PostScript |
---|
60 | - python Python programming language |
---|
61 | - sh Bourne shell scripts |
---|
62 | - sql Sybase 11 SQL |
---|
63 | - vba Visual Basic (for Applications) |
---|
64 | |
---|
65 | - improved C, C++ and Objective-C highlighting |
---|
66 | |
---|
67 | * new special escapes: |
---|
68 | |
---|
69 | - ^@bggray{GRAY} change text's background color |
---|
70 | - ^@escape{CODE} changes the escape character |
---|
71 | |
---|
72 | * new encodings: |
---|
73 | |
---|
74 | - 88594 ISO-8859-4 (ISO Latin4) |
---|
75 | - 88597 ISO-8859-7 (ISO Greek) |
---|
76 | |
---|
77 | * misc: |
---|
78 | |
---|
79 | - interpret formatting escapes from the page header strings |
---|
80 | - page header string can contain left, center and right aligned |
---|
81 | fields |
---|
82 | - support for HTML, RTF (Rich Text Format) and overstrike output |
---|
83 | languages |
---|
84 | - fixed tabulator character handling with variable width fonts |
---|
85 | - added support for regular expression character syntax tables in |
---|
86 | the states program |
---|
87 | - generates the PageSize page device setting to the PostScript |
---|
88 | output -- this should make the printer to select the correct paper |
---|
89 | tray automatically |
---|
90 | - replaced all stdarg functions with macros |
---|
91 | - fixed N-up printing to cooperate with the page margins |
---|
92 | - renamed the ISO-8859-* input encoding names to conform their |
---|
93 | ISO names |
---|
94 | |
---|
95 | Noteworthy changes in enscript version 1.5: |
---|
96 | |
---|
97 | * new options: |
---|
98 | |
---|
99 | -A ALIGN, --file-align=ALIGN |
---|
100 | align separate input files to even ALIGN page |
---|
101 | count |
---|
102 | -E, --pretty-print pretty print program source files with states |
---|
103 | -U NUM, --nup=NUM print NUM logical pages on each output page |
---|
104 | (N-up printing) |
---|
105 | --help-pretty-print describe all supported --pretty-print |
---|
106 | languages and file formats |
---|
107 | --slice print vertical slices of input files |
---|
108 | --toc print table of contents |
---|
109 | |
---|
110 | * config file options: |
---|
111 | |
---|
112 | - TOCFormat set the table-of-contents line format |
---|
113 | - NoJobHeaderSwitch set the spooler switch which disables job |
---|
114 | header (-h) |
---|
115 | - OutputFirstLine set output's fist line |
---|
116 | - StatesColorModel define color model for states |
---|
117 | - StatesConfigFile set states' config file |
---|
118 | - StatesHighlightLevel |
---|
119 | define highlight level for states |
---|
120 | |
---|
121 | * new utilities: |
---|
122 | |
---|
123 | - sliceprint print documents with long lines |
---|
124 | - states awk like state machine to highlight program listings |
---|
125 | - many2html convert files to HTML. Program supports all file |
---|
126 | formats which can be pretty-printed with enscript. |
---|
127 | |
---|
128 | * new encodings: |
---|
129 | |
---|
130 | - koi8 Adobe Standard Cyrillic Font KOI8 charset |
---|
131 | - 88595 ISO-8859-5 (ISO Cyrillic) |
---|
132 | - asciifise 7 bit ascii with fi and se encodings for {|}[\] |
---|
133 | (old asciiscands) |
---|
134 | - asciidkno 7 bit ascii with dk and no encodings for {|}[\] |
---|
135 | |
---|
136 | * misc |
---|
137 | |
---|
138 | - ^@color{r g b} special escape |
---|
139 | - if input file (all input files) does not exist, enscript doesn't |
---|
140 | generate any output |
---|
141 | - -E, --pretty-print highlighting for: C, ChangeLog, C++, mail, |
---|
142 | Makefile, nroff output, Objective-C, Scheme, States, Synopsys, |
---|
143 | Tcl, Verilog, VHDL |
---|
144 | |
---|
145 | |
---|
146 | Noteworthy changes in enscript version 1.4: |
---|
147 | |
---|
148 | * new and changed options: |
---|
149 | |
---|
150 | -a, --pages select pages to print |
---|
151 | -e, --escapes option takes an optional argument which |
---|
152 | changes the escape character |
---|
153 | -h, --no-job-header supress the job header page |
---|
154 | --title sets the name of stdin |
---|
155 | -I, --filter set input filter |
---|
156 | -j, --borders print borders around columns |
---|
157 | -k, --page-prefeed enable page prefeed |
---|
158 | -K, --no-page-prefeed disable page prefeed |
---|
159 | --highlight-bars enable highlight bars |
---|
160 | --highlight-bar-gray set the gray-level for highlight bars |
---|
161 | --printer-options pass extra options to the printer command |
---|
162 | --ul-style specify how the underlay strings are printed |
---|
163 | |
---|
164 | - renamed option `--page-header' to `--header' |
---|
165 | - renamed option `--pass-through-ps-files' to `--pass-through' |
---|
166 | |
---|
167 | * config file options: |
---|
168 | |
---|
169 | - AcceptCompositeCharacters |
---|
170 | - AppendCtrlD |
---|
171 | - FormFeedType what to do when a formfeed character is |
---|
172 | encountered from input |
---|
173 | - EscapeChar specify the escape character |
---|
174 | - UnderlayStyle how underlays are printed: outline / filled |
---|
175 | |
---|
176 | * new fancy headers: mp, frame |
---|
177 | |
---|
178 | * escapes: |
---|
179 | |
---|
180 | - font works now over page boundaries |
---|
181 | - ps include raw PostScript code to the output |
---|
182 | - shade new escape to highlight text regions |
---|
183 | - setfilename |
---|
184 | - setpagenumber |
---|
185 | - newpage |
---|
186 | |
---|
187 | * new encodings: |
---|
188 | - hp8 HP Roman-8 |
---|
189 | |
---|
190 | * internationalization support with the GNU gettext |
---|
191 | |
---|
192 | * changed to use GNU Automake |
---|
193 | |
---|
194 | * program renamed from genscript to enscript |
---|
195 | |
---|
196 | * new utility scripts: |
---|
197 | - diffpp - pretty-print diff outputs |
---|
198 | |
---|
199 | |
---|
200 | Noteworthy changes in enscript version 1.3: |
---|
201 | |
---|
202 | * new encodings: |
---|
203 | - 88593 ISO-8859-3 |
---|
204 | - pslatin1 PostScript interpreter's ISOLatin1Encoding |
---|
205 | |
---|
206 | * new fancy header: edd, a2ps |
---|
207 | |
---|
208 | * option changes: |
---|
209 | - option -Z, --pass-through-ps-files no longer wraps PS document |
---|
210 | inside enscript prolog and epilog. |
---|
211 | |
---|
212 | - renamed some options to conform the GNU coding standards: |
---|
213 | --output-file => --output |
---|
214 | --queue => --printer |
---|
215 | --tab-size => --tabsize |
---|
216 | |
---|
217 | - new command line / config file options: |
---|
218 | -z, --no-formfeed |
---|
219 | --ul-angle UnderlayAngle |
---|
220 | --ul-position UnderlayPosition |
---|
221 | --non-printable-format NonPrintableFormat |
---|
222 | |
---|
223 | * added some customization options to header description files: |
---|
224 | %Format format and define string constants according |
---|
225 | to format string |
---|
226 | %HeaderHeight explicit set the fancy header height |
---|
227 | %FooterHeight allocate space for the page footer |
---|
228 | |
---|
229 | Note! If you have defined your own fancy header, it will probably |
---|
230 | not work on enscript-1.3 without modifications. Following constants |
---|
231 | are removed from the enscript prolog so you must define them with |
---|
232 | the `%Format' comment: |
---|
233 | |
---|
234 | usadatestr = %Format: usadatestr %W |
---|
235 | eurdatestr = %Format: eurdatestr %E |
---|
236 | findatestr = %Format: findatestr %F |
---|
237 | timestr = %Format: timestr %C |
---|
238 | fmodstr = %Format: fmodstr $D{%a %b %e %T %Y} |
---|
239 | |
---|
240 | Check `lib/*.hdr' to see them in action. |
---|
241 | |
---|
242 | * the library directory has changed from `<prefix>/lib/enscript' to |
---|
243 | `<prefix>/share/enscript' |
---|
244 | |
---|
245 | * new Makefile targets: check, uninstall |
---|
246 | |
---|
247 | * enscript must no longer be installed before it can be tested; you |
---|
248 | can print files directly after you have compiled enscript. |
---|
249 | |
---|
250 | * support for Windows95/NT via the Win32 api |
---|