Import GNU Enscript version 1.6.4
[enscript.git] / src / ChangeLog
1 1999-09-17  Markku Rossi  <mtr@amme.ssh.fi>
2
3         * main.c (handle_options): New option --footer to set the page
4         footer string.
5         (main): Modified the config file reading to be more user-tolerant.
6         If the config file reading still fails, the enscript prints a
7         verbose error message describing the situation.  Enscript also
8         suggest some workarounds for the problem.  Hopefully this helps
9         users to overcome their problems concerning the installation of
10         the program.
11
12         * psgen.c (dump_ps_page_header): Added support for user supplied
13         footer strings.
14
15         * main.c: Removed the obsolete --list-options option.
16
17 1999-09-13  Markku Rossi  <mtr@amme.ssh.fi>
18
19         * main.c (handle_options): New option --extended-return-values to
20         enable the extended return values.
21
22 1999-09-07  Markku Rossi  <mtr@amme.ssh.fi>
23
24         * psgen.c (process_file): Added an argument `is_toc' to specify
25         whether the file to process is a table of contents file.
26
27 1999-08-26  Markku Rossi  <mtr@amme.ssh.fi>
28
29         * util.c (format_user_string): New escape `$p' for number of pages
30         processed so far.
31
32 1999-07-16  Markku Rossi  <mtr@amme.ssh.fi>
33
34         * Finished the static to dynamic memory buffer conversion.  Now
35         the enscript sources should not have any buffer overrun bugs.
36
37 1999-07-13  Markku Rossi  <mtr@amme.ssh.fi>
38
39         * Converted many static buffers to dynamically allocated buffers.
40         There are still more work in this area.
41
42 1999-07-09  Markku Rossi  <mtr@amme.ssh.fi>
43
44         * main.c: Started to fix some possible buffer overflows.  This
45         needs still more work.
46
47         * util.c: Implemented buffer_clear().
48
49 1999-07-08  Markku Rossi  <mtr@amme.ssh.fi>
50
51         * prt_lpr.c: Fixed to use the new memory buffer routines.
52
53         * util.c: Implemented new dynamic memory buffer handling routines
54         buffer_{{un,}init,alloc,free,append{,_len},ptr,len}().
55
56 1999-07-05  Markku Rossi  <mtr@amme.ssh.fi>
57
58         * main.c (handle_options): New option `--nup-columnwise' to layout
59         pages in the N-up printing columnwise.
60         (handle_options): New option `--swap-even-page-margins' to swap
61         left and right side page marginals for even numbered pages.
62
63 1999-03-29  Markku Rossi  <mtr@amme.ssh.fi>
64
65         * main.c (close_output_file): Check the return value of fclose on
66         a written file, and warn if necessary. (John Bley,
67         jbb6@acpub.duke.edu)
68
69 1999-03-12  Markku Rossi  <mtr@amme.ssh.fi>
70
71         * main.c: Renamed all `pretty-print' options to the corresponding
72         `highlight' ones.
73
74 1999-01-07  Markku Rossi  <mtr@amme.ssh.fi>
75
76         * util.c (parse_font_spec): Cleaned up the font specification
77         parsing.
78
79         * main.c (main): Fixed the non-installation runs to preserve the
80         PATH_SEPARATOR.
81         (handle_options): New options -3, -4, -5, -6, -7, -8, -9 to select
82         3-9 columns.
83
84 1998-12-23  Markku Rossi  <mtr@amme.ssh.fi>
85
86         * main.c (encodings): Added ISO-8859-{9,10} encodings.
87
88         * psgen.c (process_file): Swapped the order in which the line
89         numbers and line shading are printed.  Now the line numbers won't
90         be overwritten by the shading.
91
92 1998-12-07  Markku Rossi  <mtr@amme.ssh.fi>
93
94         * main.c (main): Added a xgettext `no-c-format' string.
95
96 1998-10-29  Markku Rossi  <mtr@ngs.fi>
97
98         * main.c (main): Fixed the `--help-pretty-print' option to work
99         with the new highlighting scheme.
100
101 1998-10-23  Markku Rossi  <mtr@ngs.fi>
102
103         * util.c (read_font_info): Added the `encoding' value to the font
104         info cache key.
105
106         * psgen.c (process_file): New special escape ^@bgcolor{} to set
107         the text background color.
108
109         * main.c: Changed enscript to use the new highlighting style.  All
110         states related options were changed.
111
112 1998-10-16  Markku Rossi  <mtr@ngs.fi>
113
114         * psgen.c: Added support for the user specified input encoding in
115         the ^@font{} escapes.
116
117         * util.c (parse_font_spec): Added support for the encoding
118         specification in the font spec.  All uses changed.
119
120         * gsint.h: New the EncodingRegistry to hold the known input
121         encodings.
122         Made the encodings a global variable.
123
124 1998-09-07  Markku Rossi  <mtr@ngs.fi>
125
126         * main.c (main): Fixed to honor the HOME environment variable.
127
128 1998-06-25  Markku Rossi  <mtr@ngs.fi>
129
130         * main.c (handle_options): New option `--rotate-even-pages' to
131         rotate each even-numbered page 180 degrees.
132         (usage): Moved `--word-wrap' to correct position.
133
134 1998-06-24  Markku Rossi  <mtr@ngs.fi>
135
136         * psgen.c (dump_ps_page_header): Fixed N-up printing in the
137         portrait mode.  It used to work, but I have broke it sometime in
138         the past.  Now it is fixed again.
139
140         * util.c (format_user_string): Fixed a bug from the `$n'
141         formatting.  We do not want to show the leading '/' in the result
142         string.
143
144 1998-06-23  Markku Rossi  <mtr@ngs.fi>
145
146         * main.c (encodings): Fixed a typo where the ISO-8859-7 was called
147         "creek" instead of "greek".
148
149         * psgen.c (dump_ps_header): Fixed to obey the `pslevel' option;
150         generate PostScript level 2 features only if the requested level
151         is 2 or above.
152
153         * main.c (handle_options): New option `--ps-level' to set the PS
154         level that enscript should use.
155         (main): Changed to pass the stdin to states as "-".
156
157         * util.c (read_config): New config file option `PostScriptLevel'
158         to set the PS level that enscript should use.
159
160 1998-06-22  Markku Rossi  <mtr@ngs.fi>
161
162         * psgen.c (dump_ps_page_header): Fixed a NULL-reference bug from
163         the `--header' handling.
164
165 1998-06-17  Markku Rossi  <mtr@ngs.fi>
166
167         * main.c (usage): Added a missing `\n\' sequence in the usage
168         text.
169
170 1998-06-11  Markku Rossi  <mtr@ngs.fi>
171
172         * main.c: Renamed ISO-8859-* encodings.
173
174 1998-05-26  Markku Rossi  <mtr@ngs.fi>
175
176         * util.c (format_user_string): Changed `$%' to format the page
177         number as `2B' in the slicing mode.
178
179         * main.c (main): Added double quotes around all file names in the
180         pipe command strings.  Now we can cooperate with file names with
181         spaces.
182
183 1998-05-18  Markku Rossi  <mtr@ngs.fi>
184
185         * main.c (handle_options): Changed the way how the escape
186         character code can be set.  Now we accept decimals, octals,
187         hexadecimals, and characters as-is.
188
189 1998-03-25  Markku Rossi  <mtr@ngs.fi>
190
191         * main.c: Added ISO-8859/7 (ISO latin7) encoding.
192
193 1998-03-09  Markku Rossi  <mtr@ngs.fi>
194
195         * main.c (handle_options): Option -C, --line-numbers takes now an
196         optional argument that specifies the number of the first line of
197         the input.
198
199 1998-02-23  Markku Rossi  <mtr@ngs.fi>
200
201         * psgen.c (process_file): Implemented horizontal columns.  The
202         option --h-column-height is used to set the column height and to
203         activate the horizontal columns.
204
205 1998-01-14  Markku Rossi  <mtr@ngs.fi>
206
207         * psgen.c (get_next_token): Implemented word wrapping to be used
208         instead of truncating `-c', `--truncate-lines' or character
209         wrapping.
210
211         Cleaned up statistics about truncated and wrapped lines.  Now it
212         obeys `--pages' and it works for both truncated and wrapped lines.
213
214 1998-01-13  Markku Rossi  <mtr@ngs.fi>
215
216         * util.c (is_ungetc): Implemented unlimited ungetc support to the
217         InputStream interface.  This is needed for the word wrap support.
218
219         * main.c: New options --nup-xpad and --nup-ypad to change the page
220         padding in N-up printing.
221         (main): Cleaned up N-up printing.
222
223 1998-01-12  Markku Rossi  <mtr@ngs.fi>
224
225         * gsint.h: Replaced all stdarg functions with corresponding
226         macros.  Changed all calls of `error', `fatal', `cfg_fatal' and
227         `message' to use the new macros.  Now there should be no more
228         errors on HP-SUX.
229
230 1998-01-02  Markku Rossi  <mtr@ngs.fi>
231
232         * main.c (main): Changed to lookup the enscript.st file from
233         enscript_library instead of using the hard-coded `PREFIX/share'
234         directory.  Now it obeys the ENSCRIPT_LIBRARY environment
235         variable.
236
237         * psgen.c (dump_ps_header): Generate PageSize page device setting
238         if it is requested.  This should make the printer to select the
239         correct paper tray automatically.
240
241         * main.c (handle_options): Changed option -l, --lineprinter to set
242         only --lines-per-page=66 and --no-header (removed --portrait and
243         --columns=1).  Now it conforms to Adobe's version.
244
245 1997-11-26  Markku Rossi  <mtr@ngs.fi>
246
247         * util.c (format_user_string): Fixed y2k bugs.
248
249 1997-09-30  Markku Rossi  <mtr@ngs.fi>
250
251         * main.c: Added ISO-8859/4 encoding, thanks to Ricardas Cepas
252         <rch@pub.osf.lt>.
253
254 Tue Sep 16 14:04:05 1997  Markku Rossi  <mtr@ngs.fi>
255
256         * main.c (version): Updated to conform the latest GNU coding
257         standard.
258
259 Thu Aug 28 10:02:20 1997  Markku Rossi  <mtr@ngs.fi>
260
261         * main.c: New option `--margins=LEFT:RIGHT:TOP:BOTTOM' to adjust
262         page marginals.
263
264 Mon Aug 11 09:16:43 1997  Markku Rossi  <mtr@ngs.fi>
265
266         * psgen.c (divert): Changed to use tempnam() instead of tmpnam().
267         (get_next_token): Fixed tabulator character handling with variable
268         width fonts.  Now it really works; the left margins is really
269         pretty.
270
271 Thu Jul  3 14:40:16 1997  Markku Rossi  <mtr@ngs.fi>
272
273         * psgen.c (read_special_escape): Implemented new `escape' special
274         escape to change the escape character.
275
276 Tue Jun 10 10:07:28 1997  Markku Rossi  <mtr@ngs.fi>
277
278         * psgen.c: Optimized the size of the generated PostScript output.
279         (print_line_number): Fixed to print the line number with the
280         default body font, not with the currently active font which might
281         have been selected with font escapes.
282         (process_file): New special escape ^@bggray{} to set the text
283         background color.
284
285 Fri Jun  6 13:29:08 1997  Markku Rossi  <mtr@ngs.fi>
286
287         * psgen.c: Fixed lineskip to work better when changing the font at
288         the beginning of the line.
289
290 Thu Jun  5 15:21:04 1997  Markku Rossi  <mtr@ngs.fi>
291
292         * psgen.c (dump_empty_page): Fixed --file-align option to work
293         even if we cross the page boundary in N-up mode.
294
295 Wed May 28 11:11:17 1997  Markku Rossi  <mtr@ngs.fi>
296
297         * main.c: New option --mark-wrapped-lines[=STYLE],
298         MarkWrappedLines to mark wrapped lines in the printout.
299
300 Thu May 22 10:03:23 1997  Markku Rossi  <mtr@ngs.fi>
301
302         * main.c (main): Coded more information to the return value.
303
304 Wed Mar 19 12:38:39 1997  Markku Rossi  <mtr@ngs.fi>
305
306         * main.c: New option -W, --language to specify the output
307         language.
308         New option --color to change the States color model from the
309         command line.
310         Made option -J to be an alias for -t, --title.
311         Make option -# to be an alias for -n, --copies.
312
313 Tue Mar  4 10:00:45 1997  Markku Rossi  <mtr@ngs.fi>
314
315         * util.c (read_config): New config file option `StatesPath' to
316         specify the path for the states program.
317
318         * psgen.c: Fixed --file-align option which was broken with the
319         --nup option.
320
321 Mon Mar  3 10:25:16 1997  Markku Rossi  <mtr@ngs.fi>
322
323         * psgen.c (dump_ps_page_header): Implemented user escapes for user
324         defined header strings.
325 \f
326 Wed Feb 26 09:42:52 1997  Markku Rossi  <mtr@ngs.fi>
327
328         * Release enscript-1.5.0.
329
330 Fri Feb 21 13:46:37 1997  Markku Rossi  <mtr@ngs.fi>
331
332         * util.c (read_font_info): Optimized AFM caching, this speeds up
333         enscript when using ^@font{} escapes a lot (-E).
334         (read_font_info): New input encoding asciidkno.
335         Renamed asciiscands to asciifise.
336
337 Tue Feb 18 12:34:13 1997  Markku Rossi  <mtr@ngs.fi>
338
339         * main.c: New option -U NUM, --nup=NUM to specify how many logical
340         output pages are printed on each physical output page.
341
342 Thu Feb  6 10:18:55 1997  Markku Rossi  <mtr@ngs.fi>
343
344         * util.c (parse_font_spec): Added a warning about negative font
345         sizes.
346
347 Mon Feb  3 11:27:53 1997  Markku Rossi  <mtr@ngs.fi>
348
349         * main.c: New option `--help-pretty-print' to describe all
350         supported --pretty-print languages and file formats.
351
352 Fri Jan 24 09:34:00 1997  Markku Rossi  <mtr@ngs.fi>
353
354         * main.c (main): Changed the output file creation to be
355         demand-driven.  If the input file (all input files) could not be
356         opened, enscript doesn't generate any output.  This is a good
357         thing.
358
359 Thu Jan 23 11:55:52 1997  Markku Rossi  <mtr@ngs.fi>
360
361         * gsint.h: Changed the way how memmove() and memcpy() are defined
362         handled.  Not replacements can be found form compat lib so we do
363         not need any #define kludges.
364
365 Tue Jan 21 18:18:03 1997  Markku Rossi  <mtr@ngs.fi>
366
367         * Makefile.am: Removed testcase.sh and moved all tests to ../tests
368         directory.
369
370         * util.c (read_config): Added states dependant config file
371         options: `StatesColorModel', `StatesConfigFile' and
372         `StatesHighlightLevel'.
373
374 Mon Jan 13 09:02:26 1997  Markku Rossi  <mtr@ngs.fi>
375
376         * mkafmmap.c: Internationalized mkafmmap program.
377
378         * util.c (read_config): New option `OutputFirstLine' to set the
379         PostScript output's first line.
380
381 Thu Nov 28 08:16:04 1996  Markku Rossi  <mtr@ngs.fi>
382
383         * main.c: New option `--E', `--pretty-print' to pretty print
384         source codes with `states'.
385
386         * psgen.c: New special escape ^@color{r g b}.
387
388         * util.c (format_user_string): Fixed bug from the `$n' escape
389         formatting.
390         (read_config): New option `NoJobHeaderSwitch' to specify the
391         spooler option to suppress the job header.
392
393 Tue Nov  5 08:22:52 1996  Markku Rossi  <mtr@ngs.ngs.fi>
394
395         * psgen.c: fixed line number spacing bug which occured when using
396         line numbers with escapes.
397
398         * main.c: Added ISO-8859/5 (ISO latin5) encoding.
399
400 Sat Sep  7 15:42:49 1996  Markku Rossi  <mtr@ngs.ngs.fi>
401
402         * main.c: Added Adobe's Standard cyrillic Font KOI8 encoding.
403
404 Thu Aug 29 22:32:38 1996  Markku Rossi  <mtr@ngs.ngs.fi>
405
406         * util.c (parse_font_spec): Accept font point size in width/height
407         format.
408
409 Fri Aug 23 19:36:30 1996  Markku Rossi  <mtr@ngs.ngs.fi>
410
411         * util.c (read_config): New config file option TOCFormat.
412
413         * psgen.c (process_file): Implemented user-definable format
414         strings for TOC entries.
415
416         * main.c: New option --slice to print vertical slices of input
417         files.
418
419 Mon Aug  5 08:21:14 1996  Markku Rossi  <mtr@ngs.ngs.fi>
420
421         * main.c: New option --file-align=ALIGN to align separate input
422         files to even ALIGN page count.
423
424 Wed Jul 24 11:17:55 1996  Markku Rossi  <mtr@ngs.ngs.fi>
425
426         * main.c: New option --toc to print the Table of Contents.
427 \f
428 Wed Jul 17 10:50:34 1996  Markku Rossi  <mtr@ngs.ngs.fi>
429
430         * Release enscript-1.4.0.
431
432 Sun Jun 16 14:49:33 1996  Markku Rossi  <mtr@ngs.ngs.fi>
433
434         * psgen.c (get_next_token): Fixed line number counting for
435         truncated lines.
436         (paste_epsf): Fixed a bug which printed EPS images to pages which
437         didn't belong to any of the requested page ranges.
438
439         * main.c (main): Added new configuration file:
440         SYSCONFDIR/enscriptsite.cfg.  This is intended for the
441         site-specific configuration whereas the global configuration file
442         SYSCONFDIR/enscript.cfg is for the global defaults.
443         Site-configuration file is never overwritten by installing a new
444         version of enscript so it is a safe place to store site-specific
445         media etc. definitions.
446
447 Thu Jun 13 13:50:16 1996  Markku Rossi  <mtr@ngs.ngs.fi>
448
449         * main.c (handle_options): New option `--printer-options' to pass
450         extra options to the printer command.
451
452         * psgen.c (process_file): Count shade-box's position from the
453         font's FontBBox value.
454         (process_file): New escape `ps' to add raw PostScript code to the
455         output.
456
457         * main.c: New option --filter=STR, -I STR which sets the
458         input filter for source files.
459
460 Fri May 24 10:44:46 1996  Markku Rossi  <mtr@ngs.fi>
461
462         * util.c (read_config): New config file option `FormFeedType' to
463         specify what to do when a formfeed character is encountered from
464         input.
465
466         * psgen.c (read_special_escape): Cleaned up special escapes parsing.
467         (read_special_escape): New escapes: `newpage', `setfilename' and
468         `setpagenumber'.
469
470         * util.c (read_config): New config option
471         `AcceptCompositeCharacters' to specify whatever we accept
472         PostScript font's composite characters or should we consider them
473         as non-existent.
474         (download_font): Added support for binary-coded .pfb fonts, thanks
475         to Bruce Albrecht <bruce@zuhause.MN.ORG>.
476
477         * main.c (long_options): Renamed option --pass-through-ps-files to
478         --pass-through.
479
480 Wed May 22 17:09:21 1996  Markku Rossi  <mtr@ngs.fi>
481
482         * psgen.c (process_file): Fixed carriage return character
483         handling.
484
485 Fri May 10 08:56:31 1996  Markku Rossi  <mtr@ngs.fi>
486
487         * psgen.c (read_special_escape): New special escape `shade' to
488         highlight regions of text.
489
490         * main.c (usage): Cleaned up --help messages.
491
492 Thu May  9 14:17:49 1996  Markku Rossi  <mtr@ngs.fi>
493
494         * util.c (read_config): New configuration file option:
495         EscapeChar.
496
497 Tue May  7 09:37:16 1996  Markku Rossi  <mtr@ngs.fi>
498
499         * util.c (read_config): New config file option `UnderlayStyle' to
500         specify the underlay printing style.
501
502         * main.c: New option: -j, --borders to print borders around
503         columns.
504         (long_options): New option --ul-style to specify the underlay
505         printing style.
506
507 Thu May  2 08:21:17 1996  Markku Rossi  <mtr@ngs.fi>
508
509         * util.c (read_font_info): Added AFM cache to speedup font-escape
510         processing.
511
512         * psgen.c (print_line_number): Don't print line numbers for
513         wrapped lines.
514
515 Mon Apr 22 09:24:40 1996  Markku Rossi  <mtr@ngs.fi>
516
517         * util.c (format_user_string): New directive `%H' for the document
518         title.
519
520         * main.c: Changed option -e, --escapes to take an optional
521         argument which specifies the escape character.
522
523 Mon Apr  1 09:26:23 1996  Markku Rossi  <mtr@ngs.fi>
524
525         * psgen.c (process_file): Now ^@font{} escapes work over page
526         boundaries.
527
528 Wed Mar 27 08:50:53 1996  Markku Rossi  <mtr@ngs.fi>
529
530         * main.c (main): New option -a, --pages to select which pages are
531         printed.
532
533 Tue Mar 26 10:14:29 1996  Markku Rossi  <mtr@ngs.fi>
534
535         * util.c (format_user_string): New option: `$=' number of pages in
536         the current input file.
537
538         * psgen.c (process_file): Added diversions to count the total
539         pages within a file (%Format: $=).
540
541 Tue Mar 12 08:23:31 1996  Markku Rossi  <mtr@ngs.fi>
542
543         * main.c (handle_options): Changed option -l, --lineprinter to
544         print 66 lines per page instead of 65 lines.
545
546         * util.c (read_config): New config file option: PagePrefeed.
547
548         * main.c (main): New options: -k, --page-prefeed, -K,
549         --no-page-prefeed.
550
551 Thu Mar  7 16:18:00 1996  Markku Rossi  <mtr@ngs.fi>
552
553         * util.c (format_user_string): New escape: $(ENVVAR).
554
555 Tue Mar  5 16:45:40 1996  Markku Rossi  <mtr@ngs.fi>
556
557         * util.c (read_config): New config file options: HighlightBars and
558         HighLightBarGray.
559
560         * main.c: New option: -H, --highlight-bars and
561         --highlight-bar-gray to control the highlight bar printing.
562
563 Fri Mar  1 11:08:13 1996  Markku Rossi  <mtr@ngs.fi>
564
565         * main.c: New option: -h, --no-job-header to suppress the job
566         header page.
567         (main): Changed option --title to set the name of stdin.
568
569 Thu Feb 29 08:10:48 1996  Markku Rossi  <mtr@ngs.fi>
570
571         * Added support for the automatic de-ANSI-fication.
572
573         * Renamed package to enscript.
574
575 Sun Feb 25 05:13:21 1996  Markku Rossi  <mtr@ngs.fi>
576
577         * main.c (main): changed stdin's name to be an empty string
578         instead of "(stdin)".  This is how Adobe's enscript does it.
579
580 Fri Feb 23 08:04:57 1996  Markku Rossi  <mtr@ngs.fi>
581
582         * main.c (main): Added environment variable GENSCRIPT_LIBRARY
583         which can be used to overwrite the build-in library path.
584
585         * psgen.c (read_special_escape): fixed a bug which caused pipes to
586         the EPS files to be closed with fclose().
587
588 Wed Feb 21 08:14:15 1996  Markku Rossi  <mtr@ngs.fi>
589
590         * Makefile.in (exec_prefix): fixed to honor the value given by the
591         configure script.
592
593 Tue Feb 20 16:15:24 1996  Markku Rossi  <mtr@ngs.fi>
594
595         * Added hp8 (HP Roman-8) encoding.
596 \f
597 Mon Feb 19 09:30:55 1996  Markku Rossi  <mtr@ngs.fi>
598
599         * Release genscript-1.3.0.
600
601         * main.c (main): New config file option `AppendCtrlD' which can be
602         used to append the ^D character to the end of the output.
603
604         * psgen.c (do_pass_through_ps_file): added pass-through for the
605         PCL files.
606
607 Thu Feb  8 16:00:56 1996  Markku Rossi  <mtr@ngs.fi>
608
609         * util.c (read_config): New config file option `Clean7Bit' to
610         specify how characters greater than 127 are handled.
611
612 Wed Feb  7 22:24:50 1996  Markku Rossi  <mtr@ngs.fi>
613
614         * gsint.h: Implemented unit selection for the `--indent' option.
615
616 Tue Jan 30 11:37:11 1996  Markku Rossi  <mtr@ngs.fi>
617
618         * main.c (main): Now genscript can be used even if it is not
619         installed.
620
621         * Makefile.in (check): new target
622
623 Thu Jan 25 14:36:06 1996  Markku Rossi  <mtr@ngs.fi>
624
625         * util.c (paste_file): Implemented `%HeaderHeight' and
626         `%FooterHeight' directives.
627
628 Tue Jan  9 08:45:20 1996  Markku Rossi  <mtr@ngs.fi>
629
630         * Finished Win-95/NT port.
631
632 Mon Jan  8 08:19:17 1996  Markku Rossi  <mtr@ngs.fi>
633
634         * First Win-95/NT port with MSC 2.00.
635
636         * util.c (format_user_string): New options: %N and $%.
637
638 Fri Jan  5 17:11:19 1996  Markku Rossi  <mtr@ngs.fi>
639
640         * psgen.c (dump_ps_header): Removed date and time ps-constants
641         which can now be formatted with the `%Format' directive:
642           - usadatestr  = %W
643           - eurdatestr  = %E
644           - findatestr  = %F
645           - timestr     = %C
646
647         (dump_ps_page_header): Removed fmodstr ps-constant which can now
648         be formatted with the `%Format' directive:
649           - fmodstr      = $D{%a %b %e %T %Y}
650
651         * util.c (format_user_string): Implemented `%Format' directive
652         which can be used to format user defined strings in fancy headers.
653
654 Thu Jan  4 13:54:45 1996  Markku Rossi  <mtr@ngs.fi>
655
656         * main.c: Added pslatin1 encoding (PostScript interpreter's
657         ISOLatin1Encoding).
658
659 Wed Jan  3 16:52:43 1996  Markku Rossi  <mtr@ngs.fi>
660
661         * Created a new Makefile to the compat subdirectory; now genscript
662         does not need a make with the VPATH feature.
663
664         * main.c (usage): Split usage string to smaller parts wich are
665         printed separately.
666
667 Tue Jan  2 16:13:43 1996  Markku Rossi  <mtr@ngs.fi>
668
669         * main.c: New option: --non-printable-format, NonPrintableFormat.
670
671 Wed Dec 20 08:40:11 1995  Markku Rossi  <mtr@ngs.fi>
672
673         * Added statistics about non-printable character codes.
674
675         * main.c: New option: -z, --no-formfeed to disable form feed
676         character interpretation.
677
678         * util.c (do_list_missing_characters): Changed output to go to
679         stderr instead of stdout.
680
681 Tue Dec 19 10:00:12 1995  Markku Rossi  <mtr@ngs.fi>
682
683         * util.c (read_config): New config file options: UnderlayAngle and
684         UnderlayPosition.
685
686         * main.c (main): New options: --ul-angle and --ul-position.
687
688 Mon Dec 18 08:14:05 1995  Markku Rossi  <mtr@ngs.fi>
689
690         * configure.in (PATH_SEPARATOR): Defined a new constant
691         PATH_SEPARATOR to specify the character which separates path
692         components.  Fixed also all uses.
693
694         * prt_lpr.c: Isolated printer related stuffs to a separate C file
695         to help micro ports.
696
697         * Makefile.in: Removed pre-defined eps images from the
698         distribution.
699
700         * util.c (parse_font_spec): Added support for the new
701         `name@ptsize' font specification.
702
703 Tue Nov 28 09:12:46 1995  Markku Rossi  <mtr@ngs.fi>
704
705         * main.c (handle_options): Option -u, --underlay was changed to
706         take an optional argument.  If no argument is given, underlay is
707         not printed.
708
709         * util.c (read_config): New config file option `Underlay' to
710         specify the underlay text.
711
712         * Makefile.in: Fixed Makefile to obey the GNU Coding Standards.
713         Changed datadir from `prefix/lib' to `prefix/share'.
714
715 Mon Nov 27 08:24:18 1995  Markku Rossi  <mtr@ngs.fi>
716
717         * util.c (read_config): New config file options: UnderlayFont and
718         UnderlayGray
719
720         * main.c: Renamed long options:
721           --output-file =>      --output
722           --queue       =>      --printer
723           --tab-size    =>      --tabsize
724
725           (long_options): made --silent to be an alias for --quiet
726
727         * utils.c: Renamed config file option `Queue' to `Printer'.
728
729 Wed Nov  8 08:27:07 1995  Markku Rossi  <mtr@ngs.fi>
730
731         * Added latin3 encoding (from the latin3.txt file by Duncan C
732         Thomson).
733
734 Thu Nov  2 08:56:16 1995  Markku Rossi  <mtr@ngs.fi>
735
736         * psgen.c: Fixed a bug which added document headers and trailers
737         to pass-through PostScript files.
738 \f
739 Tue Oct 31 08:53:18 1995  Markku Rossi  <mtr@ngs.fi>
740
741         * Release genscript-1.2.20.
742
743 Fri Oct 27 09:35:02 1995  Markku Rossi  <mtr@ngs.fi>
744
745         * Added option -C, --line-numbers.
746
747 Thu Oct 26 09:13:45 1995  Markku Rossi  <mtr@ngs.fi>
748
749         * Added option -Z, --pass-through-ps-files.
750
751 Tue Oct 24 08:14:24 1995  Markku Rossi  <mtr@ngs.fi>
752
753         * Cleaned up some HTML entity codes in encoding tables.
754
755 Wed Oct 18 17:33:18 1995  Markku Rossi  <mtr@ngs.fi>
756
757         * Added latin2 encoding.
758
759 Tue Oct 10 09:02:14 1995  Markku Rossi  <mtr@ngs.fi>
760
761         * main.c (main): changed fancy header's height from 40 to 36
762         points.
763
764 Thu Oct  5 07:37:54 1995  Markku Rossi  <mtr@ngs.fi>
765
766         * New config file options: Queue and QueueParam.
767
768         * genscript.man: minor cleanups.
769 \f
770 Mon Oct  2 14:58:13 1995  Markku Rossi  <mtr@ngs.fi>
771
772         * Release genscript-1.2.1.
773
774 Fri Sep 29 17:30:08 1995  Markku Rossi  <mtr@ngs.fi>
775
776         * main.c: read default options from the GENSCRIPT (and ENSCRIPT)
777         environment variable
778
779 Tue Sep 26 09:06:52 1995  Markku Rossi  <mtr@ngs.fi>
780
781         * font size and baselineskip can be given as a decimal number
782
783         * psgen.c: Fixed DSC comments, now generated output is DSC 3.0
784         conforming.
785
786 Thu Sep 21 09:32:10 1995  Markku Rossi  <mtr@ngs.fi>
787
788         * Implemented .pf{a,b} file downloading.
789
790 Wed Sep 20 09:16:49 1995  Markku Rossi  <mtr@ngs.fi>
791
792         * psgen.c (read_special_escape): new option 's' (scale) to specify
793         an explicit scale for an eps image.
794
795         * psgen.c: fixed epsf escape to start a new column if the
796         specified image does not fit to the current one.
797
798 Mon Sep 18 08:03:53 1995  Markku Rossi  <mtr@ngs.fi>
799
800         * main.c: Fixed some typos.
801
802         * Added backspace handling.
803
804 Sat Sep  9 16:47:08 1995  Markku Rossi  <mtr@ngs.fi>
805
806         * main.c (main): fixed typos that broke -o and -X options.
807 \f
808 Mon Sep  4 08:20:08 1995  Markku Rossi  <mtr@ngs.fi>
809
810         * Release genscript-1.1.4.
811
812         * Added option --page-label-format.
813
814         * psgen.c (dump_ps_header): Added findatestr.
815         (paste_epsf): Fixed paste_epsf()'s EPS file recognization.
816
817 Wed Aug 30 10:07:42 1995  Markku Rossi  <mtr@ngs.fi>
818
819         * Added options -u, --underlay, --ul-gray and --ul-font.
820
821         * psgen.c (read_float): now dimensions can be specified in
822         different units.
823
824 Tue Aug 29 11:23:49 1995  Markku Rossi  <mtr@ngs.fi>
825
826         * Changed PostScript font's default encoding name from 'default'
827         to 'ps'.
828
829         * New config file option: DefaultOutputMethod.
830
831         * Added option --indent, -i.
832
833         * Cleaned up options in manual page, help and code.
834
835         * Replaced StringSet module with StringHash.
836
837         * psgen.c (paste_epsf): Now EPS images can be read from command's
838         standard output.
839
840 Thu Aug 24 09:47:30 1995  Markku Rossi  <mtr@ngs.fi>
841
842         * vms.txt: Added VMS multinational input encoding.
843
844         * mac.txt: Cleaned up character table.
845
846         * Added options -S, --statusdict and -D, --setpagedevice.
847
848 Wed Aug 23 11:48:31 1995  Markku Rossi  <mtr@ngs.fi>
849
850         * Improved configure to handle more non-ANSI features.
851
852         * Fixed a declaration bug from compat/strerror.c.
853
854         * psgen.c (read_float): replaced strtod() with atof().
855
856         * xalloc.c (xrealloc): do an explicit malloc() if old pointer is
857         NULL.
858
859         * ibmpc.txt: Cleaned up character table.
860
861         * psgen.c (get_next_token): control characters are now printed in
862         the escaped form.
863 \f
864 Mon Aug 21 09:16:16 1995  Markku Rossi  <mtr@ngs.fi>
865
866         * Release genscript-1.0.1.
867
868 Thu Aug 17 09:48:17 1995  Markku Rossi  <mtr@ngs.fi>
869
870         * Minor cleanups.
871
872 Tue Aug 15 10:30:44 1995  Markku Rossi  <mtr@ngs.fi>
873
874         * Added option --baseline.
875
876         * Fixed epsf escape's options.
877
878 Mon Aug 14 14:21:35 1995  Markku Rossi  <mtr@ngs.fi>
879
880         * Added support for AFM files.
881
882 Wed Aug  9 10:59:30 1995  Markku Rossi  <mtr@ngs.fi>
883
884         * Added option --newline to select the newline character.
885
886         * Cleaned up character set tables.
887
888 Mon Aug  7 15:40:09 1995  Markku Rossi  <mtr@ngs.fi>
889
890         * Added Mac input encoding.
891
892 Thu Aug  3 12:44:04 1995  Markku Rossi  <mtr@ngs.fi>
893
894         * New special escapes: 'font' and 'comment'.
895
896         * New option --tab-size=NUM, -T NUM to define tab expansion size.
897
898         * General code and document cleanups.
899
900 Mon Jul 31 10:18:16 1995  Markku Rossi  <mtr@ngs.fi>
901
902         * Added support for --copies option.  Now it really works.
903
904         * util.c (paste_file): parses '%%DocumentNeededResources:'
905         comments
906
907         * Added options --font and --header-font.
908
909 Thu Jul 27 08:12:01 1995  Markku Rossi  <mtr@ngs.fi>
910
911         * psgen.c (paste_epsf): now eps files are also looked up from
912         libpath.
913         (read_special_escape): epsf: added option 'r'.
914
915 Wed Jul 26 11:08:50 1995  Markku Rossi  <mtr@ngs.fi>
916
917         * psgen.c: added support for inlined EPS-files.
918
919 Tue Jul 25 09:24:30 1995  Markku Rossi  <mtr@ngs.fi>
920
921         * Added IBM PC input encoding.