* font/make-Rproto: Moved to...
[s-roff.git] / ChangeLog
blob4050e0d4f763d4eeca087832cd09362c529532d1
1 2009-01-04  Werner LEMBERG  <wl@gnu.org>
3         * font/make-Rproto: Moved to...
4         * font/util/make-Rproto: Here.
6         * Makefile.in (NOMAKEDIRS): Add `m4', `font/devps/old', and
7         `font/util'.
9 2009-01-04  Werner LEMBERG  <wl@gnu.org>
11         * src/roff/troff/TODO: Mention local variables.
13 2009-01-03  Werner LEMBERG  <wl@gnu.org>
15         * contrib/hdtbl/examples/col_rowspan_colors.roff,
16         contrib/hdtbl/examples/color_boxes.roff,
17         contrib/hdtbl/examples/color_nested_tables.roff,
18         contrib/hdtbl/examples/color_table_cells.roff,
19         contrib/hdtbl/examples/color_transitions.roff,
20         contrib/hdtbl/examples/short_reference.roff: Minor improvements.
22 2009-01-03  Werner LEMBERG  <wl@gnu.org>
24         * doc/webpage.ms: Updated.
26 2009-01-03  Werner LEMBERG  <wl@gnu.org>
28         * NEWS, groff.texinfo, font/devps/*, VERSION, REVISION: Prepare for
29         version 1.20.
31 2009-01-03  Werner LEMBERG  <wl@gnu.org>
33         * src/preproc/tbl/table.cpp (table::compute_expand_width,
34         table::compute_separation_factor): In warning messages, don't refer
35         to pages but to input line numbers.
37 2009-01-03  Werner LEMBERG  <wl@gnu.org>
39         * tmac/groff_ms.man: Improve formatting of tables.
41 2009-01-03  Werner LEMBERG  <wl@gnu.org>
43         * tmac/www.tmac (www->): Handle XHTML.
44         (HTML</p>): Handle non-HTML devices.
45         (www:url_check_tag): Avoid warnings.
47 2009-01-03  Werner LEMBERG  <wl@gnu.org>
49         * tmac/an-old.tmac, tmac/doc.tmac: For -Tutf8, map \-, -, ', and `
50         conservatively to ASCII for the sake of easy cut and paste.
52 2009-01-03  Werner LEMBERG  <wl@gnu.org>
54         * NEWS: Mention hdtbl.
56 2009-01-02  Werner LEMBERG  <wl@gnu.org>
58         * tmac/groff_mdoc.man: Update OS version string listing.
60 2009-01-02  Werner LEMBERG  <wl@gnu.org>
62         * config.rpath, m4/codeset.m4, m4/glibc21.m4, m4/iconv.m4,
63         m4/lib-link.m4, m4/lib-prefix.m4, src/include/localcharset.h,
64         src/libs/libgroff/config.charset, src/libs/libgroff/localcharset.c,
65         src/libs/libgroff/ref-add.sin, src/libs/libgroff/ref-del.sin:
66         Updated from `gnulib' git repository.
68         * configure: Regenerated.
70 2009-01-02  Werner LEMBERG  <wl@gnu.org>
72         * tmac/ptx.tmac: New file.
74         * NEWS, man/groff_tmac: man: Document it.
76 2008-12-30  Werner LEMBERG  <wl@gnu.org>
78         Fix more quoting issues.
80         * tmac/www.tmac (BCL, BGIMG, PIMG, MPIMG, LNS): For the sake of
81         XHTML, quote more arguments.
82         (IMG): Fix quoting.
84 2008-12-30  Werner LEMBERG  <wl@gnu.org>
86         Fix quoting issues in www.tmac.
88         * tmac/www.tmac (www:url_breaks_splitted): Renamed to...
89         (www:url_breaks_split): This.
90         (www->): New string to close tag singletons like <img> or <hr>.  In
91         XHTML mode (not implemented yet), this has to be changed from `>' to
92         `/>'.
93         (IMG): Don't use </img>
94         Use www->.
95         (PIMG, MPIMG): Don't use </img>
96         Use www->.
97         Fix doublequote issues.
98         (HR): Don't use </hr>.
99         Use www->.
100         (LNS): Fix doublequote issues.
102 2008-12-24  Michail Vidiassov  <master@iaas.msu.ru>
104         * tmac/doc-common: Add entries for Mac OS X and FreeBSD.
106 2008-12-22  Alexey Gladkov  <legion@altlinux.ru>
108         * contrib/groffer/perl/roff2.pl: Fix syntax error.
110 2008-12-15  Werner LEMBERG  <wl@gnu.org>
112         * NEWS: Mention `preconv'.
114 2008-11-12  Werner LEMBERG  <wl@gnu.org>
116         Implement `x' specifier for expanded columns.  Contrary to old DWB
117         tbl, more than a single `x' specifier can be used.  At the same
118         time, remove most of the code from change 2007-02-09 which collides
119         with the new implementation.
121         * src/preproc/tbl/main.cpp (format): Add `expand' array.
122         (format::format, format::~format): Updated.
123         (input_entry_format): Add `expand' field.
124         (input_entry_format::input_entry_format): Updated.
125         (input_entry_format::debug_print): Handle `expand'.
126         (process_format): Handle `x' specifier.
127         (process_data): Updated.
129         * src/preproc/tbl/table.cpp (AVAILABLE_REG, COLCOUNT_REG): Remove.
130         (EXPAND_REG): New macro.
131         (table_entry::divert, block_entry::divert,
132         alphabetic_block_entry::divert): Add parameter to control whether
133         expanded columns shall be handled.
134         (block_entry::do_width): Remove.
135         (block_entry::do_divert): Add parameter to control whether expanded
136         columns shall be handled.
137         Treat expanded columns like columns with a minimum width.
138         Remove `experimental' code.
139         (table::table, table::~table, table::allocate): Updated.
140         (table::set_expand_column): New function.
141         (table::count_block_columns): Replace with...
142         (table::count_expand_columns): This function.
143         (table::divide_span): Handle expanded columns the same as equal
144         columns.
145         (table::sum_columns): Add parameter to control whether expanded
146         columns shall be handled.
147         (table::compute_available_block_width): Replace with...
148         (table::compute_expand_width): This function.
149         (table::compute_total_separation): New function, taking code from
150         `compute_separation_factor'.
151         (table::compute_separation_factor): Simpler code.  The check for the
152         `EXPAND' flag has been moved to the caller.
153         (table::compute_widths): Add `top-level' changes to handle expanded
154         blocks.
156         * src/preproc/tbl/table.h (table): New field `total_separation'.
157         Remove `blockflag' array.
158         Add `expand' array.
159         Update member function declarations.
161         * src/preproc/tbl/tbl.man: Document `x' specifier.
162         Expand documentation to cover all aspects of Lesk's tbl reference.
164         * NEWS: Document `x' specifier.
166 2008-11-08  Werner LEMBERG  <wl@gnu.org>
168         * src/preproc/tbl/tbl.man: Restructuring.
169         Improve text block documentation.
171 2008-11-07  Werner LEMBERG  <wl@gnu.org>
173         * src/preproc/tbl/table.cpp (table::compute_widths): Use default
174         scaling operator for minimum width.  Without this fix, `lw3' (or
175         `lw(3)' would be handled as a column with a minimum width of 3u
176         instead of 3n.
178 2008-11-05  Werner LEMBERG  <wl@gnu.org>
180         * tmac/doc-common (Dt): Start a new page if necessary and set up
181         headers.
183         * tmac/andoc.tmac (reload-doc): Simplify due to change in
184         doc-common.
186         * NEWS: Document it.
188 2008-10-18  Werner LEMBERG  <wl@gnu.org>
190         * src/preproc/tbl/main.cpp (process_format): Rename `x' and `X' to
191         `m' and `M', respectively.
192         Sort entries in `switch' block.
193         * src/preproc/tbl/tbl.man: Updated.
194         Sort key entries; other minor improvements.
196 2008-10-17  Werner LEMBERG  <wl@gnu.org>
198         * src/preproc/tbl/table.cpp (table::compute_available_block_width):
199         New function.
200         (table::compute_widths): Replace some code with new function
201         (shifted to a more appropriate place).
202         * src/preproc/tbl/table.h: Updated.
204 2008-10-16  Werner LEMBERG  <wl@gnu.org>
206         * tmac/doc-common (doc-operating-system-*), tmac/groff_mdoc.man: Add
207         NetBSD 4.0.1.
209 2008-10-13  Werner LEMBERG  <wl@gnu.org>
211         * tmac/groff_mdoc.man: Update documentation on BSD-like OS string
212         versions.
214 2008-10-10  Werner LEMBERG  <wl@gnu.org>
216         * man/roff.man, doc/groff.texinfo: Improve the history part.  This
217         is based on input from Tom Van Vleck <thvv@multicians.org>.
220         * src/preproc/eqn/sqrt.cpp (sqrt_box::compute_metrics): Assure that
221         value of `rst' register is not zero, as can happen for the HTML
222         output device.  Otherwise, there are too many loops, and we get a
223         stack overflow because of recursion.
225 2008-10-05  Stephen Gildea  <http://www.gildea.com/stephen/>
227         * src/preproc/ref/ref.cpp (reference::compute_sort_key): Do
228         not insert SORT_SEP before the first field, so that sort_key
229         has the same format as before the patch of 2003-08-23.
231 2008-10-04  Werner LEMBERG  <wl@gnu.org>
233         * tmac/doc-common (doc-operating-system-*): Update releases.
235         * tmac/an-old.tmac (an-extra1, an-extra2, an-extra3): Initialize.
237         * tmac/andoc.tmac: Rewritten, based on a preliminary version from
238         Tadziu Hoffmann.  It can now process multiple man pages with both
239         man and mdoc formats intermixed.
241         * NEWS, tmac/groff_man.man, tmac/groff_mdoc.man,
242         man/groff_tmac.man: Document it.
244 2008-10-04  Werner LEMBERG  <wl@gnu.org>
246         * src/roff/troff/input.cpp (do_suppress): Make \O[3], \O[4], and
247         \O[5] non-transparent w.r.t. beginning-of-line recognition (similar
248         to the other \O variants).
250         * tmac/www.tmac (TS, TE, EQ, EN): Don't use .als for setting up
251         default macros.  This causes endless loops (at least for TE).
253         * doc/groff.texinfo: Improve documentation of `.als'.
255 2008-10-03  Werner LEMBERG  <wl@gnu.org>
257         * src/devices/grops/grops.man, src/roff/troff/troff.man,
258         src/preproc/soelim/soelim.man: Correct documentation of -I switch. 
259         Reported by Larry Kollar.
260         Other minor formatting issues.
262 2008-10-02  Werner LEMBERG  <wl@gnu.org>
264         * tmac/trace.tmac: Much improved.
265         (trace-full): New register to be set on the command line; it
266         controls whether number and string register assignments get traced
267         also.
268         (!!c): New macro for comments.
269         (rm): New traced macro.
270         (de, de1, am, am1): Use \\[xxx]\\ calling method to pass \$0 to
271         `!!xxx'; this makes doc.tmac completely traceable.
272         Trace call of .de and friends also.
274         * tmac/groff_tmac.man, NEWS: Update.
276 2008-09-30  Werner LEMBERG  <wl@gnu.org>
278         Restore behaviour of \$0 if a macro is called with string syntax
279         (problem caused by change on 2008-09-29).
281         * src/roff/troff/input.cpp (input_iterator, input_stack,
282         macro_iterator): Add `get_macro_name' member function.
283         (interpolate_string): Use it.
285 2008-09-29  Werner LEMBERG  <wl@gnu.org>
287         Make \\*[xxx]\\ within a macro (with `xxx' a macro too) work as
288         expected.  Without the patch,
290           .de aaa
291           \\*[bbb]\\
292           .  tm \\$*
293           ..
294           .de bbb
295           .  shift
296           ..
297           .aaa 1 2 3
299         prints `2 3' instead of `1 2 3'.
301         * src/roff/troff/input.cpp (input_iterator, input_stack,
302         macro_iterator): Add `get_arg_list' member function.
303         (macro): Add `is_a_string', `is_string', and `clear_string_flag'
304         members.
305         Update constructors and operators.
306         (arg_list): Add copy constructor.
307         (macro_iterator): Add optional argument to constructor to indicate
308         whether arguments shall be inherited from calling macro.
309         (interpolate_string): If string argument is a macro, push a macro
310         iterator on the stack.
311         (do_define_macro): Call clear_string_flag if macro data contains a
312         newline.
314         * src/roff/troff/request.h: Updated.
316 2008-09-29  Eric S. Raymond  <esr@snark.thyrsus.com>
318         * doc/pic.ms: Fold in documentation of pic2plot(1) capabilities.
319         Improve the documentation of text objects.
321 2008-09-28  Eric S. Raymond  <esr@snark.thyrsus.com>
323         * contrib/pic2graph, contrib/pic2graph.man, contrib/eqn2graph, 
324         contrib/eqn2graph.man: Tweak scripts to cope with incompatible
325         changes in ImageMagick crop options.  Document the bugs.
327 2008-09-28  Werner LEMBERG  <wl@gnu.org>
329         If a macro is called as a string, inherit value of \n[.br] from the
330         caller.  This is useful for `trace.tmac'.
332         * src/roff/troff/input.cpp (string_iterator): New members
333         `with_break' and `get_break_flag'.
334         (string_iterator::string_iterator): Updated.
336         * doc/groff.texinfo: Improve documentation of \$0 and string syntax
337         calling of macros.
338         Document behaviour of \n[.br] within strings.
340 2008-09-26  Werner LEMBERG  <wl@gnu.org>
342         * tmac/trace.tmac: Add copyright message.
343         Use `.de1' where possible to make source code more readable.
344         (so, mso, als, rn): Restore escape character before executing the
345         request.
346         (de, de1, am, am1): Trace `.foo' also if called as `\\[foo]'.
348 2008-09-24  Werner LEMBERG  <wl@gnu.org>
350         Fix incompatibility between `.de1' and `.do'.  Without this change,
351         the following snippet
353           .de1 xx
354           .  tm \\n(.C
355           ..
356           .cp 1
357           .do xx
359         prints 1 instead of 0.
361         * src/roff/troff/input.cc (do_request): If a macro gets processed,
362         call tok.next().
363         (interpolate_macro): Add optional argument.  Update callers.
364         (request::invoke): Add optional argument.
365         (macro::invoke): Add optional argument to delay call of tok.next().
367         * src/roff/troff/request.h (request_or_macro): Add argument to
368         `invoke' member.  Update all derived classes.
370         * doc/groff.texinfo: Improve documentation of .do request.
372 2008-09-09  Werner LEMBERG  <wl@gnu.org>
374         * tmac/an-old.tmac (FT): Initialize properly.  Reported by Tadziu
375         Hoffmann.
377 2008-09-06  Werner LEMBERG  <wl@gnu.org>
379         * tmac/doc-common (Dd, Os, Dt): Reset `doc-command-name' to make
380         `.Nm' work properly if next manual page is printed.
382 2008-08-20  Werner LEMBERG  <wl@gnu.org>
384         * src/preproc/tbl/tbl.man: Document computation of element widths.
386 2008-08-20  Alexey Gladkov  <legion@altlinux.ru> 
387             Werner LEMBERG  <wl@gnu.org>
389         Add default encoding option -D to preconv and groff.
391         * src/preproc/preconv/preconv.cpp (default_encoding): Make it an
392         array.
393         Update all users.
394         (main): Handle new option -D.
395         (usage): Updated.
396         * src/preproc/preconv/preconv.man: Updated.
398         * src/roff/groff/groff.cpp (main): Handle new option -D.
399         (synopsis, help): Updated.
400         * src/roff/groff/groff.man: Updated.
402 2008-07-26  Werner LEMBERG  <wl@gnu.org>
404         * tmac/eqnrc (.EQ, .EN): Provide default definitions.  Reported
405         by Denis M. Wilson.
407         * tmac/www.tmac (.EQ, .EN, .TS, .TE): Fix definitions.
409 2008-07-24  Denis M. Wilson  <dmw@oxytropis.plus.com>
411         New options -f and -k for afmtodit.
413         * src/afmtodit/afmtodit.pl: New options `-f NAME' sets the internal
414         name of the groff font.
415         New option `-k' disables output of kerning data.
416         * src/afmtodit/afmtodit.man, NEWS: Document new options.
418 2008-07-18  Werner LEMBERG  <wl@gnu.org>
420         * src/preproc/tbl/table.cpp (table::compute_separation_factor): Emit
421         warning messages if table gets squeezed.
422         (table::compute_widths): Fix computation of AVAILABLE_REG.
423         Emit warning if table is wider than line length.
425         * src/preproc/tbl/tbl.man: Minor improvements.
427 2008-05-02  Larry Jones  <lawrence.jones@siemens.com>
429         * contrib/chem/Makefile.sub (README, examples/README): In makefiles,
430         the `$<' macro is only guaranteed to be defined in inference rules,
431         not in explicit target rules.  Since there is only one input file in
432         the places where it is used, the `$?' macro (which is guaranteed to be
433         defined for both kinds of rules) is a suitable replacement.
435         * hdtbl/examples/fonts_n.in, hdtbl/examples/fonts_n.in: Most
436         versions of ls don't have a `--color' option.
438 2008-04-30  Larry Jones  <lawrence.jones@siemens.com>
440         * Makefile.comm (depend.temp): Add `EXTRA_CCFLAGS'.
442 2008-04-29  Larry Jones  <lawrence.jones@siemens.com>
444         * src/eqn/script.cpp (script_box::output): Portability fix.
446 2008-04-05  Dorai Sitaram  <ds26gte@yahoo.com>
448         Add better support for `.TAG #<label>' in non-HTML documents: In
449         case of a forward reference in a call to .URL, write `(see below)'. 
450         In case of a backwards reference use the page number instead.  The
451         reference gets stored in a string `TAG_<label>' and can be
452         overridden while calling `.TAG' with its new optional argument --
453         this is useful for a second-pass system which resolves forward
454         references.
456         * tmac/www.tmac (www:url_check_tag): New function.
457         (URL): Use it.
458         (TAG): Add optional argument to define string `TAG_<label>'.
460 2008-03-24  Werner LEMBERG  <wl@gnu.org>
462         * tmac/trace.tmac (so, mso): Added.
464         * tmac/www.tmac (PIMG): Replace `.ie' (without `.el') with `.if'. 
465         If used with -mtrace, and this clause was active, the macro was
466         executed twice.
468         * tmac/pspic.tmac (PSPIC): Accept option `-C' for orthogonality. 
469         This makes `.PIMG -C <file>' (from www.tmac) work on non-HTML
470         devices.
471         * man/groff_tmac.man: Document it.
473 2008-02-26  Werner LEMBERG  <wl@gnu.org>
475         * src/roff/troff/input.cpp: s/safer_flag/unsafe_flag/.
476         Update all occurrences so that \n[.U] works as advertised.  Bug
477         reported by Dorai Sitaram.
479 2008-02-17  Werner LEMBERG  <wl@gnu.org>
481         * doc/groff.texinfo: Improve documentation of .cf request.
483 2008-01-19  Werner LEMBERG  <wl@gnu.org>
485         * src/preproc/html/pre-html.cpp (usage): Don't describe options but
486         mention that it should never be called stand-alone.
488         * tmac/groff_www.man, doc/groff.texinfo, man/groff_font.man,
489         man/groff_tmac.man, man/groff_out.man, README, README.MinGW,
490         src/roff/groff/groff.man: Mention -Txhtml.
492         * man/groff_font.man, man/groff_tmac.man, man/roff.man: Revised.
494 2008-01-16  Werner LEMBERG  <wl@gnu.org>
496         * src/libs/libgroff/font.cpp (font::contains, font::get_code):
497         Handle single-letter names correctly.
499         * doc/groff.texinfo, man/groff_diff.man: Extend documentation of \^
500         and \|.
501         * NEWS: Updated.
503 2008-01-15  Werner LEMBERG  <wl@gnu.org>
505         * man/groff_font.man: Revised.
507 2008-01-14  Werner LEMBERG  <wl@gnu.org>
509         * man/groff.man: Mention glyph and characters.
510         Minor other updates.
511         * man/groff_char.man: Minor updates.
512         * man/groff_diff.man: Better clarification between characters and
513         glyphs.
515 2008-01-12  Werner LEMBERG  <wl@gnu.org>
517         * doc/groff.texinfo: Fix top-level structure to make it compilable
518         again with all texinfo modes.  Reported by Jörg van den Hoff
519         <j.van_den_hoff@fzd.de>.
521 2008-01-11  Werner LEMBERG  <wl@gnu.org>
523         * doc/pic.ms: Mention that compass points of line objects are
524         arbitrarily located.
526 2008-01-06  Werner LEMBERG  <wl@gnu.org>
528         * src/roff/troff/node.cpp (left_italic_corrected_node::add_self):
529         Don't remove itself if there is no glyph associated with the node
530         yet.  This happens, for example, in this situation:
532           .ll 15000u
533           .ft I
534           x x
535           (\,f
537 2008-01-05  Werner LEMBERG  <wl@gnu.org>
539         * man/groff_char.man, man/groff.man: Revised.
541         * src/preproc/eqn/lex.cpp (troff_defs): Fix typo.
543 2008-01-04  Werner LEMBERG  <wl@gnu.org>
544         * */*: s/Osanna/Ossanna/.
546         * */*.man: Replace .URL with .UR/.UE (except in groff_www.tmac).
547         Replace .MTO with .MT/.ME (except in groff_www.tmac).
548         Insert `\:' in URLs where appropriate.
549         Don't include www.tmac (except in groff_www.tmac).
551         * man/groff.man (.ESC[]): Fix font of closing bracket.
552         (.ESCq): Fix font of closing quote character.
553         Many other improvements.
555 2007-12-30  Bernhard Fisseni  <bfi@ikp.uni-bonn.de>
557         * src/devices/grohtml/post-html.cc
558         (html_printer::writeHeadMetaStyle): Fix CSS output.
560 2007-12-29  Werner LEMBERG  <wl@gnu.org>
562         * tmac/ec.tmac: Add CM fonts to the .fspecial lines; those fonts
563         contain additional glyphs (like some uppercase Greek letters).
565 2007-12-06  Werner LEMBERG  <wl@gnu.org>
567         * NEWS: Updated.
569 2007-12-06  Colin Watson  <cjwatson@debian.org>
571         * src/roff/nroff/nroff.sh: Add options -w and -W.
572         * src/roff/nroff/nroff.man: Document them.
574 2007-12-06  Karl Berry  <karl@freefriends.org>
576         * tmac/hyphenex.pl: Update header output.
578 2007-11-29  Werner LEMBERG  <wl@gnu.org>
580         * src/devices/grotty/tty.cpp (tty_printer::line): Fix line lengths.
582 2007-11-20  Werner LEMBERG  <wl@gnu.org>
584         * doc/pic.ms: Add Heinz-Jürgen's 3d boxes example.
586 2007-11-17  Werner LEMBERG  <wl@gnu.org>
588         * src/roff/nroff/nroff.sh: Handle GROFF_TYPESETTER environment
589         variable.  Problem reported by Michael G Schwern
590         <schwern@pobox.com>.
592         * src/roff/nroff/nroff.man: Document it.
593         Other minor updates.
595 2007-11-17  Heinz-Jürgen Oertel <hj.oertel@t-online.de>
597         * src/groff/preproc/pic/lex.cpp (table): Add box attributes
598         `xslanted' and `yslanted'.
600         * src/groff/preproc/pic/object.cpp (object_spec::object_spec):
601         Initialize `xslanted' and `yslanted'.
602         (graphic_object): Add methods `set_xlanted' and `set_yslanted'.
603         (closed_object): Ditto.
604         Add members `xslanted' and `yslanted'.
605         (box_object::print): Use them.
606         (object_spec::make_object): Handle slant values.
607         * src/groff/preproc/pic/object.h (IS_XSLANTED, IS_YSLANTED): New
608         constants.
609         (object_spec): Add members `xslanted' and `yslanted'.
610         * src/groff/preproc/pic/pic.y (XSLANTED, YSLANTED): New left-valued
611         tokens.
612         Add rules for them.
613         
614         * src/groff/preproc/pic/pic.man, NEWS, doc/pic.ms: Document above
615         changes.
617 2007-11-16  Werner LEMBERG  <wl@gnu.org>
619         * tmac/hyphenex.pl: Generate copyright notice (this has been
620         approved by Barbara Beeton).
621         * tmac/hyphenex.us: Updated.
623 2007-11-10  Michail Vidiassov  <master@iaas.msu.ru>
625         * tmac/doc-syms (doc-str-St--susv3): New string.
626         * tmac/groff_mdoc.man: Document it.
628 2007-11-08  Werner LEMBERG  <wl@gnu.org>
630         * src/preproc/preconv/preconv.cpp (emacs_to_mime): Add `utf-16be',
631         `utf-16le', `utf-16be-with-signature', `utf-16le-with-signature'. 
632         (is_comment_line): Handle '\" and '\# also.
634         * src/preproc/preconv/preconv.man: Revise and make complete.
636 2007-10-25  Werner LEMBERG  <wl@gnu.org>
638         * tmac/cs.tmac: New file holding Czech strings, contributed by
639         Marcela Maslanova <mmaslano@redhat.com>.
640         * tmac/hyphen.cs, tmac/hyphenex.cs: New hyphenation pattern files
641         for Czech, taken from CTAN.
642         * LICENSES: Updated.
643         * tmac/Makefile (NORMALFILES): Add Czech stuff.
644         * doc/groff_tmac.man: Mention cs.tmac.
646 2007-10-21  Werner LEMBERG  <wl@gnu.org>
648         * src/roff/troff/input.cpp (do_ps_file): Handle `%X' in header
649         comments correctly.  Reported by Frank Jahnke
650         <jahnke@sonatabio.com>.
652 2007-10-02  Ruslan Ermilov  <ru@FreeBSD.org>
654         * tmac/doc-common, tmac/groff_doc.man: Add FreeBSD 6.2, document
655         FreeBSD 5.5 and 7.0.
657         * tmac/doc-syms: Give better names for System V releases.
659 2007-09-25  Gaius Mulley  <gaius@glam.ac.uk>
661         * doc/Makefile.in, doc/Makefile.sub (.ms.html): Add -P-V switch to
662         the production of html files.
663         (pic.html): Ditto.
664         Remove background colour switch.
665         (.SUFFIXES, clean): Handle *.xhtml files.
667         * src/devices/grohtml/grohtml.man: Document that -V option now
668         generates an HTML-4.01 validator or XHTML validator.
670         * src/devices/grohtml/html-text.cpp (html_text::end_tag,
671         html_text::start_tag): Suppress <small>, <big>, and <color> tags if
672         we are inside a <pre> block.
674         * src/devices/grohtml/post-html.cpp
675         (html_printer::handle_valid_flag): Add a parameter to indicate
676         whether it needs to generate a paragraph block.
677         (html_printer::write_navigation): Updated.
678         (html_printer::do_file_components): Generate an HTML-4.01 blue
679         validator button also.
681 2007-09-23  Axel Kielhorn  <A.Kielhorn@web.de>
683         * man/groff.man: Fix URL of CSTR 54.
685 2007-09-23  Werner LEMBERG  <wl@gnu.org>
687         * man/groff_char.man: Normalize character set names as defined
688         by IANA.  Based on a patch from Axel Kielhorn.
690         * src/preproc/refer/label.y: Undo change from 2007-09-19.
692 2007-09-19  Werner LEMBERG  <wl@gnu.org>
694         * src/roff/troff/input.cpp (interpolate_arg): Remove compiler
695         warning.
697         * src/preproc/eqn/pile.cpp (pile_box::output, matrix_box::output):
698         Remove compiler warning.
700         * src/preproc/refer/label.y: Remove compiler warning.
702         * src/preproc/pic/pic.y: Remove doubled token entries.
704 2007-09-19  Gaius Mulley  <gaius@glam.ac.uk>
706         * doc/groff.texinfo: Document new .O register and add cross
707         reference entries.
709         * NEWS: Updated.
711         * src/devices/grohtml/grohtml.man: Document new -V and -y options.
713         * src/devices/grohtml/html-table.cpp: Add support for XHTML 1.1.
714         (html_table:: emit_colspan, html_table::emit_td): New methods.
715         (html_table::emit_col): Use html_table::emit_td.
716         (html_table::emit_table_header): Use html_table::emit_colspan if
717         dialect xhtml is specified.
718         (html_table::finish_row): Updated.
720         * src/devices/grohtml/html-table.h (html_table): Declare
721         emit_colspan, emit_td.
723         * src/devices/grohtml/html-text.cpp: Modified tags to comply with
724         xhtml if this dialect was requested.
726         * src/devices/grohtml/html-text.h (html_dialect): New enumeration.
727         (html_text): Add new variable `dialect'.
729         * src/devices/grohtml/post-html.cpp: Modify header tags to be XHTML
730         compliant.
731         (valid_flag, groff_sig, dialect): New global variables. 
732         (html_printer::handle_valid_flag, html_printer::do_math,
733         html_printer::write_html_anchor, html_printer::write_xhtml_anchor,
734         html_printer::do_math, html_printer::handle_valid_flag): New
735         methods.
736         (html_printer::emit_line, html_printer::emit_raw,
737         html_printer::do_check_center, html_printer::write_title,
738         write_rule, html_printer::writeHeadMetaStyle, generate_img_src,
739         html_printer::begin_page): Altered to be XHTML compliant.
740         (html_printer::write_header): Updated.
741         (html_printer::troff_tag): Call do_math.
742         (html_printer::insert_split_file, html_printer::do_file_components,
743         html_printer::write_navigation): Create XHTML file components if
744         necessary and also produces a groff signature if requested.
745         (~html_printer): Call writeHeadMetaStyle at appropriate places
746         depending upon html_dialect.
747         (html_printer::special): Handle new tags `html<?p>' and `math<?p>'.
748         (main): Added options -x, -V, and -y.
749         (usage): Updated.
751         * src/preproc/eqn/box.cpp: Create a distinction between
752         the MathML device and the XHTML device.
753         (do_text): Issue a newline at the end of the equation if XHTML was
754         specified.
755         (box::top_level): Prefix the output of an equation by the .MATHML
756         macro.
757         (output_string): Suppress \n if XHTML was specified.
759         * src/preproc/eqn/main.cpp (xhtml): New global flag.
760         (inline_equation): Skip leading spaces after inline equation for
761         XHTML device.
762         (main): Set `xhtml' flag if `-Tmathml:xhtml' is specified.
764         * src/preproc/eqn/eqn.h (xhtml): New external flag.
766         * src/preproc/eqn/text.cpp (entity_table): Fix typo.
768         * src/preproc/html/pre-html.cpp (html_dialect): New enumeration.
769         (dialect, eqn_flag): New global variables.
770         (html_system): Improve debugging support.
771         (alterDeviceTo): Test for -Txhtml when altering device to the image
772         device and reset to -Txhtml.
773         (addZ): Renamed to...
774         (addArg): This.
775         Introducea a general parameter.
776         (print_args): New debugging function.
777         (char_buffer::run_output_filter): Use print_args and addArg rather
778         than addZ.
779         (char_buffer::do_html, char_buffer::do_image): Add -rxhtml=1 command
780         line parameter as an argument to the html generation of text when
781         xhtml is needed.  Include -e on the command line if mathml is
782         required.
783         (scanArguments): Allow -e, -V, -y and -x options.
784         -V, -y are handled by the back end.  -e sets `eqn_flag'.
785         -x determines HTML dialect.
787         * src/roff/groff/groff.cpp (possible_command): New method
788         `clear_name'.
789         (main): Set eflag if -e is present on command line.
790         Set is_xhtml if -Txhtml is present.
791         Pass `-x x' to the HTML pre and post processors.
792         Pass `-e' to the HTML pre processor if required.
793         Pass `-Tmathml:xhtml' to eqn if XHTML is requested.
795         * src/roff/troff/input.cpp (init_input_requests): Introduce new
796         number register `\n[.O]'.
798         * tmac/s.tmac: (LP): Use .nop for semantic sugar.
799         (cov*ab-init) reformat.
800         (@EQ): Use EQN-HTML-IMAGE and friends rather than HTML-IMAGE.
801         (CHECK-FOOTER-AND-KEEP): Define FS, FE such that they use
802         <cite></cite> for the html device rather than generate images for
803         footnotes.
805         * tmac/troffrc-end: Define EQN-HTML-IMAGE,
806         EQN-HTML-IMAGE-END, EQN-HTML-IMAGE-RIGHT,
807         EQN-HTML-IMAGE-LEFT, EQN-HTML-IMAGE-INLINE,
808         EQN-HTML-DO-IMAGE, EQN-HTML-IMAGE-END as null strings.
810         * tmac/www.tmac: (HTML<?p>): New macro.
811         (MATH<?p>): New macro.
812         (IMG, PIMG, MPIMG, HR): Use XHTML compliant syntax.
813         (www-emit-ltag): New macro.
814         (www-push-li): Updated.
815         (ULS): Ensure that tags are balanced in order by use of
816         www-emit-ltag.
817         (ULE): Likewise: Use www-emit-ltag and shut down paragraphs in
818         order.
819         (OLS, OLE, DLS, DLE): Ditto.
820         <global>: Define EQ and EN to EQN-HTML-IMAGE and EQN-HTML-IMAGE-END
821         respectively.
822         (www-li-ul, www-li-ol, www-li-dl): Updated.
823         (EQN-HTML-IMAGE, EQN-HTML-IMAGE-RIGHT, EQN-HTML-IMAGE-LEFT,
824         EQN-HTML-IMAGE-INLINE, EQN-HTML-DO-IMAGE, EQN-HTML-IMAGE-END,
825         MATHML): New macros.
827 2007-09-17  Werner LEMBERG  <wl@gnu.org>
829         * man/groff_font.man: Document `unicode' keyword.
830         * doc/groff.texinfo (DESC File Format): Synchronize with
831         groff_font.man.
833 2007-09-15  Werner LEMBERG  <wl@nu.org>
835         * man/groff.man: Document `\_'.
836         * doc/groff.texinfo: Ditto.
837         Remove references to `\@' which isn't a valid escape sequence in
838         groff.
841         * tmac/unicode.tmac: Add ` and '.
842         * tmac/html.tmac: Load unicode.tmac.
844 2007-09-14  Werner LEMBERG  <wl@gnu.org>
846         * tmac/unicode.tmac: Make `-' a pure input character by mapping it
847         to `hy'.
849         * src/roff/troff/input.cpp (init_charset_table): Handle `hy'.
851 2007-09-11  Werner LEMBERG  <wl@gnu.org>
853         * src/libs/libgroff/string.cpp (string::remove_spaces): Fix memory
854         allocation.
856         * src/preproc/tbl/table.cpp (table::allocate): Initialize
857         `blockflag' array.
859 2007-09-10  Keith Marshall  <keith.d.marshall@ntlworld.com>
861         * README.MinGW: Add warnings about use of MSYS-RXVT, and about
862         defective GnuWin32 versions of netpbm/libpng.
864 2007-07-15  Keith Marshall  <keith.d.marshall@ntlworld.com>
866         * tmac/s.tmac (cov*first-page-init): Remove invoking trap, to avoid
867         possible recursion.
869 2007-07-11  Werner LEMBERG  <wl@gnu.org>
871         * gendef.sh: Add shebang.
873 2007-07-05  Werner LEMBERG  <wl@gnu.org>
875         * tmac/papersize.tmac: Fix dimensions of executive paper format. 
876         Reported by John Rupley <rupley@u.arizona.edu>.
878 2007-07-02  Keith Marshall  <keith.d.marshall@ntlworld.com>
880         * tmac/s.tmac (cov*first-page-init): Emit error message if not in
881         top-level environment.
883 2007-06-12  Werner LEMBERG  <wl@gnu.org>
885         * src/devices/xditview/TODO, NEWS: Updated.
886         * src/devices/xditview/Makefile.sub (install_data, uninstall_sub):
887         Handle `GXditview-color'.
888         * src/devices/xditview/gxditview.man: Updated.
890         * m4/groff.m4 (GROFF_APPRESDIR_CHECK): Updated.
891         * m4/codeset.m4, m4/glibc21.m4, m4/iconv.m4, m4/lib-link.m4: Updated
892         from `gnulib' git repository.
894         * configure.ac: Updated.
895         * configure: Regenerated (using autoconf 2.61).
897         * config.guess, config.sub: Updated from `config' CVS repository.
898         * config.rpath, install-sh, mkinstalldirs: Updated from `gnulib' git
899         repository.
901 2007-06-12  Tadziu Hoffmann  <hoffmann@usm.uni-muenchen.de>
903         * src/devices/xditview/GXditview.ad: Split off color definitions
904         into...
905         * src/devices/xditview/GXditview-color.ad: This new file.
907 2007-06-08  Fabrice Ménard  <menard.fabrice@wanadoo.fr>
909         * tmac/fr.tmac: Handle chapter system for `me'.
911 2007-06-05  Tadziu Hoffmann  <hoffmann@usm.uni-muenchen.de>
913         * src/devices/xditview/xditview.c (main): Add support for
914         accelerators.
916         * src/devices/xditview/GXditview.ad: Updated.
917         Make widget more colourful.
919 2007-05-30  Werner LEMBERG <wl@gnu.org>
921         * tmac/groff_mdoc.man: Convert `-' to `\-' where appropriate.
922         Recommend `tbl' instead of `-column' lists for more complicated
923         cases.
925 2007-05-21  Werner LEMBERG  <wl@gnu.org>
927         * src/devices/grops/ps.cpp (ps_printer::set_char): Handle subfonts
928         correctly.
930 2007-04-10  Werner LEMBERG  <wl@gnu.org>
932         In pic, make rounded boxes work with colors.  Reported by Urs Eggli
933         <Urs.Eggli@zuerich.ch>.
935         * src/preproc/pic/common.h (common_output), src/preproc/pix/output.h
936         (output): Add color parameter to `rounded_box' member function.
938         * src/preproc/pic/common.cpp (common_output::rounded_box): Use it.
940         * src/preproc/pic/object.cpp (box_object::print): Pass `color_fill'
941         to `out->rounded_box'.
943 2007-04-09  Michail Vidiassov  <master@iaas.msu.ru>
945         * font/devps/generate/textmap: Add Greek letters and some more.
947         * src/utils/afmtodit/afmtodit.tables: Change values of `Delta',
948         `Omega', and `mu' to the ones from aglfn.txt.
950 2007-04-08  Keith Marshall  <keith.d.marshall@ntlworld.com>
952         * tmac/s.tmac (SN): Define unconditionally.
953         (SN-STYLE): New string; define.
955         * NEWS, tmac/groff_ms.man, doc/groff.texinfo (SN-STYLE): Document it.
957 2007-03-22  Werner LEMBERG  <wl@gnu.org>
959         * tmac/pspic.tmac: Fix harmless numeric overflow warning.  Reported
960         by Jörg van den Hoff <j.van_den_hoff@fzd.de>.
962 2007-03-20  Werner LEMBERG  <wl@gnu.org>
964         * tmac/trace.tmac (rn): Added.
965         (nr, ds, ds1, as, as1, substring): Restore escape character while
966         executing the macro.
967         (nr): Remove dead code.
969         * src/preproc/eqn/box.cpp (box::top_level): Use \E in string
970         definitions to make them traceable.
972 2007-03-19  Werner LEMBERG  <wl@gnu.org>
974         * src/roff/troff/input.cpp (get_copy): Add third argument to control
975         whether \E shall be expanded.
976         (get_char_for_escape_name): Allow \E.
978 2007-03-15  Werner LEMBERG  <wl@gnu.org>
980         * tmac/s.tmac (MO, CH, pg*OH, pg*EH, pg*OF, pg*EF, *, [., .],
981         par*define-font-macro, \[hooko]): Use \E to make it traceable.
983         (ref*field): Add argument to control the space between previous and
984         current argument.
985         Update all callers.
986         (ref*add-N): Fix handling of opening parenthesis.  Problem reported
987         by Jörg van den Hoff <j.van_den_hoff@fzd.de>.
989 2007-03-14  Werner LEMBERG  <wl@gnu.org>
991         * tmac/trace.tmac (als): Added.
992         (de, de1, am, am1): Make traced macros aliased with .als work.
994 2007-02-25  Werner LEMBERG  <wl@gnu.org>
996         * src/devices/xditview/TODO: Add some more items.
998         * Makefile.comm (.man.n): Add @APPRESDIR@.
999         Sort entries.
1001         * src/devices/xditview/gxditview.man: Document GXditview resource
1002         file.
1003         Other documentation enhancements based on a patch from Jörg.
1005 2007-02-25  Tadziu Hoffmann  <hoffmann@usm.uni-muenchen.de>
1006             Joerg van den Hoff <j.van_den_hoff@fzd.de>
1008         * src/devices/xditview/GXditview.ad: Make all keys work regardless
1009         of the current mouse position.
1011 2007-02-20  Werner LEMBERG  <wl@gnu.org>
1013         * tmac/groff_man.man: Revised to improve visual appearance.
1014         Reduce use of future tense.
1016         * tmac/groff_trace.man: Revosed to improve visual appearance.
1018 2007-02-19  Eric S. Raymond  <esr@snark.thyrsus.com>
1020         Make groff.man viewer-portable.
1022         * tmac/groff.man: Eliminate use of .eo/.ec.
1023         (.REQ): Surround args 2 through N with quotes.  This will enable us
1024         not to rely on the shift request, which is nonportable.
1025         (ExecFF): Remove.  The code is simpler without it.
1027 2007-02-18  Eric S. Raymond  <esr@snark.thyrsus.com>
1029         * tmac/groff_www.man: Viewer-portability fixes.
1031 2007-02-16  Eric S. Raymond  <esr@snark.thyrsus.com>
1033         * man/groff.man: Remove some unneeded code and a no-longer-used
1034         inclusion of the www macros.
1036 2007-02-12  Werner LEMBERG  <wl@gnu.org>
1038         * src/preproc/tbl/table.cpp (compute_span_width): Fix use of
1039         AVAILABLE_REG.
1040         (table::compute_widths): Simplify.
1042 2007-02-11  Werner LEMBERG  <wl@gnu.org>
1044         * src/preproc/tbl/table.h: Don't include `stdbool.h'.
1045         (table): Replace `bool' type with `char' for orthogonality.
1046         Update all users.
1048         * src/preproc/tbl/table.cpp (block_entry::do_divert): Fix usage of
1049         AVAILABLE_REG and COLCOUNT_REG.
1050         (table::table): Fix order call of initializers.
1051         (table::~table): Deallocate `blockflag'.
1053 2007-02-09  Eric S. Raymond  <esr@snark.thyrsus.com>
1055         A try at the new rule for block column allocation is now enabled by
1056         the new `experimental' global option: The horizontal space up to the
1057         right margin which is not used by columns without text blocks is
1058         evenly distributed to the columns with text blocks.
1060         It doesn't work right as yet; there appears to be some error in the
1061         computation of `3avail', the available line length.  The purpose of
1062         this patch is (a) to make experimenting with other formulas easy,
1063         and (b) leave the infrastructure for flag `experimental' in place
1064         for future experiments.  Do not document any behavior associated
1065         with this flag!
1067         * src/preproc/tbl/table.h: Include `stdbool.h'.
1068         (table): Make `flags' public.
1069         Add `count_block_columns' function.
1070         Add `blockflag' array.
1071         Add `EXPERIMENTAL' enumeration value.
1073         * src/preproc/tbl/table.cpp (AVAILABLE_REG, COLCOUNT_REG): New
1074         macros.
1075         (table_entry): New member `parent' so that class and subclass
1076         members can set a parent field.  Update all users.
1077         (block_entry::do_divert): Handle `EXPERIMENTAL' flag.
1078         (block_entry::do_width): Set the parent's `blockflag'.
1079         (table::allocate): Handle `blockflag'.
1080         (table::count_block_columns): New function.
1081         (compute_span_width): Adjust AVAILABLE_REG.
1082         (table::compute_widths): Handle COLCOUNT_REG and AVAILABLE_REG.
1084         * src/preproc/tbl/main.cpp (process_options): Handle `experimental'
1085         option.
1087 2007-02-08  Zhao, Yu (William)  <yzhao2@alcatel-lucent.com>
1089         * src/devices/grodvi/dvi.cpp (draw_dvi_printer::draw) <'e'>: Set
1090         line thickness.
1092 2007-02-08  Werner LEMBERG  <wl@gnu.org>
1094         * man/groff_out.man (offset): Make it work reliably.
1096 2007-02-07  Eric S. Raymond  <esr@snark.thyrsus.com>
1098         * man/groff_out.man: Simplify some font changes so \fP is less
1099         likely to do something surprising.
1100         
1101         * man/groff_out.man: We can simplify the command macros still
1102         further if we stop trying to hide structural requests inside them. 
1103         Also, fix some instances of \} at start of line without a dot, and
1104         make some font changes explicit in strings.
1105         
1106         * man/groff_out.man: Cleanup -- remove now-unneeded uses of .do and
1107         .cp.
1108         
1109         * man/groff_out.man: Final step: Reduce x-command, get rid of eo/ec
1110         calls and fix macros to do without them.  File should now be
1111         viewer-portable.
1112         
1113         * man/groff_out.man: Fourth step: Eliminate use of eqn in favor of
1114         micromotions that produce the same visual result and can be lifted
1115         to XML-DocBook.
1116         
1117         * man/groff_out.man: Third step: Reduce Da-comand, fix a
1118         call-sequence bug in the original.
1119         
1120         * man/groff_out.man: Second step: Reduce D-commmand and D-command+,
1121         move font-change escapes to portable form.
1123         * man/groff_out.man: First step in macro simplification; eliminate
1124         list1..n, simplify .offset and .index_offset so they no longer
1125         require groff-specific features or eqn (instead, use troff
1126         micromotions for subscripting).
1128 2007-02-06  Eric S. Raymond  <esr@snark.thyrsus.com>
1130         * src/preproc/eqn/eqn.man: Minor corrections.
1132         * tmac/an-ext.tmac: Change .UR/.UE and .MT/.ME so the start macro no
1133         longer takes a second argument that is pasted to the end of the
1134         generated text.  Instead, the end macro takes an argument that does
1135         the same thing.
1137         * man/ditroff.man, man/groff_diff.man, man/groff.man,
1138         man/groff_out.man, man/groff_tmac.man, man/roff.man,
1139         src/roff/groff/groff.man, src/roff/grog/grog.man,
1140         tmac/groff_man.man, tmac/groff_trace.man: Update accordingly.
1142         * src/roff/troff/troff.man: .SY and .YS are canned macros now,
1143         so we can use them here.
1144         
1145 2007-02-05  Eric S. Raymond  <esr@snark.thyrsus.com>
1147         * src/preproc/eqn/lex.cpp, src/preproc/eqn/eqn.man:
1148         By popular demand, make ... set three lower dots again
1149         and introduce a new predefined macro 'cdots' to set
1150         three centered dots.
1152 2007-02-05  Werner LEMBERG  <wl@gnu.org>
1154         * src/preproc/eqn/eqn.man: Revised.
1156         * src/preproc/eqn/text.cpp (map, special_char_boc::output): Use
1157         `const'.
1158         (spacing_type): Fix typo.
1159         (special_to_entity): Use `const'.
1160         Remove unused variable.
1161         * src/preproc/eqn/other.cpp (font_box::output): Use `const'.
1163 2007-02-05  Eric S. Raymond  <esr@snark.thyrsus.com>
1165         * src/devices/grotty/grotty.man: \m[] and \M[] aren't portable,
1166         which is a shame as the effect was cute.
1168 2007-02-04  Eric S. Raymond  <esr@snark.thyrsus.com>
1170         * man/groff_tmac.man, man/groff_diff.man: Portability conversion;
1171         rip out over-elaborate macrology, use .EX/.EE and .UR/.UE where
1172         possible, remove preamble declarations and macros that are no
1173         longer needed.  Conversion checked using the protocol described in
1174         tmac/TESTING-HINTS.
1176 2007-02-03  Werner LEMBERG  <wl@gnu.org>
1178         * tmac/an-old.tmac (LP, IP, HP): Use .ns to suppress additional
1179         vertical space.
1181 2007-02-03  Eric S. Raymond  <esr@snark.thyrsus.com>
1183         * tmac/groff_man.man: Documented the extension macros, and 
1184         added portability advice.
1186         * MORE.STUFF: More-stuff entries for doclifter and pic2plot.
1189         Add support for MathML output to eqn.  
1191         The strategy used is very simple and relies on the fact that the box
1192         models of eqn and Presentation MathML differ in only trivial ways. 
1193         It leaves the grammar and existing internal object structures
1194         unchanged.  A new global, `output_format', is defined as an
1195         enumerated type with values {troff, mathml}.  Most of the functions
1196         and methods that emit actual output acquire a top-level conditional,
1197         dispatching on this global, which has one arm for troff mode and one
1198         for MathML mode.  In most cases the MathML arm is drastically
1199         simpler.
1201         (This strategy could be easily generalized to support other output
1202         formats.  TeX is a possibility that leaps to mind.)
1204         The only even moderately tricky changes are in the lexer.  Some of
1205         the predefined macros used constructs like `up', `down', `fwd',
1206         `back', and `vcenter' that have no equivalents in MathML.  I
1207         attacked this problem in these ways:
1209         1. I eliminated three uses of `back' to compose characters in favor
1210            of using equivalent groff specials `\(<<', `\(>>', and `\(<>'
1211            that did not exist when these macros were written.  (This will be
1212            a quality improvement for troff users.)
1214         2. I eliminated one use of `vcenter' by using \\(md.  (Likewise...)
1216         3. I then split the table of pre-definitions in three; one large
1217            common table and two small troff-specific and MathML-specific
1218            tables.  Use of troff-only operations (up, down, back, fwd,
1219            vcenter) is now confined to the former.  The latter now uses
1220            `size big' and drops out the explicit positioning operations,
1221            counting on MathML processors to do them.
1223         POTENTIAL TROUBLE SPOTS:
1225         Here are notes for reviewers on places I'm not 100% sure I've done
1226         the right thing:
1228         * In the process of preparing the troff table, I translated three
1229           definitions (dot_def, dotdot_def, and utilde def) that previously
1230           used explicit \v escapes to use `up' and `down' instead.  I
1231           modeled the new definitions on the way `vec' and `dyad' work, but
1232           it's possible I got something subtle wrong.
1234         * I'm not certain the MathML implementation of font_box::output() is
1235           right, because I don't quite get what the switcheroo between
1236           `current_roman_font' and `old_roman_font' is supposed to
1237           accomplish.  It does seem to generare good MathML, though.
1239         Finally, I made one purely cosmetic change in `text.cpp'; I replaced
1240         with an enum some magic numbers for spacing types that I thought
1241         were too ugly to live.
1243         REMAINING ISSUES:
1245         The entirety of eqn is translated when `-TMathML' is specified, 
1246         with the following exceptions...
1248         Limitations that cannot be fixed include non-support for special,
1249         up/down/fwd/back, and vcenter.
1251         Limitations that might be fixable include non-support for mark and
1252         lineup.  I will investigate further, but if these can be implemented
1253         at all it's going to be in a very complicated and nasty way.
1255         The way character boxes are output means that each digit of a
1256         multi-digit number gets its own <mn></mn> tag pair in the MathHTML. 
1257         While this is not technically wrong for Presentation MathML, it is
1258         ugly and inefficient.  Fixing this will require implementing a
1259         little state machine in the `text.cpp' output method.
1261         * src/preproc/eqn/box.cpp, src/preproc/eqn/delim.cpp, 
1262         src/preproc/eqn/eqn.h, src/preproc/eqn/eqn.man, 
1263         src/preproc/eqn/lex.cpp, src/preproc/eqn/limit.cpp,
1264         src/preproc/eqn/list.cpp, src/preproc/eqn/main.cpp, 
1265         src/preproc/eqn/other.cpp, src/preproc/eqn/over.cpp, 
1266         src/preproc/eqn/pile.cpp, src/preproc/eqn/script.cpp,
1267         src/preproc/eqn/sqrt.cpp, src/preproc/eqn/text.cpp,
1268         src/preproc/eqn/eqn.man: MathML output mode.
1270         * NEWS: Document it.
1272 2007-02-02  Eric S. Raymond  <esr@snark.thyrsus.com>
1274         * src/roff/groff/groff.man: Converted to use .SY/.OP/.YS
1275         and for cross-viewer portability.  Conversion checked 
1276         using the protocol described in tmac/TESTING-HINTS.
1278 2007-02-02  Werner LEMBERG  <wl@gnu.org>
1280         * tmac/an-ext.tmac (ME): Don't use `\:'.
1282         * src/roff/grog/grog.man: Further refinements and normalizations.
1284 2007-02-02  Eric S. Raymond  <esr@snark.thyrsus.com>
1286         * src/roff/grog/grog.man: Converted to use .SY/.OP/.YS and for
1287         cross-viewer portability.  Conversion checked using the protocol
1288         described in tmac/TESTING-HINTS.
1290 2007-02-01  Eric S. Raymond  <esr@thyrsus.com>
1292         * tmac/TESTING-HINTS: Added.
1294 2007-02-01  Eric S. Raymond  <esr@thyrsus.com>
1296         Enable the support for Bell archaisms on .SC, so the `-r bell'
1297         switch is no longer needed to format old AT&T papers like
1298         the EQN user guide.
1300         * tmac/s.tmac (.SC, .UC, .P1, .P2): Updated.
1302         * tmac/groff_ms.man, doc/groff.texinfo, NEWS: Updated.
1304 2007-02-01  Eric S. Raymond  <esr@thyrsus.com>
1306         Add some Bell labs extensions to the -ms macros.
1308         * tmac/s.tmac (.SC, .UC, .P1, .P2) [bell]: New macros.
1310         * tmac/groff_ms.man, doc/groff.texinfo, NEWS: Document `-r bell'.
1312 2007-01-30  Werner LEMBERG  <wl@gnu.org>
1314         * tmac/an-ext.tmac (\n[EX]): Rename to \n[mX].
1315         (\n[mH]): New register (set if grohtml is used).
1316         (\n[SY]): Rename to \n[mS].
1317         (\n[a]): Rename to \n[mA].
1318         (\n[i]): Rename to \n[mI].
1319         (mU): New auxiliary input trap macro.
1320         (UR, UE): Replace stub with real definition.
1321         (URL): Remove.
1322         (MT, ME): New macros.
1323         (MTO): Remove.
1324         (EX, EE): Don't insert vertical space.
1325         Use a register to store (and restore) the current font.
1327         * man/ditroff.man, man/groff_diff.man, man/roff.man: Revised, based
1328         on patches from Eric Raymond.
1329         Fix URL addresses.
1331 2007-01-22  Gaius Mulley  <gaius@glam.ac.uk>
1333         * tmac/an-old.tmac (an-trap, HP): Make `HP' work as expected.
1335 2007-01-22  Werner LEMBERG  <wl@gnu.org>
1337         * tmac/an-ext.tmac: Protect against being sourced twice.
1338         (URL, EE): Use always two backslashes.
1339         (MTO): New macro.
1341 2007-01-16  Werner LEMBERG  <wl@gnu.org>
1343         * tmac/an-ext.tmac: Remove code for grodvi.
1344         (SY): Fix typos.
1345         Don't insert empty line.
1346         (URL, TQ): Fix typos.
1348 2007-01-14  Werner LEMBERG  <wl@gnu.org>
1350         * tmac/an-ext.tmac: New file, containing extension macros
1351         for -man.  See discussion on the groff mailing list for
1352         background information.
1353         * tmac/an-old.tmac: Load an-ext.tmac.
1354         Decorate .ds and as with comment escapes where appropriate.
1355         * tmac/Makefile.sub (NORMALFILES): Add an-ext.tmac.
1357 2007-01-05  Werner LEMBERG  <wl@gnu.org>
1359         * src/preproc/tbl/tbl.man: Document .T# and \n[TW].
1361 2007-01-04  Gaius Mulley  <gaius@glam.ac.uk>
1363         Make -me macros ready for grohtml.
1365         * tmac/e.tmac: Load devtag.tmac.
1366         (need_eo_h, need_eo_tl, need_tl): New registers.
1367         (check_need_title, (x-html, )x-html, xp-html): New macros.
1368         (@h, hl, ip, @p, sh, (b, (l, EQ, EN, TS, TE, PS, PE, GS, GE, r, i,
1369         b, rb, bi, bx, (x, )x, xp): Adapt for use with grohtml.
1370         (bp): Rename to @b only if output device is not html.
1372 2007-01-01  Werner LEMBERG  <wl@gnu.org>
1374         * man/groff_font.man: Document empty lines.
1376         * src/utils/afmtodit/afmtodit.pl: Always print a header comment at
1377         the very beginning of the output.
1378         [!$opt_x]: Fix typo.
1380         * font/devps/*: Regenerate font definition files.
1382 2007-01-01  Werner LEMBERG  <wl@gnu.org>
1384         * font/devps/generate/Makefile (AFMTODIT): Use -c flag.
1386         * font/devps/*: Regenerate font definition files.
1388 2006-12-31  Werner LEMBERG  <wl@gnu.org>
1390         * Makefile.in (oldfontdir): New variable.
1391         (MDEFINES): Add $(oldfontdir).
1392         (uninstall_dirs): Remove `current' link.
1393         Remove $(oldfontdir).
1395         * Makefile.comm (oldfontsubdir): New variable.
1396         (install_dev): Install files collected in $(OLDDEVFILES) into
1397         $(oldfontsubdir).
1398         (uninstall_dev): Remove data in $(oldfontsubdir).
1399         (.man.n): Handle @OLDFONTDIR@.
1401         * src/devices/grodvi/grodvi.man, src/devices/grohtml/grohtml.man,
1402         src/devices/grolbp/grolbp.man, src/devices/grolj4/grolj4.man,
1403         src/devices/grotty/grotty.man, src/devices/xditview/gxditview.man:
1404         Document GROFF_FONT_PATH.
1406         * src/devices/grops/grops.man: Document GROFF_FONT_PATH and
1407         old font description files.
1409         * font/devps/Makefile.sub (OLDDISTFILES, OLDDEVFILES): New
1410         variables.
1412         * font/devps/old/*: New directory, holding the previous version
1413         of the 35 Adobe core font description files.
1415         * font/devps/*: Regenerated the 35 Adobe core fonts, using the
1416         Adobe-Core35_AFMs-229.tar.bz2 bundle from ftp.dante.de.
1418         * NEWS: Document font update.
1420 2006-12-31  Werner LEMBERG  <wl@gnu.org>
1422         * font/devps/generate/Makefile (symbolsl.afm): Use $(srcdir).
1424         * Makefile.comm (fonts): New (empty) target.
1425         * Makefile.in (TARGETS): Add `fonts'.
1427         * MANIFEST: Add `chem'.
1429         * doc/groff.texinfo (Changing Fonts): Font translations with .ftr
1430         can't be chained.
1432 2006-12-26  Werner LEMBERG  <wl@gnu.org>
1434         * src/preproc/grn/hdb.cpp: Include gprint.h later.  From NetBSD.
1436 2006-12-19  Werner LEMBERG  <wl@gnu.org>
1438         Add support for German.  For activation, simply use -mde or -mden
1439         (for traditional and new orthgraphy, respectively) as the last
1440         macro package.
1442         * tmac/de.tmac, tmac/den.tmac, tmac/hyphen.det, tmac/hyphen.den,
1443         tmac/hyphenex.det: New files, partly taken from CTAN.
1444         * LICENSES: Updated list of hyphenation patterns.
1445         * man/groff_tmac.man: Mention de.tmac and den.tmac.
1446         * NEWS: Updated.
1448 2006-12-11  Werner LEMBERG  <wl@gnu.org>
1450         Support up to 32 macro arguments in pic (and up to 16 on EBCDIC
1451         hosts).
1453         * src/preproc/pic/lex.cpp (ARG1): Redefine.  Update all users.
1454         (MAX_ARG): New macro.  Use it everywhere to replace hard-coded
1455         limit of 9 arguments.
1456         (process_body): Handle argument numbers with more than a single
1457         digit.
1458         (interpolate_macro_with_args): Protect against exceeding number of
1459         arguments.
1461         * NEWS, src/preproc/pic/pic.man, doc/pic.ms: Document it.
1463 2006-12-10  Werner LEMBERG  <wl@gnu.org>
1465         * Makefile.in (site.exp, docheck): Commented out.  Not working
1466         currently.
1467         (check): Just emit dummy message.
1469 2006-12-08  Werner LEMBERG  <wl@gnu.org>
1471         During installation, create soft link from <version> to `current' in
1472         <datadir>/groff.
1474         * Makefile.comm (install): Renamed to...
1475         (do_install): This.
1476         (prefix_must_exist): Removed.  Code moved to Makefile.in.
1478         * Makefile.in (TARGETS): Remove `install'.
1480         (install): New target which first creates the directory given by
1481         --prefix, then calling `make' to do the installation, and finishing
1482         with the creation of the soft link.
1484 2006-11-21  Werner LEMBERG  <wl@gnu.org>
1486         * doc/Makefile.sub (uninstall_sub): Fix names for info files.
1488 2006-11-18  Werner LEMBERG  <wl@gnu.org>
1490         * man/roff.man, doc/groff.texinfo: Improve history of roff, based on
1491         information from Tom Van Vleck <thvv@multicians.org>.
1493 2006-11-16  Werner LEMBERG  <wl@gnu.org>
1495         * tmac/62bit.tmac: New macro package.
1496         * tmac/Makefile.sub (NORMALFILES): Add it.
1497         * NEWS: Document it.
1499         * tmac/trace.tmac: Protect against being loaded again.
1500         (nr): Always show result.
1502         * doc/groff.texinfo (Input Encodings): Document latin-5.
1504         * man/grof_tmac.man: Document sv, latinX, cp1047, 60bit, ec.
1506 2006-11-13  Werner LEMBERG  <wl@gnu.org>
1508         * doc/groff.texinfo (Page Location Traps) [.wh]: Give more details
1509         on negative trap positions.
1511 2006-11-10  Werner LEMBERG  <wl@gnu.org>
1513         * Makefile.comm (.man.n): Handle @DATASUBDIR@.
1515 2006-11-09  Werner LEMBERG  <wl@gnu.org>
1517         * INSTALL: Move information about external installation from
1518         INSTALL.gen into this file.
1519         Updated.
1521         * INSTALL.gen: Update to new version (from texinfo CVS).
1523 2006-11-09  Bernd Warken
1525         * INSTALL.gen: Extend the file by information on `external
1526         installation'.  Reorder the installation instruction as `normal
1527         installation'. 
1529 2006-11-08  Werner LEMBERG  <wl@gnu.org>
1531         * doc/Makefile.sub (install_data): Take care of proper paths while
1532         installing info files.  Bug reported by Bernd Warken.
1534 2006-11-06  Bernd Warken
1536         * src/roff/grog/grog.pl: Rewrite.
1537         - Call by `#! /usr/bin/env perl'.  That isn't replaced.
1538         - Rename usage() to version().
1539         - Use warnings.
1540         - For `use strict', start all global variables with an upper case
1541         character.  Use `my' for all variables.  Use several new variables.
1542         - Add option `-h'.
1543         - Add copyright to GPL and Emacs comment.
1544         - Handle several `-m*' options.
1545         - Fix handling of `-ms' and `-mm'.  Add .TL and .NH.
1546         - Allow options after file names.
1547         - Allow only one `-' parameter (standard input).
1548         - Add option abbreviations.
1549         - Expand the usage information.
1550         - Add `chem'.
1551         - Add single quote "'" as additional first character and allow
1552         arbitrary space after the first character.
1554         * src/roff/grog/grog.sh: Rewrite.
1555         - Remove option `-e' of `sed'.
1556         - Allow file names with space characters.
1557         - Add option `-h'.
1558         - Add copyright to GPL.
1559         - Handle several `-m*' options.
1560         - Fix handling of `-ms' and `-mm'.  Add .TL and .NH.
1561         - Allow options after file names.
1562         - Allow only one `-' parameter (standard input).
1563         - Add option abbreviations.
1564         - Expand the usage information.
1565         - Add `chem'.
1566         - Add single quote "'" as additional first character and allow
1567         arbitrary space after the first character.
1569         * src/roff/grog/Makefile.sub:
1570         - Add copyright to GPL.
1571         - Remove `grog:'.  Move `grog.old:' to `grog:' in order to have a
1572         fair chance to choose between the shell version and the Perl
1573         version of `grog'.  This is now again comparable to grog in groff
1574         version 1.10.
1576         * src/roff/grog/grog.man: Rewrite.
1577         - Move the license to GPL.
1578         - New sections: OPTIONS, DETAILS, EXAMPLES, COPYING.
1579         - Take over some setup and macros from `groffer'.
1580         - Add information on options.
1582 2006-10-28  Werner LEMBERG  <wl@gnu.org>
1584         * tmac/trace.tmac: Improve tracing of `.nr'.
1585         Trace `.substring' also.
1587         * NEWS: Updated.
1589 2006-10-28  Bernd Warken
1591         * man/roff.man, src/roff/groff/groff.man: Add `chem', fix position
1592         of groff development site, fix fonts.
1594         * News: Add information on `chem' and `groffer'.
1596 2006-10-26  Bernd Warken
1598         * Makefile.in (OTHERDIRS, NOMAKEDIRS): Add `chem' bundle.
1600 2006-10-26  Werner LEMBERG  <wl@gnu.org>
1602         Add `\$^' escape to handle the parameters to a macro as a string
1603         argument.
1605         * src/roff/troff/input.h (DOUBLE_QUOTE): New special character.
1607         * src/roff/troff/input.cpp (input_iterator, input_stack,
1608         macro_iterator): Add `space_follows_arg' member function.
1609         (macro_iterator::add_arg): Add parameter to set the `space_follows'
1610         flag.
1611         (arg_list): Add member `space_follows'.
1612         Update constructor and all callers.
1613         (decode_args): Store discarded double quotes.
1614         (interpolate_args): Handle DOUBLE_QUOTE.
1615         Add `\$^' escape.
1616         (get_copy, token::next, composite_glyph_name): Handle DOUBLE_QUOTE.
1618         * tmac/trace.tmac: Trace .nr, .ds, .ds1, .as, .as1.
1620         * docs/groff.texinfo (Parameters), man/groff.man,
1621         man/groff_diff.man, NEWS: Document it.
1623 2006-10-24  Bernd Warken
1625         * Makefile.in (NOMAKEDIRS): Add groffer subdirectories.
1627 2006-10-24  Werner LEMBERG  <wl@gnu.org>
1629         * tmac/groff_trace.man: Mention problem with `\\\\'.
1631 2006-10-23  Werner LEMBERG  <wl@gnu.org>
1633         * doc/groff.texinfo (Expressions): Improve documentation of `!'.
1635         * tmac/trace.tmac (return): Don't call `substring'.
1637 2006-09-10  Werner LEMBERG  <wl@gnu.org>
1639         * src/roff/troff/input.cpp (read_size): Revert previous change
1640         w.r.t. `\s-[-...]'.
1642         * doc/groff.texinfo (Fractional Size Types): Clarify syntax of \s.
1644 2006-09-09  Werner LEMBERG  <wl@gnu.org>
1646         * src/roff/troff/input.cpp (read_size): Fix `\s[-\n[.s]]' so that it
1647         behave the same as `\s-[\n[.s]]' (this is, emit a warning and set
1648         point size to 1).  Reported by Gunnar Ritter.
1649         Also catch `\s-[-...]' and friends (causing an error).
1651 2006-09-06  Werner LEMBERG  <wl@gnu.org>
1653         * src/roff/troff/env.cpp (environment::do_break): Insert zero-width
1654         space only if there is no previous space.  This fixes a bug which
1655         caused unwanted filling of the last line in a paragraph.  Thanks to
1656         Gunnar Ritter for an analysis.
1658 2006-09-03  Werner LEMBERG  <wl@gnu.org>
1660         * src/roff/groff/groff.cpp (main): Pass -U flag to pic also.
1661         Reported by Jennifer Sayers <jenjen@isu.usyd.edu.au>.
1663 2006-09-01  Nick Stoughton  <nick@msbit.com>
1664             Werner LEMBERG  <wl@gnu.org>
1666         Add a request `pev' to print environment information (similar to
1667         `pnr' and `ptr' to print number registers and traps).
1669         * src/roff/troff/env.h (environment): Add member function print_env.
1671         * src/roff/troff/env.cpp: (environment::print_env): New function to
1672         print a given environment state.
1673         (print_env): New global function to iterate through the
1674         environments, printing each one.
1675         (init_env_requests): Register `pev'.
1677         * doc/groff.texinfo (Debugging), man/groff.man, man/groff_diff.man,
1678         NEWS: Document `pev' request.
1680 2006-09-01  Bernd Warken
1682         * src/preproc/soelim/soelim.cpp (usage): Fix option argument of
1683         `-I' to `dir'.
1685 2006-09-01  Werner LEMBERG  <wl@gnu.org>
1687         * src/preproc/pic/main.cpp (usage): Add missing options.
1689 2006-08-25  Werner LEMBERG  <wl@gnu.org>
1691         * src/preproc/soelim/soelim.man: Document how to insert `\' and ` '
1692         in file names.
1694 2006-08-19  Werner LEMBERG  <wl@gnu.org>
1696         * configure: Regenerated.
1698 2006-08-18  Keith Marshall  <keith.d.marshall@ntlworld.com>
1700         * m4/groff.m4 (GROFF_MAKEINFO): Correct `makeinfo version testing
1701         logic; it previously caused an `expr' syntax error, if no version of
1702         `makinfo' was present.  Also, remove dependency on `makeinfo' in VPATH
1703         builds, if an up to date `groff.info' is present in either `builddir'
1704         or in `srcdir'.
1706 2006-08-12  Tadziu Hoffmann  <hoffmann@usm.uni-muenchen.de>
1708         * font/devps/prologue.ps: Add BPhook.
1710         * src/devices/grops/grops.man: Document BPHook.
1711         Reorder some sections for better readability.
1713 2006-08-12  Werner LEMBERG  <wl@gnu.org>
1715         * src/include/lib.h (getlocale): New macro.
1716         (setlocale, LC_ALL, LC_CTYPE) [!HAVE_SETLOCALE]: Define, as
1717         suggested by Bruno.
1719         * src/preproc/preconv/preconv.cpp (main): Use getlocale.
1721 2006-08-11  Werner LEMBERG  <wl@gnu.org>
1723         Add new flag to .cflags to enable hyphenation without looking at
1724         hcode values.
1726         * src/roff/troff/charinfo.h (charinfo): New enumeration value
1727         `IGNORE_HCODES'.
1728         New member function `ignore_hcodes'.
1730         * src/roff/troff/node.cpp (break_char_node::add_self,
1731         node::add_char): Updated.
1733         * doc/groff.texinfo, man/groff_diff.man, NEWS: Document it.
1735 2006-08-09  Werner LEMBERG  <wl@gnu.org>
1737         Support composite Unicode characters again.  Reported by Colin.
1739         * font/devhtml/R.proto: Renamed to...
1740         * font/devhtml/R.in: This.
1742         * font/devutf8/R.proto: Renamed to...
1743         * font/devutf8/R.in: This.
1744         Add `charset' line.
1746         * font/make-Rproto: New script.
1747         * font/devhtml/R.proto, font/devutf8/R.proto: Generated.
1749 2006-07-26  Werner LEMBERG  <wl@gnu.org>
1751         * README: Fix description of CVS access.  Reported by Joachim.
1753 2006-07-11  Werner LEMBERG  <wl@gnu.org>
1755         Add a request `.fzoom' and a number register `.zoom' to magnify
1756         fonts.
1758         * src/include/font.h (font): Add member variable `zoom'.
1759         Add member functions `set_zoom' and `get_zoom'.
1760         Remove `static' attribute from `scale' member function.
1762         * src/libs/libgroff/font.cpp (font::font): Updated.
1763         (scale_round): New version with three parameters to handle zoom
1764         factor.
1765         (font::scale, font::get_width): Handle zoom factor.
1766         (font::set_zoom, font::get_zoom): New functions.
1767         (font::load): Handle `zoom' while computing `space_width'.
1769         * src/roff/troff/env.h: Declare `env_get_zoom'.
1770         (environment): Add member function `get_zoom'.
1772         * src/roff/troff/env.cpp (environment::get_zoom): New function.
1773         (init_env_requests): Initialize `.zoom' register.
1775         * src/roff/troff/node.cpp (font_info): New member functions
1776         `set_zoom' and `get_zoom'.
1777         (tfont): New member function `get_zoom'.
1778         (env_get_zoom): New function.
1779         (troff_output_file::set_font): Handle zoom factor.
1780         (font_zoom_request): New function.
1781         (init_node_requests): Initialize `fzoom' request.
1783         * docs/groff.texinfo (Changing Fonts), man/groff.man,
1784         man/groff_diff.man, NEWS: Document `fzoom' request and `.zoom'
1785         register.
1787         * src/roff/troff/TODO: Updated.
1789 2006-07-10  Werner LEMBERG  <wl@gnu.org>
1791         * doc/groff.texinfo (Drawing Requests): Improve documentation of
1792         \D'P ...'.
1794 2006-07-02  Werner LEMBERG  <wl@gnu.org>
1796         * man/groff_tmac.man: Document usage of .PSPIC within diversions.
1798 2006-07-01  Werner LEMBERG  <wl@gnu.org>
1800         * tmac/pspic.tmac: Make .PSPIC work for all devices.
1801         Print image file name for devices which don't support PS image
1802         inclusion.
1803         Handle multiple inclusions.
1804         Add lots of comments.
1806         * tmac/dvi.tmac, tmac/html.tmac, tmac/ps.tmac: Don't load
1807         pspic.tmac.
1809         * tmac/troffrc: Load pspic.tmac.
1811         * man/groff_tmac.man: Update .PSPIC documentation.
1813         * NEWS: Updated.
1815 2006-06-29  Werner LEMBERG  <wl@gnu.org>
1817         * src/roff/troff/input.cpp (interpolate_macro):
1818         s/probably/possibly/, as suggested by Keith.
1820 2006-06-28  Werner LEMBERG  <wl@gnu.org>
1822         Add support for \D'p...' to grotty.
1824         * src/devices/grotty/grotty.cpp (tty_printer::draw): Move most of
1825         its code to...
1826         (tty_printer::line): This function.
1827         (tty_printer::draw): Rewritten; just call either draw_line or
1828         draw_polygon.
1829         (tty_printer::draw_line, tty_printer::draw_polygon): New functions.
1831         * src/devices/grotty/grotty.man, NEWS: Document it.
1833 2006-06-27  Werner LEMBERG  <wl@gnu.org>
1835         * src/preproc/refer/command.h (have_bibliography): New variable
1836         declaration.
1838         * src/preproc/refer/command.cpp (bibliography_command): Set
1839         `have_bibliography'.
1841         * src/preproc/refer/refer.cpp: Initialize `have_bibliography'.
1842         (output_references): Emit warning only if `have_bibliography' is
1843         set.
1845 2006-06-15  Michail Vidiassov  <master@iaas.msu.ru>
1847         * font/devps/Makefile.sub (DISTFILES): Add freeeuro.afm.
1848         * font/devps/generate/Makefile (clean): Don't remove symbolsl.afm
1849         and zapfdr.afm.
1851 2006-06-15  Werner LEMBERG  <wl@gnu.org>
1853         * src/preproc/tbl/tbl.man: Document limitations of .TS/.TE within a
1854         macro (as suggested by Tadziu Hoffmann).
1856 2006-06-12  Werner LEMBERG  <wl@gnu.org>
1858         * src/preproc/tbl/tbl.man: Add example for use of .TS/.TE within a
1859         macro (as suggested by Tadziu Hoffmann).
1861 2006-06-05  Werner LEMBERG  <wl@gnu.org>
1863         * tmac/strip.sed: Strip `\#' also.
1865         * doc/groff.texinfo (Operators in Conditionals): Document usage of
1866         \? for string comparison.
1868 2006-06-04  Werner LEMBERG  <wl@gnu.org>
1870         * doc/groff.texinfo: Add more index entries for copy-in mode.
1871         (Changing Fonts) <.ft>: Document that a font definition file must
1872         not be called `DESC'.
1874 2006-05-31  Werner LEMBERG  <wl@gnu.org>
1876         * src/roff/troff/input.cpp (token::next) <\N>: Catch negative values
1877         here.
1879         * doc/Makefile.sub (EXAMPLEFILES): Move gnu.eps to...
1880         (PROCESSEDEXAMPLEFILES): Here.
1882 2006-05-30  Werner LEMBERG  <wl@gnu.org>
1884         * src/libs/libgroff/font.cpp (font::load): Reject fonts called
1885         `DESC'.
1886         Reduce number of false positives for `.if F ...' conditionals.
1887         Improve warning messages.
1889 2006-05-29  Werner LEMBERG  <wl@gnu.org>
1891         * tmac/Makefile.sub: Add copyright notice.
1892         (NORMALFILES): Add man.tmac and ms.tmac.
1893         (SPECIALFILES): Remove man.tmac and ms.tmac.
1894         (CLEANADD): Remove man.tmac-sed and ms.tmac-sed.
1895         (install_data, uninstall_sub): Don't handle man.tmac and ms.tmac
1896         specially.
1897         (stamp-sed): Don't handle man.tmac and ms.tmac.
1898         Remove obsolete components in sed's regexp.
1900         * doc/Makefile.sub (EXAMPLEFILES): Add gnu.eps.
1902         * Makefile.in (OTHERDIRS, NOMAKEDIRS): Add hdtbl.
1904 2006-05-28  Werner LEMBERG  <wl@gnu.org>
1906         * doc/groff.texinfo (History): Correct death circumstances of Joe
1907         Ossanna.
1909 2006-05-27  Werner LEMBERG  <wl@gnu.org>
1911         * tmac/an-old.tmac (an-do-tag): Simplify.
1913 2006-05-26  Werner LEMBERG  <wl@gnu.org>
1915         * tmac/an-old.tmac (an-do-tag): Make margin characters work.
1916         (an-header, an-p-footer): Use named environment.
1918         * src/roff/troff/env.cpp (environment::copy): Copy margin character
1919         node.
1921 2006-05-21  Werner LEMBERG  <wl@gnu.org>
1923         * tmac/trace.tmac (de1): Fix serious typo (.di -> .do) and minor
1924         omissions.
1926 2006-05-11  Keith Marshall  <keith.d.marshall@ntlworld.com>
1928         * src/roff/groff/groff.man: Remove superfluous word `intermediate'.
1930 2006-05-10  Keith Marshall  <keith.d.marshall@ntlworld.com>
1932         * src/roff/groff/groff.man: Update copyright notice.
1933         Improved wording to describe effect of `-Z' option.
1935 2006-05-06  Werner LEMBERG  <wl@gnu.org>
1937         * tmac/www.tmac: Decorate `.ds' with trailing `\"' where missing.
1938         Normalize handling of `"' in arguments.
1939         (PIMG): Remove debug message.
1940         Simplify code.
1942 2006-05-05  Werner LEMBERG  <wl@gnu.org>
1944         * src/devices/grohtml/post-html.cpp (page::add_and_encode): Don't
1945         swallow character immediately after `\[...]'.
1946         Simplify code.
1948 2006-05-02  Gaius Mulley  <gaius@glam.ac.uk>
1950         * tmac/www.tmac (PIMG): Fix the HTML device specific components.
1952 2006-05-02  Larry Kollar  <kollar@alltel.net>
1954         * tmac/www.tmac (PIMG): Really default to `-C' if the alignment
1955         option is missing.
1957 2006-04-30  Michail Vidiassov  <master@iaas.msu.ru>
1959         * src/utils/afmtodit/afmtodit.pl: New option `-c' to add font
1960         information as a comment in output.
1961         * src/utils/afmtodit/afmtodit.man, NEWS: Document it.
1963 2006-04-26  Werner LEMBERG  <wl@gnu.org>
1965         * src/devices/grohtml/post-html.cpp (html_printer::~html_printer):
1966         Handle current_paragraph only if it is non-NULL.
1968         * src/libs/libdriver/input.cpp (parse_x_command <'F'>, do_file
1969         <'F'>): Use `get_extended_arg' to behave as documented.  Reported by
1970         Bill Ward <william.a.ward.jr@erdc.usace.army.mil>.
1973         Surround the (pseudo) file name for the .pso request with `<' and
1974         `>'.
1976         * src/roff/troff/node.cpp (real_output_file, troff_output_file): Add
1977         second parameter to `really_put_filename' and `put_filename'.
1978         (troff_output_file::really_put_filename): Emit `<' and `>' around
1979         filename if second argument is set.
1980         * src/roff/troff/node.h: Updated.
1982         * src/roff/troff/input.cpp (file_iterator::file_iterator,
1983         file_iterator::set_location): Update to changes in node.cpp.
1985 2006-04-25  Tetsurou Okazaki  <okazaki@FreeBSD.org>
1987         * src/preproc/preconv/preconv.cpp (do_file): Fix conditional
1988         preprocessor expression (I18N -> HAVE_ICONV).
1989         (main): Fix handling of option `-h'.
1990         Fix conditional preprocessor expression.
1992 2006-04-04  Werner LEMBERG  <wl@gnu.org>
1994         Implement new number register `.br' which is set to 1 if a macro has
1995         been called as .foo and to 0 if called as 'bar.  This is useful for
1996         -mtrace so that requests can be reliably traced too.
1998         * src/roff/troff/input.cpp (input_iterator): Add virtual function
1999         `get_break_flag'.
2000         (macro_iterator): Add `with_break' member and `get_break_flag'
2001         function.
2002         Update constructors.
2003         (input_stack): Add function `get_break_flag'.
2004         (break_flag_reg): New number register class.
2005         (input_init_requests): Register `.br'.
2007         * src/roff/troff/TODO: Updated.
2009         * tmac/trace.tmac: s/!!sp/!!!sp/.
2010         Modify definitions of `de', `de1', `am', and `am1' to use \n[.br].
2012         * docs/groff.texinfo (Requests), man/groff.man, man/groff_diff.man,
2013         NEWS: Document it.
2015 2006-03-29  Werner LEMBERG  <wl@gnu.org>
2017         * src/devices/grops/ps.cpp: s/must not/should not/ in warning
2018         messages where appropriate.
2020 2006-03-28  Werner LEMBERG  <wl@gnu.org>
2022         * configure.ac: Call AC_PROG_EGREP.
2023         * configure: Regenerated.
2025         * Makefile.in (EGREP): New variable.
2026         (MDEFINES): Add $(EGREP).
2028         * src/roff/grog/grog.sh: Treat .TH between .TS and .TE properly
2029         (bug reported by Robert Goulding <Goulding.2@nd.edu>).
2030         Use @EGREP@.
2032         * src/roff/grog/Makefile.sub (grog, grog.old): Use $(EGREP).
2034 2006-03-27  Werner LEMBERG  <wl@gnu.org>
2036         Add two requests `.device' and `.devicem' which are equivalent to
2037         `\X' and `\Y', respectively.
2039         * src/roff/troff/input.cpp (device_request, device_macro_request):
2040         New functions.
2041         (init_input_requests): Register them.
2043         * doc/groff.texinfo (Postprocessor Access), man/groff_diff.man,
2044         man/groff.man, NEWS: Document them.
2046 2006-03-27  Gaius Mulley  <gaius@glam.ac.uk>
2048         * src/roff/troff/input.cpp (encode_char): Emit special characters
2049         for -Thtml as `\[...]'.
2050         * src/devices/grohtml/post-html.cpp (page::add_and_encode): Updated.
2052         * doc/groff.texinfo (Postprocessor Access) <\X>: Updated.
2054 2006-03-27  Werner LEMBERG  <wl@gnu.org>
2056         * tmac/Makefile.sub (NORMALFILES, SPECIALFILES): Add various missing
2057         files.
2059 2006-03-26  Werner LEMBERG  <wl@gnu.org>
2061         * doc/groff.texinfo (Writing Macros): More documentation on
2062         end-of-macro symbol of `.de'.
2063         (Diversions): Minor addition to `.di' description.
2065         * src/devices/grops/grops.man: Some clarifications regarding
2066         insertion of PostScript snippets.
2068 2006-03-25  Michail Vidiassov  <master@iaas.msu.ru>
2070         Add rules to generate `symbolsl.afm'.
2072         * font/devps/generate/zapfdr.sed,
2073         font/devps/generate/symbolsl.awk: New files.
2075         * font/devps/generate/Makefile (symbolfont, PRINTAFM): New
2076         variables.
2077         (SS, clean): Updated.
2078         (freeeuro.afm): Use $(srcdir).
2079         (symbolsl.afm): New rule.
2080         (zapfdr.afm): Use zapfdr.sed.
2082 2006-03-22  Dwight Aplevich  <aplevich@uwaterloo.ca>
2084         * src/preproc/pic/pic.y (expr <INT>): Fix code.
2086 2006-03-22  Jörgen Grahn <jgrahn@algonet.se>
2088         * tmac/sv.tmac: Add missing translations and activate support for
2089         other macro packages.
2091 2006-03-21  Francis GUDIN  <fgudin@nerim.net>
2093         * tmac/doc-syms (Dx): New macro to identify DragonFly.
2094         (doc-str-St--ieee1275-94, doc-str-St--isoC-amd1,
2095         doc-str-St--isoC-tcor1, doc-str-St--isoC-tcor2): New standard
2096         strings.
2097         (doc-operating-system-FreeBSD-5.5, doc-operating-system-FreeBSD-7.0,
2098         doc-operating-system-NetBSD-1.6.3, doc-operating-system-NetBSD-4.0
2099         doc-operating-system-DragonFly-*): New operating system strings.
2101         * tmac/groff_mdoc.man, NEWS: Document `Dx'.
2103 2006-03-21  Werner LEMBERG  <wl@gnu.org>
2105         * src/preproc/pic/pic.y (object_spec THEN): For compatibility with
2106         both DWB pic and dpic, make
2108           right;
2109           line then down;
2111         equal to
2113           right;
2114           line right then down;
2116         instead of
2118           right;
2119           line 0 then down;
2121         * doc/pic.ms: Document this.
2123 2006-03-20  Werner LEMBERG  <wl@gnu.org>
2125         * doc/pic.ms: With permission of Eric Raymond, put it under the
2126         GPL.
2128         * NEWS: Updated.
2130 2006-03-19  Werner LEMBERG  <wl@gnu.org>
2132         * src/preproc/pic/pic.y (expr <INT>): Really return integer part.
2134         * src/preproc/pic/objects.cpp (object_spec::make_line): Handle `at'
2135         attribute in combination with `with'.  Bug reported by Jennifer
2136         Sayers <jenjen@mail.usyd.edu.au>.
2138 2006-03-19  Miklos Somogyi  <msom@netspace.net.au>
2140         * doc/groff.texinfo (Manipulating Spacing): Improve documentation of
2141         `.sp'.
2143 2006-03-18  Werner LEMBERG  <wl@gnu.org>
2145         * LICENSE: Renamed to...
2146         * LICENSES: This.  Collect all licensing information in this file.
2147         * tmac/README, src/libs/snprintf/README: Removed.
2149         * src/devices/grops/grops.man: Add section how to install fonts.
2151         * src/utils/xtotroff/xtotroff.c: Add GPL.
2153 2006-03-17  Werner LEMBERG  <wl@gnu.org>
2155         * Makefile.comm (.y.cpp): Fix #line arguments in output.
2157 2006-03-13  Werner LEMBERG  <wl@gnu.org>
2159         * src/preproc/tbl/tbl.man: Mention default length of text blocks.
2161         * tmac/doc-common (Os): Add more Darwin versions.
2162         * tmac/groff_mdoc.man: Document them.
2164         * doc/groff.texinfo (Operators in Conditionals): Mention that `c'
2165         works with \N'...' also.
2166         * man/groff_diff.man: Ditto.  Remove use of future tense where
2167         possible.
2169 2006-03-12  Michail Vidiassov  <master@iaas.msu.ru>
2171         * font/devps/generate/make-zapfdr, font/devps/symbolsl.ps,
2172         font/devps/zapfdr.ps: Add `%%EndComments' line.
2174 2006-03-10  Larry Kollar  <kollar@alltel.net>
2176         * doc/groff.texinfo (Headers and footers): Document PT, HD, and BT.
2178 2006-03-10  Werner LEMBERG  <wl@gnu.org>
2180         * src/devices/grops/ps.cpp (ps_printer::do_exec, ps_printer::do_def,
2181         ps_printer::do_mdef): Overlong lines now cause a warning message,
2182         not an error.
2184 2006-03-09  Werner LEMBERG  <wl@gnu.org>
2186         * font/devps/generate/make-zapfdr: New script for generating
2187         `zapfdr.ps'.
2189 2006-03-08  Werner LEMBERG  <wl@gnu.org>
2191         * doc/groff.css (pre): Fix `background-color' value.
2193 2006-03-04  Larry Kollar  <kollar@alltel.net>
2195         * tmac/groff_ms.man: Document PT, HD, and BT.
2197 2006-03-04  Werner LEMBERG  <wl@gnu.org>
2199         * src/roff/troff/node.cpp (make_glyph_node): Improve warning message
2200         for single-letter glyph names.
2202 2006-03-02  Werner LEMBERG  <wl@gnu.org>
2204         * tmac/sv.tmac: New file; currently holding only the Swedish strings
2205         for -mm.
2206         * tmac/hyphen.sv: New hyphenation pattern file for Swedish, taken
2207         from CTAN.
2208         * tmac/README: Updated.
2210 2006-02-27  Werner LEMBERG  <wl@gnu.org>
2212         * tmac/trans.tmac (Liec, Letdate, Letns!14): Add it (for -mm).
2213         * tmac/fr.tmac: Add French translations.
2215         * tmac/composite.tmac: Add entry for `:'.
2217 2006-02-26  Werner LEMBERG  <wl@gnu.org>
2219         * doc/Makefile.sub (HTMLEXAMPLEFILESALL): New variable.
2220         (CLEANADD): Use it.
2221         (install_html, uninstall_sub): Updated.
2223 2006-02-26  Bruno Haible  <bruno@clisp.org>
2225         Introduce Unicode fonts.
2227         * font/devhtml/DESC.proto: Mark as unicode.
2228         * font/devhtml/R.proto: Remove all charset entries that are already
2229         in glyphuni.cpp.
2230         * font/devutf8/DESC.proto: Mark as unicode.
2231         * font/devutf8/R.proto: Remove all charset entries.
2232         * src/include/font.h (font): New static field `is_unicode'.
2233         Change order of fields.
2234         * src/libs/libgroff/font.cpp: Include unicode.h.
2235         (font::font): Update for changed order of fields.
2236         (font::contains, font::get_width, font::get_height, font::get_depth,
2237         font::get_italic_correction, font::get_left_italic_correction,
2238         font::get_subscript_correction, font::get_character_type,
2239         font::get_code, font::get_special_device_encoding): Handle both the
2240         explicitly enumerated glyphs and use general code for Unicode fonts.
2241         (font::load): Make the charset section optional when the font is
2242         declared unicode.
2243         (font::load_desc): Recognize the `unicode' attribute.
2244         * src/libs/libgroff/fontfile.cpp (font::is_unicode): New variable.
2246 2006-02-26  Claudio Fontana  <claudio@gnu.org>
2248         * Makefile.in: Add comment about DESTDIR.
2250         * Makefile.sub: Add DESTDIR to install and uninstall targets
2251         to support staged installations.
2252         * Makefile.comm: Likewise.
2253         * doc/Makefile.sub: Likewise.
2254         * contrib/eqn2graph/Makefile.sub: Likewise.
2255         * contrib/grap2graph/Makefile.sub: Likewise.
2256         * contrib/pic2graph/Makefile.sub: Likewise.
2257         * src/devices/xditview/Makefile.sub: Likewise.
2258         * src/preproc/eqn/Makefile.sub: Likewise.
2259         * src/roff/grog/Makefile.sub: Likewise.
2260         * src/roff/nroff/Makefile.sub: Likewise.
2261         * src/utils/afmtodit/Makefile.sub: Likewise.
2262         * src/utils/indxbib/Makefile.sub: Likewise.
2263         * tmac/Makefile.sub: Likewise.
2265 2006-02-24  Werner LEMBERG  <wl@gnu.org>
2267         * src/libs/libgroff/glyphuni.cpp (glyph_to_unicode_list): Use entry
2268         for \-.
2269         Remove commented out entries for \' and \` (there are no such glyph
2270         names).
2272         * src/libs/libgroff/uniglyph.cpp (unicode_to_glyph_list): Remove
2273         commented out entries for \' and \`.
2276         * */*: s/legal/valid/ where appropriate.
2278 2006-06-23  Werner LEMBERG  <wl@gnu.org>
2280         * font/devhtml/R.proto, font/devutf8/R.proto: Remove incorrect \'
2281         and \` entries.
2283 2006-02-22  Werner LEMBERG  <wl@gnu.org>
2285         Remove all remaining traces from the `shc' glyph.
2287         * src/libs/libgroff/glyphuni.cpp (glyph_to_unicode_list),
2288         src/libs/libgroff/uniglyph.cpp (unicode_to_glyph_list): Remove
2289         entry for `shc'.
2291         * font/devlatin1/R.proto, font/devcp1046/R.proto: Replace `shc'
2292         entry with unnamed glyph.
2294         * tmac/html/tmac: Remove `shc' entry from call to `.cflags'.
2296         * src/preproc/preconv/preconv.cpp (unicode_entity): Handle U+00AD
2297         specially.
2299 2006-02-22  Bruno Haible  <bruno@clisp.org>
2301         Concretize the `glyph' datatype.
2303         * src/include/font.h (glyph): Remove class.
2304         (glyph): Renamed from struct `glyphinfo'.
2305         (glyph_to_index): New inline function.
2306         (glyph_to_name): Make extern, not inline.
2307         (glyph_to_number): Update.
2308         (font): Use `glyph *' instead of `glyph'.
2310         * src/libs/libgroff/nametoindex.cpp (charinfo): Inherit from class
2311         `glyph'.  Make `name' field public.
2312         (character_indexer, number_to_glyph, name_to_glyph): Use `glyph *'
2313         instead of `glyph'.
2314         (glyph_to_name): Renamed from `glyph::glyph_name'.
2316         * src/roff/troff/charinfo.h (charinfo): Inherit from class `glyph'.
2317         Use `glyph *' instead of `glyph'.
2319         * src/roff/troff/input.cpp (name_to_glyph, number_to_glyph): Use
2320         `glyph *' instead of `glyph'.
2321         (glyph_to_name): Renamed from `glyph::glyph_name'.
2323         * src/libs/libgroff/font.cpp: Use `glyph *' instead of `glyph',
2324         and `glyph_to_index' instead of `glyph::glyph_index'.
2326         * src/include/printer.h (printer): Use `glyph *' instead of `glyph'.
2327         * src/libs/libdriver/printer.cpp: Likewise.
2328         * src/devices/grodvi/dvi.cpp: Likewise.
2329         * src/devices/grohtml/post-html.cpp: Likewise.
2330         * src/devices/grolbp/lbp.cpp: Likewise.
2331         * src/devices/grolj4/lj4.cpp: Likewise.
2332         * src/devices/grops/ps.cpp: Likewise.
2333         * src/devices/grotty/tty.cpp: Likewise.
2335 2006-02-22  Werner LEMBERG  <wl@gnu.org>
2337         * font/devdvi/generate/tc.map: Add `sr' glyph.
2338         * font/devdvi/*TC: Regenerated.
2340         * src/libs/libgroff/glyphuni.cpp (glyph_to_unicode_list): Use entry
2341         for `sqrt'.
2343 2006-02-21  Werner LEMBERG  <wl@gnu.org>
2345         * man/groff_char.man: Explain `***' marker.
2347 2006-02-17  Bruno Haible  <bruno@clisp.org>
2349         * src/libs/libgroff/nametoindex.cpp (character_indexer): Rename
2350         methods and fields from *_index to *_glyph.
2351         (character_indexer::named_char_glyph): Test for `charNNN' name
2352         here...
2353         (name_to_glyph): ... not here.
2355 2006-02-17  Bruno Haible  <bruno@clisp.org>
2357         * src/include/font.h (name_to_glyph): Renamed from
2358         font::name_to_index.
2359         (number_to_glyph): Renamed from font::number_to_index.
2360         (glyph_to_name): Renamed from font::index_to_name.
2361         (glyph_to_number): Renamed from font::index_to_number.
2362         * src/libs/libgroff/nametoindex.cpp: Likewise.
2363         * src/roff/troff/charinfo.h (charinfo::as_glyph): Renamed from
2364         charinfo::get_index.
2366         * src/roff/troff/input.cpp: All callers changed.
2367         * src/roff/troff/node.cpp: Likewise.
2368         * src/libs/libgroff/font.cpp: Likewise.
2369         * src/devices/grops/ps.cpp: Likewise.
2370         * src/devices/grohtml/post-html.cpp: Likewise.
2371         * src/libs/libdriver/printer.cpp: Likewise.
2373 2006-02-17  Werner LEMBERG  <wl@gnu.org>
2375         * src/include/ptable.h, src/include/itable.h
2376         (NEXT_PTABLE_SIZE_DEFINED): Use it to avoid multiple declaration
2377         of external symbol `next_ptable_size' (used by both header files).
2379 2006-02-15  Bruno Haible  <bruno@clisp.org>
2381         * src/include/font.h (glyphinfo): New class.
2382         (glyph): Change internal representation.
2383         Change constructor signature.
2384         New method glyph::glyph_number().
2385         (glyph::glyph, glyph glyph::undefined_glyph, glyph::glyph_index,
2386         glyph::operator==, glyph::operator!=): Update.
2387         (font::index_to_name, font::index_to_number): New functions.
2389         * src/include/itable.h: New file, based on src/include/ptable.h.
2391         * src/libs/libgroff/nametoindex.cpp: Include itable.h.
2392         (class charinfo): New class.
2393         (class character_indexer): Change table result type from `int' to
2394         `class charinfo'.
2395         Add table with integer key.
2396         (character_indexer::character_indexer): Update.
2397         (character_indexer::ascii_char_index): Update.
2398         (character_indexer::numbered_char_index): Use NULL as name, not a
2399         string starting with a space.
2400         (character_indexer::named_char_index): Update.
2401         (font::number_to_index, font::name_to_index): Remove no-op cast.
2402         (glyph::glyph_name): New method.
2403         * src/roff/troff/charinfo.h (class charinfo): Inherit from class
2404         glyphinfo.
2405         (NUMBERED): Remove flag bit.
2406         (charinfo::numbered, charinfo::get_index): Update.
2408         * src/roff/troff/input.cpp (charinfo::charinfo): Update.
2409         (charinfo::set_number, charinfo::get_number): Update.
2410         (glyph::glyph_name): New method.
2412 2006-02-15  Werner LEMBERG  <wl@gnu.org>
2414         * src/libs/libgroff/glyphuni.cpp (glyph_to_unicode_list): Fix
2415         entries for `>>', `<<', `*f', and `+f'.  Reported by Bruno.
2417 2006-02-13  Werner LEMBERG  <wl@gnu.org>
2419         * font/devps/prologue.ps (RE): Check `UniqueID' also, similar to
2420         dvips.
2422 2006-02-11  Werner LEMBERG  <wl@gnu.org>
2424         * src/include/font.h: s/glyph_t/glyph/.
2425         Update all callers.
2427         * src/devices/grotty/tty.cpp: s/glyph/tty_glyph/.
2428         s/output_character_t/output_character/.
2430 2006-02-11  Bruno Haible  <bruno@clisp.org>
2432         New accessor method glyph_t::glyph_name().
2434         * src/include/ptable.h (declare_ptable): Add a return value to the
2435         `define' method, and declare a `lookupassoc' method.
2436         (implement_ptable): Return the stored key in `define'.  Implement
2437         lookupassoc.
2438         * src/include/font.h (glyph_t): Add `name' field.  Add an argument
2439         to the constructor.
2440         (glyph_t::glyph_name): New method.
2442         * src/libs/libgroff/nametoindex.cpp (character_indexer): Change
2443         return type of methods and field member type to glyph_t.
2444         (character_indexer::character_indexer): Update.
2445         (character_indexer::ascii_char_index): Allocate a name for the
2446         glyph.
2447         Return a glyph_t with name.
2448         (character_indexer::numbered_char_index): Return a glyph_t without a
2449         name.
2450         (character_indexer::named_char_index): Return a glyph_t with a name.
2451         (font::number_to_index, font::name_to_index): Update.
2453         * src/roff/troff/input.cpp (charinfo::charinfo): Use the symbol as
2454         the glyph's name.
2456 2006-02-11  Bruno Haible  <bruno@clisp.org>
2458         * src/devices/grotty/tty.cpp (output_character_t): New type.
2459         (tty_printer::make_bold, tty_printer::add_char,
2460         tty_printer::put_char): Change argument type to output_character_t.
2461         (crossings): Change element type to output_character_t.
2463 2006-02-11  Bruno Haible  <bruno@clisp.org>
2465         Make the glyph data type abstract.
2467         * src/include/font.h (glyph_t): New class.
2468         (name_to_index, number_to_index): Change return type to glyph_t.
2469         (font::contains, font::get_width, font::get_height, font::get_depth,
2470         font::get_character_type, font::get_kern, font::get_skew,
2471         font::get_italic_correction, font::get_left_italic_correction,
2472         font::get_subscript_correction, font::get_code,
2473         font::get_special_device_encoding, font::add_entry,
2474         font::copy_entry, font::add_kern, font::hash_kern): Change argument
2475         type to glyph_t.
2477         * src/libs/libgroff/font.cpp (font_kern_list): Change members
2478         type and constructor argument types to glyph_t.
2479         (font::contains, font::get_width, font::get_height, font::get_depth,
2480         font::get_character_type, font::get_kern, font::get_skew,
2481         font::get_italic_correction, font::get_left_italic_correction,
2482         font::get_subscript_correction, font::get_code,
2483         font::get_special_device_encoding, font::add_entry,
2484         font::copy_entry, font::add_kern, font::hash_kern): Change argument
2485         type to glyph_t.
2486         (font::load): Use glyph_t variables.
2488         * src/libs/libgroff/nametoindex.cpp (name_to_index,
2489         number_to_index): Change return type to glyph_t.
2491         * src/roff/troff/charinfo.h (charinfo::index): Change type to
2492         glyph_t.
2493         (charinfo::get_index): Change return type to glyph_t.
2495         * src/roff/troff/env.cpp: Include font.h.
2497         * src/roff/troff/node.cpp: Include font.h before charinfo.h.
2499         * src/roff/troff/input.cpp: Include font.h before charinfo.h.
2500         (charinfo::charinfo): Update.
2501         (name_to_index, number_to_index): Change return type to glyph_t.
2503         * src/include/printer.h (printer::set_char_and_width): Change return
2504         type to glyph_t.
2506         * src/libs/libdriver/printer.cpp (printer::set_char_and_width):
2507         Change return type to glyph_t.
2509         * src/devices/grodvi/dvi.cpp (dvi_printer::set_char): Change
2510         argument type to glyph_t.
2512         * src/devices/grohtml/post-html.cpp (page::add_and_encode): Update.
2513         (html_printer::space_glyph): Renamed from space_char_index.
2514         (html_printer::add_to_sbuf, html_printer::sbuf_continuation,
2515         html_printer::overstrike, html_printer::set_char): Change argument
2516         type to glyph_t.
2517         (html_printer::set_char_and_width): Change return type to glyph_t.
2519         * src/devices/grolbp/lbp.cpp (lbp_printer::set_char): Change
2520         argument type to glyph_t.
2522         * src/devices/grolj4/lj4.cpp (lj4_printer::set_char): Change
2523         argument type to glyph_t.
2525         * src/devices/grops/ps.cpp (ps_printer::space_glyph): Renamed from
2526         space_char_index.
2527         (ps_printer::set_subencoding, ps_printer::set_char): Change argument
2528         type to glyph_t.
2530         * src/devices/grotty/tty.cpp (tty_printer::set_char): Change
2531         argument type to glyph_t.
2533 2006-02-11  Bruno Haible  <bruno@clisp.org>
2535         * src/roff/troff/input.cpp (font::name_to_index): Never return a
2536         negative value.
2538         * src/libs/libgroff/font.cpp (font::load): Remove failure tests for
2539         font::name_to_index.
2541 2006-02-10  Werner LEMBERG  <wl@gnu.org>
2543         * doc/groff.texinfo (Assigning Formats): Number registers are always
2544         interpolated.
2545         Apply some rephrasing, contributed by Michael Burt.
2547 2006-02-07  Werner LEMBERG  <wl@gnu.org>
2549         * tmac/fr.tmac <ms>: Set `HY' register.
2551 2006-02-07  Werner LEMBERG  <wl@gnu.org>
2553         Add framework for simple adaptation of the main macro packages (mm,
2554         me, ms, mom) to different locales.  In particular, add support for
2555         French.  For activation, simply use `-mfr' as the last macro
2556         package.  This feature has been contributed by Fabrice Ménard
2557         <menard.fabrice@wanadoo.fr>.
2559         * tmac/fr.tmac, tmac/trans.tmac, tmac/hyphen.fr, tmac/LOCALIZATION:
2560         New files.
2561         * tmac/README: Mention hyphen.fr.
2562         * man/groff_tmac.man: Mention fr.tmac.
2563         * NEWS: Updated.
2565 2006-01-27  Werner LEMBERG  <wl@gnu.org>
2567         * man/groff_font.man: Updated documentation of `entity_name' field.
2568         Avoid future tense.
2570 2006-01-27  Bruno Haible  <bruno@clisp.org>
2572         * font/devhtml/R.proto: Remove the entity names from the font's
2573         special_encoding_encoding column.
2574         * src/devices/grohtml/post-html.cpp (get_html_entity): New function,
2575         handling the entity names here.
2576         (get_html_translation): Use it.  Change return type to `const
2577         char *'.
2578         (page::add_and_encode): Update, removing a useless cast.
2580 2006-01-26  Werner LEMBERG  <wl@gnu.org>
2582         This change is based on a patch by Bruno Haible <bruno@clisp.org>.
2584         * src/include/device.h: Add comments.
2585         * src/include/font.h: Add comments.
2586         * src/include/unicode.h: Likewise.
2587         * src/include/ptable.h, src/libs/libgroff/ptable.cpp: Likewise.
2589 2006-01-26  Keith Marshall  <keith.d.marshall@ntlworld.com>
2591         Suppress `.st' request emission by `grn'.
2593         * src/preproc/grn/main.cpp (USE_ST_REQUEST): New macro.
2594         (conv): Use it.
2596 2006-01-22  Werner LEMBERG  <wl@gnu.org>
2598         * install-sh: New version; taken from texinfo CVS.
2600 2006-01-21  Werner LEMBERG  <wl@gnu.org>
2602         * src/preproc/preconv/preconv.cpp (main): Set program_name.  Bug
2603         reported by Alexander E. Patrakov <patrakov@ums.usu.ru>.
2605 2006-01-19  Bruno Haible  <bruno@clisp.org>
2607         Let `make -k install' install more files.
2609         * Makefile.in (MAKE_K_FLAG): New variable.  Use it everywhere where
2610         $(MAKE) and $(MDEFINES) are used.
2611         (CPROGDIRS): Remove $(XPROGDIRS).  Treat $(XPROGDIRS) like
2612         $(CPROGDIRS) everywhere.
2613         ($(DEVDIRS) $(XDEVDIRS) $(OTHERDEVDIRS) $(TTYDEVDIRS)): Don't depend
2614         on $(XPROGDIRS).
2615         ($(OTHERDIRS)): Likewise.
2618         * src/devices/grohtml/post-html.cpp (get_html_translation): Remove
2619         failure test for font::name_to_index -- it can never fail.
2621 2006-01-19  Werner LEMBERG  <wl@gnu.org>
2623         * src/devices/grops/grops.man: Fix section on creating EPS files.
2624         Don't use future time in manual.
2625         Other minor fixes.
2627 2006-01-15  Gaius Mulley  <gaius@glam.ac.uk>
2629         * tmac/www.tmac: New macro LINKSTYLE which allows users to set
2630         various typographical URL attributes for non-HTML devices.
2632         * tmac/groff_www.man: Document LINKSTYLE.
2634 2006-01-11  Werner LEMBERG  <wl@gnu.org>
2636         * configure.ac: Test for getc_unlocked (needed for localcharset).
2637         * configure, src/include/config.hin: Regenerated.
2639         * src/libs/libgroff/Makefile.sub (EXTRA_CFLAGS): Define
2640         ENABLE_RELOCATABLE.
2642         * src/libs/libgroff/relocatable.h: New dummy header file for
2643         localcharset.c.
2645         * src/libs/libgroff/localcharset.c: Updated to (unchanged) CVS
2646         gnulib version.
2648 2006-01-10  Bruno Haible  <bruno@clisp.org>
2650         Work around unportability of nl_langinfo(CODESET).
2652         * m4/glibc21.m4: New file, from gnulib.
2653         * Makefile.sub (M4MACROS): Add m4/glibc21.m4.
2654         * configure.ac: Also test for stddef.h, and invoke jm_GLIBC21.
2655         * Makefile.in (HOST, GLIBC21): New variables.
2656         (MDEFINES): Pass them to subdirectories.
2657         * src/include/relocate.h (relocatep): Define with C linkage.
2658         * src/include/localcharset.h: New file, from gnulib.
2659         * src/libs/libgroff/localcharset.c: New file, from gnulib with a
2660         modification for relocate().
2661         * src/libs/libgroff/config.charset: New file, from gnulib.
2662         * src/libs/libgroff/ref-add.sin: New file, from gnulib.
2663         * src/libs/libgroff/ref-del.sin: New file, from gnulib.
2664         * src/libs/libgroff/Makefile.sub (EXTRA_CFLAGS): Also define LIBDIR.
2665         (OBJS): Add localcharset.o.
2666         (CSRCS): Add localcharset.c.
2667         (all): Add dependencies to charset.alias, ref-add.sed, ref-del.sed.
2668         (charset.alias): New rule.
2669         (PACKAGE): New variable.
2670         (ref-add.sed, ref-del.sed): New rules.
2671         (MKINSTALLDIRS): New variable.
2672         (install_data): Depend on install_charset_data.
2673         (install_charset_data): New rule for creating or updating
2674         charset.alias.
2675         (uninstall_sub): Depend on uninstall_charset_data.
2676         (uninstall_charset_data): New rule for uninstalling or updating
2677         charset.alias.
2678         * src/preproc/preconv/preconv.cpp: Include localcharset.h instead
2679         of <langinfo.h>.
2680         (main): Initialize default_encoding from locale_charset() instead of
2681         nl_langinfo(CODESET).
2683         * aclocal.m4, configure, src/include/config.hin: Regenerated.
2685 2006-01-10  Werner LEMBERG  <wl@gnu.org>
2687         * src/preproc/preconv/preconv.cpp (conversion_iconv): Use
2688         ICONV_CONST in call to iconv.  Reported by Robert Goulding.
2690 2006-01-07  Werner LEMBERG  <wl@gnu.org>
2692         * font/devps/generate/freeeuro.sfd: Run auto-hinter with recent
2693         fontforge version.
2694         Bump font version to 001.001.
2696         * font/devps/generate/Makefile (freeeuro.afm, freeeuro.pfa):
2697         Call fontforge, not pfaedit.
2699         * font/devps/freeeuro.afm, font/devps/freeeuro.pfa: Regenerated.
2701 2006-01-05  Ruslan Ermilov  <ru@FreeBSD.org>
2703         * tmac/doc-common: Add new FreeBSD and NetBSD versions.
2704         * tmac/groff_mdoc.man: Updated.
2706 2006-01-05  Werner LEMBERG  <wl@gnu.org>
2708         * src/preproc/preconv/preconv.cpp: s/debug/debug_flag/.
2709         (raw_flag): New global variable.
2710         (do_file): Use .lf to set file name (if `raw_flag' isn't set).
2711         Don't pass BOM to `conversion_utf8'.
2712         (usage): Updated.
2713         (main): Handle `-r' command line switch to set `raw_flag'.
2714         (get_BOM): Fix encodings in `BOM_table'.
2716         * src/preproc/preconv/preconv.man: New file.  Not complete yet.
2717         * src/preproc/proconv/Makefile.sub (MAN1): New variable.
2719 2006-01-04  Werner LEMBERG  <wl@gnu.org>
2721         * src/preproc/preconv/preconv.cpp (emacs_to_mime): As suggested by
2722         Bruno, comment out most encodings to support only a small set of
2723         coding tags, thus reducing potential problems with legacy encodings
2724         and character sets in the future.
2725         Add many XEmacs coding tags (now commented out).
2726         Add `cp1047'.
2727         (check_encoding_tag): Renamed to...
2728         (check_coding_tag): This.
2729         (get_BOM): Return encoding as specified by BOM.
2730         Test for UTF32-LE too.
2731         (do_file): Don't check for coding tag if a BOM has been found.
2733 2006-01-03  Bruno Haible  <bruno@clisp.org>
2735         * m4/groff.m4: Renamed from aclocal.m4.
2736         * m4/codeset.m4: New file, from gnulib.
2737         * m4/iconv.m4: New file, from gnulib.
2738         * m4/lib-ld.m4, m4/lib-link.m4, m4/lib-prefix.m4: New files, from
2739         gnulib.
2740         * config.rpath: New file, from gnulib.
2741         * config.guess, config.sub: New files, from gnulib.
2742         * Makefile.sub (M4MACROS): New variable.
2743         (configure): Fix typo.
2744         (aclocal.m4): New rule.
2745         (stamp-h.in): Depend on aclocal.m4.
2746         * configure.ac: Invoke AM_ICONV and AM_LANGINFO_CODESET.
2747         * Makefile.in (LIBICONV): New variable.
2748         (MDEFINES): Pass it to recursive makes.
2749         * src/preproc/preconv/preconv.cpp: Use HAVE_LANGINFO_CODESET and
2750         HAVE_ICONV instead of I18N macro.
2751         * src/preproc/preconv/Makefile.sub (EXTRA_LDFLAGS): New variable.
2753         * aclocal.m4, configure, src/include/config.hin: (Re)generated.
2755 2006-01-03  Werner LEMBERG  <wl@gnu.org>
2757         * doc/Makefile.in (webpage.html): Simplify.
2758         * doc/Makefile.sub (webpage.html): Synchronize with doc/Makefile.in.
2759         * doc/webpage.ms, tmac/groff_www.man, tmac/www.tmac: Minor updates.
2761 2006-01-01  Werner LEMBERG  <wl@gnu.org>
2763         * tmac/doc-common (Os): Add some Darwin versions.
2764         * tmac/groff_mdoc.man: Document them.
2766 2006-01-01  Bruno Haible  <bruno@clisp.org>
2768         * src/preproc/preconv/preconv.cpp (emacs_to_mime): Various
2769         corrections:
2770           . Don't map ascii to latin-1.
2771           . Don't use IBMxxx encodings but cpxxx for portability.
2772           . Map cp932, cp936, cp949, cp950 to itself.
2773         (emacs2mime): Protect calls to strcasecmp.
2774         (conversion_iconv): Add missing call to iconv_close.
2775         (do_file): Emit error message in case of unsupported encoding.
2777 2005-12-31  Werner LEMBERG  <wl@gnu.org>
2779         Integrate preconv into the groff binary.  Changes based on a patch
2780         from Michail Vidiassov.
2782         * src/roff/groff/pipeline.h (MAX_COMMANDS): Increase by 1.
2784         * src/roff/groff/groff.cpp (PRECONV_INDEX): New macro.
2785         (SOELIM_INDEX): Updated.
2786         (help, synopsis): Updated.
2787         (main): Add command line options `-k' and `-K enc' to select
2788         encoding.
2789         Add support for GROFF_ENCODING environment variable.
2791         * src/roff/groff/groff.man: Updated and revised.
2794         Start with autoconf support for preconv.
2796         * configure.ac: Call AC_C_BIGENDIAN.
2797         * configure, src/include/config.hin: Regenerated.
2799 2005-12-30  Werner LEMBERG  <wl@gnu.org>
2801         New preprocessor `preconv' to convert input encodings to something
2802         groff can understand.  Not yet integrated within groff.  Proper
2803         autoconf stuff is missing too.
2805         Tomohiro Kubota has written a first draft of this program, and some
2806         ideas have been reused (while almost no code has been taken
2807         actually).
2809         * src/preproc/preconv/preconv.cpp. src/preproc/preconv/Makefile.sub:
2810         New files.
2812         * MANIFEST, Makefile.in (CCPROGDIRS), test-groff.in
2813         (GROFF_BIN_PATH): Add preconv.
2815 2005-12-12  Werner LEMBERG  <wl@gnu.org>
2817         * aclocal.m4 (GROFF_MAKEINFO): Fix regexps to be POSIX conformant.
2818         In particular, don't use `\+' since it is a GNU sed extension.
2820         * configure: Regenerated.
2822 2005-12-09  Werner LEMBERG  <wl@gnu.org>
2824         * src/libs/libgroff/make-uniuni: New script to generate uniuni.cpp. 
2826         * src/libs/libgroff/uniuni.cpp: Regenerated, using data from Unicode
2827         4.1.0.
2830         * src/utils/afmtodit/make-afmtodit-tables: New script to generate
2831         afmtodit.tables.
2833         * src/utils/afmtodit/afmtodit.tables: New file, representing Unicode
2834         4.1.0 data.
2836         * src/utils/afmtodit/afmtodit.pl (%unicode_decomposed,
2837         %AGL_to_unicode): Removed.  Replace it with a tag.
2839         * src/utils/afmtodit/Makefile.sub (afmtodit): Adjust sed expression
2840         to replace tag with actual file contents.
2842 2005-12-08  Werner LEMBERG  <wl@gnu.org>
2844         The change 2005-06-20 can indeed cause problems, so we follow the
2845         advice by using marks.
2847         * font/devps/prologue.ps (PBEGIN): Use `mark'.
2848         (PEND): Use `cleartomark'.
2850 2005-12-07  Michail Vidiassov  <master@iaas.msu.ru>
2852         * src/utils/afmtodit.pl: Fix kerning output to avoid warnings for
2853         glyphs which have kern values but aren't handled (glyph variants,
2854         for example).
2856 2005-12-02  Werner LEMBERG  <wl@gnu.org>
2858         * src/devices/grops/ps.cpp (ps_printer::get_subfont): Use correct
2859         subfont index.  Reported by Michail Vidiassov <master@iaas.msu.ru>.
2861 2005-11-28  Gaius Mulley  <gaius@glam.ac.uk>
2863         * doc/Makefile.in: Separate rule for webpage.html so that extra
2864         command line options can be passed to grohtml.
2865         * doc/groff.css: Change all margins to 0%.
2866         * doc/webpage.ms: Now use new macros ALN, LNS, and LNE so that left
2867         navigation is exploited.  Also update webpage to contain new
2868         sections on licenses, mailing lists, cvs/ftp access, groff
2869         dependencies, and bug reports.
2870         * tmac/groff_www.man: Document the new macros ALN, LNS, and LNE.
2871         * tmac/www.tmac: Implement the new macros ALN, LNS, and LNE.
2872         
2873 2005-11-25  Gaius Mulley  <gaius@glam.ac.uk>
2875         * src/devices/grohtml/post-html.cpp
2876         (html_printer::do_file_components): Add fputs calls to emit the
2877         head contents and shut down the head tag whenever a new file
2878         component is generated.
2880 2005-11-22  Gaius Mulley  <gaius@glam.ac.uk>
2882         * src/devices/grohtml/post-html.cpp (html_printer::flush_page): Add
2883         call to flush_text to flush any outstanding html tags on the
2884         paragraph stack.
2886 2005-11-18  Werner LEMBERG  <wl@gnu.org>
2888         * aclocal.m4 (GROFF_MAKEINFO): Use `groff.info' in tests.
2889         Announce makeinfo version.
2890         * configure: Regenerated.
2892 2005-11-18  Mike Frysinger <vapier@gentoo.org>
2894         * Makefile.in: Declare proper dependencies between make targets.
2896         * doc/Makefile.in: Rename groff info page to `groff.info'.
2897         * doc/Makefile.sub: Likewise.
2898         * doc/groff.texinfo: Likewise.
2900 2005-11-17  Peter O'Gorman  <mlists@thewrittenword.com>
2902         * src/utils/pfbtops/pfbtops.c, src/utils/xtotroff/xtotroff.c: Move
2903         definition of __GETOPT_PREFIX to the beginning of file to ensure
2904         that it is defined even on platforms where getopt.h is already
2905         included by other header files.
2907 2005-11-10  Gaius Mulley  <gaius@glam.ac.uk>
2909         * src/devices/grohtml/post-html.cpp (html_printer::do_heading):
2910         Reset font to NULL to ensure that a font block is recreated during
2911         the next paragraph.
2913 2005-11-04  Werner LEMBERG  <wl@gnu.org>
2915         * aclocal.m4 (GROFF_MAKEINFO): Fix sed expression.
2916         * configure: Regenerated.
2918 2005-10-27  Werner LEMBERG  <wl@gnu.org>
2920         * aclocal.m4 (GROFF_MAKEINFO): New function for checking whether
2921         makeinfo 4.8 or newer is available.
2922         * configure.ac: Call GROFF_MAKEINFO.
2923         * configure: Regenerated.
2925         * Makefile.in (MAKEINFO): Use autoconf variable.
2926         (MDEFINES): Add MAKEINFO.
2928         * doc/Makefile.in (MAKEINFO): Use autoconf variable.
2929         * doc/Makefile.sub (MAKEINFO): Remove.
2931 2005-10-26  Werner LEMBERG  <wl@gnu.org>
2933         * REVISION: Set to 3.
2935 2005-10-17  Werner LEMBERG  <wl@gnu.org>
2937         Mention $MANPAGER variable used with some `man' systems.
2939         * doc/webpage.ms, src/devices/grotty/grotty.man, NEWS: Updated.
2941 2005-09-13  Werner LEMBERG  <wl@gnu.org>
2943         * tmac/hyphenex.us: New version (`ushyphex.tex' from ftp.dante.de).
2945 2005-09-04  Werner LEMBERG  <wl@gnu.org>
2947 Version 1.19.2 released
2948 =======================
2950         * tmac/groff_ms.man, doc/groff.texinfo: Synchronize.
2952         * doc/webpage.ms: Updated.
2954         * install-sh, mkinstalldirs: New versions; taken from texinfo CVS.
2956 2005-09-04  Jörgen Grahn <jgrahn@algonet.se>
2958         * tmac/groff_ms.man: Document `PO' better.
2960 2005-09-03  Werner LEMBERG  <wl@gnu.org>
2962         * NEWS: Document grotty changes.
2964 2005-09-01  Keith Marshall  <keith.d.marshall@ntlworld.com>
2966         Backward compatibility support for `man' program.
2968         * tmac/an-old.tmac (LL): Initialize it to respect prior LL register
2969         assignment, prior `.ll' request and then package defaults, in this
2970         specified order of decreasing priority.
2972         * tmac/groff_man.man, doc/groff.texinfo (Man options): Document
2973         altered `LL' register initialization priorities.
2975 2005-08-29  Gary W. Swearingen  <garys@opusnet.com>
2977         * tmac/groff_mdoc.man: Go into more details how the `AUTHORS'
2978         section should look like.
2980 2005-08-29  Werner LEMBERG  <wl@gnu.org>
2982         * tmac/groff_mdoc.man: The month's name in a call to .Dd shouldn't
2983         be abbreviated.
2985 2005-08-27  Bernd Warken
2987         * tmac/groff_man.man: Add man(7) too SEE ALSO and more minor
2988         fixes.
2990 2005-08-11  Bernd Warken
2992         * tmac/www.tmac (URL, MTO): Handle empty \\$1 better.
2994 2005-08-09  Bernd Warken
2996         * tmac/www.tmac (URL, MTO): Use bold series if color support is
2997         deactivated.
2999 2005-08-02  Bernd Warken
3001         * doc/Makefile.sub (uninstall_sub): Use --remove, not --delete
3002         as argument to $(INSTALL_INFO).  The latter isn't portable.
3003         Remove $(HTMLEXAMPLEFILES) too.
3005         * Makefile.in (uninstall_dirs): Remove $(datadir)/doc/groff and
3006         $(datadir)/doc too.
3007         Suppress warning messages and return always true.
3009         * tmac/Makefile.sub (uninstall_sub): Remove www.tmac too.
3011 2005-07-02  Bernd Warken
3013         * src/devices/xditview/gxditview.man: Change many `.I' to `.B'.
3014         * man/groff_out.man: More markup and minor improvements.
3015         * src/roff/groff/groff.man: Minor improvements.
3017 2005-06-28  Werner LEMBERG  <wl@gnu.org>
3019         * ChangeLog: Split off older entries into...
3020         * ChangeLog.115 ChangeLog.116, ChangeLog.117, ChangeLog.118: New
3021         files.
3023 2005-06-26  Bernd Warken
3025         * src/devices/xditview/gxditview.man: More minor fixes.
3027 2005-06-24  Werner LEMBERG  <wl@gnu.org>
3029         * src/preproc/pic/troff.cpp (troff_output::set_fill,
3030         troff_output::set_color, troff_output::reset_color): Use .bcolor and
3031         .fcolor instead of \m and \M, respectively.
3033 2005-06-23  Bernd Warken
3035         * src/devices/xditview/gxditview.man: More minor fixes.
3036         * README: Formatting issues.
3037         Mention some problems with Debian.
3039 2005-06-23  Bernd Warken
3041         * src/devices/xditview/gxditview.man: Revised and improved.
3043 2005-06-22  Werner LEMBERG  <wl@gnu.org>
3045         Another round in fixing getopt problems.  Hopefully the last one!
3046         This time we use the getopt stuff from gnulib and define a prefix
3047         unconditionally so that there are no collisions with any other
3048         getopt implementations.  This is a slight waste of space in case
3049         we already use a GNU getopt implementation, but on
3050         the other hand it really simplifies life.
3052         * src/include/getopt.h: Use gnulib version.
3054         * src/include/getopt_int.h: Use gnulib version.
3056         * src/include/groff-getopt.h: Removed.  Obsolete now.
3058         * src/include/lib.h: Regarding getopt, don't handle any platform
3059         specially; just include getopt.h.
3060         (__GETOPT_PREFIX): Define (before getopt.h).
3062         * src/include/Makefile.sub (HDRS): Updated.
3064         * src/libs/libgroff/getopt1.c, src/libs/libgroff/getopt.c: Use
3065         gnulib version.
3067         * src/libs/libgroff/Makefile.sub (EXTRA_CFLAGS): Set
3068         __GETOPT_PREFIX.
3070         * src/utils/pfbtops/pfbtops.c, src/utils/xtotroff/xtotroff.c
3071         (__GETOPT_PREFIX): Define (before getopt.h).
3073 2005-06-21  Werner LEMBERG  <wl@gnu.org>
3075         * src/include/lib.h: Provide a fix for Mac OS X to not include
3076         groff-getopt.h.
3078 2005-06-20  Denis M. Wilson  <dmw@oxytropis.plus.com>
3080         * font/devps/prologue.ps (EP): Dont' use `bind'.  Reason: Using
3081         `bind' to define a procedure which contains `showpage' means that an
3082         invocation of `showpage' may execute wrongly (the exact effect
3083         depending on the interpreter).  Not usually a problem except under
3084         transformations, such as combining pages.
3085         (PEND): Don't call `clear'.  Reason: Using `clear' in the definition
3086         of /PEND means that stack underflow will occur if the stack is
3087         deliberately non-empty before document inclusion.  If included
3088         files are found to be generally badly behaved, we could replace the
3089         `clear' with `mark' in /PBEGIN and `cleartomark' in /PEND (I've
3090         never found this necessary).
3092 2005-06-20  Jörgen Grahn  <jgrahn@algonet.se>
3094         * src/preproc/soelim/soelim.cpp (do_file): Append trailing zero
3095         earlier to get correct error message.
3097 2005-06-16  Bernd Warken
3098         * src/roff/nroff/nroff.sh: Add support for iso-8859-15.
3100 2005-06-15  Werner LEMBERG  <wl@gnu.org>
3102         Another try to update getopt files.  This time we add a dummy
3103         gettext.h file to satisfy the dependency.
3105         * src/include/getopt.h, src/libs/libgroff/getopt.c,
3106         src/libs/libgroff/getopt1.c: Updated from GNU libc CVS.
3108         * src/include/getopt_int.h: New file (from GNU libc CVS).
3110         * src/include/gettext.h: Dummy file which just defines a gettext()
3111         macro.
3113         * src/include/groff-getopt.h: Updated.
3115         * src/include/Makefile.sub (HDRS): Add getopt_int.h and gettext.h.
3118         * src/libs/libdriver/input.cpp (IntArray): Remove superfluous
3119         `const' keywords in return value.
3121         * src/preproc/html/pushback.cpp (pushBackBuffer::~pushBackBuffer):
3122         Remove redundant variable `old'.
3123         (pushBackBuffer::skipToNewline): Remove redundant variable `ch'.
3125         * src/preproc/tbl/main.cpp (process_table): Remove redundant
3126         variable `c'.
3129         Fix more friend name injection problems since modern C++ compilers
3130         fail otherwise.  We simply provide (global) declarations for all
3131         functions declared as friends.  This is not really necessary but
3132         doesn't harm.
3134         * src/preproc/eqn/lex.cpp: Provide declarations for get_char,
3135         peek_char, and get_location.
3137         * src/preproc/refer/ref.h: Provide declarations for
3138         compare_reference, same_reference, same_year, same_date,
3139         same_author_last_name, and same_author_name.
3141         * src/roff/troff/div.h: Provide declarations for do_divert and
3142         page_offset.
3144         * src/roff/troff/env.h: Provide declarations for title_length,
3145         space_size, fill, no_fill, adjust, no_adjust, center, right_justify,
3146         vertical_spacing, post_vertical_spacing, line_spacing, line_length,
3147         indent, temporary_indent, do_underline, do_input_trap, set_tabs,
3148         margin_character, no_number, number_lines, leader_character,
3149         tab_character, hyphenate_request, no_hyphenate,
3150         hyphen_line_max_request, hyphenation_space_request,
3151         hyphenation_margin_request, line_width, tabs_save, tabs_restore,
3152         line_tabs_request, widow_control_request, and do_divert.
3154         * src/roff/troff/input.cpp: Provide declaration for chop_macro.
3156         * src/roff/troff/node.cpp: Provide declarations for class
3157         tfont_spec.
3158         Provide declaration for make_tfont.
3160 2005-05-29  Werner LEMBERG  <wl@gnu.org>
3162         * doc/fdl.texi: Updated to version 1.2.  Reported by Bernd Warken.
3164 2005-05-28  Werner LEMBERG  <wl@gnu.org>
3166         * src/devices/grolbp/lbp.cpp, src/devices/grolbp/lbp.h: Remove
3167         redundant semicolons.
3169         * src/preproc/eqn/Makefile.sub, src/preproc/html/Makefile.sub,
3170         src/preproc/soelim/Makefile.sub, src/preproc/tbl/Makefile.sub:
3171         Define `MLIB'.  Some compilers need this for linking with libgroff.
3173 2005-05-27  Werner LEMBERG  <wl@gnu.org>
3175         * MANIFEST, README, doc/webpage.ms: Updated.
3177 2005-05-26  Werner LEMBERG  <wl@gnu.org>
3179         * All affected files: Update postal address of FSF.
3181 2005-05-25  Keith Marshall  <keith.d.marshall@ntlworld.com>
3182             Bernd Warken
3184         * README: More fixes.
3186         * README.CVS: Removed.  Its contents is now part of the README file.
3188 2005-05-21  Werner LEMBERG  <wl@gnu.org>
3190         * README: Updated.  Based on a patch from Bernd Warken.
3192 2005-05-16  Keith Marshall  <keith.d.marshall@ntlworld.com>
3194         Miscellaneous script portability enhancements.
3196         * aclocal.m4: (GROFF_CSH_HACK): Add space in shebang prototype for
3197         generated conftest.sh script, conforming to portability
3198         recommendation in autoconf docs.
3199         * configure: Likewise, for code generated by GROFF_CSH_HACK.
3200         * contrib/eqn2graph/eqn2graph.sh: Add space in shebang, conforming
3201         to portability recommendation in autoconf docs.
3202         * contrib/grap2graph/grap2graph.sh: Likewise.
3203         * contrib/pic2graph/pic2graph.sh: Likewise.
3204         * font/devps/generate/afmname: Likewise.
3205         * src/devices/xditview/ad2c: Likewise.
3206         * src/preproc/eqn/neqn.sh: Likewise.
3207         * src/roff/grog/grog.pl: Likewise.
3208         * src/roff/grog/grog.sh: Likewise.
3209         * src/roff/nroff/nroff.sh: Likewise.
3210         * PROBLEMS: Likewise, in embedded script examples.
3212 2005-05-16  Keith Marshall  <keith.d.marshall@ntlworld.com>
3214         Improve portability of `pdfroff' shell script.
3216         * arch/misc/shdeps.sh: Add space in shebang, conforming to
3217         portability guidelines in `autoconf' docs.
3218         (PATH_SEARCH_SETUP): New substitution; emits PATH_SEPARATOR
3219         initialization code.  Used by contrib/pdfmark/pdfroff.sh's
3220         `searchpath' function.
3222 2005-05-14  Werner LEMBERG  <wl@gnu.org>
3224         * contrib/pic2graph/pic2graph.sh, contrib/graph2graph.sh,
3225         contrib/eqn2graph.sh: Add option `-trim' to `convert' which is
3226         needed for newer ImageMagick versions.
3228 2005-05-07  Werner LEMBERG  <wl@gnu.org>
3230         * src/preproc/refer/refer.man: Many small typographic fixes.
3232 2005-05-06  Jeff Conrad  <jeff_conrad@msn.com>
3234         * src/devices/grohtml/post-html.cpp (assert_state::~assert_state):
3235         Use `char *' cast for a_delete.
3237 2005-05-03  Werner LEMBERG  <wl@gnu.org>
3239         * src/libs/libgroff/maxpathname.cpp: Include stdlib.h.
3240         src/libs/libgroff/relocate.cpp: Use path_name_max everywhere.
3242 2005-05-03  Jeff Conrad  <jeff_conrad@msn.com>
3244         * src/devices/grohtml/post-html.cpp: Use casts to `char *' if using
3245         `a_delete' for `const char *'.
3247 2005-05-03  Werner LEMBERG  <wl@gnu.org>
3249         * src/devices/grohtml/post-html.cpp,
3250         src/devices/grohtml/html-table.cpp,
3251         src/devices/grohtml/html-text.cpp, src/devices/grohtml/output.cpp:
3252         Replace malloc/free with new/delete/a_delete.
3254         * src/devices/grolbp/lbp.h: Remove superfluous semicolons which
3255         are prohibited with ANSI C++.
3256         (lbpprintf, vdmprintf): Remove useless `inline' keyword (since the
3257         function has a variable number of arguments).
3259         * src/preproc/grn/main.cpp (doinput): Change return type to `int'.
3260         Simplify function and update all callers.
3262 2005-05-02  Werner LEMBERG  <wl@gnu.org>
3264         Undo getopt changes from 2005-04-30.  We don't want a dependency
3265         on gettext.
3267         * src/include/getopt_int.h: Removed.
3269         * src/include/getopt.h, src/include/groff-getopt.h,
3270         src/include/Makefile.sub, src/libs/libgroff/getopt.c,
3271         src/libs/libgroff/getopt1.c: Revert to previous version.
3274         * src/include/nonposix.h (access) [_MSC_VER]: New macro.
3276         * src/include/posix.h (F_OK): Define conditionally.
3278         * src/devices/grotty/tty.cpp (tty_printer::make_underline): Use
3279         different variable name in second `for' loop to avoid MSVC compiler
3280         problem.
3282 2005-04-30  Werner LEMBERG  <wl@gnu.org>
3284         AC_TYPE_SIGNAL from current autoconf can fail if CC=g++.
3286         * aclocal.m4 (GROFF_TYPE_SIGNAL): New function.
3287         * configure.ac: Use GROFF_TYPE_SIGNAL, not AC_TYPE_SIGNAL.
3288         * configure, src/include/config.hin: Regenerated.
3290         * PROBLEMS: Updated.
3293         Update getopt files.
3295         * src/include/getopt.h, src/libs/libgroff/getopt.c,
3296         src/libs/libgroff/getopt1.c: Updated from GNU libc CVS.
3298         * src/include/getopt_int.h: New file (from GNU libc CVS).
3300         * src/include/groff-getopt.h: Updated.
3302         * src/include/Makefile.sub (HDRS): Add getopt_int.h.
3305         * font/devutf8/NOTES: Updated.
3307 2005-04-28  Werner LEMBERG  <wl@gnu.org>
3309         Bug fix for Win32 relocatable code.  Based on a patch from Keith
3310         Marshall.
3312         * src/libs/libgroff/maxpathname.cpp (PATH_MAX): Test for `_MAX_PATH'
3313         also.
3315         * src/libs/libgroff/relocate.c (DEBUG): Define it conditionally.
3316         (searchpath) [_WIN32]: Use `_fullpath', not `realpath'.
3318 2005-04-28  Keith Marshall  <keith.d.marshall@ntlworld.com>
3320         Correct `gnu.eps' handling for build from distribution tarball, with
3321         separate source and build directories.
3323         * doc/Makefile.sub: (examples.stamp): New target; forces copy of
3324         grnexmpl.g, groff.css and gnu.eps from source to build directory;
3325         generate gnu.eps from gnu.xpm if required; touch examples.stamp.
3326         (prepare_examples): Make it depend on examples.stamp.
3327         (CLEANADD): Add examples.stamp.
3329 2005-04-27  Werner LEMBERG  <wl@gnu.org>
3331         Implement the rule
3333           position: `(' position `)'
3335         in pic.
3337         * src/preproc/pic/pic.y (position, position_not_place): Handle
3338         additional parentheses.
3340         * doc/pic.ms: Updated.
3342 2005-04-23  Larry Jones  <lawrence.jones@ugs.com>
3344         * src/utils/xtotroff/xtotroff.c (MapFont): Fix variable declaration.
3346 2005-04-18  Werner LEMBERG  <wl@gnu.org>
3348         * src/roff/groff/pipeline.c: Don't include ctype.h.
3350 2005-04-13  Werner LEMBERG  <wl@gnu.org>
3352         * src/roff/nroff/nroff.man: Document option `-M'.
3354 2005-04-13  Bruce Lilly  <blilly@erols.com>
3356         * src/roff/nroff/nroff.sh: Make the script accept option `-M'.
3358 2005-04-01  Kees Zeelenberg  <kzlg@users.sourceforge.net>
3359             Werner LEMBERG  <wl@gnu.org>
3361         Add binary relocation support for Windows platforms.
3363         * src/include/Makefile.sub (defs.h): Add `INSTALLPATH'.
3365         * src/include/relocate.h, src/libs/libgroff/relocate.cpp: New files.
3367         * src/libs/libgroff/searchpath.cpp: Handle `relocate'.
3368         (search_path::search_path, search_path::open_file_cautious): Use
3369         `relocate'.
3371         * src/libs/libgroff/Makefile.sub (OBJS, CCSRCS),
3372         src/include/Makefile.sub (HDRS): Updated.
3374 2005-04-01  Werner LEMBERG  <wl@gnu.org>
3376         * src/devices/grohtml/post-html.cpp: Don't use strdup/free but
3377         strsave/a_delete.
3379         * src/libs/libgroff/font.cpp: Replace strdup with strsave.
3381         * src/libs/libgroff/maxfilename.cpp: Don't include limits.h since
3382         lib.h already does it.
3384         * src/libs/libgroff/maxpathname.cpp: New file, defining
3385         path_name_max.
3387         * src/include/lib.h: Add prototype for path_name_max.
3389         * src/libs/libgroff/Makefile.sub (OBJS, CCSRCS): Updated.
3391         * src/include/nonposix.h (PATH_EXT): New macro.
3393 2005-03-28  Werner LEMBERG  <wl@gnu.org>
3395         Add support for double- and zero-width characters in grotty.
3397         * src/devices/grotty/tty.cpp (glyph): Add width.
3398         (tty_printer::make_underline, tty_printer::make_bold,
3399         tty_printer::add_character): Add parameter to pass character width.
3400         Update all callers.
3401         (tty_printer::end_page): Increase hpos by actual character width.
3403         * font/devutf8/R.proto: Specify zero width for non-spacing
3404         characters.
3406         * tmac/unicode.tmac: Remove definitions for non-spacing entities.
3408         * Makefile.comm (extraclean): Remove more junk files.
3410 2005-03-25  Werner LEMBERG  <wl@gnu.org>
3412         * configure.ac: Undo change from 2005-03-24.
3413         * configure: Regenerated.
3415 2005-03-24  Werner LEMBERG  <wl@gnu.org>
3417         * Makefile.in (NOMAKEDIRS): Add contrib/gdiffmk/tests.
3418         (dist): Search Makefile while descending into $(EXTRADIRS).
3420         * doc/Makefile.in (.PHONY): Add.
3421         (clean): Don't remove *.png and *.eps.
3422         Don't handle *.gif.
3423         (realclean): Remove *.png and *.eps.
3424         (extraclean): Depend on distclean.
3426         * configure.ac: Add copyright.
3427         Handle contrib/pdfmark/Makefile.
3429         * configure: Regenerated.
3431 2005-03-18  Larry Kollar  <kollar@alltel.net>
3433         Add numbered and definition lists to www.tmac.
3435         * tmac/www.tmac (www-ul-level1, www-ul-level2, www-ul-level3,
3436         www-ol-level1, www-ol-level2, www-ol-level3, www-ol-tmp): New
3437         auxiliary string registers.
3438         (www-ul-level, www-ol-level, www-dl-level, www-ol-ctr1, www-ol-ctr2,
3439         www-ol-ctr3, www-dl-shift): New auxiliary number registers.
3440         (www-level): Removed.
3441         (www-level1, www-level2, www-level3): Initialize to empty.
3442         (www-level0, www-level4, www-level5, www-level6, www-level7,
3443         www-level8, www-level9): New string registers.
3444         (www-push-li, www-pop-li): New macros.
3445         (www-push-level, www-pop-level): Renamed to...
3446         (www-push-ul-level, www-pop-ul-level): This.
3447         Updated.
3448         (www-push-ol-level, www-pop-ol-level): New macros.
3449         (ULS, ULE): Updated.
3450         (OLS, OLE, DLS, DLE): New user macros.
3451         (LI): Removed.  It is aliased to one of...
3452         (www-li-ul, www-li-ol, www-li-dl): New macros.
3454         * tmac/groff_www.man: Document new macros.
3456         * NEWS: Updated.
3458 2005-03-18  Werner LEMBERG  <wl@gnu.org>
3460         * tmac/doc-common (doc-operating-system-NetBSD-2.0.1,
3461         doc-operating-system-NetBSD-2.0.2): New strings.
3463         * tmac/groff_mdoc.man: Updated.
3465 2005-03-17  Werner LEMBERG  <wl@gnu.org>
3467         * doc/Makefile.sub (CLEANADD): Add `groff.html'.
3469 2005-03-17  Werner LEMBERG  <wl@gnu.org>
3471         * src/libs/libgroff/hypot.c: Renamed to...
3472         * src/libs/libgroff/hypot.cpp: This.  Updated to C++.
3474         * src/libs/libgroff/Makefile.sub (CCSRCS, CSRCS): Updated.
3476         * src/include/lib.h: Updated.
3478 2005-03-16  Werner LEMBERG  <wl@gnu.org>
3480         Add workaround for broken hypot() on Interix.
3482         * src/libs/libgroff/hypot.c: New wrapper file for `hypot'.
3484         * src/libs/libgroff/Makefile.sub (OBJS): Add `hypot.o'.
3485         (CSRCS): Add `hypot.c'.
3487         * src/include/lib.h: Declare `groff_hypot'.
3489         * src/preproc/grn/hgraph.cpp: Don't declare `hypot'.
3490         Use `groff_hypot'.
3492         * src/preproc/pic/pic.h: Don't declare `hypot'.
3494         * src/preproc/pic/object.cpp (hypot): Use `groff_hypot'.
3496 2005-03-15  Gaius Mulley  <gaius@glam.ac.uk>
3498         * src/devices/grohtml/post-html.cpp
3499         (html_printer::lookahead_for_tables): End .ce properly to avoid a
3500         segfault.
3502 2005-03-15  Werner LEMBERG  <wl@gnu.org>
3504         makeinfo 4.8 doesn't produce good HTML output from groff.texinfo.
3506         * doc/fixinfo.sh: New script to postprocess makeinfo's HTML output.
3508         * doc/Makefile.in (.texinfo.html): Call fixinfo.sh.
3510 2005-03-14  Werner LEMBERG  <wl@gnu.org>
3512         Add Cyrillic support to devutf8 and devhtml.
3514         * font/devutf8/R.proto, font/devhtml/R.proto: Add Cyrillic blocks.
3516         * tmac/unicode.tmac: New file.
3518         * tmac/tty.tmac: Include unicode.tmac if device is utf8.
3520         * tmac/Makefile.sub (NORMALFILES): Add unicode.tmac.
3522         * NEWS: Updated.
3524 2005-03-02  Keith Marshall  <keith.d.marshall@ntlworld.com>
3526         * src/libs/libdriver/printer.cpp (check_for_output_error): New
3527         function.  It has been introduced to catch peculiar error contexts
3528         on MS-Windows platforms.
3530 2005-02-28  Werner LEMBERG  <wl@gnu.org>
3532         * src/roff/troff/input.cpp (string_iterator::fill): Protect against
3533         null pointer.
3535         * tmac/papersize.tmac: Convert `paper' string contents to lowercase.
3537         * configure: Regenerated.
3539         * NEWS: Updated.
3541 2005-02-28  Keith Marshall  <keith.d.marshall@ntlworld.com>
3543         Integrate `pdfmark' into normal groff build system;
3544         install macro `pdfmark' packages, build and install `pdfroff',
3545         and PDF format documentation.
3547         * Makefile.comm: Add PDFDOCDIR.
3549         * Makefile.in: (MDEFINES) ALT_AWK_PROGS, ALT_GHOSTSCRIPT_PROGS,
3550         pdfdocdir, make_pdfdoc, make_install_pdfdoc: New variables.
3551         (unstall_dirs): Add pdfdocdir.
3553         * aclocal.m4: (GROFF_GHOSTSCRIPT_PREFS): New function; support
3554         `--with-alt-gs' option, set ALT_GHOSTSCRIPT_PROGS.
3555         (GROFF_GHOSTSCRIPT_PATH): Support `--with-gs' option, force use of
3556         GROFF_GHOSTSCRIPT_PREFS, set GHOSTSCRIPT.
3557         (GROFF_HTML_PROGRAMS): Force use of GROFF_GHOSTSCRIPT_PATH; tidy up.
3558         (GROFF_AWK_PREFS): New function; support `--with-alt-awk' option,
3559         set ALT_AWK_PROGS.
3560         (GROFF_AWK_PATH): New function; support `--with-awk' option, force
3561         use of GROFF_AWK_PREFS.
3562         (GROFF_PDFDOC_PROGRAMS): New function; force use of GROFF_AWK_PATH
3563         and GROFF_GHOSTSCRIPT_PATH, set make_pdfdoc and make_install_pdfdoc.
3565         * configure.ac: Add AC_PREREQ(2.59), GROFF_PDFDOC_PROGRAMS.
3566         Remove GROFF_GHOSTSCRIPT_PATH, (forced by GROFF_PDFDOC_PROGRAMS, and
3567         also by modified GROFF_HTML_PROGRAMS).
3569 2005-02-27  Gaius Mulley  <gaius@glam.ac.uk>
3571         * src/devices/grohtml/html-text.cpp (html_text::do_pre): Preserve
3572         paragraph spacing.
3573         (html_text::done_para): Unset `start_space'.
3574         (html_text::remove_para_align): Call `retrieve_para_space' for the
3575         spacing.
3577         * src/devices/grohtml/post-html.cpp (html_printer::emit_raw): Unset
3578         `seen_space'.
3579         (html_printer::do_check_center): Emit vertical space if necessary.
3581         * src/roff/troff/env.cpp (environment_switch): Preserve
3582         `seen_space', `seen_eol', and `suppress_next_eol' while switching
3583         environments.
3585         * src/roff/troff/node.cpp (suppress_node::suppress_node): Set
3586         `is_special'.
3588 2005-02-20  Werner LEMBERG  <wl@gnu.org>
3590         * src/preproc/eqn/eqn.man, NEWS: Document various extensions of
3591         eqn.
3593 2005-02-17  Werner LEMBERG  <wl@gnu.org>
3595         * doc/pic.ms, man/groff.man: Fix typos.
3597         * doc/groff.texinfo: Fix typos.
3598         (\LEmacro): Get proper mathematical spacing.
3600 2005-02-16  Werner LEMBERG  <wl@gnu.org>
3602         * aclocal.m4 (GROFF_APPRESDIR_CHECK): Improve warning message.
3603         * configure: Regenerated with autoconf 2.59b.
3605 2005-02-16  Gaius Mulley  <gaius@glam.ac.uk>
3607         * src/devices/grohtml/post-html.cpp (html_printer::is_line_start,
3608         html_printer::start_font): Fix handling of preformatted text.
3610 2005-02-15  Gaius Mulley  <gaius@glam.ac.uk>
3612         These patches modify the indentation implementation to use `<p
3613         style=margin-left: n%>'.  Many thanks to Peter and Larry for
3614         suggesting this solution.  Grohtml only uses tables for `.IP' and
3615         related tags when the first operand has a short width.
3617         Similarly, they modify all vertical space code.  By default, grohtml
3618         sets up a style sheet which uses no vertical space between `table',
3619         `pre', and `p' tags.  It forces spaces when it needs them using
3620         `style="margin-top: 1em"'.
3622         * src/devices/grohtml/html-table.cpp: Include `html-text.h'.
3623         (html_table::emit_table_header, html_table::emit_new_row):
3624         Rewritten.
3625         (html_table::set_space): New function.
3626         (html_indent::html_indent): Don't set `is_used'.
3627         (html_indent::begin): Rewritten.
3628         (html_indent::end): Remove code in function.
3630         * src/devices/grohtml/html-table.h: Updated.
3631         (html_table): Make `out' public.
3633         * src/devices/grohtml/html-text.cpp (html_text::html_text):
3634         Initialize `start_space' with FALSE.
3635         (html_text::end_tag) <P_TAG, PRE_TAG>: Updated.
3636         (html_text::issue_tag): Add argument to handle space style.
3637         (html_text::start_tag) <P_TAG, PRE_TAG>: Updated.
3638         (html_text::flush_text): Don't set `start_space'.
3639         (html_text::push_para): Don't set `p->really_issued'.
3640         (html_text::do_emittext): Updated.
3641         (html_text::do_para): Add paremeter to handle space.
3642         Update all callers.
3643         (html_text::retrieve_para_space): New function.
3645         * src/devices/grohtml/html-text.h (STYLE_VERTICAL_SPACE): New macro.
3646         (tag_definition): Remove `really_issued'.
3647         (html_text): Updated.
3649         * src/devices/grohtml/post-html.cpp (html_printer): Add variables
3650         `current_column' and `row_space'.
3651         Update constructor.
3652         (html_printer::emit_raw, html_printer::write_header,
3653         html_printer::do_indent, html_printer::do_check_center,
3654         html_printer::do_tab_ts): Handle vertical space.
3655         (html_printer:do_tab_te, html_printer::do_end_para): Call
3656         `remove_para_space'.
3657         (html_printer::do_col): Rewritten.
3658         (html_printer::flush_globs): Remove debugging code.
3659         (html_printer::is_line_start): New function.
3660         (html_printer::start_font): Use `is_line_start'.
3661         (html_printer::writeHeadMetaStyle): New function.
3662         (html_printer::do_file_components, html_printer::~html_printer):
3663         Call `writeHeadMetaStyle'.
3665         * tmac/www.tmac (www-handle-percent): New macro.
3666         (MPIMG): Handle percent values for width and height parameters.
3667         (DC): Updated.
3669         * tmac/groff_www.man: Updated.
3671 2005-02-14  Werner LEMBERG  <wl@gnu.org>
3673         * src/utils/afmtodit/afmtodit.pl: Remove an incorrect `my' from
3674         $psname and $italic_angle.
3675         Immediately restart file input loops if `split' returns an empty
3676         array.
3678 2005-02-13  Michail Vidiassov  <master@iaas.msu.ru>
3679             Werner LEMBERG  <wl@gnu.org>
3681         Update afmtodit to better support Unicode (Michail).
3682         Update afmtodit to use Perl 5 syntax (Werner).
3684         * src/utils/afmtodit/afmtodit.pl: Don't use `getopts.pl' but
3685         `Getopts::Std'.
3686         Decorate variables with `my' where necessary.
3687         Use `defined' where necessary to avoid warnings.
3688         Don't use `do' for subroutine calls.
3689         Other minor syntax updates.
3690         Check for both `uXXXX[X[X]]' and `uniXXXX'.
3691         Handle glyph variants properly.
3692         (%unicode_decomposed, %AGL_to_unicode): Don't use `u' prefix in
3693         strings.
3695         * src/utils/afmtodit/afmtodit.man: Updated.
3697 2005-02-13  Werner LEMBERG  <wl@gnu.org>
3699         Make groff.texinfo work with texinfo 4.8.
3701         * doc/groff.texinfo (@Var): Use @r and @slanted.
3702         (@defdummy, @Def*): Use @c to avoid empty lines.
3703         (\angles): Replaced with...
3704         (\Langlemacro, \Ranglemacro): New TeX macros.
3705         (@Langlemacro, @Ranglemacro): New variables defined with @set.
3706         (@angles): Use @Langlemacro and @Ranglemacro.
3707         (\LE): Replaced with...
3708         (\LEmacro): New TeX macro.
3709         (@LEmacro): New variable defined with @set.
3710         (@LE): Use @LEmacro.
3711         (@Lparenmacro, @Rparenmacro, @Lbrackmacro, @Rbrackmacro): New
3712         variables defined with @set.
3713         (@lparen, @rparen, @lbrack, @rbrack): Replaced with...
3714         (@Lparen, @Rparen, @Lbrack, @Rbrack): New macros.
3715         Update all callers.
3717         Other minor updates.
3719         * doc/texinfo.tex: Update to texinfo version 4.8.
3721         * README.CVS: Updated.
3723 2005-02-09  Alejandro López-Valencia <palopez@etb.net.co> (tiny change)
3725         * doc/groff.texinfo (ms Document Control Registers): Document `HY'
3726         and `FAM' registers.
3728 2005-02-05  Werner LEMBERG  <wl@gnu.org>
3730         * tmac/groff_mdoc.man, tmac/doc-common, tmac/doc-ditroff,
3731         tmac/doc-nroff, tmac/doc-old.tmac, tmac/doc-syms, tmac/doc.tmac:
3732         Update BSD license.
3734 2005-02-01  Werner LEMBERG  <wl@gnu.org>
3736         * src/roff/groff/groff.man: Add information about paper size.
3738 2005-01-25  Werner LEMBERG  <wl@gnu.org>
3740         * src/roff/nroff/nroff.sh: Handle `*.ISO8859-1' in locale.  From
3741         NetBSD bin/29114.
3743 2005-01-22  Ruslan Ermilov  <ru@FreeBSD.org>
3745         * tmac/doc.tmac (Sm): Improved.  It didn't work properly in many
3746         cases.
3747         (Re): Emit a warning if called without `.Rs'.
3748         (doc-finish-reference): Use parameter for decreasing
3749         `doc-reference-count'.
3750         (doc-print-reference): Pass specific count parameters to
3751         `doc-finish-reference'.
3753 2005-01-21  Werner LEMBERG  <wl@gnu.org>
3755         * src/libs/libdriver/input.cpp (delete_current_env, do_file):
3756         Reset pointers to zero after deallocation.  This fixes a crash
3757         if a driver is called with multiple input files.  Reported by
3758         Ken Chilton <ken@chiltonfamily.org>.
3760         * src/devices/grops/grops.man: Add more info on DSC.
3762 2005-01-17  Ruslan Ermilov  <ru@FreeBSD.org>
3764         * tmac/doc-common (Dd), tmac/doc-ditroff (gX, doc-setup-header):
3765         Remove dead code.
3767 2005-01-17  Werner LEMBERG  <wl@gnu.org>
3769         * src/roff/troff/div.cpp (top_level_diversion::space): Protect
3770         against division by zero.
3772 2005-01-13  Ruslan Ermilov  <ru@FreeBSD.org>
3774         * tmac/doc.tmac (Ef): Restore doc-curr-font and doc-curr-size.
3776 2004-12-19  Werner LEMBERG  <wl@gnu.org>
3778         * install-sh: New version; taken from texinfo CVS.
3780 2004-12-17  Werner LEMBERG  <wl@gnu.org>
3782         * tmac/devtag.tmac: Protect against loading twice.
3783         Protect agains compatibility mode.
3784         * tmac/www.tmac: Protect against loading twice.
3785         Load `devtag.tmac' before switching off compatibility mode.
3786         * tmac/an-old.tmac, tmac/s.tmac: Load `devtag.tmac'.
3788 2004-12-16  Mike Bianchi  <mbianchi@Foveal.com>
3790         * configure.ac: Produce `contrib/gdiffmk/tests/runtests'.
3791         * configure: Updated.
3793 2004-12-15  Thomas Klausner  <wiz@netbsd.org>
3795         * tmac/doc-syms, tmac/groff_mdoc.man: Add `libpam' library.
3797 2004-12-15  Werner LEMBERG  <wl@gnu.org>
3799         Make `test-groff' work again -- previously, wrong paths have been
3800         used.  Additionally, it can now be called from anywhere.
3802         * test-groff.in: Don't test for groff binary.  This is no longer
3803         necessary since the proper paths are determined by `configure'.
3804         (EXEEXT): Removed.  No longer used.
3805         (srcdir, builddir): Use values provided by the configure script.
3806         (XENVIRONMENT): Updated.
3808         * INSTALL: Updated.
3810 2004-12-14  Gaius Mulley  <gaius@glam.ac.uk>
3812         Make .tag and .taga work for all devices (but only grohtml actually
3813         handles them).
3815         * src/devices/grohtml/post-html.cpp: s/html-tag/devtag/.
3816         (text_glob::is_br, page::add_tag, html_printer::troff_tag,
3817         html_printer::handle_assertion): Don't use hard-coded string
3818         lengths.
3819         (html_printer::lookahead_for_table): Reset `tbl' properly if
3820         necessary.
3821         (html_printer::devtag): New function, handling `devtag'.
3822         (html_printer::special): Don't handle `html-tag'.
3824         * src/include/printer.h, src/libs/libdriver/printer.cpp
3825         (printer::devtag): New virtual function.
3827         * src/libs/libdriver/input.cpp (parse_x_command) <'X'>: Handle
3828         `devtag'.
3830         * src/roff/troff/env.cpp, src/roff/troff/mtsm.cpp,
3831         src/roff/troff/node.cpp: s/html-tag/devtag/.
3833         * src/roff/troff/input.cpp (tag, taga): Always call
3834         curenv->add_node.
3836         * tmac/an-old.tmac, tmac/s.tmac, tmac/troffrc-end: Use DEVTAG*
3837         macros instead of HTML-TAG*.
3839         * tmac/devtag.tmac: New file, defining the DEVTAG-* macros.
3841         * tmac/www.tmac: Load devtag.tmac.
3842         Replace HTML-TAG* macros with DEVTAG* macros.
3843         (HTML, HTML-NS): Changed definitions.
3844         (URL): Use HTML-NS.
3845         (HTML-TAG, HTML-TAG-NS, HTML-TAG-NEXT): Removed.
3847         * tmac/Makefile.sub (NORMALFILES): Add devtag.tmac.
3849 2004-12-10  Werner LEMBERG  <wl@gnu.org>
3851         Import Mike's `gdiffmk' package.
3853         * contrib/gdiffmk/*: New files.
3854         * Makefile.in (OTHERDIRS): Add contrib/gdiffmk.
3855         * NEWS: Updated.
3857 2004-12-08  Werner LEMBERG  <wl@gnu.org>
3859         Import Keith's `pdfmark' package.  Integration is very preliminary.
3861         * contrib/pdfmark/*: New files.
3862         * Makefile.in (OTHERDIRS): Add contrib/pdfmark.
3863         * NEWS: Updated.
3865 2004-12-07  Gaius Mulley  <gaius@glam.ac.uk>
3867         Fix a bug with title handling in HTML.
3869         * src/devices/grohtml/post-html.cpp (text_glob::is_nf,
3870         text_glob::is_fi, text_glob::is_ce): Use strlen to compute string
3871         length.
3872         (html_printer::handle_tag_within_title): New function.
3873         (html_printer::do_title): Use it.
3875         * tmac/s.tmac (TL): Don't set `need_eo_tl'.
3876         (cov*tl-au-print): Emit `.eo.tl' tag.
3878 2004-12-05  Alejandro López-Valencia  <dradul@etb.net.co>
3880         * man/groff_char.man: Minor imrovements.
3882 2004-12-04  Werner LEMBERG  <wl@gnu.org>
3884         * src/preproc/eqn/eqn.man: Revised.
3886 2004-11-25  Werner LEMBERG  <wl@gnu.org>
3888         * src/utils/xtotroff/xtotroff.c: Reformat to be similar to other
3889         groff source files.
3890         Include config.h.
3891         Include limits.h.
3892         Remove X_NOT_STDC_ENV conditional.
3893         (Version_string, program_name): New global variables.
3894         (groff_flag): Removed.
3895         (MapFont): Updated.
3896         (usage): Take a stream as argument.
3897         Use `program_name'.
3898         Update all callers.
3899         (main): Add `long_options' array for `--help' and `--version'.
3900         Make `-g' a dummy option.
3901         Handle `-v' and unknown options.
3902         Remove unused `position' variable.
3904         * src/utils/xtotroff/Makefile.sub (MAN1): Define.
3905         (XLIBS): Add LIBGROFF.
3907         * src/utils/xtotroff/xtotroff.man, src/utils/xtotroff/Makefile.in:
3908         New files.
3910         * src/devices/xditview/Dvi.c (default_font_map): Split into three
3911         parts to avoid compiler warning.
3912         (resources): Don't initialize with `default_font_map'.
3913         (ClassInitialize): Initialize first element of `resources'.
3915         * src/devices/xditview/Makefile.sub (devdir, xtotroff, DPIS, fonts):
3916         Removed.
3918         * src/utils/lkbib/lkbib.man, src/utils/lookbib/lookbib.man,
3919         src/utils/pfbtops/pfbtops.man: Revised, updated.
3921         * configure.ac: Generate src/utils/xtotroff/Makefile.
3922         * configure: Regenerated.
3924 2004-11-24  Werner LEMBERG  <wl@gnu.org>
3926         First fixes to get produce HTML.
3928         * src/devices/grohtml/post-html.cpp (generate_img_src): Add `alt'
3929         attribute.
3931         * tmac/www.tmac (IMG, PIMG, MPIMG): Add `alt' attribute.
3932         (HR, LI): Use `HTML</p>', not `HTML'.
3934         * doc/webpage.ms: Minor updates.
3936 2004-11-23  Larry Kollar  <kollar@alltel.net>
3938         Add option -S grohtml to determine the file split level.
3940         * src/devices/grohtml/post-html.cpp (split_level): New global
3941         variable.
3942         (html_header::determine_header_level): Use split_level.
3943         (main): Handle `-S' command line option.
3944         Sort options.
3946         * src/preproc/html/pre-html.cpp (scanArguments): Updated.
3948         * src/devices/grohtml/grohtml.man: Document it.
3949         Sort options.
3951         * NEWS: Document it.
3953 2004-11-23  Y T  <doarhop@hotmail.com>
3955         * tmac/s.tmac (ref*add-V, ref*add-N): New macros for handling
3956         the volume and number refer entries.
3958 2004-11-22  Werner LEMBERG  <wl@gnu.org>
3960         * src/devices/grohtml/html-table.cpp
3961         (html_table::emit_table_header): Don't emit `cols' attribute which
3962         doesn't exist in HTML 4.0 and is thus invalid.
3964         * NEWS: More minor fixes and updates.
3966 2004-11-18  Werner LEMBERG  <wl@gnu.org>
3968         * tmac/www.tmac (HTML-NS, HTML-TAG-NS, HTML-TAG-NEXT): Simplified.
3969         (HTML</p>): Minor clean-up.
3971         * tmac/groff_www.man: Updated.
3973         * src/devices/grohtml/grohtml.man: Revised and updated.
3975         * NEWS: Updated.
3977 2004-11-18  Gaius Mulley  <gaius@glam.ac.uk>
3979         * src/devices/grohtml/post-html.cpp (html_printer::do_heading):
3980         Fix space insertion.
3981         (html_printer::do_links): Fix rules generation around automatic
3982         heading links.
3984         * tmac/www.tmac (LK): Use HTML-TAG-NS.
3985         (HR): Simplify.
3986         No longer emit empty line for non-HTML devices.
3988 2004-11-17  Werner LEMBERG  <wl@gnu.org>
3990         * doc/Makefile.in (prepare_examples, webpage.html): Handle
3991         `groff.css'.
3993         * doc/Makefile.sub (EXAMPLEFILES, CLEANNOTSRCDIRADD,
3994         prepare_examples, webpage.html): Handle `groff.css'.
3996 2004-11-15  Werner LEMBERG  <wl@gnu.org>
3998         * NEWS, README, doc/webpage.ms: Updated.
4000         * tmac/www.tmac (HTML, HTML-TAG): Minor clean-ups.
4002 2004-10-30  Gaius Mulley  <gaius@glam.ac.uk>
4004         * src/include/printer.h (printer): Remove virtual function
4005         `round_width'.
4006         Update all source files.
4008         * src/devices/grohtml/post-html.cpp (html_printer): New member
4009         function `round_width'.
4011 2004-10-20  Tadziu Hoffmann  <hoffmann@usm.uni-muenchen.de>
4013         * src/preproc/tbl/table.cpp (table::do_row): Fix handling of the `d'
4014         column key letter suffix.
4016 2004-10-14  Werner LEMBERG  <wl@gnu.org>
4018         * Makefile.in (check): Depend on `site.exp' and `docheck'.
4019         (docheck): Run dejagnu's `runtest' if it exists.
4020         (site.exp): Create dejagnu configuration file.
4022         * Makefile.sub (DISTCLEANFILES): Add files related to dejagnu.
4024 2004-10-13  Werner LEMBERG  <wl@gnu.org>
4026         * src/devices/grohtml/html-text.cpp (html_text_get_alignment),
4027         src/devices/grohtml/post-html.cpp (make_val,
4028         html_printer::handle_state_assertion): Fix compiler warnings.
4030         * src/roff/troff/div.cpp: Include `stringclass.h' and `mtsm.h'.
4031         (diversion::diversion): Fix order of initializers.
4033         * src/roff/troff/div.h: Don't include `mtsm.h'.
4035         * src/roff/troff/env.cpp: Include `stringclass.h' and `mtsm.h'.
4036         (environment::environment): Fix order of initializers.
4037         (environment::make_tag, environment::construct_format_state): Fix
4038         compiler warnings.
4040         * src/roff/troff/input.cpp: Include `stringclass.h' and `mtsm.h'.
4041         (input_iterator::input_iterator, macro::macro): Fix order of
4042         initializers.
4044         * src/roff/troff/mtsm.cpp: Include only necessary header files.
4045         (state_set::add, state_set::val): Fix compiler warnings.
4047         * src/roff/troff/mtsm.h: Don't include `stringclass.h'.
4048         (bool_value_state, int_value_state, units_value_state,
4049         string_value_state): Remove comma after last element which causes
4050         an error with g++ 3.3.3.
4052         * src/roff/troff/node.cpp: Include `stringclass.h'.
4053         (hline_node::hline_node, vline_node::vline_node,
4054         space_char_hmotion_node, left_italic_corrected_node): Fix compiler
4055         warnings.
4056         (zero_width_node::zero_width_node): Fix order of initializers.
4058         * src/roff/troff/node.h: Don't include `mtsm.h'.
4059         (hmotion_node): Fix compiler warnings.
4061         * src/roff/troff/number.cpp: Include `stringclass.h' and `mtsm.h'.
4063 2004-10-12  Gaius Mulley  <gaius@glam.ac.uk>
4065         * doc/groff.css: New file.
4067         * doc/webpage.ms: Use `groff.css'.
4068         Other small fixes.
4070         * tmac/an-old.tmac (need_eo_h): New number register.
4071         (TH): Emit `.eo.tl' tag after title.
4072         (SH): Set `need_eo_h'.
4073         (an-trap): Handle `need_eo_h'.
4074         (an-do-tag): s/HTML-TAG-NS/HTML-TAG-NEXT/.
4076         * tmac/s.tmac (need_eo_h, need_eo_tl): New number registers.
4077         (TL): Always start diversion.
4078         Updated.
4079         (@AI): Always call `par@reset'.
4080         (@AB): Update code for -Thtml.
4081         (cov*tl-au-print): Handle -Thtml.
4082         (par@reset): Handle `need_eo_tl', `need_eo_h'.
4083         (@IP): Simplified.
4084         (@IT-html): Removed.
4085         (@SH): Set `need_eo_h' for -Thtml.
4086         (par@TL): s/HTML-TAG/HTMl-TAG-NS/.
4087         Set `need_eo_tl'.
4088         (@NH): s/HTML-TAG/HTMl-TAG-NS/.
4089         Set `need_eo_h' for -Thtml.
4090         (@EQ, @EN): Don't handle -Thtml specially.
4091         (par@load-init): Don't handle -Thtml specially.
4093         * tmac/www.tmac (www:paraspace): New macro.
4094         (HTML-NS, HTML-TAG-NS): Use new `tag' request.
4095         (HTML</p>, HTML-TAG-NEXT): New macros.
4096         (HnE): Emit tag `.eo.h' instead of break.
4097         (HR): s/HTML-NS/HTML/.
4098         (www-end-nowhere): End diversion only if `www-html' not set.
4099         Emit `.eo.tl' tag.
4100         (ULS, ULE): s|HTML|HTML</p>|.
4101         (LI): Call `www:paraspace'.
4102         (HEAD): New macro.
4104 2004-10-11  Gaius Mulley  <gaius@glam.ac.uk>
4106         * src/roff/troff/request.h (macro): Make `p' public.
4107         New variable `is_a_diversion'.
4108         New member function `is_diversion'.
4111         * src/devices/grohtml/html.h (simple_output): New member function
4112         `force_nl'.
4114         * src/devices/grohtml/html-table.cpp (tabs::compatible): Fix
4115         computation of `total'.
4116         (tabs::check_init): New function.
4117         (html_table::emit_table_header): Emit style data.
4118         (html_table::insert_column): Improved.
4120         * src/devices/grohtml/html-table.h: Updated.
4122         * src/devices/grohtml/html-text.cpp (html_text::html_text):
4123         Initialize `start_space' with TRUE.
4124         (html_text::end_tag, html_start_tag): Fix `P_TAG' and `PRE_TAG'
4125         cases.
4126         (html_text::flush_text): Set `start_space' flag.
4127         (html_text::uses_indent, html_text::remove_para_space,
4128         html_text::get_alignment): New functions.
4129         (html_text::push_para): Updated.
4130         (html_text::do_para): Check for empty argument.
4131         Don't set `space_emitted'.
4132         (html_text::do_space, html_text::emit_space): Updated.
4134         * src/devices/grohtml/html-text.h (tag_definition): New variable
4135         `really_issued'.
4136         (html_text): New member function `uses_indent', `remove_para_space',
4137         `get_alignment'.
4139         * src/devices/grohtml/output.cpp (simple_output::force_nl): New
4140         function.
4141         (simple_output:nl): Always emit `\n'.
4143         * src/devices/grohtml/post-html.cpp: Include `string.h'.
4144         (BASE_POINT_SIZE): Removed.
4145         (base_point_size, head_info): New global variables.
4146         (text_glob): New member functions `is_ll', `is_tl', `is_eo_tl',
4147         `is_eo_h'.
4148         (text_glob::is_nf, text_glob::is_fi): Handle `.fi 0' and `.fi 1'
4149         tags, respectively.
4150         (page::add_and_encode): Pass additional parameter for tag flag.
4151         (assert_pos): New structure.
4152         (assert_state): New class.
4153         (html_printer): Remove `indentation', `prev_indent'.
4154         Add variables `troff_indent', `device_indent', `temp_indent'.
4155         Add variables `seen_indent', `next_indent', `seen_pageoffset',
4156         `next_pageoffset', `seen_linelenght', `next_linelength',
4157         `seen_center', `next_center', `seen_space', `seen_break', `as'.
4158         Add member functions `do_check_center', `do_space', `do_head',
4159         `get_troff_indent', `restore_troff_indent', `handle_assertion',
4160         `handle_state_assertion', `do_end_para', `set_char_and_width'.
4161         Change argument to `do_fill' to `char *'.
4162         Update constructor.
4163         (html_printer::emit_raw): Call `shutdown_table'.
4164         Use new functions.
4165         (html_printer::do_center): Simplified.
4166         (html_printer::do_title): Improved.
4167         (html_printer::write_header): Emit one more newline.
4168         Use new functions.
4169         (html_printer::do_heading, html_printer::do_indent,
4170         html_printer::do_eol, html_printer::do_tab_ts,
4171         html_printer::do_tab, html_printer::do_tab0,
4172         html_printer::calc_po_in, html_printer::next_horiz_pos,
4173         html_printer::remove_courier_tabs,
4174         html_printer::insert_tab0_foreach_tab, html_printer::begin_page):
4175         Updated.
4176         (html_printer::do_linelength, html_printer::do_pageoffset,
4177         html_printer::do_indentation, html_printer::do_tempindent,
4178         html_printer::do_tab_te): Simplified.
4179         (html_printer::do_pointsize): Check whether point size is really
4180         associated a `.tl' tag.
4181         (html_printer::do_break): Rewritten.
4182         (html_printer::troff_tag): Improved.
4183         (html_printer::flush_globs): Updated.
4184         (html_printer::lookahead_for_tables): Handle `is_br'.
4185         Use new functions.
4186         (html_printer::set_char): Check `sbuf_style.f'.
4187         (html_printer::write_navigation): Use string comparison.
4188         (html_printer::~html_printer): Emit `head_info'.
4189         (html_printer::special): Rewritten.
4190         (get_str, make_val): New functions.
4191         (main): New option `s' to set the base point size.
4193         * src/preproc/html/pre-html.cpp (scanArguments): Handle option `s'.
4195 2004-10-10  Gaius Mulley  <gaius@glam.ac.uk>
4197         * src/roff/troff/node.cpp: New extern `debug_state'.
4198         Include `stringclass.h' and `mtsm.h'.
4199         Implement new classes and class members from `node.h'.
4200         (real_output_file): Make `fp' public.
4201         (troff_output_file): New variables `cur_div_level' and `tag_list'.
4202         Update constructors.
4203         (troff_output_file::really_print_line): Check whether we should push
4204         the current troff state and use the state at the start of the
4205         invocation of this diversion.
4206         (troff_output_file::add_to_tag_list): New member function.
4207         (node::add_char): Handle `glyph_comp_np'.
4209         * src/roff/troff/node.h: Include `mtsm.h'.
4210         (node): New variables `state', `push_state', `div_nest_level',
4211         `is_special'.  Update constructors, all descendants.
4212         Pass additional argument to `add_char' member function.
4213         New virtual member functions `is_tag', `debug_node',
4214         `debug_node_list'.  Update all descendants.
4215         (tag_node): New class for handling tags.
4216         (output_file): Add variable `state'.
4218 2004-10-09  Gaius Mulley  <gaius@glam.ac.uk>
4220         * src/roff/troff/mtsm.cpp, src/roff/troff/mtsm.h: New files,
4221         providing a minimal troff state machine to emit meta tags for the
4222         post-grohtml device driver.
4224         * src/roff/troff/Makefile.sub (OBJS, CCSRCS, HDRS): Handle new
4225         files.
4227 2004-10-09  Werner LEMBERG  <wl@gnu.org>
4229         * tmac/trace.tmac: Fix handling of `am' and `am1' calls.
4231 2004-10-06  Gaius Mulley  <gaius@glam.ac.uk>
4233         * src/roff/troff/column.cpp (vjustify_node::copy): Updated.
4235         * src/roff/troff/div.h: Include `mtsm.h'.
4236         (diversion): New variables `any_chars_added', `needs_push',
4237         `saved_seen_break', `saved_seen_space', `saved_seen_eol',
4238         `saved_suppress_next_eol', `modified_tag'.
4239         New virtual member function `is_diversion'.  Update all descendants.
4241         * src/roff/troff/div.cpp (diversion::diversion,
4242         macro_diversion::macro_diversion): Updated.
4243         (do_divert): Handle `seen_break', `seen_space', `seen_eol',
4244         `suppress_next_eol'.
4245         (top_level_diversion::space): Handle `curenv->seen_space'.
4246         (page_offset): Update tag handling.
4247         (space_request, blank_line, flush_output): Don't call `add_html_tag'.
4249         * src/roff/troff/env.h (environment): Make `tabs' public.
4250         Remove `ignore_next_eol', `emitted_node'.
4251         Update `output_line', `output'.
4252         New variables `seen_space', `seen_eol', `suppress_next_eol',
4253         `seen_break'.
4254         New member functions `construct_state', `make_tag',
4255         `construct_format_state, `construct_new_line_state,
4256         `dump_troff_state'.
4257         Remove `add_html_tag', `make_html_tag'.
4259         * src/roff/troff/env.cpp: New externs `suppress_push',
4260         `get_diversion_state', `global_diverted_space'.
4261         (pending_output_line): New variable `was_centered'.
4262         Update constructor and all callers.
4263         (pending_output_line::output): Call `curenv->construct_format_state'.
4264         (environment::environment, environment::copy): Updated.
4265         (environment::output): Handle `was_centered'.
4266         (environment::add_char): Handle construct and diversion state.
4267         (environment::add_node): Handle construct state.
4268         (environment::newline): Handle `was_centered'.
4269         (environment::output_line): Updated.
4270         (environment::possibly_break_line): Updated.
4271         Update tag handling.
4272         (environment::add_html_tag): Replaced with...
4273         (environment::make_tag): New function.
4274         (environment::add_html_tag_tabs, environment::make_html_tag): Removed.
4275         (environment::dump_troff_state): New debugging function.
4276         (environment::construct_state, environment::construct_format_state,
4277         environment::construct_new_line_state): New functions.
4278         (environment::do_break): Updated.
4279         Handle `global_diverted_space'.
4280         (environment::handle_tag): Update tag handling.
4281         (point_size, fill, do_break_request): Don't call `add_html_tag'.
4282         (no_fill): Don't call `add_html_tag'.
4283         Set `suppress_next_eol'.
4284         (center, right_justify, line_length, indent, temporary_indent,
4285         set_tabs):
4286         Update tag handling.
4288         * src/roff/troff/input.cpp: Don't include `stringclass.h'.
4289         (input_iterator): New variables `is_diversion', `diversion_state'.
4290         Update constructors.
4291         (input_stack): New member functions `get_div_level',
4292         `get_diversion_state', `check_end_diversion'.
4293         New variables `div_level', `diversion_state'.  Initialize them.
4294         (suppress_push, global_diverted_space): New global variables.
4295         (input_stack::finish_get, input_stack::finish_peek,
4296         input_stack::remove_boundary, input_stack::end_file,
4297         input_stack::clear, input_stack::pop_macro): Call
4298         `check_end_diversion'.
4299         (input_stack::push): Handle `div_level' and `diversion_state'.
4300         (get_diversion_state): New function.
4301         (diverted_space_node::reread): Handle `global_diverted_space'.
4302         (macro::macro): Update constructors.
4303         (macro::is_diversion): New function.
4304         (macro::operator=): Set `is_a_diversion'.
4305         (string_iterator): New member function `is_diversion'.
4306         (string_iterator::string_iterator): Update constructors.
4307         (string_iterator::fill): Set `div_nest_level'.
4308         (macro_iterator): New member function `is_diversion'.
4309         (do_if_request): Handle `suppress_push'.
4310         (tag, taga): New functions.
4311         (init_input_requests): Add `tag' and `taga' requests.
4313 2004-10-05  Gaius Mulley  <gaius@glam.ac.uk>
4315         * src/include/font.h (font): New member function
4316         `get_image_generator'.
4317         New variables `unscaled_charwidths' and `image_generator'.
4319         * src/libs/libgroff/font.cpp (font::get_width): Always return the
4320         character's unscaled width if `font::unscaled_charwidths' is set.
4321         (font::get_image_generator): New function.
4322         (font::load_desc): Check the `unscaled_charwidths' and
4323         `image_generator' keywords.
4325         * src/libs/libgroff/fontfile.cpp: Initialize
4326         `font::unscaled_charwidths' and `font::image_generator'.
4328         * font/devhtml/DESC.proto: s/html/unscaled_charwidths/.
4330         * font/devhtml/Makefile.sub (DESC): Set `image_generator' keyword.
4332         * man/groff_font.man: Document `unscaled_charwidths' and
4333         `image_generator'.
4335         * src/preproc/html/pre-html.cpp: Include `device.h'.
4336         (image_gen): New global variable.
4337         (imageList::createPage): Use `image_gen'.
4338         (main): Use `image_generator' keyword.
4340 2004-10-04  Gaius Mulley  <gaius@glam.ac.uk>
4342         * tmac/html.tmac: Handle \[sqrtex].
4344 2004-10-04  Gaius Mulley  <gaius@glam.ac.uk>
4346         * src/include/printer.h (printer): New virtual method `round_width'.
4348         * src/devices/grodvi/dvi.cpp, src/devices/grolbp/lbp.cpp,
4349         src/devices/grolj4/lj4.cpp, src/devices/grops/ps.cpp,
4350         src/devices/grotty/tty.cpp (printer::round_width): New function
4351         member.
4353         * src/devices/grohtml/post-html.cpp (printer::round_width): New
4354         function member.
4355         (html_printer::set_numbered_char): Use it.
4357 2004-10-03  Gaius Mulley  <gaius@glam.ac.uk>
4359         * aclocal.m4 (GROFF_GHOSTSCRIPT_PATH): New macro.
4361         * configure.ac: Call GROFF_GHOSTSCRIPT_PATH.
4363         * configure: Regenerated.
4365         * Makefile.in (GHOSTSCRIPT): New variable.
4366         (MDEFINES): Add GHOSTSCRIPT.
4368 2004-10-03  Werner LEMBERG  <wl@gnu.org>
4370         * INSTALL.gen: Updated (taken from texinfo CVS).
4372 2004-09-28  Werner LEMBERG  <wl@gnu.org>
4374         * NEWS: Updated.
4376 2004-09-28  Heinz-Jürgen Oertel  <hj.oertel@surfeu.de>
4378         * tmac/groff_www.man: Revised and updated.
4380 2004-09-26  Werner LEMBERG  <wl@gnu.org>
4382         Fix \$@ and \$* to handle any number of arguments.
4384         * src/roff/troff/input.h (BEGIN_QUOTE, END_QUOTE): New special
4385         characters.
4387         * src/roff/troff/input.cpp (input_iterator::internal_level):
4388         Removed.
4389         (input_stack): New member functions `increase_level' and
4390         `decrease_level'.
4391         (input_stack::get_level): Don't use `internal_level'.
4392         (get_copy, token::next): Handle BEGIN_QUOTE and END_QUOTE.
4393         (end_quote_iterator): Completely removed.
4394         (interpolate_arg): Build string for \$@ and \$* which is then
4395         pushed onto the input stack.
4397 2004-09-23  Keith Marshall  <keith.d.marshall@ntlworld.com>
4399         * tmac/groff_ms.man, doc/groff.texinfo (ms Document Control
4400         Registers): Document changes from 2004-09-19.
4402 2004-09-23  Werner LEMBERG  <wl@gnu.org>
4404         * tmac/an-old.tmac (ne): Using default scaling operator.
4406 2004-09-19  Keith Marshall  <keith.d.marshall@ntlworld.com>
4408         This change implements the following features:
4410         PORPHANS
4411           New numeric register: Defines number of lines following LP, PP,
4412           QP, IP or XP, which must be kept together, before any automatic
4413           page break.  If insufficient space remains on the current page, a
4414           page break is forced before the new paragraph begins.
4416         HORPHANS
4417           New numeric register: Sets number of lines of following paragraph
4418           which must be kept with a heading, defined by NH or SH, before any
4419           automatic page break.  If insufficient space remains on the
4420           current page, a page break is forced before the heading.
4422         GROWPS
4423           (Thanks to Joerg van den Hoff, for this idea).
4425           New numeric register: Sets the first level of heading (set with
4426           NH), which will keep the same point size as body text; e.g. if
4427           GROWPS is set to 3, .NH 3, .NH 4, ... will produce headings at the
4428           point size specified by \n[PS], but .NH 2 and .NH 1 will have
4429           progressively larger point sizes, determined by \n[PSINCR] (see
4430           below).
4432         PSINCR
4433           New numeric register: Sets the point size increment for each level
4434           of heading, (set with NH), below the threshold level set by
4435           GROWPS; e.g. if \n[PS] = 10, \n[GROWPS] = 3 and \n[PSINCR] = 2.0p,
4436           then .NH 1 will produce 14pt headings, .NH 2 will produce 12pt,
4437           and all other levels will remain at 10pt, (because \n[PS] = 10).
4439         SH
4440           Existing macro now accepts a numeric argument, to make heading
4441           size match that of NH with same argument value, when the
4442           GROWPS/PSINCR feature is enabled.
4444         SN-DOT
4445           New string, set by NH macro, replaces the existing (undocumented)
4446           use of SN, to represent the assigned section number.
4448         SN-NO-DOT
4449           New string, set by NH macro, represents the assigned section
4450           number, but omits the terminal period (periods at intermediate
4451           levels are retained).
4453         SN
4454           String set by NH macro, originally undocumented, now implemented
4455           as an alias for SN-DOT (which reproduces original behaviour).
4457         * tmac/s.tmac (PORPHANS): New register.
4458         (par*start): Use it.
4459         (HORPHANS, GROWPS, PSINCR): New registers.
4460         (SH-NO-TAG, @SH): Use them.
4461         (@NH): Improved.
4463 2004-09-19  Keith Marshall  <keith.d.marshall@ntlworld.com>
4465         * NEWS, doc/groff.texinfo (ms Display and Keeps), tmac/groff_ms.man:
4466         Document the deletion of `Ds' and `De' macros.
4468 2004-09-10  Werner LEMBERG  <wl@gnu.org>
4470         In tbl, handle \a as an interpreted leader character if in
4471         compatibility mode.
4473         * src/preproc/tbl/table.h (PREFIX, PREFIX_CHAR, LEADER,
4474         LEADER_CHAR): New macros.
4475         (compatible_flag): New declaration.
4477         * src/preproc/tbl/main.cpp (table_input): Add LEADER_1, LEADER_2,
4478         LEADER_3, and LEADER_4 to `state'.
4479         (table_input::get): Handle `\a'.
4481         * src/preproc/tbl/table.cpp (PREFIX): Removed.
4482         (LEADER_REG): New macro.
4483         (table::init_output): Define LEADER_REG string register if in
4484         compatibility mode.
4486         * src/preproc/tbl/tbl.man: Document it.
4488 2004-08-18  Werner LEMBERG  <wl@gnu.org>
4490         * tmac/doc.tmac (An): Fix error message.
4492 2004-08-06  Werner LEMBERG  <wl@gnu.org>
4494         * src/preproc/tbl/main.cpp (main): Call `fatal' not `error' if a
4495         file can't be opened.  UNIX tbl has the same behaviour.
4497 2004-08-05  Y T  <doarhop@hotmail.com>
4499         * src/preproc/grn/hdb.cpp (compatibility_flag): Add declaration.
4500         (DBRead): If in compatibility mode, take into account the text
4501         when computing figure boundaries.
4503 2004-08-05  Werner LEMBERG  <wl@gnu.org>
4505         * src/preproc/soelim/soelim.man: Improved.  Based on suggestions
4506         from Tadziu Hoffmann.
4508 2004-08-03  Werner LEMBERG  <wl@gnu.org>
4510         * doc/meref.me: Document `_M' register.
4512 2004-08-03  Martin Husemann  <martin@duskware.de>
4514         Make hpftodit work correctly on big-endian systems.
4516         * src/utils/hpftodit/hpftodit.cpp (File): New method
4517         `get_uint32(char *)'.
4518         (entry): New member `orig_value'.
4519         (read_tags): Use new method.
4520         (output_font_name, read_and_output_pcltypeface, dump_ascii):
4521         Updated.
4523 2004-08-01  Werner LEMBERG  <wl@gnu.org>
4525         * tmac/s.tmac: Undo change 2003-06-29.  The proper macro definitions
4526         are already in X11's `macros.t' file.
4528 2004-08-01  Jeff Conrad  <jeff_conrad@msn.com>
4530         * src/utils/hpftodit/hfptodit.cpp (output_font_name, dump_ascii):
4531         Fix casting bug.
4532         (read_and_output_pcltypeface): Handle strings with length <= 4.
4534 2004-07-27  Egil Kvaleberg  <egil@kvaleberg.no>
4536         * tmac/s.tmac (pg@top): Don't save `PO' register.
4537         (pg*end-col, pg*end-page): Directly use `PO' register.
4539 2004-07-27  Werner LEMBERG  <wl@gnu.org>
4541         * man/groff_tmac.man: Mention `trace' and `pic' macro packages.
4543         * src/preproc/refer/refer.cpp (output_references): Check for
4544         empty hash table.
4545         * src/preproc/refer/refer.man: Improve documentation of
4546         `bibliography' command.
4548 2004-07-26  Werner LEMBERG  <wl@gnu.org>
4550         Add requests `fcolor' and `gcolor'.
4552         * src/roff/troff/env.cpp (fill_color_change, glyph_color_change):
4553         New functions.
4554         (init_env_requests): Add `fcolor' and `gcolor'.
4556         * src/roff/troff/input.h: Export do_glyph_color and do_fill_color.
4558         * NEWS, man/groff_diff.man, man/groff.man, doc/groff.texinfo
4559         (Colors): Document new requests.
4561 2004-07-24  Werner LEMBERG  <wl@gnu.org>
4563         Add support for fractional point sizes in ms macros.  A value for
4564         PS, VS, FPS, and FVS greater than or equal to 1000 is always divided
4565         by 1000.  For example, `.nr PS 10250' sets the font size to 10.25p.
4567         * tmac/s.tmac (@AU, @AI, par@load-init, par@init, par@reset, NL,
4568         PX): Handle fractional point sizes for PS, VS, FPS, and FVS.
4570         * tmac/groff_ms.man, docs/groff.texinfo (ms Document Control
4571         Registers), NEWS: Document it.
4573 2004-07-19  Werner LEMBERG  <wl@gnu.org>
4575         * src/preproc/pic/lex.cpp (for_input): Add member `from'.
4576         Update constructor.
4577         (do_for, for_input::get, for_input::peek): Handle negative `by'.
4578         * src/preproc/pic/pic.man, doc/pic.ms, NEWS: Document it.
4580 2004-07-08  Thomas Klausner  <wiz@netbsd.org>
4582         * tmac/doc-syms (doc-str-St--p1003.1-2004): New string.
4583         * tmac/groff_mdoc.man: Updated.
4585 2004-07-05  Werner LEMBERG  <wl@gnu.org>
4587         * doc/groff.texinfo (Manipulating Hyphenation): Further improve
4588         documentation of `hcode'.
4590 2004-07-04  Sang Dae Yu  <sdyu@bh.knu.ac.kr>
4592         Improve appearance of arrows in pic.
4594         * src/preproc/pic/object.cpp (draw_arrow): Make outline of filled
4595         arrow head thin.
4596         Use two line segments for drawing non-filled arrow head.
4597         (line_object::print, spline_object::print): Shorten line length to
4598         avoid arrow sticking.
4599         (arc_object::print): Take arrow direction into account.
4601 2004-07-03  Heinz-Jürgen Oertel  <hj.oertel@surfeu.de>
4603         * tmac/groff_www.man: Update documentation of .MPIMG.
4605 2004-07-03  Werner LEMBERG  <wl@gnu.org>
4607         * tmac/an-old.tmac (RI): Always start with font `R'.
4608         (RI, IR): Properly end with font `R'.
4610 2004-07-02  Paul Eggert  <eggert@cs.ucla.edu>
4612         * man/ditroff.man, man/groff_font.man, man/groff_out.man,
4613         src/devices/grohtml/grohtml.man, src/preproc/grn/grn.man,
4614         src/preproc/pic/pic.man, tmac/groff_man.man, tmac/groff_ms.man:
4615         Don't pass more than six arguments to .R, .I, .B, etc., for
4616         compatibility with traditional troff macros.
4618 2004-07-02  Werner LEMBERG  <wl@gnu.org>
4620         * src/roff/troff/input.h: s/COMPATIBLE_SAVE/PUSH_GROFF_MODE/.
4621         s/COMPATIBLE_RESTORE/POP_GROFFCOMP_MODE/.
4622         Update all users.
4623         (PUSH_COMP_MODE): New internal character constant.
4624         Update all users.
4626         * src/roff/troff/input.cpp (get_copy): Handle PUSH_GROFF_MODE,
4627         PUSH_COMP_MODE, and POP_GROFFCOMP_MODE.
4628         (token::next, macro::append): Handle PUSH_COMP_MODE.
4629         (decode_args): Add PUSH_GROFF_MODE or PUSH_COMP_MODE before and
4630         POP_GROFFCOMP after each of the decoded arguments to make them
4631         independent from the compatibility mode status.
4632         (comp_mode): Add `COMP_ENABLE'.
4633         (do_define_string, do_define_macro): Handle COMP_ENABLE.
4634         (define_string, append_string, define_macro, define_indirect_macro,
4635         append_macro, append_indirect_macro): Handle `compatible_flag'.
4636         (chop_macro, substring_request, asciify): Handle PUSH_COMP_MODE.
4638         * man/groff_diff.man, doc/groff.texinfo: Updated.
4640 2004-07-01  Werner LEMBERG  <wl@gnu.org>
4642         * doc/groff.texinfo: Improve documentation of `hcode'.
4643         Use @documentencoding and convert document to latin-1; to do that
4644         make latin characters active and assign proper macros (within a
4645         @tex...@end tex environment).
4646         * doc/Makefile.in (.texinfo.html, groff): Use --enable-encoding.
4647         * doc/Makefile.sub (groff): Ditto.
4649 2004-06-29  Werner LEMBERG  <wl@gnu.org>
4651         Implement two new conditional operators `F <name>' and `S <name>'
4652         which check whether <name> is a valid font or style, respectively.
4654         * src/libs/libgroff/font.cpp (text_file): Add `silent' member.
4655         (text_file::text_file): Updated.
4656         (text_file::error): Don't emit message if `silent' is set.
4657         (font::load_font): Add optional third argument (which is directly
4658         passed to `load'.
4659         (font::load): Add optional second argument to check the header of
4660         a font only, without emitting warning or error messages.
4661         * src/include/font.h (font): Updated.
4663         * src/roff/troff/input.cpp (do_if_request): Implement `S' and `F'
4664         conditionals.
4665         * src/roff/troff/node.cpp (mount_font_no_translate): Add optional
4666         fourth argument to check a font without mounting.
4667         (check_font, check_style): New functions.
4668         * src/roff/troff/node.h: Updated.
4670         * man/groff_diff.man, man/groff.man, NEWS, doc/groff.texinfo:
4671         Updated.
4673 2004-06-27  Werner LEMBERG  <wl@gnu.org>
4675         Implement new string-valued register `.sty' to return the current
4676         style name.
4678         * env.cpp (environment::get_style_name_string): New function.
4679         (init_env_requests): Add `.sty' register.
4680         * env.h (environment): Updated.
4681         * node.cpp (font_info): Make `get_style_name' a friend.
4682         (get_style_name): New function.
4683         * node.h: Updated.
4685         * man/groff_diff.man, man/groff.man, NEWS, doc/groff.texinfo:
4686         Updated.
4688 2004-06-15  Werner LEMBERG  <wl@gnu.org>
4690         * src/preproc/tbl/main.cpp (process_data) <GOT_RIGHT_BRACE>: Handle
4691         `nospaces' option.
4693 2004-06-10  Colin Percival  <colin.percival@wadham.ox.ac.uk>
4695         * doc/meintro.me, doc/meref.me: Don't use \*[td], \n[dy], \*[mo],
4696         and \n[mo] to avoid dependency on current date.
4698 2004-06-08  Werner LEMBERG  <wl@gnu.org>
4700         * Makefile.sub (install_data): New target.
4702 2004-06-04  Werner LEMBERG  <wl@gnu.org>
4704         * src/libs/libxutil/Makefile.sub (EXTRA_CFLAGS): Define.
4706 2004-06-03  Werner LEMBERG  <wl@gnu.org>
4708         * src/devices/xditview/Makefile.sub (EXTRA_LDFLAGS): Fix typo and
4709         order of libraries.
4710         (install_data): Add $(srcdir).
4712         * src/utils/xtotroff/Makefile.sub (EXTRA_LDFLAGS): Fix order of
4713         libraries.
4715 2004-06-02  Werner LEMBERG  <wl@gnu.org>
4717         * aclocal.m4 (GROFF_X11): s/have_no_x/groff_no_x/.
4718         Add X11 stuff to CFLAGS, LDFLAGS, and LIBS temporarily.
4719         Add test for Xmu library.
4720         (GROFF_APPRESDIR_OPTION, GROFF_APPRESDIR_CHECK,
4721         GROFF_APPRESDIR_DEFAULT): New macros.
4723         * configure.ac: Call GROFF_APPRESDIR_OPTION, GROFF_APPRESDIR_CHECK,
4724         and GROFF_APPRESDIR_DEFAULT.
4726         * configure: Regenerated.
4728         * Makefile.in (appresdir): New variable.
4729         (MDEFINES): Add appresdir.
4731         * src/devices/xditview/Makefile.sub (EXTRA_LDFLAGS): Add -Xmu and
4732         -Xt.
4733         (install_data, uninstall_sub): New targets to handle GXditview.ad.
4735         * src/utils/indxbib/Makefiles.ub (install_data): Depend on
4736         `$(srcdir)/eign', not `eign'.
4738         * MANIFEST, INSTALL, NEWS, PROBLEMS: Updated.
4740         * man/groff_out.man, man/roff.man, src/devices/grops/grops.man,
4741         src/devices/xditview/gxditview.man, src/roff/groff/groff.man:
4742         Protect (g)xditview with `\%' to avoid hyphenation.
4743         Other minor formatting.
4745 2004-06-01  Werner LEMBERG  <wl@gnu.org>
4747         Integrate gxditview into groff's standard directory hierarchy.
4749         * src/xditview/*: Moved to ...
4750         * src/devices/xditview/*: Here.
4751         Moved DviChar.h and XFontName.h to src/include.
4752         Moved DviChar.c and XFontName.c to new directory src/libs/libxutil.
4753         Split off `xmalloc' into new file src/libs/libxutil/xmalloc.c.
4754         Moved xtotroff.c to new directory src/utils/xtotroff.
4755         Provide proper Makefile.sub files (reusing the stuff from
4756         Imakefile.in).
4757         DESC renamed to DESC.in.
4758         Removed GXDitview-ad.h, INSTALL, Imakefile.in.
4759         Converted everything from K&R to ANSI C.
4760         Decorated with const where appropriate.
4761         Cast string constants with `String' and `char *' where appropriate.
4762         Made it compile with C++ (used as a C compiler).
4763         Removed other minor compiler warnings.
4765         * src/devices/xditview/device.c: Include config.h, string.h, and
4766         defs.h.
4767         Don't declare `exit', `strtok', `strchr', and `getenv'.
4768         (FONTPATH): Remove.
4770         * src/devices/xditview/font.c: Don't declare `XParseFontName' and
4771         `XFormatFontName'.
4773         * src/devices/xditview/xditview.c: Include config.h.
4774         Include stdio.h earlier.
4775         Protect declaration of `popen' and `pclose' with
4776         NEED_DECLARATION_POPEN and NEED_DECLARATION_PCLOSE.
4777         Replace `caddr_t' with `XtPointer'.
4778         (MakePromptFunc): New typedef.
4779         (DoPrint): Use RETSIGTYPE.
4780         (promptfunction): Change type to MakePromptFunc.
4781         (MakePrompt): Use MakePromptFunc for third argument.
4782         (xmalloc): Removed.
4784         * src/devices/xditview/ad2c: Add casts to `String'.
4786         * src/include/XFontName.h (XFontNameString): Don't use array
4787         notation.
4788         Add prototypes for `XParseFontName', `XFormatFontName',
4789         `XCompareFontName', and `XCopyFontName'.
4791         * src/include/Makefile.sub (HDRS): Add `DviChar.h' and
4792         `XFontName.h'.
4794         * src/utils/xtotroff/xtotroff.c: Include getopt.h.
4795         Don't declare `XParseFontName' and `XFormatFontName'.
4796         (xmalloc): Removed.
4797         (main): Remove `optind' and `optarg'.
4799         * Makefile.in (XDEVDIRS, XPROGDIRS, XLIBDIRS): New variables
4800         (to select programs which need X).
4801         Make XDEVIDIRS depend on `FORCE'.
4802         (X_CFLAGS, X_LIBS, X_EXTRA_LIBS, X_PRE_LIBS): New variables (for
4803         X support).
4804         (MDEFINES): Updated.
4805         (LIBDIRS): Use XLIBDIRS.
4806         (CPROGDIRS): Use XPROGDIRS.
4807         (DEVDIRS): Remove font directories for gxditview.
4808         (ALLDIRS, DISTDIRS): Add XDEVDIRS.
4809         (EXTRADIRS): Remove src/xditview.
4811         * Makefile.sub (DISCLEANFILES): Updated.
4813         * Makefile.comm (LIBXUTIL): New variable.
4814         (.cpp.o, .cpp.obj): Handle EXTRA_CCFLAGS.
4815         (.c.o, .c.obj, .y.o): Handle EXTRA_CFLAGS.
4817         * Makefile.cpg, Makefile.ccpg ($PROG): Handle EXTRA_LDFLAGS.
4819         * aclocal.m4 (GROFF_X11): New function.
4821         * configure.ac: Call GROFF_X11.
4822         Don't create src/xditview/Imakefile.
4823         Don't emit notice how to build gxditview.
4825         * configure: Regenerated.
4827         * test-groff.in (GROFF_BIN_PATH, XENVIRONMENT): Updated.
4829 2004-05-28  Akihiro Sagawa  <sagawa@sohgoh.net>
4831         * Makefile.in (CPPFLAGS): Define.
4832         (MDEFINES): Add CPPFLAGS.
4834 2004-05-27  Werner LEMBERG  <wl@gnu.org>
4836         * arch/misc/Makefile.sub (shdeps.sed): Use $(srcdir).
4838 2004-05-26  Niklas Edmundsson  <nikke@acc.umu.se>
4840         Fix problems with `friend name injections'.
4842         * src/preproc/eqn/box.h (make_mark_box, make_lineup_box,
4843         make_script_box), src/roff/troff/div.h (end_diversions),
4844         src/roff/troff/env.h (title), input.cpp (process_input_stack): Undo
4845         change 2004-04-08.
4847 2004-05-25  Bernd Warken  <bwarken@mayn.de>
4849         * src/preproc/pic/pic.man, doc/pic.ms: Add example for `command'.
4851 2004-05-25  Werner LEMBERG  <wl@gnu.org>
4853         * src/libs/libgroff/cset.cpp, src/libs/libgroff/lf.cpp,
4854         src/libs/libgroff/color.cpp: Include lib.h.
4856 2004-05-25  Paul Eggert  <eggert@cs.ucla.edu>
4858         * PROBLEMS: Update documentation for problems with Sun C++ 5.0
4859         through Forte 6u1, and for how to get GNU make on Solaris.
4861 2004-05-24  Werner LEMBERG  <wl@gnu.org>
4863         * PROBLEMS: Document problems with gcc 3.4.0 on Sun.  Reported
4864         by Paul Eggert.
4866 2004-05-15  Keith Marshall  <keith.d.marshall@ntlworld.com>
4868         * arch/misc/Makefile.sub (shdeps.sed): Don't use `$<' in explicit
4869         rule.
4871 2004-05-14  Werner LEMBERG  <wl@gnu.org>
4873         * REVISION: Set to 2.
4875         * aclocal.m4 (GROFF_STDINT_H): Removed.
4876         (GROFF_INTTYPES_H): Define HAVE_CC_INTTYPES_H.
4878         * configure.ac: Updated.
4879         * configure, src/include/config.hin: Regenerated.
4881         * src/libs/libgroff/tmpname.cpp: Don't include stdint.h but
4882         inttypes.h conditionally.
4884 2004-05-13  Werner LEMBERG  <wl@gnu.org>
4886 Version 1.19.1 released
4887 =======================
4889 2004-05-10  Stephen Gildea  <http://www.gildea.com/stephen>
4891         * src/preproc/refer/label.y (same_author_last_name,
4892         same_author_name): Handle empty sort keys.
4894 2004-05-10  Werner LEMBERG  <wl@gnu.org>
4896         * NEWS, README, TODO, PROJECTS, PROBLEMS, MANIFEST, doc/webpage.ms,
4897         tmac/TODO: Updated.
4899         * tmac/doc-syms (doc-str-Lb-libposix, doc-str-Lb-libpthread,
4900         doc-str-Lb-librt): Reset font.
4901         (Lb): Rename `doc-str-Lb' to `doc-str-Lb1'.
4902         Provide `doc-str-Lb' to reset font.
4903         * tmac/groff_mdoc.man: Updated.
4905 2004-05-08  Jan Schaumann  <jschauma@netmeister.org>
4907         * src/preproc/html/pre-html.cpp (make_message): Make it work for
4908         snprintf versions which don't conform to ANSI C 99 (this is,
4909         counting the string's trailing null byte in the return value).
4911 2004-05-07  Keith Marshall  <keith.d.marshall@ntlworld.com>
4913         * src/roff/troff/node.cpp (suppress_node::tprint): Don't expect
4914         that all implementations of sprintf handle null pointers correctly.
4916 2004-05-04  Werner LEMBERG  <wl@gnu.org>
4918         * NEWS, man/groff_diff.man, man/groff.man, doc/groff.texinfo:
4919         Document `.U' register.
4921         * src/roff/troff/env.cpp (environment::mark_last_line)
4922         [WIDOW_CONTROL]: Fix scope of `p' for new C++ compilers.
4924 2004-05-04  Larry Kollar  <kollar@alltel.net>
4926         New read-only register `.U'; it returns 1 in safer mode and 0
4927         otherwise.
4929         * src/roff/troff/input.cpp (init_input_requests): Implement `.U'
4930         register.
4932 2004-05-03  Werner LEMBERG  <wl@gnu.org>
4934         * install-sh, mkinstalldirs: New versions; taken from texinfo CVS.
4936 2004-04-17  Werner LEMBERG  <wl@gnu.org>
4938         * src/include/font.h (font): Use `int' for ch_index.
4939         * src/libs/libgroff/font.cpp (font::alloc_ch_index,
4940         font::compact): Updated.
4942         * src/roff/groff/pipeline.c (run_pipeline) [_WIN32]: Fix compiler
4943         warnings.
4945         * src/roff/troff/div.cpp (begin_page), src/roff/troff/env.cpp
4946         (hyphen_word): Fix compiler warnings.
4947         * src/roff/troff/input.cpp (get_char_for_escape_name): Return
4948         `char'.
4949         Update all callers.
4950         (get_delim_number, get_line_arg): Change second argument type to
4951         `unsigned char'.
4952         (macro_header::copy, token::next, do_define_string,
4953         do_define_character, substring_request, asciify_macro,
4954         unformat_macro, read_size, non_interpreted_node::interpret,
4955         while_request, main: Fix compiler warnings.
4956         (read_color_draw_node): Initialize `col'.
4958         * src/preproc/tbl/table.cpp (horizontal_span, table_entry): Make
4959         `start_col' and `end_col' of type `int'.
4960         (vertical_rule): Make `col' of type `int'.
4962         * src/preproc/grn/hdb.cpp (DBRead): Protect call to getc with check
4963         for EOF.
4965         * src/preproc/refer/label.y (uppercase_array, lowercase_array):
4966         New arrays.
4967         (format_serial): Use them to remove dependency on ASCII.
4969         * src/devices/grops/ps.cpp (ps_printer::define_encoding): Fix
4970         compiler warning.
4971         * src/devices/grops/psrm.cpp (resource_manager::supply_resource):
4972         Ditto.
4974         * src/devices/grotty/tty.cpp (tty_font::load_tty_font): Fix
4975         compiler warnings.
4976         (glyph): Change type of `hpos' to `int'.
4978         * src/devices/lbp/lbp.cpp (strsep): Removed.  Unused.
4979         * src/devices/lbp/lbp.h (splinerel): Fix compiler warnings.
4981         * src/utils/tfmtodit.cpp (gf::load): Fix compiler warnings.
4983         * src/utils/pfbtops/pfbtops.c (get_text): Fix compiler warning.
4985 2004-04-16  Werner LEMBERG  <wl@gnu.org>
4987         * src/devices/grolbp/lbp.h, src/preproc/grn/gprint.h,
4988         src/preproc/grn/hgraph.cpp, src/preproc/grn/hpoint.cpp,
4989         src/preproc/html/pushback.cpp, src/preproc/html/pushback.h: Use
4990         `double' instead of `float' everywhere.
4991         * src/preproc/grn/main.cpp: Use `double' instead of `float'
4992         everywhere.
4993         (main): Add return value.
4994         * src/preproc/grn/hdb.cpp: Use `double' instead of `float'
4995         everywhere.
4996         Update all user functions.
4998         * src/include/search.h, src/include/ptable.h, src/include/printer.h,
4999         src/preproc/eqn/box.h, src/preproc/pic/object.h,
5000         src/preproc/refer/refer.h, src/preproc/tbl/table.h,
5001         src/preproc/tbl/table.cpp, src/roff/troff/env.h,
5002         src/roff/troff/div.h, src/roff/troff/token.h, src/roff/troff/node.h,
5003         src/roff/troff/input.cpp, src/roff/troff/request.h,
5004         src/roff/troff/node.cpp: Don't mix `struct' and `class' in forward
5005         declarations.
5007         * src/utils/indxbib/signal.c: Include stdlib.h.
5009 2004-04-14  Keith Marshall  <keith.d.marshall@ntlworld.com>
5011         * tmac/s.tmac (@init, RP): Allow initialization of the PO register
5012         before the first page.
5014 2004-04-14  Thomas Klausner  <wiz@netbsd.org>
5016         * tmac/doc-common (doc-volume-as-*): Use lowercase names.
5017         (doc-operating-system-*): Updated.
5018         * tmac/doc-syms (doc-str-St-*): Various small fixes.
5019         (doc-str-Lb-*): Add more library names.
5021 2004-04-10  Art Haas  <ahaas@airmail.net>
5023         * src/utils/hpftodit/hpuni.cpp (hp_msl_to_unicode_list): Don't
5024         use anonymous type.
5026 2004-04-09  Art Haas  <ahaas@airmail.net>
5028         * src/utils/tfmtodit.cpp (lig_chars): Don't use anonymous type.
5030 2004-04-09  Keith Marshall  <keith.d.marshall@ntlworld.com>
5032         * arch/misc/shdeps.sh: Generate better comment for sed script.
5034 2004-04-08  Art Haas  <ahaas@airmail.net>
5036         * src/libs/libgroff/glyphuni.cpp (glyph_to_unicode_list),
5037         src/libs/libgroff/uniglyph.cpp (unicode_to_glyph_list),
5038         src/libs/libgroff/uniuni.cpp (unicode_decompose_list),
5039         src/preproc/eqn/box.cpp (param_table), src/preproc/grn/hgraph.cpp
5040         (polyfill), src/preproc/grn/main.cpp (polyfill),
5041         src/preproc/refer/command.cpp (command_table),
5042         src/utils/tfmtodit.cpp (lig_table): Don't use anonymous types (which
5043         gcc 3.5 doesn't like).
5045 2004-04-08  Werner LEMBERG  <wl@gnu.org>
5047         Removing many compiler warnings.  groff should now compile with
5048         a C++ compiler used for C files also.  [Simple variable renamings
5049         to avoid shadowing aren't logged in detail.]
5051         * src/devices/grodvi/dvi.cpp: Some local variable renamings.
5052         (draw_dvi_printer::draw) ['c']: Enclose in block.
5054         * src/devices/grohtml/post-html.cpp: Some local variable renamings.
5055         (page::add_line): Fix typos.
5056         * src/devices/grohtml/html-text.cpp: Some local variable renamings.
5058         * src/devices/grolbp/lbp.cpp: Don't define _GNU_SOURCE.
5059         Some local variable renamings.
5060         * src/devices/grolbp/lbp.h: Some local variable renamings.
5062         * src/devices/grolj4/lj4.cpp, src/devices/grotty/tty.cpp: Some local
5063         variable renamings.
5065         * src/libs/libbib/index.cpp (index_search_item_iterator::get_tag):
5066         Remove redundant local variable declaration.
5067         * src/libs/libbib/map.c (mapread, unmap): Don't use K&R style.
5068         Don't use `caddr_t' but `void *'.
5069         Enclose functions with `extern "C"' for C++.
5071         * src/libs/libdriver/input.cpp (remember_filename,
5072         remember_source_filename): Use cast for string constant.
5074         * src/libs/libgroff/font.cpp, src/libs/libgroff/fontfile.cpp,
5075         src/libs/libgroff/nametoindex.cpp, src/libs/libgroff/paper.cpp,
5076         src/libs/libgroff/geometry.cpp: Some local variable renamings.
5077         * src/libs/libgroff/iftoa.c, src/libs/libgroff/itoa.c: Don't use K&R
5078         style.
5079         Enclose functions with `extern "C"' for C++.
5080         * src/libs/libgroff/quotearg.c (TRUE,FALSE): Define as macros.
5081         (needs_quoting): Return `int'.
5082         (quote_arg): Add proper casts to malloc and realloc.
5083         * src/libs/libgroff/spawnvp.c: Compile code only for MS-DOS and
5084         various MS Windows environments.
5085         (spawnvp_wrapper): Add proper cast to malloc.
5087         * src/preproc/eqn/box.h: Remove redundant declarations of
5088         `make_script_box', `make_mark_box' and `make_lineup_box'.
5089         * src/preproc/eqn/eqn.y: Remove redundant declaration of `strsave'.
5090         * src/preproc/eqn/script.cpp, src/preproc/eqn/pile.cpp: Some local
5091         variable renamings.
5093         * src/preproc/grn/hpoint.cpp: Some local variable renamings.
5094         * src/preproc/grn/hgraph.cpp: Some local variable renamings.
5095         (dx, dy): Renamed functions to...
5096         (deltax, deltay): This.
5097         * src/preproc/grn/main.cpp: Some local variable renamings.
5098         (deffont): Add `const'.
5099         (initpic, conv): Use cast for string constant.
5101         * src/preproc/html/pre-html.cpp: Some local variable renamings.
5102         (makeFileName, alterDeviceTo, addZ): Use cast for string constant.
5103         (char_buffer::run_output_filter): Second argument is unused.
5104         * src/preproc/html/pushback.cpp: Some local variable renamings.
5106         * src/preproc/pic/pic.y: Remove redundant declaration of `do_copy'.
5107         * src/preproc/pic/object.cpp: Some local variable renamings.
5109         * src/preproc/refer/label.y (lookup_label): Remove redundant
5110         declaration of local variable.
5112         * src/preproc/soelim.cpp: Remove redundant declaration of
5113         `interpret_lf_args'.
5115         * src/preproc/tbl/main.cpp: Some local variable renamings.
5117         * src/roff/groff/groff.cpp (main): Use cast for string constant.
5118         * src/roff/groff/pipeline.c: Enclose declarations of `error',
5119         `c_fatal', and `i_to_a' with `extern "C"' for C++.
5120         Don't use C++-style comments.
5122         * src/roff/troff/env.h: Remove redundant declaration of `title'.
5123         * src/roff/troff/node.h, src/roff/troff/env.cpp,
5124         src/roff/troff/div.cpp, src/roff/troff/node.cpp: Some local variable
5125         renamings.
5126         * src/roff/troff/div.h: Remove redundant declaration of
5127         `end_diversions'.
5128         * src/roff/troff/troff.h: Remove redundant declaration of
5129         `cleanup_and_exit'
5130         * src/roff/troff/input.cpp: Remove redundant declaration of
5131         `handle_first_page_transition' and `process_input_stack'.
5133         * src/utils/hpftodit.cpp: Some local variable renamings.
5135         * src/utils/indxbib/signal.c: Enclose functions with `extern "C"'
5136         for C++.
5137         Don't define RETSIGTYPE.
5138         * src/utils/indxbib/indxbib.cpp: Some local variable renamings.
5140         * src/utils/pfbtops/pfbtops.cpp: Don't use K&R style.
5141         (error): Use `const' in argument.
5142         (main): Remove redundant declaration of `optind'.
5143         Move declaration of `Version_string' to top-level.
5145         * PROBLEMS: Document difficulties compiling signal.c if a C++
5146         compiler is used for C.
5148 2004-04-07  Werner LEMBERG  <wl@gnu.org>
5150         * Makefile.sub (DISTCLEANFILES): Add `test-groff'.
5152 2004-04-06  Keith Marshall  <keith.d.marshall@ntlworld.com>
5154         Make scripts like nroff.sh and neqn.sh portable across various
5155         (Unix-like) shell implementations from Cygwin, MSYS, etc., which use
5156         non-POSIX path separators.  The idea is to extend those scripts to
5157         decide at run-time (of the script) which path separator to use.
5159         * arch/misc/Makefile.sub: New file.
5160         * arch/misc/shdeps.sh: New file, generating OS dependency fixups.
5161         This script handles @GROFF_BIN_PATH_SETUP@, replacing it with
5162         a proper definition of the variable `GROFF_RUNTIME'.
5164         * Makefile.in (SH_DEPS_SED_SCRIPT): New variable.
5165         (MDEFINES): Add SH_DEPS_SED_SCRIPT.
5166         (PROGDEPDIRS): New variable.
5167         `FORCE' it.
5168         (PROGDIRS): Add PROGDEPDIRS.
5170         * src/preproc/eqn/Makefile.sub (neqn): Call SH_DEPS_SED_SCRIPT.
5171         Don't substitute @SEP@ and @BINDIR@.
5172         * src/preproc/eqn/neqn.sh: Use @GROFF_BIN_PATH_SETUP@.
5173         (PATH): Use GROFF_RUNTIME.
5175         * src/roff/nroff/Makefile.sub (nroff): Call SH_DEPS_SED_SCRIPT.
5176         Don't substitute @SEP@ and @BINDIR@.
5177         * src/roff/nroff/nroff.sh: Use @GROFF_BIN_PATH_SETUP@.
5178         (PATH): Use GROFF_RUNTIME.
5180 2004-04-05  Keith Marshall  <keith.d.marshall@ntlworld.com>
5182         * src/roff/nroff/nroff.sh: Implement work-around for sh.exe from
5183         Cygwin which doesn't handle stderr correctly.
5185 2004-03-08  Werner LEMBERG  <wl@gnu.org>
5187         * Makefile.comm (install_dev, uninstall_dev): Protect `for' loops
5188         against empty argument.  Problem reported by <cgd@broadcom.com>.
5190 2004-03-05  Keith Marshall  <keith.d.marshall@ntlworld.com>
5192         * Makefile.in (SEP): Replaced with...
5193         (RT_SEP, SH_SEP): Separators for the target platform's native path
5194         separator and the build environment, respectively.
5195         (fontpath, tmacpath): Use RT_SEP.
5196         (MDEFINES): Updated.
5198         * doc/Makefile.sub (GROFF_BIN_PATH): Use SH_SEP.
5199         * src/preproc/eqn/Makefile.sub (neqn): Use SH_SEP.
5200         * src/roff/nroff/Makefile.sub (nroff): Use SH_SEP.
5202 2004-03-05  Werner LEMBERG  <wl@gnu.org>
5204         * font/devlj4/Makefile.sub (LJ4RES): Set to 1200.  This helps to
5205         reduce alignment problems with newer printers which use built-in
5206         TrueType fonts (instead of the older Intellifonts).  The ideal
5207         solution is to provide a second set of groff metric files, but this
5208         is extremely time-consuming to produce, given that HP's metric
5209         files are very rudimentary.
5211 2004-03-01  Werner LEMBERG  <wl@gnu.org>
5213         * src/devices/grolj4/lj4.cpp (main): Fix argument of getopt_long.
5214         s/operand/argument/ in error message.
5216 2004-03-01  Keith Marshall  <keith.d.marshall@ntlworld.com>
5218         * src/roff/groff/groff.cpp (main): Don't allow option -o if -Thtml
5219         is in use.
5221 2004-03-01  Antti Kantee  <pooka@netbsd.org>
5223         * tmac/s.tmac (XE): Fix error message.
5225 2004-02-27  Jeff Conrad  <jeff_conrad@msn.com>
5227         * src/include/nonposix.h (write, dup, dup2, close) [_MSC_VER]:
5228         New macros.
5230         * src/roff/groff/pipeline.c: Declare strcasecmp.
5231         (run_pipeline) [_WIN32]: Use function name variants which don't
5232         start with `_'.
5233         Fix stream handling.
5235 2004-02-27  Keith Marshall  <keith.d.marshall@ntlworld.com>
5237         * src/include/nonposix.h: Fix declaration of `system_shell_name'.
5238         Declare `spawnvp_wrapper' and macro definitions of spawnvp only
5239         for platforms which use the native Win32 runtime libraries.
5240         (FLUSH_INPUT_PIPE) [_UWIN]: Provide non-empty version.
5242         * src/libs/libgroff/quotearg.c (QUOTE_ARG_MALLOC_ERROR,
5243         QUOTE_ARG_REALLOC_ERROR): Fix string.
5245         * src/preproc/html/pre-html.cpp: Remove declaration of
5246         `spawnvp_wrapper'.
5247         Don't use __MINGW32__.
5248         s/DEBUG_FILE/DEBUG_FILE_DIR/.
5249         (DEBUG_TEXT, DEBUG_NAME, DEBUG_FILE) [DEBUGGING]: New macros.
5250         (OUTPUT_STREAM, PS_OUTPUT_STREAM, REGION_OUTPUT_STREAM): New macros.
5251         (char_buffer::run_output_filter) [MAY_FORK_CHILD_PROCESS]: Fix
5252         calls to `set_redirection' and `WAIT'.
5253         [MAY_SPAWN_ASYNCHRONOUS_CHILD]: Remove unused variable `i' and `j'.
5254         Fix calls to `set_redirection' and `save_and_redirect'.
5255         (char_buffer::do_html, char_buffer::do_image) [DEBUGGING]: Fix calls
5256         to `set_redirection' and `save_and_redirect'.
5257         (usage): Fix message.
5258         (makeTempFiles, main): Use `DEBUG_FILE'.
5260 2004-02-21  Werner LEMBERG  <wl@gnu.org>
5262         * src/roff/troff/troff.h (WARN_TOTAL): Fix value.
5264 2004-02-21  Keith Marshall  <keith.d.marshall@ntlworld.com>
5266         * src/libs/libgroff/quotearg.c: New file, providing proper argument
5267         quoting for MSVC's spawn* and exec* functions.
5268         * src/libs/libgroff/spawnvp.c: New file, providing a wrapper around
5269         spawnvp with proper quoting for MSVC.
5271         * src/libs/libgroff/assert.cpp (program_name),
5272         src/libs/libgroff/new.cpp (program_name): Declare as `extern "C"'.
5273         * src/libs/libgroff/Makefile.sub (OBJS, CSRCS): Updated.
5275         * src/roff/troff/input.cpp (program_name): Declare as `extern "C"'.
5277         * src/include/error.h (program_name): Declare as `extern "C"'.
5278         * src/include/nonposix.h [__MSDOS__ ...]: Handle spawnvp.
5280 2004-02-21  Jeff Conrad  <jeff_conrad@msn.com>
5282         * src/preproc/html/pre-html.cpp [__CYGWIN__ ...]: Declare
5283         spawnvp_wrapper.
5284         [MAY_SPAWN_ASYNCHRONOUS_CHILD]: Declare i and j.
5286 2004-02-20  Jeff Conrad  <jeff_conrad@msn.com>
5288         * src/roff/groff/pipeline.c (cmd) [__MSDOS__ || ...]: New global
5289         variable.
5290         (sbasename) [__MSDOS__ || ...]: New function.
5291         (system_shell_name) [__MSDOS__ || ...]: Use a different, more
5292         generic algorithm.
5293         (system_shell_dash_c, is_system_shell) [__MSDOS__ || ...]: Updated.
5294         (run_pipeline) [_WIN32]: Use _XXX variants for some macros instead
5295         of XXX.
5296         Use STDOUT_FILENO instead of hardcoded file handle.
5297         (signal_catcher) [__MSDOS__]: Moved to non-_WIN32 section.
5299 2004-02-19  Werner LEMBERG  <wl@gnu.org>
5301         * src/roff/troff/div.cpp: Include nonposix.h after troff.h to
5302         avoid warnings w.r.t. redefinition of P_tmpdir for some compilers.
5304 2004-02-18  Werner LEMBERG  <wl@gnu.org>
5306         * font/devlj4/Makefile.sub (DEVFILES): Updated to contain all
5307         new font and mapping files.
5309 2004-02-18  Jeff Conrad  <jeff_conrad@msn.com>
5310             Keith Marshall  <keith.d.marshall@ntlworld.com>
5312         * src/include/nonposix.h (FLUSH_INPUT_PIPE): New macro to empty
5313         an input pipe.  This is needed for the MSVC compiler to make troff's
5314         `-o' option work.
5316         * src/roff/troff/div.cpp: Include nonposix.h.
5317         (cleanup_and_exit): Call FLUSH_INPUT_PIPE.
5319 2004-02-17  Werner LEMBERG  <wl@gnu.org>
5321         * font/devlj4/generate/special.awk: New script.
5322         * font/devlj4/generate/Makefile (S): Use special.awk.
5323         * font/devlj4/*: Regenerated, including the following new files:
5324         Arial (AR, AB, AI, ABI), Times New Roman (TNRR, TNRB, TNRI, TNRBI),
5325         MS Symbol (SYMBOL), Wingdings (WINGDINGS).
5326         * NEWS: Document new lj4 fonts and revised hpftodit.
5328 2004-02-17  Paco Andrés Verdú  <pandres@dragonet.es>
5330         * src/devices/grolbp/lbp.h (vmdvarc): Fix formatting string.
5332 2004-01-25  Werner LEMBERG  <wl@gnu.org>
5334         * src/libs/libgroff/progname.cpp: Replaced with...
5335         * src/libs/libgroff/progname.c: New file.
5336         * src/libs/libgroff/Makefile.sub: Updated accordingly.
5338 2004-01-17  Werner LEMBERG  <wl@gnu.org>
5340         * font/devlj4/generate/Makefile (SYMBOL): Use 9nb28703.tfm.
5342 2004-01-16  Jeff Conrad  <jeff_conrad@msn.com>
5344         * font/devlj4/generate/wingdings.map,
5345         font/devlj4/generate/symbol.map: Include unnamed glyphs.
5346         Use groff glyph names where possible.
5347         * src/devices/grolj4/lj4_font.man: Minor updates.
5349 2004-01-13  Werner LEMBERG  <wl@gnu.org>
5351         * tmac/www.tmac (DC): Handle TTY devices.
5353         * doc/webpage.ms: Document viewCVS from ffii.org.
5354         * NEWS, README: Updated.
5356         * src/roff/groff/groff.man: Mention lj4_font man page.
5358         * font/devlj4/generate/Makefile (SYMBOLMAP, WINGDINGSMAP): New
5359         variables.
5360         (FONTS): Add SYMBOL and WINGDINGS.
5361         (SYMBOL, WINGDINGS): New targets.
5363 2004-01-13  Jeff Conrad  <jeff_conrad@msn.com>
5365         * src/devices/grolj4/lj4_font.man: New man page.
5366         * src/devices/grolj4/Makefile.sub (MAN5): New variable.
5367         * src/devices/grolj4.man: Mention lj4_font man page.
5369         * src/utils/hpftodit/hpftodit.cpp (read_map): Handle line comments.
5370         * src/utils/hpftodit/hpftodit.man: Document it.
5371         (CW): New macro.
5372         Remove details about fonts (which are now in lj4_font.man).
5374         * font/devlj4/generate/symbol.map,
5375         font/devlj4/generate/wingdings.map: New files.
5377 2004-01-12  Werner LEMBERG  <wl@gnu.org>
5379         * README: Mention ffii's viewcvs access.
5381 2004-01-09  Werner LEMBERG  <wl@gnu.org>
5383         * font/devlj4/generate/special.map: Map MSL 228 to U+221F.
5385 2004-01-09  Jeff Conrad  <jeff_conrad@msn.com>
5387         Revert most of the change from 2004-01-03 to better control used
5388         symbol sets.
5390         * src/utils/hpftodit/hpftodit.cpp (symbol_set): New structure.
5391         (text_symbol_sets, special_symbol_sets): New arrays.
5392         (symbol_set_table): New global variable.
5393         (read_symbol_sets): Use search order given in the text_symbol_sets
5394         and special_symbol_sets arrays.  If command line flag -a is not
5395         given, search both arrays.
5396         (output_charset): Require x_height_tag only for command line flag -i.
5398 2004-01-06  Werner LEMBERG  <wl@gnu.org>
5400         Implement string-valued registers \n[.m] and \n[.M] to return the
5401         name of the current drawing and background color, respectively.
5403         * src/roff/troff/symbol.h: Moved to...
5404         * src/include/symbol.h: Here.
5405         Small fixes to make it work outside of the `troff' directory.
5406         * src/roff/troff/symbol.cpp: Moved to...
5407         * src/libs/libgroff/symbol.cpp: Here.
5408         Small fixes to make it work outside of the `troff' directory.
5410         * src/include/Makefile.sub (HDRS), src/libs/libgroff/Makefile.sub
5411         (OBJS, CCSRCS), src/roff/troff/Makefile.sub (OBJS, CCSRCS, HDRS):
5412         Updated.
5414         * src/include/color.h: Include symbol.h.
5415         (color): Add new field `nm'.
5416         * src/libs/libgroff/color.cpp (color::color): Updated.
5418         * src/roff/troff/dictionary.cpp, src/roff/troff/div.cpp,
5419         src/roff/troff/node.cpp, src/roff/troff/number.cpp,
5420         src/roff/troff/reg.cpp: Don't include symbol.h.
5422         * src/roff/troff/env.cpp: Don't include symbol.h.
5423         (environment::get_glyph_color_string,
5424         environment_get_fill_color_string): New member functions.
5425         (init_env_requests): Handle `.m' and `.M' registers.
5426         * src/roff/troff/input.cpp: Don't include symbol.h.
5427         (default_symbol): Moved to symbol.cpp/symbol.h.
5428         (do_glyph_color, do_fill_color, define_color): Pass symbol name
5429         to color constructor.
5430         * src/roff/troff/env.h: Updated.
5432         * NEWS, man/groff_diff.man, man/groff.man, doc/groff.texinfo:
5433         Document new registers.
5435 2004-01-05  Werner LEMBERG  <wl@gnu.org>
5437         * src/roff/troff/node.cpp (space_node::get_breakpoints,
5438         space_node::nbreaks): Protect against zero `next' field.
5440 2004-01-03  Jeff Conrad  <jeff_conrad@msn.com>
5442         In hpftodit, use the symbol sets offered in the TFM.
5444         * src/utils/hpftodit/hpftodit.cpp (NO_GLYPH): New constant.
5445         (symbol_set, text_symbol_sets, special_symbol_sets,
5446         symbol_set_table): Removed.
5447         (get_printcode): Removed.
5448         (read_symbol_sets): Initialize `symbol_set' field with
5449         `NO_SYMBOL_SET'.
5450         Simplify code to just use the `kind' value.
5451         (output_charset): Improve output formatting.
5452         (dump_symbols): Simplified.
5454 2004-01-02  Werner LEMBERG  <wl@gnu.org>
5456         * font/devlj4/generate/text.map: Add more MSL numbers.
5458 2004-01-02  Jeff Conrad  <jeff_conrad@msn.com>
5460         * src/utils/hpftodit/hpftodit.cpp (is_decomposed): New macro.
5461         (text_symbol_sets): Add more symbol sets.
5462         (debug_flag): New static variable (moved from `main').
5463         (get_printcode, show_symset): New functions.
5464         (main): Remove `debug_flag'.
5465         (output_charset): Use `show_symset'.
5466         (dump_symbols): Use `show_symset'.
5467         Print symsets for all glyphs.
5468         (read_map): Actually call `unicode_to_ucode_make' but this time
5469         correctly.
5471 2004-01-01  Werner LEMBERG  <wl@gnu.org>
5473         * font/devlj4/generate/text.map, font/devlj4/generate/special.map:
5474         Fix placement of comments.
5476 2004-01-01  Jeff Conrad  <jeff_conrad@msn.com>
5478         * src/utils/hpftodit/hpftodit.cpp (main): Read map file also if
5479         option `-d' is given.
5480         (output_charset): Improve warning messages to give more information.
5481         (dump_symbols): Make information more precise.
5482         (usage): Updated.
5483         (read_map): Don't call unicode_to_ucode_name; the glyph names must
5484         appear as-is and shouldn't be decomposed.
5486 2003-12-31  Werner LEMBERG  <wl@gnu.org>
5488         * src/utils/hpftodit/hpftodit.cpp (dump_tags): Handle posture_tag.
5489         * font/devlj4/generate/Makefile (IFLAG): Updated to new units.
5490         (FONTS): Add TrueType font families Arial and Times New Roman.
5491         (TNRR, TNRB, TNRI, TNRBI, AR, AB, AI, ABI): New targets.
5492         * font/devlj4/generate/text.map: Fix Unicode values of `fi' and
5493         `fl'.
5495 2003-12-31  Jeff Conrad  <jeff_conrad@msn.com>
5497         * test-groff.in (SEP): Quote value.
5498         * src/roff/troff/node.cpp (suppress_node::tprint): Change type of
5499         `tem' to `char*' to avoid deallocation of a pointer to a constant
5500         object which some compilers don't like.
5502 2003-12-31  Werner LEMBERG  <wl@gnu.org>
5504         * font/devlj4/generate (text.map, special.map): Rewritten to work
5505         with the new hpftodit version.
5507 2003-12-30  Jeff Conrad  <jeff_conrad@msn.com>
5509         * src/utils/hpftodit/hpftodit.cpp (output_charset): Emit HP symbol
5510         set and 8bit character code for all glyphs also.
5512 2003-12-30  Werner LEMBERG  <wl@gnu.org>
5514         * src/libs/libgroff/strcasecmp.c: Updated from gnulib.
5516 2003-12-29  Werner LEMBERG  <wl@gnu.org>
5518         More fixes for MSVC compiler.
5520         * doc/Makefile.sub (GROFF_BIN_PATH): Use $(SEP).
5522         * src/include/nonposix.h (STDIN_FILENO, STDOUT_FILENO,
5523         STDERR_FILENO) [_MSC_VER]: Define conditionally.
5524         (getpid) [_MSC_VER]: Remove.
5525         Include direct.h and process.h conditionally.
5527         * src/roff/troff/node.cpp (suppress_node::tprint): Don't use
5528         parentheses for a_delete.
5530         * src/utils/lookbib/lookbib.cpp: Include nonposix.h.
5532         * test-groff: Replaced with...
5533         * test-groff.in: This new template to handle path separator
5534         properly.
5536         * configure.ac: Check for direct.h and process.h.
5537         Generate test-groff script.
5538         * configure, src/include/config.hin: Regenerated.
5540 2003-12-28  Werner LEMBERG  <wl@gnu.org>
5542         Add integral extension glyph.
5543         Add new option `-x' to afmtodit to suppress use of built-in AGL.
5545         * font/devhtml/R.proto, font/devutf8/R.proto: Add `u23AE'.
5547         * font/devps/generate/textmap: Provide entry for `integralex' to
5548         override (old) PUA value of the AGL.
5549         * font/devps/generate/Makefile (SS): Add afmtodit option `-x'.
5550         * font/devps/*: Regenerated.
5552         * src/utils/afmtodit/afmtodit.pl: Add option `-x'.
5553         * src/utils/afmtodit/afmtodit.man, NEWS: Updated.
5555 2003-12-27  Werner LEMBERG  <wl@gnu.org>
5557         Add forgotten `coproduct' symbol (already available for DVI).
5559         * font/devhtml/R.proto, font/devps/generate/textmap,
5560         font/devps/symbolmap, font/devutf8/R.proto, man/groff_char.man,
5561         src/libs/libgroff/uniglyph.cc, src/libs/libgroff/glyphuni.cpp: Add
5562         U+2210 (\[coproduct]).
5564 2003-12-26  Jeff Conrad  <jeff_conrad@msn.com>
5566         hpftodit has been extended to handle TrueType metric files and
5567         more glyphs.  See hpftodit.man for more details.
5569         * src/utils/hpftodit/hpftodit.cpp: Include stdio.h, string.h,
5570         ctype.h, and unicode.h.
5571         s/msl/charcode/ everywhere since we now handle Unicode values also.
5572         (equal, NO, YES, MSL, SYMSET, UNICODE, UNICODE): New macros.
5573         Use it where appropriate.
5574         (MULTIPLIER): Replaced with...
5575         (multiplier): New global static variable.
5576         (scale): Updated.
5577         (tag_type): Add more TFM tags.
5578         (tag_name): New array.
5579         (ENUM_TYPE, FLOAT_TYPE): Removed.
5580         (BYTE_TYPE): New value assigned.
5581         (ASCII_TYPE, RATIONAL_TYPE): New enumeration values.
5582         (text_symbol_sets, special_symbol_sets): Extended to cover more
5583         sets.
5584         (check_type): Add return value.
5585         (check_units): Add parameters to get ppi and upem values.
5586         Handle TrueType TFM data.
5587         (output_font_name): New function.
5588         (output_charset): Add parameter to handle TFM type.
5589         Handle TrueType TFMs also.
5590         (em_fract): New macro.
5591         (dump_tags): Be much more verbose and handle more tags.
5592         (dump_ascii, dump_symbol_sets, dump_symbols): New functions.
5593         (hp_msl_to_ucode_name, unicode_to_ucode_name, is_uname): New
5594         functions.
5595         (read_map): Add parameter to handle TFM type.
5596         Handle both MSL and Unicode mappings.
5597         (main): Add two new command line options `-a' and `-q'.
5598         Updated to make use of new functions.
5599         (usage): Updated.
5601         * src/utils/hpftodit/hpuni.cpp: New file.
5603         * src/utils/hpftodit/Makefile.sub, src/utils/hpftodit/hpftodit.man:
5604         Updated.
5606 2003-12-25  Werner LEMBERG  <wl@gnu.org>
5608         * src/include/nonposix.h (read) [_MSC_VER]: Define.
5610 2003-12-24  Werner LEMBERG  <wl@gnu.org>
5612         * src/utils/afmtodit/afmtodit.man: Some reformulations as suggested
5613         by Michail Vidiassov <master@iaas.msu.ru>.
5615 2003-12-20  Werner LEMBERG  <wl@gnu.org>
5617         * font/devhtml/R.proto: Add u00{47,67}_0306, u00{53,73}_0327,
5618         and u0049_0307.
5619         Add missing latin-2 glyphs.
5620         * font/devutf8/R.proto: Add missing latin-2 glyphs.
5622         * tmac/troffrc: Load `composite.tmac' earlier.
5624         * tmac/dvi.tmac, tmac/ps.tmac, tmac/lbp.tmac: Add u00{47,67}_0306,
5625         u00{53,73}_0327, and u0049_0307.
5626         * tmac/X.tmac: Add u00{47,67}_0306.
5627         * tmac/tty-char.tmac: Use composite glyph names for readability.
5629         * NEWS: Updated.
5631         * src/include/unicode.h: Remove `extern' keywords.
5633 2003-12-20  Nilgün Belma Bugüner  <nilgun@superonline.com>
5635         * tmac/latin5.tmac: New file.
5637 2003-12-19  Werner LEMBERG  <wl@gnu.org>
5639         Add some glyphs needed for Turkish.
5641         * font/devutf8/R.proto: Add u00{47,67}_0306, u00{53,73}_0327,
5642         and u0049_0307.
5644         * tmac/composite.tmac: Add `,' as a synonym for `ac' accent.
5645         * tmac/tty-char.tmac: Add representations for u00{47,67}_0306,
5646         u00{53,73}_0327, and u0049_0307.
5648 2003-12-18  Werner LEMBERG  <wl@gnu.org>
5650         * src/devices/grops/ps.cc (ps_output::put_float): Revert change
5651         from 2001-10-04.
5652         Remove trailing zeros.
5654 2003-12-17  Werner LEMBERG  <wl@gnu.org>
5656         Make \? transparent to end-of-sentence recognition.
5658         * src/roff/troff/input.cc (non_interpreted_node): Add
5659         `ends_sentence' member function.
5661 2003-12-16  Werner LEMBERG  <wl@gnu.org>
5663         * doc/groff.texinfo: Document `dt' request correctly.
5664         Other minor typographical improvements.
5666 2003-12-10  Michail Vidiassov  <master@iaas.msu.ru>
5668         * src/utils/afmtodit/Makefile.sub (afmtodit): Fix typo.
5670 2003-12-10  Richard Stallman  <rms@gnu.org>
5672         * LICENSE: Better wording.
5674 2003-12-09  Werner LEMBERG  <wl@gnu.org>
5676         * aclocal.m4 (GROFF_BROKEN_SPOOLER_FLAGS): Set default value to 0.
5677         * configure, NEWS: Updated.
5679 2003-12-08  Werner LEMBERG  <wl@gnu.org>
5681         * FDL: Updated to version 1.2 (from www.gnu.org/copyleft).
5683 2003-12-07  Bernd Warken  <bwarken@mayn.de>
5685         * LICENSE: Updated.
5687 2003-12-07  Werner LEMBERG  <wl@gnu.org>
5689         * INSTALL: Improved.
5691 2003-12-05  Keith Marshall  <keith.d.marshall@ntlworld.com>
5693         Use path separator character of target platform for compiled-in
5694         default paths.
5696         * aclocal.m4 (GROFF_TARGET_PATH_SEPARATOR): New macro.
5697         * configure.ac: Use GROFF_TARGET_PATH_SEPARATOR.
5698         * configure: Regenerated.
5699         * Makefile.in (SEP): Use GROFF_PATH_SEPARATOR.
5701 2003-12-05  Werner LEMBERG  <wl@gnu.org>
5703         * src/include/nonposix.h (PATH_SEP_CHAR): New definition.
5704         Replace `PATH_SEP[0]' with `PATH_SEP_CHAR' everywhere.
5706 2003-12-04  Bernd Warken  <bwarken@mayn.de>
5708         * LICENSE: New file.
5710 2003-12-03  Werner LEMBERG  <wl@gnu.org>
5712         * src/utils/afmtodit/afmtodit.pl: Comment out code which handles
5713         ligatures present in AFM files since groff currently only
5714         understands some standard ligatures and nothing else.
5716 2003-12-03  Jeff Conrad  <jeff_conrad@msn.com>
5718         * src/roff/groff/groff.cpp (main): Don't run the spooler if
5719         option -v is given.
5721         * src/roff/groff/pipeline.c (run_pipeline) [_WIN32]: Fix error
5722         messages.
5723         Close stdout copy.
5724         Don't use Unix wait flags.
5726 2003-12-02  Werner LEMBERG  <wl@gnu.org>
5728         * src/roff/troff/glyphuni.cpp, src/roff/troff/unicode.cpp,
5729         src/roff/troff/unicode.h, src/roff/troff/uniglyph.cpp,
5730         src/roff/troff/uniuni.cpp: Moved to...
5731         * src/libs/libgroff/glyphuni.cpp, src/libs/libgroff/unicode.cpp,
5732         src/libs/libgroff/unicode.h, src/libs/libgroff/uniglyph.cpp,
5733         src/libs/libgroff/uniuni.cpp: Here.
5735         * src/include/Makefile.sub.old (HDRS),
5736         src/libs/libgroff/Makefile.sub (OBJS, CCSRCS),
5737         src/roff/troff/Makefile.sub (HDRS, PBJS, CCSRCS): Updated.
5739 2003-12-01  Keith Marshall  <keith.d.marshall@ntlworld.com>
5741         * src/preproc/htlp/pre-html.cpp (__tmpfile): Renamed to
5742         `DEBUG_FILE'.
5743         Updated all users.
5745 2003-12-01  Werner LEMBERG  <wl@gnu.org>
5747         * groff.texinfo: Document special behaviour of `.vs 0'.
5748         Improve documentation of `cflags' request.
5749         * NEWS: Updated.
5751 2003-11-29  Werner LEMBERG  <wl@gnu.org>
5753         * font/devlj4/generate/Makefile (CORONET): Use correct TFM.
5754         * font/devlj4/CORONET: Regenerated.
5756 2003-11-24  Werner LEMBERG  <wl@gnu.org>
5758         * src/roff/troff/env.cpp (hyphen_trie::read_patterns_file): Fix loop
5759         if processing hyphenation patterns in traditional mode.
5760         Improve error messages.
5762 2003-11-20  Werner LEMBERG  <wl@gnu.org>
5764         * src/roff/troff/node.cpp (troff_output_file::put_char_width,
5765         troff_output_file::put_char): Fix type of local variable `c'.
5767 2003-11-19  Werner LEMBERG  <wl@gnu.org>
5769         * src/roff/groff/pipeline.c (P): Removed.  Updated all function
5770         declarations.
5771         (i_to_a): Removed.  libgroff already provides this function.
5772         (run_pipeline) [_WIN32]: Don't use itoa but i_to_a.
5774 2003-11-18  Keith Marshall  <keith.d.marshall@ntlworld.com>
5776         * src/roff/groff/pipeline.c (xstrsignal): Fix usage of
5777         HAVE_DECL_SYS_LIST.
5779 2003-11-17  Werner LEMBERG  <wl@gnu.org>
5781         * COPYING: Use correct version.
5783 2003-11-11  Werner LEMBERG  <wl@gnu.org>
5785         LynxOS 4.0.0 doesn't declare vfprintf.
5787         * configure.ac: Check for vfprintf.
5788         * configure: Regenerated.
5789         * src/include/lib.h: Handle `NEED_DECLARATION_VFPRINTF'.
5790         * src/include/config.hin: Regenerated.
5792 2003-11-10  Werner LEMBERG  <wl@gnu.org>
5794         LynxOS 4.0.0 has snprintf (without declaration) but no vsnprintf.
5796         * configure.ac: Check for vsnprintf.
5797         * configure: Regenerated.
5798         * src/include/lib.h: Handle `NEED_DECLARATION_VSNPRINTF' and
5799         `HAVE_VSNPRINTF'.
5800         * src/include/config.hin: Regenerated.
5802 2003-11-09  Werner LEMBERG  <wl@gnu.org>
5804         * aclocal.m4: Updated syntax to autoconf 2.59.
5805         (GROFF_HTML_PROGRAMS): Use AC_FOREACH.
5806         Don't check for gsos2.
5807         (GROFF_SRCDIR, GROFF_BUILDDIR): Removed.  autoconf 2.59 provides
5808         working abs_top_srcdir and abs_top_builddir.
5810         * configure.ac: Updated syntax to autoconf 2.59.
5811         Don't call GROFF_SRCDIR and GROFF_BUILDDIR.
5812         Replace call to AC_DECL_SYS_SIGLIST with call to AC_CHECK_DECLS.
5813         * configure: Regenerated.
5815         * Makefile.in, doc/Makefile.in: s/@top_srcdir@/@abs_top_srcdir@/,
5816         s/@groff_top_builddir@/@abs_top_builddir@/.
5818         * src/roff/groff/pipeline.c (xstrsignal):
5819         s/SYS_SIGLIST_DECLARED/HAVE_DECL_SYS_SIGLIST/.
5821 2003-11-07  Werner LEMBERG  <wl@gnu.org>
5823         * src/devices/grodvi/dvi.cpp (draw_dvi_printer::draw) ['a']: Always
5824         make start angle smaller than end angle to circumvent a bug in tpic
5825         handling of some versions of dvipdfm (and dvipdfmx).
5827 2003-10-30  Werner LEMBERG  <wl@gnu.org>
5829         * src/devices/grops/grops.man: Improve section on creating EPS.
5831 2003-10-29  Werner LEMBERG  <wl@gnu.org>
5833         * contrib/pic2graph/pic2graph.sh: Fix typo (-P-letter ->
5834         -P-pletter).
5836 2003-10-28  Werner LEMBERG  <wl@gnu.org>
5838         * doc/groff.texinfo: Fix documentation of `.if'.
5840 2003-10-27  Michail Vidiassov  <master@iaas.msu.ru>
5842         * src/utils/afmtodit/afmtodit.pl: Handle unmapped characters of
5843         the form `uniXXXX' also.
5845 2003-10-27  Werner LEMBERG  <wl@gnu.org>
5847         * contrib/eqn2graph/eqn2graph.sh, contrib/grap2graph/grap2graph.sh,
5848         contrib/pic2graph/pic2graph.sh: Implement secure management of
5849         temporary files.
5850         Pass `-P-pletter' to groff to avoid data outside of the converted
5851         area -- some versions of `convert' (for example 5.3.8) don't check
5852         the bounding box of the image but always use a fixed image size
5853         (letter paper format).
5854         * contrib/eqn2graph/eqn2graph.man, contrib/grap2graph/grap2graph.man,
5855         contrib/pic2graph/pic2graph.man: Updated.
5857         * src/roff/groff/groff.man: Document $TMP and $TEMP.
5859 2003-10-26  Werner LEMBERG  <wl@gnu.org>
5861         * src/preproc/pic/troff.cpp (troff_output::simple_circle,
5862         troff_output::simple_ellipse, troff_output::simple_arc,
5863         troff_output::simple_line, troff_output::simple_spline,
5864         troff_output::simple_polygon): Insert a space before arguments.
5865         (troff_output::set_fill): Emit `\&' before `\D'Fg...' since the
5866         latter doesn't produce a node, so the following `.sp -1' would do
5867         the wrong thing.
5868         Don't emit `.sp -1' after \M.  This also doesn't produce a token
5869         (and we don't have to care about compatibility mode).
5870         (troff_output::set_color, troff_output::reset_color): Don't emit
5871         `.sp -1' after \M and \m.
5873         * src/roff/troff/input.cpp (old_have_input): New global variable.
5874         (input_stack::get): Handle `old_have_input'.
5875         (process_input_stack) <token::TOKEN_NEWLINE>: Call
5876         `trapping_blank_line' depending on `old_have_input', not
5877         `have_input'.
5879 2003-10-20  Keith Marshall  <keith.d.marshall@ntlworld.com>
5881         * src/libs/libgroff/tmpfile.cpp [__MSDOS__, _Win32]
5882         (WIN32_TMPDIR_ENVVAR, MSDOS_TMPDIR_ENVVAR): New macros, providing
5883         default directory names for temporary files.
5884         [__MSDOS__, _Win32] (temp_init::temp_init): Use them.
5886         * src/roff/groff/pipeline.c [__MSDOS__]: Include stdlib.h.
5887         [__MSDOS__] (run_pipeline): Honour environment variables.
5888         Don't use `tmpnam' but `tempnam' to work around messy
5889         implementation.
5891         * README.MinGW: New file.
5893 2003-10-16  Werner LEMBERG  <wl@gnu.org>
5895         * src/preproc/html/pre-html.cpp (write_upto_newline): Don't use
5896         `(*t)->next' without testing validity of `*t'.
5897         (usage): Make it more readable.
5899 2003-10-16  Keith Marshall  <keith.d.marshall@ntlworld.com>
5901         Make html device run under both MS-DOS and Win32.
5903         * src/preproc/html/pre-html.cpp (MAY_FORK_CHILD_PROCESS,
5904         MAY_SPAWN_ASYNCHRONOUS_CHILD): New macros to control whether
5905         spawn or fork+exec has to be used, and whether parent must sleep
5906         until the child process terminates.  Used in
5907         `char_buffer::run_output_filter'.
5908         (copyofstdoutfd): Removed.
5909         (char_buffer): Replace `write_file_html' and `write_file_troff'
5910         member functions with `emit_troff_output' and `run_output_filter'.
5911         (DEVICE_FORMAT, HTML_OUTPUT_FILTER, IMAGE_OUTPUT_FILTER): New
5912         macros.
5913         (replaceFd): Replaced with...
5914         (set_redirection): New auxiliary function.
5915         (waitForChild): Replaced with...
5916         (save_and_redirect): New auxiliary function for.
5918         (char_buffer::do_html, char_buffer::do_image): Simplified, using new
5919         functions.
5921 2003-10-14  Keith Marshall  <keith.d.marshall@ntlworld.com>
5923         * aclocal.m4 (GROFF_SYS_NERR): Check stdlib.h also.
5924         (GROFF_LIBC): New function.
5925         * configure.ac: Call GROFF_LIBC.
5926         Check for `kill'.
5927         * configure: Regenerated.
5929         * src/include/lib.h: Handle __MINGW32__.
5930         * src/include/nonposix.h [_MSC_VER]: Handle __MINGW32__.
5931         Add macro for `pipe'.
5932         Define P_tmpdir.
5934         * src/roff/groff/pipeline.c (run_pipeline): Handle `no_pipe'
5935         correctly.
5937         * src/utils/indxbib/signal.c (handle_fatal_signal) [!HAVE_KILL]:
5938         Implement.
5940 2003-10-12  Werner LEMBERG  <wl@gnu.org>
5942         * src/roff/groff/groff.cpp (help), src/devices/grops/ps.cpp (usage),
5943         src/roff/troff/input.cc (usage): Updated.
5945         * NEWS, doc/groff.texinfo: Updated.
5947 2003-10-12  Peter Miller  <millerp@canb.auug.org.au>
5949         * src/libs/libgroff/searchpath.cpp
5950         (search_path::open_file_cautious): New function which also handles
5951         `-' as stdin and stdout depending on the access mode.
5952         * src/include/searchpath.h (search_path): Updated.
5954         * src/devices/grops/ps.cpp (main): Handle new `-I' switch.
5955         * src/devices/grops/ps.h: Include `searchpath.h'.
5956         * src/devices/grops/psrm.cpp (resource_manager::supply_resource):
5957         Open resource file with `include_search_path.open_file_cautious'.
5958         * src/devices/grops/grops.man: Document new `-I' switch.
5960         * src/devices/grodvi/dvi.cpp (main), src/devices/grolbp/lbp.cpp
5961         (main), src/devices/grolj4/lj4.cpp (main),
5962         src/devices/grotty/tty.cpp (main): Ignore new `-I' switch.
5964         * src/preproc/soelim/soelim.cpp (include_list_length, include_list):
5965         Replaced with...
5966         (include_search_path): New global variable.
5967         (include_path_append): Removed.
5968         (main): Use `include_search_path.command_line_dir' to handle `-I'.
5969         (do_file): Simplify, using new
5970         `include_search_path.open_file_cautious'.
5972         * src/roff/groff/groff.cpp (print_commands): Accept file handle as
5973         parameter.
5974         (main): Pass arguments to `-I' to both troff and devices.
5975         Improve handling of `-V'.
5976         * src/roff/groff/groff.man: Document changes to -I and -V.
5978         * src/roff/troff/input.cpp (include_search_path): New global
5979         variable.
5980         (next_file, source, ps_bbox_request, transparent_file,
5981         process_input_file): Use new
5982         `include_search_path.open_file_cautious'.
5983         (main) Handle `-I' switch.
5984         * src/roff/troff/node.cpp (troff_output_file::really_copy_file):
5985         Use new `include_search_path.open_file_cautious'.
5986         * src/roff/troff/node.h: New extern symbol `include_search_path'.
5987         * src/roff/troff/troff.man: Document new `-I' switch.
5989 2003-09-15  Ruslan Ermilov  <ru@FreeBSD.org>
5991         Support multiple calls of .Lb in LIBRARY section.
5993         * tmac/doc-common (doc-in-library-section): New register.
5994         (doc-section-library): New string.
5995         (Sh): Set `doc-in-library-section'.
5996         (Rd): Updated.
5997         * tmac/doc-syms (Lb): Insert breaks before and after arguments
5998         if in LIBRARY section.
5999         * tmac/doc.tmac (doc-save-global-vars): Updated.
6000         * NEWS, tmac/groff_mdoc.man: Updated.
6002 2003-09-14  Ruslan Ermilov  <ru@FreeBSD.org>
6004         * tmac/doc-common (doc-default-operating-system): New variable.
6005         (Os): Use it.
6007 2003-09-08  Werner LEMBERG  <wl@gnu.org>
6009         * tmac/doc.tmac (doc-reset-reference): Handle data for `%I' also.
6011 2003-08-31  Werner LEMBERG  <wl@gnu.org>
6013         * Makefile.comm: Use `test ... ||' in favor of `if test ...; then'.
6014         (install_dev, uninstall_dev): Check whether $(DEVSCRIPTS) and
6015         $(DEVFILES) are not empty.
6016         * Makefile.in: Use `test ... ||' in favor of `if test ...; then'.
6018 2003-08-23  Stephen Gildea  <http://www.gildea.com/stephen>
6020         * src/preproc/refer/ref.cpp (reference::compute_sort_key): Always
6021         insert SORT_SEP.  With certain combinations of sort specifications,
6022         refer sorted entries in the wrong order.  In particular, entries
6023         with a missing field should be be sorted before all entries that
6024         have that field, before refer looks to the next field.
6026 2003-08-23  Werner LEMBERG  <wl@gnu.org>
6028         * src/utils/pfbtops/Makefile.sub (LINK.c): Define it so that the
6029         g++ linker is used.  Reported by Mark J. Reed
6030         <mark.reed@turner.com>.
6032 2003-08-16  Heinz-Jürgen Oertel  <hj.oertel@surfeu.de>
6034         Add key character `x' to tbl which makes tbl call a user-defined
6035         macro on a table cell.
6037         * src/preproc/tbl/table.h (entry_modifier): Add `macro'.
6038         * src/preproc/tbl/table.cpp (block_entry::do_divert): Call
6039         `set_modifier' after printing the compatibility request.
6040         (set_modifier): Print call to `m->macro' if not empty.
6041         * src/preproc/tbl/main.cpp (entry_format::debug_print): Handle
6042         `macro'.
6043         (process_format): Implement cases `x' and `X'.
6044         * src/preproc/tbl/tbl.man, NEWS: Updated.
6046 2003-08-15  Werner LEMBERG  <wl@gnu.org>
6048         * doc/groff.texinfo: Minor fixes.
6050 2003-08-09  Werner LEMBERG  <wl@gnu.org>
6052         * tmac/an-old.tmac [cR]: Fix redefinition of `bp'.
6054 2003-08-07  Werner LEMBERG  <wl@gnu.org>
6056         * doc/Makefile.sub: Not all shells expand wildcards in the `for'
6057         argument list to nothing if there is no file to match.  Use `ls' as
6058         a protection, similar to autoconf.
6060         * Makefile.comm (install_dev, uninstall_dev): Protect `for' against
6061         empty argument lists.
6063         * doc/groff.texinfo: Improve documentation how vertical spacing
6064         and line breaks interact.
6065         Other minor fixes.
6067         * tmac/www.tmac: Initialize `www-htmlimage-gap'.
6069 2003-08-03  Werner LEMBERG  <wl@gnu.org>
6071         * NEWS, src/devices/grops/grops.man: -b16 is necessary to produce
6072         EPS (using eps2eps or similar programs to compute the bounding box).
6074 2003-07-24  Werner LEMBERG  <wl@gnu.org>
6076         * doc/groff.texinfo: Use the new @/ command to avoid overlong lines.
6077         * doc/texinfo.tex: Updated from texinfo 4.6.
6078         * README.CVS: From now on we need texinfo 4.6.
6080 2003-07-23  Werner LEMBERG  <wl@gnu.org>
6082         Add requests `dei1' and `ami1' for completeness.
6084         * src/roff/troff/input.cc (calling_mode): Remove
6085         CALLING_DISABLE_COMP.
6086         (comp_mode): New enumeration.
6087         (do_define_string, define_string, define_nocomp_string,
6088         append_string, append_nocomp_string): Updated.
6089         (do_define_macro): Add third parameter.
6090         (define_macro, define_nocomp_macro, define_indirect_macro,
6091         append_macro, append_nocomp_macro, append_indirect_macro): Updated.
6092         (define_indirect_nocomp_macro, append_indirect_nocomp_macro): New
6093         functions.
6094         (ignore): Updated.
6095         (init_input_requests): Add `dei1' and `ami1'.
6097         * tmac/trace.tmac: Handle de1 and am1.
6098         (de): Improve tracing message.
6099         (am): Add missing `do'.
6100         (return): Use de1.
6102         * NEWS, man/groff_diff.man, man/groff.man, doc/groff.texinfo:
6103         Document new requests.
6105 2003-07-22  Heinz-Jürgen Oertel  <hj.oertel@surfeu.de>
6107         Add option -G to .MPIMG to insert a gap between text and the image.
6109         * tmac/www.tmac (www-finish-left-po, www-finish-right-ll,
6110         www-finish-left-ll): Updated.
6111         (www-image-just, www-image-gap, www-htmlimage-gap): New variables.
6112         (MPIMG): Make option -L and -R optional.
6113         Implement option -G.
6115 2003-07-22  Gaius Mulley  <gaius@glam.ac.uk>
6117         * src/devices/grohtml/post-html.cpp
6118         (html_printer::do_file_components): Don't use `stdout' as lvalue
6119         since it can be a macro.
6121 2003-07-22  Werner LEMBERG  <wl@gnu.org>
6123         * src/libs/libgroff/strerror.c: Include errno.h to be in sync with
6124         the corresponding test in aclocal.m4.
6126 2003-07-21  Werner LEMBERG  <wl@gnu.org>
6128         * src/preproc/html/pre-html.cpp (TRANSPARENT): Don't use colour
6129         names but RGB values directly.  Otherwise pnmtopng depends on
6130         an external file `rgb.txt' which maps colour names to values.
6132 2003-07-20  Werner LEMBERG  <wl@gnu.org>
6134         * aclocal.m4 (GROFF_SYS_ERRLIST): Include stdlib.h for MinGW.
6135         * configure, src/include/config.hin: Regenerated.
6137         * src/libs/libgroff/strerror.c: Include stdlib.h for MinGW.
6139 2003-07-19  Werner LEMBERG  <wl@gnu.org>
6141         * PROBLEMS: Add solution for UTF-8 problem with hyphens.
6143 2003-07-18  Werner LEMBERG  <wl@gnu.org>
6145         * *.man: Switch to non-compatibility mode temporarily if GNU
6146         syntax extensions are used in the particular man page.
6148         * PROBLEMS: Add solutions for SGR problems.
6150 2003-07-17  Werner LEMBERG  <wl@gnu.org>
6152         Don't ignore grotty's command line options if \X'tty: sgr ...' is
6153         used to change the drawing scheme.
6155         * src/devives/grotty/tty.cpp (bold_flag_option,
6156         underline_flag_option, italic_flag_option, reverse_flag_option,
6157         bold_underline_mode_option): New global variables.
6158         (update_options): New function.
6159         (tty_printer::special): Call update_options.
6160         (main): Don't set xxx_flag but xxx_flag_option, then call
6161         update_options.
6163 2003-07-14  Werner LEMBERG  <wl@gnu.org>
6165         Make grotty emit proper Unicode box drawing characters for -Tutf8.
6167         * src/devices/grotty/tty.cpp (START_LINE, END_LINE): New enum
6168         values.
6169         (hline_char, vline_char): New global variables.
6170         (tty_printer::tty_printer): Initialize them.
6171         (tty_printer::draw): Emit START_LINE and END_LINE flags for both
6172         horizontal and vertical lines.
6173         (crossings): New global array.
6174         (tty_printer::end_page): Use it to determine the proper crossing
6175         character for -Tutf8.
6177 2003-07-12  Werner LEMBERG  <wl@gnu.org>
6179         * doc/Makefilesub (HTMLDOCFILESALL): New macro.
6180         (HTMLDOCFILES): Revert to `pic.html'.
6181         (CLEANADD, install_html, uninstall_sub): Use HTMLDOCFILESALL.
6183 2003-07-11  Werner LEMBERG  <wl@gnu.org>
6185         * doc/pic.ms: Improve documentation of absolute coordinates.
6186         Document absolute positioning of pictures.
6188         * NEWS: Add new pic capability.
6190 2003-07-09  Hartmut Henkel  <hartmut_henkel@gmx.de>
6192         * src/libs/libgroff/geometry.cpp (check_output_arc_limits):
6193         Rewritten.
6195 2003-07-07  Werner LEMBERG  <wl@gnu.org>
6197         Implement support for dashed and dotted ellipses in pic.  Based on
6198         a patch from Hartmut Henkel <hartmut_henkel@gmx.de>.
6200         * src/preproc/pic/common.cpp (common_output::ellipse_arc,
6201         common_output::dashed_ellipse, common_output::dotted_ellipse): New
6202         functions.  Ellipse arcs are approximated with circle arcs.
6203         * src/preproc/pic/common.h (common_output): Updated.
6204         * src/preproc/pic/tex.cpp (tex_output::ellipse): Use new ellipse
6205         functions.
6206         * src/preproc/pic/troff.cpp (simple_output::ellipse): Ditto.
6208         * src/preproc/pic/TODO, src/preproc/pic/pic.man: Updated.
6210 2003-07-06  Werner LEMBERG  <wl@gnu.org>
6212         Make grotty work on platforms which have unsigned char as the
6213         default for char.  Based on a patch by Thomas Klausner
6214         <wiz@netbsd.org>.
6216         * src/devices/grotty/tty.cpp (schar): New typedef.
6217         Updated calls to declare_ptable and implement_ptable.
6218         (glyph): Use schar for back_color_idx and fore_color_idx.
6219         (tty_printer): Use schar for curr_fore_idx and curr_back_idx.
6220         (tty_printer::tty_color, tty_printer::tty_printer,
6221         tty_printer::color_to_idx, tty_printer::put_color): Updated.
6223 2003-07-06  Ruslan Ermilov  <ru@FreeBSD.org>
6225         * src/roff/nroff/nroff.sh: Add option -d for completeness.
6226         * src/roff/nroff/nroff.man: Updated.
6228 2003-07-05  Werner LEMBERG  <wl@gnu.org>
6230         * NEWS, tmac/groff_www.man: Updated.
6231         * doc/Makefile.sub: Updated.
6233 2003-07-05  Gaius Mulley  <gaius@glam.ac.uk>
6235         Implement support for multiple HTML output files.
6237         * src/preproc/html/pre-html.cpp (scanArguments): Dummy handling for
6238         -j command line option.
6240         * src/devices/grohtml/post-html.cpp (job_name, multiple_files): New
6241         global variables.
6242         (file): New fields `new_output_file', `require_links',
6243         `output_file_name'.
6244         (file::file): Updated.
6245         (files::set_file_name, files::set_links_required,
6246         files::are_links_required, files::is_new_output_file,
6247         files::file_name, files::next_file_name): New functions.
6248         (header_desc): New fields `no_of_level_one_headings',
6249         `header_filename'.
6250         (header_desc::header_desc): Updated.
6251         (header_desc::write_headings): Handle multiple files.
6252         (html_printer::write_header): Save file name in which header occurs.
6253         (html_printer::determine_header_level): Possibly split files on
6254         level one headings.
6255         (html_printer::do_links, html_printer::troff_tag): Updated.
6256         (html_printer::insert_split_file, html_printer::do_job_name,
6257         html_printer::emit_link, html_printer::write_navigation,
6258         html_printer::do_file_components): New functions.
6259         (html_printer::~html_printer): Handle multiple files.
6260         (main): Handle command line option `-j'.
6262         * src/devices/grohtml/grohtml.man: Updated.
6264         * doc/Makefile.sub (pic.html), doc/Makefile.in (pic.html): New rule
6265         which splits file.
6267         * tmac/www.tmac (JOBNAME): New macro.
6268         * tmac/s.tmac (SH-NO-TAG): New macro.
6269         (@SH): Call SH-NO-TAG.
6270         (@NH): Updated.
6272 2003-07-05  Ruslan Ermilov  <ru@FreeBSD.org>
6274         * tmac/groff_mdoc.man: Improve documentation of punctuation
6275         characters.
6277 2003-07-04  Ruslan Ermilov  <ru@FreeBSD.org>
6279         * tmac/doc.tmac (Bd): Change to doc-Li-font later.
6281 2003-07-03  Werner LEMBERG  <wl@gnu.org>
6283         * tmac/an-old.tmac [cR]: Redefine `bp' to avoid empty lines.
6285 2003-07-01  Ruslan Ermilov  <ru@FreeBSD.org>
6287         * tmac/doc.tmac (doc-do-func, doc-do-func-args): Don't print a comma
6288         after `/*' and `*/'.
6289         Fix spacing.
6290         (Fn, Fo): Reduce indentation in synopsis.
6292         * tmac/doc-common (doc-check-depth): New macro.
6293         (doc-end-macro, Sh, Ss): Use it.
6294         (Cd): Fix behaviour in synopsis.
6295         (In): Make it parsed and callable.
6296         If not in the synopsis, represent the C header file enclosed in
6297         angle brackets.
6298         (doc-str-Rv-std-suffix, doc-str-Rv-stds-suffix, doc-str-Rv-std0):
6299         Use minus, not hyphen.
6301         * tmac/groff_mdoc.man: Updated.
6303 2003-07-01  Werner LEMBERG  <wl@gnu.org>
6305         Integrated grap2graph, contributed by Eric S. Raymond.
6307         * contrib/grap2graph/{Makefile.sub, grap2graph.sh, grap2graph.man}:
6308         New files.
6309         * Makefile.in, NEWS, MANIFEST, contrib/eqn2graph.man,
6310         contrib/pic2graph.man, src/roff/groff/groff.man: Updated.
6312 2003-07-01  Colin Watson  <cjwatson@debian.org>
6314         * src/xditview/*.c: Add prototypes, fix return types, add includes.
6315         Based on work by Fumitoshi UKAI <ukai@debian.or.jp>.
6317 2003-06-31  Ruslan Ermilov  <ru@FreeBSD.org>
6319         * tmac/tty-char.tmac: Provide `lb', `rb', `lk', `rk', `lt', `rt'.
6321 2003-06-31  Werner LEMBERG  <wl@gnu.org>
6323         * doc/Makefile.sub (CLEANADD): Remove all files created by
6324         running `make groff.{pdf,dvi}'.
6326         * Makefile.sub (DISTCLEANFILES): Remove all non-source files from
6327         src/xditview also.
6329 2003-06-30  Werner LEMBERG  <wl@gnu.org>
6331         * Makefile.in (SHELL): Define as @SHELL@.
6332         (mkinstalldirs): Use $(SHELL).
6333         (MDEFINES): Add $(SHELL).
6334         * Makefile.comm (SHELL): Removed.
6336 2003-06-29  Werner LEMBERG  <wl@gnu.org>
6338         * tmac/s.tmac (De, Ds): New aliases for .DE and .DS, respectively.
6339         The X11 documentation files use them.
6340         * tmac/groff_ms.man, doc/groff.texinfo: Document them.
6342 2003-06-15  Robert Goulding  <goulding@Princeton.EDU>
6344         * tmac/e.tmac (@C): Handle .ad also.
6346 2003-06-12  Werner LEMBERG  <wl@gnu.org>
6348         * src/preproc/tbl/tbl.man: Document formatting of text blocks.
6350         * src/roff/troff/input.cc (token::next) <handle_escape_char>:
6351         Assign `n' even here.  It is possible to construct a node
6352         immediately following an escape character:
6354           .di xx
6355           \?\\\?a
6356           .br
6357           .di
6358           .xx
6360 2003-06-10  Werner LEMBERG  <wl@gnu.org>
6362         * README.WIN32: Removed.
6363         * MANIFEST: Updated.
6365 2003-06-07  Werner LEMBERG  <wl@gnu.org>
6367         * src/roff/nroff/nroff.sh: Don't emit SGR for option -u.
6369 2003-06-05  Werner LEMBERG  <wl@gnu.org>
6371         * src/preproc/pic/pic.y <sprintf_args>: Implement workaround for bug
6372         in Compaq C++ V6.5-033 for Compaq Tru64 UNIX V5.1A (Rev. 1885).
6374 2003-06-03  Werner LEMBERG  <wl@gnu.org>
6376         * src/preproc/grn/hdb.cpp (DBRead): Don't close file handle; this
6377         is done by the calling function.
6379 2003-05-22  Ruslan Ermilov  <ru@FreeBSD.org>
6381         * tmac/X.tmac: Fix definition of `em'.
6383 2003-05-22  Werner LEMBERG  <wl@gnu.org>
6385         * src/roff/troff/input.cc (return_macro_request): Fix detection of
6386         argument.
6388 2003-05-18  Werner LEMBERG  <wl@gnu.org>
6390         * tmac/doc.tmac (doc-tag-list): Force horizontal mode after tag
6391         to make items work which consist only of a tag.
6393 2003-05-17  Werner LEMBERG  <wl@gnu.org>
6395         * tmac/doc.tmac (doc-tag-list): Don't use \Z to assure that spaces
6396         aren't stretched in a tag (this can fail with unformatted boxes).
6397         Instead, insert a break and go back one line.
6399 2003-05-16  Werner LEMBERG  <wl@gnu.org>
6401         * src/roff/troff/input.cc (return_macro_request): If called with
6402         argument pop macro twice.  We need this to trace `return'.
6404         * tmac/trace.tmac: Handle `return'.
6405         Fix typos.
6407         * NEWS, man/groff_diff.man, man/groff.man, doc/groff.texinfo:
6408         Document.
6410 2003-05-15  Larry Kollar  <kollar@alltel.net>
6412         * tmac/groff_ms.man, doc/groff.texinfo: Improve documentation of
6413         registers `FPS', `FVS', and `FPD'.
6415 2003-05-15  Werner LEMBERG  <wl@gnu.org>
6417         * src/utils/pfbtops/pfbtops.c (get_text): Handle loop counter
6418         correctly.
6420 2003-05-03  Ruslan Ermilov  <ru@FreeBSD.org>
6422         * tmac/groff_mdoc.man: Slight improvements.
6424 2003-05-03  Werner LEMBERG  <wl@gnu.org>
6426         * tmac/doc-common (doc-header): Emit vertical space of 1v instead of
6427         `doc-header-space' after header line if register `cR' is set.
6429 2003-05-02  Werner LEMBERG  <wl@gnu.org>
6431         * TODO: Updated.
6433 2003-05-01  Ruslan Ermilov  <ru@FreeBSD.org>
6435         * tmac/doc-common (Nd): Use \[em].
6437 2003-05-01  Werner LEMBERG  <wl@gnu.org>
6439         * tmac/doc-ditroff, tmac/doc-nroff (doc-header-space,
6440         doc-footer-space): Initialize to 0.5i.
6441         (doc-setup-page-layout): Don't set doc-header-space and
6442         doc-footer-space.
6444 2003-04-30  Werner LEMBERG  <wl@gnu.org>
6446         * REVISION: Set to 1.
6448         * doc/pic.ms: Document possible problems with `figname'.
6450 2003-04-29  Werner LEMBERG  <wl@gnu.org>
6452 Version 1.19 released
6453 =====================
6455         * VERSION: Set to 1.19.
6456         * REVISION: Set to 0.
6457         * doc/groff.texinfo, doc/webpage.ms, NEWS: Updated.
6459         * src/devices/grohtml/post-html.cpp (html_printer::~html_printer):
6460         Define charset as `US-ASCII' in html output.
6462         * tmac/www.tmac (ULE): Add missing scaling indicator.
6464         * win32-diffs: Removed.
6466 2003-04-28  Werner LEMBERG  <wl@gnu.org>
6468         * doc/groff.texinfo: Document `dn' and `dl' registers if used with
6469         `.da' and `.boxa'.
6470         Document how to insert discardable whitespace with `.ss'.
6472 2003-04-27  Werner LEMBERG  <wl@gnu.org>
6474         * src/preproc/pic/tex.cpp (tex_output::start_picture): Make code
6475         work with plain TeX also.
6477         * src/preproc/pic/pic.man, doc/pic.ms: Fix TeX code example.
6479 2003-04-25  Gaius Mulley  <gaius@glam.ac.uk>
6481         * src/devices/grohtml/post-html.cpp (html_printer::~html_printer):
6482         Use a loose DTD.
6484 2003-04-24  Werner LEMBERG  <wl@gnu.org>
6486         * src/preproc/pic/pic.man, doc/pic.ms: Explain how to get a
6487         vbox with positive height and zero depth if in TeX mode.
6489         * NEWS: Document glyph name changes for grodvi and grolj4.
6491 2003-04-23  Werner LEMBERG  <wl@gnu.org>
6493         * src/preproc/pic/tex.cpp (tex_output::start_picture): Fix TeX code.
6494         * doc/pic.ms: Fixed.
6496 2003-04-21  Werner LEMBERG  <wl@gnu.org>
6498         HP-UX 10.20 has `snprintf' but it isn't declared.
6500         * configure.ac: Add declaration test for snprintf.
6501         * configure: Regenerated.
6502         * src/include/lib.h: Handle `NEED_DECLARATION_SNPRINTF'.
6503         * src/include/config.hin: Regenerated.
6505 2003-04-19  Werner LEMBERG  <wl@gnu.org>
6507         Add keyword `figname' to pic, specifying the name of the picture
6508         box in TeX mode.  Based on a patch from William J Poser
6509         <wjposer@unagi.cis.upenn.edu>.
6511         * src/preproc/pic/pic.y: New token `FIGNAME'.
6512         (macro_name): New rule of type <str>.
6513         (placeless_element): Handle `FIGNAME'.
6514         * src/preproc/pic/lex.cpp (lookup_keyword): Add `figname'.
6515         * src/preproc/pic/main.cpp (graphname): New global variable.
6516         (do_picture): Initialize `graphname'.
6517         * src/preproc/pic/pic.h: Updated.
6518         * src/preproc/pic/tex.cpp (tex_output::start_picture): Use
6519         `graphname'.
6520         Simplify TeX code.
6521         (tex_output::text): Beautify output.
6522         * src/preproc/pic/object.cpp (object_spec::~object_spec): Deallocate
6523         `shaded' and `outlined' unconditionally.
6524         * NEWS, src/preproc/pic/pic.man, doc/pic.ms: Updated.
6525         Minor improvements.
6527         * PROBLEMS, README.CVS: Mention that bison version 1.875b or
6528         greater is necessary.
6530 2003-04-17  Hartmut Henkel  <hartmut_henkel@gmx.de>
6532         Add option -r to soelim to avoid emission of `.lf' lines.
6533         Add option -t to produces TeX comment lines instead of `.lf' lines.
6535         * src/preproc/soelim/soelim.cpp: New global variables `raw_flag'
6536         and `tex_flag'.
6537         (usage): Updated.
6538         (main): Handle `-r' and `-t'.
6539         (set_location): Handle `raw_flag' and `tex_flag'.
6540         * src/preproc/soelim/soelim.man, NEWS: Updated.
6542 2003-04-17  Werner LEMBERG  <wl@gnu.org>
6544         * tmac/hyphenex.sh: Replaced with...
6545         * tmac/hyphenex.pl: This perl script to avoid sed compatibility
6546         nightmares.
6548         * aclocal.m4 (GROFF_HTML_PROGRAMS): Emit useful warning message
6549         if --quiet is used for the configure script.
6550         * configure: Regenerated.
6552 2003-04-16  Werner LEMBERG  <wl@gnu.org>
6554         * src/devices/grohtml/post-html.cpp (text_glob::text_glob):
6555         Add `const' to second argument.
6556         (html_printer::add_table_end): Add `const' to argument.
6557         * src/devices/grohtml/html-text.cpp (html_text::issue_tag): Add
6558         `const' to arguments.
6559         * src/devices/grohtml/html-text.h: Updated.
6561         * src/devices/grolbp/charset.h (symset): Use `unsigned char'.
6562         * src/devices/grolbp/lbp.h (lbpputc): Use `unsigned char' for
6563         argument.
6565         * src/devices/grotty/tty.cpp (tty_printer::make_rgb_string): Use
6566         cast for integer constant.
6568         * src/preproc/html/pre-html.cpp (image_device): Use `const'.
6569         (writeNbytes): Add `const' to first argument.
6570         (writeString): Add `const' to argument.
6571         (char_buffer::can_see): Add `const' to third argument.
6572         * src/preproc/html/pushback.cpp (pushBackBuffer::isString): Add
6573         `const' to argument.
6574         * src/preproc/html/pushback.h: Updated.
6576         * src/preproc/soelim/soelim.cpp (include_list): Add `const'.
6577         (include_path_append): Add `const' to argument.
6578         (do_file): Updated.
6580         * src/roff/troff/uniglyph.cpp (unicode_to_glyph_list): Use `const'
6581         for `value'.
6582         (unicode_to_glyph_init::unicode_to_glyph_init): Updated.
6583         * src/roff/troff/uniuni.cpp (unicode_decompose_list): Use `const'
6584         for `value'.
6585         (unicode_decompose_init::unicode_decompose_init): Updated.
6586         * src/roff/troff/glyphuni.cpp (glyph_to_unicode_list): Use `const'
6587         for `value'.
6588         (glyph_to_unicode_init::glyph_to_unicode_init): Updated.
6589         * src/roff/troff/input.cc (process_startup_file): Add `const' to
6590         argument.
6592         * tmac/hyphenex.sh: Make script more portable by using a here
6593         document.
6595 2003-04-15  Werner LEMBERG  <wl@gnu.org>
6597         Renamed all `*.cc' files to `*.cpp'.
6598         Updated all configuration files, makefiles, and documentation.
6600 2003-04-14  Werner LEMBERG  <wl@gnu.org>
6602         * tmac/hyphenex.sh: Slight improvements.
6604 2003-04-13  Werner LEMBERG  <wl@gnu.org>
6606         * font/devascii/R.proto, font/devcp1037/R.proto,
6607         font/devlatin1/R.proto, font/devutf8/R.proto: Fill up remaining
6608         character slots with unnamed glyphs.
6610         * tmac/an-old.tmac: Fix hyphenation value if `cR' is active.
6611         (an-first): New global variable.
6612         (an-header): Emit vertical space between multiple man pages.
6614 2003-04-11  Werner LEMBERG  <wl@gnu.org>
6616         * doc/groff.texinfo, man/groff_out.man: \S only accepts integer
6617         values.
6619 2003-04-10  Werner LEMBERG  <wl@gnu.org>
6621         * PROBLEMS: Revised.
6623 2003-04-10  Bernd Warken  <bwarken@mayn.de>
6625         * doc/webpage.ms: Improved.
6627 2003-04-09  Werner LEMBERG  <wl@gnu.org>
6629         Add register \n[.height] which returns the value of \H.
6630         Add register \n[.slant] which returns the value of \S.
6632         * src/roff/troff/env.cc (init_env_requests): Implement.
6633         * NEWS, man/groff_diff.man, man/groff.man, doc/groff.texinfo:
6634         Document.
6636 2003-04-08  Werner LEMBERG  <wl@gnu.org>
6638         * tmac/html.tmac: Move some of the data into html-end.tmac.
6639         Remove most of the character translations for eqn since html fonts
6640         now cover those characters.
6641         Load www.tmac.
6642         * tmac/html-end.tmac: New file.
6643         * tmac/troffrc: Load html.tmac not www.tmac for -Thtml.
6644         * tmac/troffrc-end: Load html-end.tmac not html.tmac for -Thtml.
6645         * tmac/Makefile.sub (NORMALFILES): Add html-end.tmac.
6647 2003-04-07  Werner LEMBERG  <wl@gnu.org>
6649         * man/groff_out.man: Document negative values of `N' if -Thtml is
6650         used.
6652 2003-04-06  Werner LEMBERG  <wl@gnu.org>
6654         * Makefile.comm (depend.temp): Check location of YTABC.
6656 2003-04-05  Maciej W. Rozycki  <macro@ds2.pg.gda.pl>
6658         * doc/Makefile.in (TROFFBIN): New variable for troff
6659         binary path.
6660         (GROFFBIN): New variable for groff binary path.
6661         (groff_bin_path): Rename to GROFF_BIN_PATH.
6662         (TROFF): Use TROFFBIN.
6663         (GROFF): Use GROFFBIN and GROFF_BIN_PATH.
6664         * doc/Makefile.sub (GROFFBIN): New variable for groff
6665         binary path.
6666         (groff_bin_path): Rename to GROFF_BIN_PATH.
6667         (GROFF): Use GROFFBIN and GROFF_BIN_PATH.
6669         * Makefile.comm (install_dev): Install scripts from DEVSCRIPTS
6670         with INSTALL_SCRIPT.
6671         (uninstall_dev): Uninstall scripts from DEVSCRIPTS.
6672         * Makefile.dev (all): Depend on DEVSCRIPTS.
6673         (install_dev): Likewise.
6674         * font/devdvi/Makefile.sub (DEVSCRIPTS): New variable to hold
6675         scripts.
6676         * font/devps/Makefile.sub (DEVSCRIPTS): Likewise.
6677         (DEVGENSCRIPTS): New variable to hold generated scripts.
6679 2003-04-05  Werner LEMBERG  <wl@gnu.org>
6681         * src/libs/libdriver/input.cc (IntArray::operator[],
6682         IntArray::get_data): Remove meaningless `const' in return value.
6684         * README.CVS: New file.
6686 2003-04-04  Werner LEMBERG  <wl@gnu.org>
6688         Check for stdint.h in C++, not in C.
6690         * aclocal.m4 (GROFF_STDINT_H): New function,
6691         * configure.ac: Check for stdint.h with GROFF_STDINT_H instead of
6692         AC_CHECK_HEADERS.
6693         * configure, src/include/config.hin: Regenerated.
6694         * src/libs/libgroff/tmpname.cc: Use HAVE_CC_STDINT_H.
6697         Fix handling of &nbsp; in grohtml.  To do this, troff emits `N'
6698         with a negative value, representing the width of the unbreakable
6699         space (only for -Thtml).  grohtml then converts this back to
6700         &nbsp; and uses the value of N as its width.
6702         * src/roff/troff/node.cc (space_char_hmotion_node::tprint,
6703         unbreakable_space_node::tprint): Emit `N-<width>'.
6704         * src/include/printer.h (printer::set_numbered_char): Make it
6705         virtual.
6706         Make members `font_table' and `nfonts' protected instead of private.
6707         * src/devices/grohtml/post-html.cc
6708         (html_printer::set_numbered_char): New member function.
6711         * src/libs/libgroff/maxfilename.cc:
6712         s/HAVE_LIMITS_H/HAVE_CC_LIMITS_H/.
6714         * src/roff/troff/node.cc (unbreakable_space_node::tprint): Don't
6715         emit word marker.
6717 2003-04-03  Sergey A. Osokin  <osa@freebsd.org.ru>
6719         * man/roff.man: Small fixes.
6721 2003-04-03  Werner LEMBERG  <wl@gnu.org>
6723         Make groff independent from locale's numeric settings.
6725         * configure.ac: Check for `setlocale'.
6726         * configure, src/include/config.hin: Regenerated.
6728         * src/include/lib.h: Handle HAVE_SETLOCALE.
6730         * src/devices/grodvi/dvi.cc (main), src/devices/grolj4/lj4.cc
6731         (main), src/devices/grops/ps.cc (main), src/preproc/grn/main.cc
6732         (main), src/preproc/pic/main.cc (main): Call `setlocale'.
6735         * doc/groff.texinfo: Change dir category to `Typesetting'.
6736         (Man font macros): Mention that there is no space between arguments
6737         of .BI and friends.
6739         * src/libs/libdriver/printer.cc, src/devices/grotty/tty.cc
6740         (*printer::change_color, *printer::change_fill_color): Add missing
6741         `const'.
6743 2003-04-02  Werner LEMBERG  <wl@gnu.org>
6745         * src/devices/grohtml/html-table.cc (html_table::emit_col,
6746         html_table::is_gap): Compute table widths after converting border
6747         positions to avoid rounding errors.
6749 2003-04-01  Werner LEMBERG  <wl@gnu.org>
6751         * src/devices/grohtml/html-text.cc (html_text::do_space): Handle
6752         `space_emitted' properly.
6754 2003-03-31  Werner LEMBERG  <wl@gnu.org>
6756         * src/devices/grohtml/html-table.cc: Fix column width calculation.
6757         (html_table::set_linelength): Don't add 1.
6758         (html_table::add_indent): Don't subtract 1.
6760         * tmac/html.tmac: Set default page offset to zero.
6762 2003-03-30  Werner LEMBERG  <wl@gnu.org>
6764         Make groff emit `&nbsp;' for `\ ' and `\~' if `-Thtml' is used.
6766         * src/roff/troff/node.cc (space_char_hmotion_node::tprint,
6767         unbreakable_space_node::tprint): New functions.
6768         (troff_output_file): Make space_char_hmotion_mode::tprint and
6769         unbreakable_space_node::tprint to friends.
6770         * src/roff/troff/node.h: Updated.
6772         * font/devhtml/R.proto: Add `&nbsp' at position 0xA0 (as defined
6773         in the HTML standard).
6775 2003-03-29  Werner LEMBERG  <wl@gnu.org>
6777         * src/roff/troff/env.cc (point_size): Fix emission of html tag.
6778         Otherwise, the following code
6780           .di xxx
6781           .ps 10
6782           a
6783           .br
6784           .di
6785           x\*[xxx]
6787         produces `x a' instead of `xa'.  This is a temporary fix, disabling
6788         font changes in diversions for -Thtml.
6790         * tmac/an-old.tmac (TH, SH): Use `HTML-TAG-NS' instead of
6791         `HTML-TAG'.
6792         (an-do-tag-html): Merge with ...
6793         (an-do-tag): This macro.
6794         Change code slightly to circumvent grohtml bug.
6795         * tmac/troffrc-end: Define dummy for HTML-TAG-NS.
6797         * src/devices/grohtml/html-table.cc (html_table::emit_col,
6798         html_table::is_gap): Round `width' properly.
6800         * tmac/html.tmac: Provide some default layout parameters for
6801         grohtml.
6803         * font/devhtml/DESC.proto: Don't use discrete values for `sizes'
6804         command.
6806 2003-03-28  Werner LEMBERG  <wl@gnu.org>
6808         src/devices/grops/ps.cc (ps_printer::do_import): Fix error message.
6810 2003-03-27  Werner LEMBERG  <wl@gnu.org>
6812         * tmac/an-old.tmac (BT): Don't call .tl if register `ps4html' is
6813         defined.
6815 2003-03-20  Werner LEMBERG  <wl@gnu.org>
6817         * src/roff/troff/env.cc (vertical_spacing): Allow zero value for
6818         `.vs'.
6819         * doc/groff.texinfo: Updated.
6821 2003-03-19  Werner LEMBERG  <wl@gnu.org>
6823         * src/roff/troff/input.cc (process_input_stack) <TOKEN_BEGIN_TRAP,
6824         TOKEN_END_TRAP>: Reset `have_input'.
6826 2003-03-18  Werner LEMBERG  <wl@gnu.org>
6828         * src/roff/groff/groff.man: Mention groff_trace man page.
6830 2003-03-16  Werner LEMBERG  <wl@gnu.org>
6832         * Makefile.in (LIBEXT): New variable to indicate the file extension
6833         of library files.  Computed heuristically from $(OBJEXT).
6834         (MDEFINES): Add $(LIBEXT).
6835         * Makefile.lib, Makefile.comm: Use it.
6837         * src/utils/pfbtops/pfbtops.c (get_text): New function.  Split
6838         overlong lines into smaller chunks.
6839         (get_binary): New function.
6840         (main): Use them.
6841         * src/utils/pfbtops/pfbtops.man: Updated.
6843 2003-03-15  Colin Watson  <cjwatson@debian.org>
6845         * src/roff/groff/groff.man: Minor syntax fix.
6847 2003-03-14  Egil Kvaleberg  <egil@kvaleberg.no>
6849         * src/devices/grops/ps.cc (ps_printer::media_set,
6850         ps_printer::~ps_printer): Handle zero paper width and length.
6852 2003-03-13  Werner LEMBERG  <wl@gnu.org>
6854         Add options -p and -l to grodvi.
6856         * src/devices/grodvi/dvi.cc: Include paper.h.
6857         (landscape_flag, user_paper_length, user_paper_width): New global
6858         variables.
6859         (dvi_printer::begin_page): Emit `papersize' special.
6860         Set color after initialization of `cur_h' and `cur_v'.
6861         (main): Add options `-l' and `-p'.
6862         * font/devdvi/Makefile.sub (DESC): Set `papersize'.
6863         * src/devices/grodvi/grodvi.man, NEWS: Updated.
6865         * src/devices/grops/psrm.cc (valid_input_table): Fixed.
6867 2003-03-12  Werner LEMBERG  <wl@gnu.org>
6869         * src/devices/grops/grops.man: Move documentation of .PSPIC to...
6870         * man/groff_tmac.man: This man page.
6871         * man/groff_font.man: Declare `paperwidth' and `paperlength' as
6872         deprecated.
6874         * tmac/X.tmac: Don't load pspic.tmac.
6876 2003-03-11  Werner LEMBERG  <wl@gnu.org>
6878         Make variable `pr' local to libdriver/input.cc.  Based on a patch
6879         by Bernd Warken <bwarken@mayn.de>.
6881         * src/include/driver.h (pr): Removed.
6883         * src/libs/libdriver/input.cc (pr): New global variable.
6884         (do_file): Deallocate `pr'.
6885         * src/libs/libdriver/printer.cc (pr): Removed.
6887         * src/devices/grodvi/dvi.cc (main), src/devices/grohtml/post-html.cc
6888         (main), src/devices/grolbp/lbp.cc (main), src/devices/grolj4/lj4.cc
6889         (main), src/devices/grops/ps.cc (main), src/devices/grotty/tty.cc
6890         (main): Don't delete `pr'.
6892 2003-03-10  Werner LEMBERG  <wl@gnu.org>
6894         * tmac/a4.tmac, tmac/composite.tmac: Use `.do'.
6895         * tmac/papersize.tmac: New file.
6896         * tmac/troffrc: Include `papersize.tmac'.
6897         * tmac/Makefile.sub (NORMALFILES): Add `papersize.tmac'.
6898         * tmac/an-old.tmac: Set LT to LL by default.
6900         * NEWS, MANIFEST, tmac/groff_man.man, man/groff_tmac.man,
6901         doc/groff.texinfo: Updated.
6903         * src/libs/libgroff/paper.cc (add_iso_paper): Fix very embarassing
6904         bug which caused all odd iso papers to have wrong dimensions.
6906         * src/devices/grops/ps.cc (user_paper_width): New global variable.
6907         (main) <'p'>: Set `user_paper_width' also.
6908         (ps_printer::media_width, ps_printer::media_height): Use values
6909         given with option `-p'.
6911 2003-03-09  Werner LEMBERG  <wl@gnu.org>
6913         * src/include/nonposix.h: Provide default for SET_BINARY.
6915         * src/devices/grodvi/dvi.cc, src/devices/grolbp/lbp.cc,
6916         src/devices/grolj4/lj4.cc, src/devices/grops/ps.cc: Call SET_BINARY
6917         unconditionally.
6919         * src/utils/pfbtops/pfbtops.c: Call SET_BINARY unconditionally.
6920         (main): Treat \r\n as \n.
6922 2003-03-08  Werner LEMBERG  <wl@gnu.org>
6924         * tmac/an-old.tmac: Use register `HY' to control hyphenation.
6925         * NEWS, tmac/groff_man.man, doc/groff.texinfo: Document it.
6927 2003-03-07  Werner LEMBERG  <wl@gnu.org>
6929         Added support to access more than 256 glyphs in Type 1 fonts.
6931         * src/devices/grops/ps.cc (subencoding): New structure.
6932         (style): Add `sub' field.
6933         Updated all users.
6934         (ps_printer): Add `subencodings' and `next_subencoding_index' fields.
6935         Add `set_subencoding', `get_subfont' and `encode_subfont' member
6936         functions.
6937         Updated all users.
6938         (ps_printer::set_char): Use `set_subencoding'.
6939         (make_subencoding_name): New function.
6940         (ps_printer::set_style): Handle case where `sty.sub' is not zero.
6941         (ps_printer::~ps_printer): Emit subencoding definitions.
6943         * src/devices/grops/psrm.cc (valid_input_table): New array to
6944         properly support EBCDIC.
6945         (white_space): Add `\f'.
6946         (ps_get_line): Change first argument to be of type `string &'.
6947         Updated all callers.
6948         This allows to get lines of arbitrary length.
6949         Use `valid_input_table'.
6950         Remove warning about non-conforming PS line length.  This seems
6951         not to be of great importance -- for example, dvips don't emit
6952         a warning either.
6953         (PS_LINE_MAX): Removed.
6954         (matches_comment): Change first argument to be of type `string &'.
6956         * src/devices/grops/grops.man, src/devices/grops/TODO: Updated.
6958         * src/utils/afmtodit/afmtodit.pl (%unicode_decomposed,
6959         %AGL_to_unicode, %default_ligatures): New hash tables.
6960         Read all map entries.
6961         Add unencoded characters.
6962         Check for default ligatures if there are no `L' entries.
6963         Print all kern entries.
6964         Print all characters in charset.
6965         * src/utils/afmtodit/afmtodit.man: Updated.
6967         * font/devps/*: Regerated all fonts.
6969         * tmac/latin[129].tmac, tmac/cp1047.tmac: Don't test for existence
6970         of characters, just use `.trin'.  Otherwise the mapping depends
6971         on the font encoding.
6972         * tmac/ps.tmac: Add `fi' and `fl'.
6973         Improve `Fi' and `Fl'.
6974         * tmac/X.tmac, tmac/lbp.tmac, tmac/tty.tmac: Improve `Fi' and `Fl'.
6975         * tmac/Xps.tmac: Fix `em'.
6977         * NEWS: Updated.
6979 2003-03-04  Werner LEMBERG  <wl@gnu.org>
6981         * src/roff/troff/input.cc (charinfo_to_node_list): Reset
6982         `have_input'.
6984 2003-03-03  Werner LEMBERG  <wl@gnu.org>
6986         * Makefile.sub (DISTCLEANFILES): Add gxditview._man.
6988         * font/devps/generate/textmap: Remove entry `similarequal'.
6989         * font/devps/symbolmap: Updated.
6991 2003-03-02  Werner LEMBERG  <wl@gnu.org>
6993         * src/libs/libgroff/font.cc (font::load): Fix error message for
6994         bad character type.
6996         * src/devices/grops/grops.man: Improve documentation of the -b
6997         flag.
6999         * tmac/tty.tmac: Load latin1.tmac for all TTY devices except
7000         `ascii' and `cp1047'.
7002 2003-03-01  Werner LEMBERG  <wl@gnu.org>
7004         Document composite glyphs and the `composite' request.
7006         * man/groff.man, man/groff_diff.man, doc/groff.texinfo: Do it.
7008 2003-02-28  Werner LEMBERG  <wl@gnu.org>
7010         * font/devdvi/generate/ec.map: Add some more Unicode entities.
7011         * font/devdvi/*EC: Updated.
7013         * tmac/composite.tmac, tmac/latin2.tmac, tmac/latin9.tmac: New files.
7014         * tmac/latin1 (latin1-tr): Undo any previous mapping.
7015         * tmac/troffrc: Load `composite.tmac'.
7016         * tmac/Makefile.sub (NORMALFILES): Updated.
7018         * doc/groff.texinfo (Input Encodings): New section.
7019         * NEWS: Updated.
7021 2003-02-27  Werner LEMBERG  <wl@gnu.org>
7023         * doc/texinfo.tex: New version 2003-02-11.06.
7025         * tmac/doc-common (Dt): Don't emit warning for unknown section.
7026         * tmac/groff_mdoc.man: Fix description of `Dt'.
7028 2003-02-26  Egil Kvaleberg  <egil@kvaleberg.no>
7030         * font/devps/prologue.ps: Fix for included Postscript that does
7031         a setpagedevice -- which is now safely ignored.
7033         * NEWS: Updated.
7035         * src/devices/grops/ps.cc: Now sets the page size in the generated
7036         document.  This is done in two ways: Via a %%-comment for gv and
7037         the like, and via a PageSize and setpagedevice for programs that
7038         understands Postscript proper, like ps2pdf.
7040         * src/devices/grops/ps.h: New broken-flag to avoid page size
7041         definition, if required.
7043         * src/devices/grops/grops.man: New broken-flag 16 mentioned.
7045         * doc/Makefile.in: Added -nosetpage flag (via @pnmtops_nosetpage@).
7046         Not really necessary due to the fix in prologue.ps, but cleaner:
7047         Such information does not belong in an .eps file.
7049         * doc/Makefile.sub: See doc/Makefile.in.
7051 2003-02-26  Ralph Corderoy  <ralph@inputplus.co.uk>
7053         * aclocal.m4 (GROFF_PNMTOPS_NOSETPAGE): Use P2 format for testing
7054         instead of P1 since the latter is broken in some versions of netpbm.
7055         * configure: Updated.
7057 2003-02-26  Larry Kollar  <kollar@alltel.net>
7059         Make man pages more customizable.
7061         * tmac/an-old.tmac (FT): New register holding footer distance from
7062         bottom.
7063         (HF): New string holding the default heading font.
7064         (TH): Handle registers `IN' and `SN' set on the command line.
7065         Use `FT'.
7066         (PT, BT): New strings to customize header and footer lines.
7067         (an-header, an-footer): Use them.
7068         (SH, SS): Use `HF'.
7069         * tmac/groff_man.man: Document changes.
7071         * doc/groff.texinfo: Document man changes.
7072         Document Ultrix extensions of man.
7074 2003-02-26  Werner LEMBERG  <wl@gnu.org>
7076         * src/roff/troff/input.cc (do_width, do_if_request): Reset
7077         `have_input' after changing back to old environment.
7079         * src/devices/grolbp/lbp.cc (lbp_printer::set_line_thickness): Move
7080         function up to be defined before first call.  This is necessary to
7081         avoid a compilation problem with Sun's WorkShop 6 C++ compiler.
7083         * src/utils/afmtodit/afmtodit.pl: Make script search for files in
7084         the default font directory also.  Based on a patch from James
7085         J. Ramsey <jjramsey_6x9eq42@yahoo.com>.
7086         * src/utils/afmtodit/Makefile.sub (afmtodit): Handle @FONTDIR@.
7087         * src/utils/afmtodit/afmtodit.man: Document it.
7089         * NEWS: Updated.
7091         * tmac/groff_man.man, doc/groff.texinfo: Many minor fixes.
7093 2003-02-25  Gaius Mulley  <gaius@glam.ac.uk>
7095         * aclocal.m4 (GROFF_HTML_PROGRAMS): Add test for pnmtops.
7096         (GROFF_PNMTOPS_NOSETPAGE): New macro.
7097         * configure.ac: Use it.
7098         * configure: Regenerated.
7099         * Makefile.in: Updated.
7101         * tmac/Makefile.sub (NORMALFILES): Remove www.tmac.
7102         (CLEANADD): Add www.tmac-sed.
7103         (pnmtops_nosetpage): Define default.
7104         (install_data): Handle www.tmac-sed and substitute
7105         @PNMTOPS_NOSETPAGE@.
7106         (stamp-sed): Add www.tmac.
7107         * tmac/www.tmac: Rewritten, based on a patch by Bernd Warken.
7108         It now breaks URLs at suitable places.
7109         (www:substring_ok): New register set by...
7110         (www:@test_substring): New macro.
7111         (www:error): New alias to www-error.
7112         (www:lenstr, www:splitstr, www:url_breaks, www:url_breaks_splitted):
7113         New macros.
7114         (URL): Use www:url_breaks.
7115         (PIMG, MPIMG): Use @PNMTOPS_NOSETPAGE@.
7116         (CDS, CDE): New macros.
7118 2003-02-25  Werner LEMBERG  <wl@gnu.org>
7120         * src/devices/grops/ps.cc (ps_printer::define_encoding): Avoid
7121         buffer overflow.
7123 2003-02-24  Werner LEMBERG  <wl@gnu.org>
7125         Contrary to the PCL5 Developer's Guide, the ascenders in TFM files
7126         can be negative also.
7128         * src/utils/hpftodit/hpftodit.cc (char_info): `ascent' must be
7129         `int16'.
7130         (read_char_table): Avoid negative ascenders.
7131         (output_charset): Add cast.
7132         * font/devlj4/*: Regenerated.
7134         Replace unnamed glyphs for DVI fonts with `uXXXX' glyph names where
7135         possible.
7137         * font/devdvi/generate/{tc,texttt,ec,texmi,texsy,textex}.map: Do it.
7138         * font/devdvi/generate/textex.map: Map glyph 23 to `u21C6' instead
7139         of `<>'.
7140         * font/devdvi/*: Regenerated.
7142         Map `la' and `ra' to U+27E8 and U+27E9.  These two characters have
7143         normal width, while the previously used characters (U+2329 and
7144         U+232A) are classified as wide due to canonical equivalence with the
7145         CJK punctuation characters U+3008 and U+3009.
7147         * font/devutf8/R.proto: Updated.
7148         * src/roff/troff/uniglyph.cc, src/roff/troff/glyphuni.cc: Ditto.
7150         * man/groff_char.man: Simplify handling of table traps by
7151         introducing `start block' and `end block' macros.
7152         (Ns, Ne, 2s, 2e, Ds, De): New macros.
7153         (DL): Make it work with Unix troff also.
7154         Fix code values of `la' and `ra'.
7156         * tmac/dvi.tmac: Define `<>' for CW and CWI.
7158 2003-02-23  Gaius Mulley  <gaius@glam.ac.uk>
7160         * src/devices/grohtml/post-html.cc (element_list::~element_list):
7161         New destructor, fixing a major memory leak.
7163 2003-02-22  Werner LEMBERG  <wl@gnu.org>
7165         * font/devhtml/R.proto, font/devutf8/R.proto: Flip `*f' and `+f'
7166         to be in conformance with Unicode 3.0 and newer.
7168         * font/devlj4/generate/text.map: Add `Eu'.
7169         * font/devlj4/generate/special.map: Flip `*e' and `+e'.
7170         * font/devlj4/S: Regenerated.
7172         * man/groff_char.man: Completely rewritten.
7174         * doc/groff.texinfo: Fix description of request and macro arguments.
7176 2003-02-20  Gaius Mulley  <gaius@glam.ac.uk>
7178         Valgrind fixes.
7180         * src/devices/grohtml/html-table.cc (html_table::~html_table):
7181         Deallocate `columns' list.
7182         * src/devices/grohtml/post-html.cc (char_block::~char_block):
7183         New destructor.
7184         (text_glob::text_glob_html, text_glob::text_glob_special,
7185         text_glob::text_glob_line, text_glob::text_glob_auto_image,
7186         text_glob::text_glob_tag): Avoid memory leaks.
7187         (text_glob::remember_table): Free memory before reassigning.
7189 2003-02-19  Werner LEMBERG  <wl@gnu.org>
7191         Add glyph `+e', greek lunate epsilon symbol, and `-h' (with the
7192         alias `hbar'), the Planck constant over two pi.
7194         * font/devdvi/generate/texmi.map: Use `*e' for position 15 and
7195         `+e' for position 34.
7196         * font/devdvi/generate/texsy.map: Replace `DI' and `HE' with
7197         `u2662' and `u2661'.
7198         * font/devdvi/{MI,S}: Regenerated.
7199         * font/devhtml/R.proto, font/devutf8/R.proto: Add `+e', `-h', `hbar'.
7200         * font/devlbp/*: Add `hbar' alias.
7201         * font/devlj4/generate/special.map: Ditto.
7202         * font/devlj4/S: Regenerated.
7203         * font/devps/generate/symbolchars: Add `+e'.
7204         * font/devps/generate/textmap: Fix PS name for `-h'.
7205         Add `hbar' alias.
7206         * font/devps/symbolmap: Regenerated.
7208         * src/devices/grops/ps.cc (transform_fill): Removed since unused.
7210         * src/roff/troff/glyphuni.cc (glyph_to_unicode_list): Add `+e',
7211         `-h', `hbar'.
7212         * src/roff/troff/uniglyph.cc (unicode_to_glyph_list): Add `+e',
7213         `-h'.
7215         * tmac/X.tmac, tmac/ps.tmac: Provide definitions for `-h' and
7216         `hbar'.
7217         * tmac/tty-char.tmac: Add `+e'.
7219 2003-02-17  Werner LEMBERG  <wl@gnu.org>
7221         Another round trying to really fix problems with `have_input'.
7223         * src/roff/troff/input.cc (input_stack::get): Handle `have_input'.
7224         (token::next) <'\n'>, <\'\n'>: Don't handle `have_input'.
7226         * src/devices/grotty/tty.cc (tty_printer::put_color): Fix color
7227         handling if both foreground and background colors are default.
7229         * doc/groff.texinfo (Debugging): Document .lf differences to
7230         AT&T troff.
7232 2003-02-16  Werner LEMBERG  <wl@gnu.org>
7234         * src/devices/grotty/tty.cc (tty_printer::make_rgb_string): Avoid
7235         null-bytes in created string.
7237         * src/roff/troff/input.cc (lookup_color, interpolate_macro,
7238         alias_macro, lookup_request): Improve warning messages.
7240         * src/roff/troff/node.cc (suppress_node::tprint): Use `strsave',
7241         not `strdup'.
7242         Free `last_image_filename'.
7244         * src/preproc/html/pre-html.cc (char_block::char_block): Initialize
7245         `buffer'.
7246         (imageList::createPage, imageList::createImage): Use `free', not
7247         `a_delete'.
7248         (imageItem::~imageItem): Free `imageName'.
7249         (addRegDef): Use `strsave', not `strdup'.
7250         (get_resolution): Free `pathp'.
7252 2003-02-15  Werner LEMBERG  <wl@gnu.org>
7254         * src/devices/grotty/tty.cc (tty_printer::tty_printer): Fix pointer
7255         to `dummy'.
7257 2003-02-14  Werner LEMBERG  <wl@gnu.org>
7259         Add memory management for colors to deallocate unnamed colors
7260         properly.
7262         * src/include/color.h (color): New members `free_list' and `next'.
7263         New member functions `new' and `delete'.
7264         Add destructor.
7265         * src/libs/libgroff/color.cc: Implement it.
7267         * src/libs/libgroff/font.cc (font::add_kern): Use integer cast
7268         for array size of new operator.
7270         * src/libs/libdriver/input.cc (IntArray::operator[]): Remove
7271         redundant comparison.
7273         * src/roff/troff/input.cc (word_space_node::reread,
7274         hmotion_node::reread): Avoid warning about unused parameter.
7275         (reset_output_registers): Remove redundant parameter.
7276         (define_color): Undo change 2003-02-12.
7278         * src/roff/troff/reg.h: Updated.
7280         * src/roff/troff/node.cc (troff_output_file::really_print_line,
7281         output_file::put_filename, real_output_file::really_put_filename,
7282         ascii_output_file::really_print_line,
7283         break_char_node::get_hyphen_list): Avoid warning about unused
7284         parameter.
7285         (suppress_node::tprint): Updated.
7287         * configure.ac: Check declaration for rand() and srand().
7288         * configure: Regenerated.
7290         * src/preproc/pic/pic.h: Declare fmod(), rand(), and srand()
7291         conditionally.
7292         * src/preproc/pic/pic.y: Remove declaration of fmod(), rand(),
7293         and srand().
7295         * src/preproc/eqn/delim.cc (delim_table): Add missing initializers
7296         to avoid compiler warnings.
7298         * src/preproc/grn/hgraph.cc (HGPrintElt): Second parameter is
7299         unused.
7301         * src/devices/grops/ps.cc (ps_printer::set_char): Last parameter
7302         is unused.
7303         * src/devices/grops/psrm.cc (skip_possible_newline): Remove first
7304         (unused) parameter.
7305         Updated all callers.
7307         * src/devices/grotty/tty.cc (tty_printer::set_char): Last parameter
7308         is unused.
7309         * src/devices/grodvi/dvi.cc (dvi_printer::set_char): Ditto.
7310         * src/devices/grolj4/lj4.cc (lj4_printer::set_char): Ditto.
7312         * src/devices/grohtml/post-html.cc (html_printer::emit_line):
7313         Parameter is unused.
7314         (html_printer::add_table_end): Define parameter conditionally.
7315         * src/devices/grohtml/output.cc (simple_output::special): Parameter
7316         is unused.
7318         * src/devices/grolbp/lbp.cc: Define _GNU_SOURCE conditionally.
7319         (lbp_printer::set_char): Last parameter is unused.
7321         * src/utils/indxbib/indxbib.cc (main): Remove redundant comparison.
7323 2003-02-13  Werner LEMBERG  <wl@gnu.org>
7325         New commands \D'Fr ...', \D'Fc ...', etc. for orthogonality.
7326         Make \D'f ...' move horizontally again for backwards compatibility.
7327         Replace it with \D'Fg ...' where appropriate to avoid dependency
7328         on horizontal resolution.
7330         * src/roff/troff/input.cc (do_get_long_name): New function.
7331         (get_long_name): Call it.
7333         (read_draw_node): Handle `\D'Fx ...' by calling ...
7334         (read_color_draw_node): New function.
7336         (read_rgb, read_cmy, read_cmyk, read_gray): New optional argument
7337         `end'.
7338         Pass it to `do_get_long_name' which is used instead of
7339         `get_long_name'.
7341         * src/libs/libdriver/input.cc (color_from_Df_command): Remove
7342         unnecessary value guard.
7343         (parse_D_command) <'f'>: Add horizontal shift.
7345         * src/preproc/grn/hgraph.cc (HGPrintElt) <POLYGON>: Use \D'Fg ...'.
7346         * src/preproc/pic/troff.cc (troff_output::set_fill): Ditto.
7347         (FILL_MAX): Removed.
7349         * NEWS, man/groff_diff.man, man/groff.man, doc/groff.texinfo:
7350         Updated.
7352 2003-02-12  Werner LEMBERG  <wl@gnu.org>
7354         * src/roff/troff/input.cc (do_name_test, do_expr_test,
7355         do_zero_width): Push `\n' if closing delimiter is missing.
7357         (token::next) <ESCAPE_NEWLINE>, <'\n'>, <\'\n'>: Reset `have_input'.
7358         <'F'>: Make \F non-transparent at the beginning of line.
7359         (process_input_stack) <token::TOKEN_CHAR, token::TOKEN_NEWLINE,
7360         token::TOKEN_REQUEST, token::TOKEN_BEGIN_TRAP>: Don't handle
7361         `have_input'.
7363         (define_color): Free color in case of reassignment.
7365         * doc/groff.texinfo (@Defesc, @DefescList, @DefescItem,
7366         @DefescListEnd): Use @Var, not @var.
7367         Fix all calls.
7369         * src/preproc/grn/hgraph.cc (HGPrintElt): Fix typo.
7371         * src/preproc/pic/object.cc (object_spec::~object_spec): Free
7372         `shaded' and `outlined' arrays.
7373         (object_spec::object_spec): Initialize `shaded' and `outlined'.
7374         (graphic_object::set_fill_color, graphic_object::set_outline_color):
7375         Use strsave.
7376         (closed_object::set_fill_color): Ditto.
7377         * src/preproc/pic/troff.cc (troff_output::set_color): Use strsave
7378         instead of strdup.
7379         (troff_output::reset_color): Use a_delete instead of free.
7380         * src/preproc/pic/main.cc (do_file): Free `out' in case of error.
7382 2003-02-11  Werner LEMBERG  <wl@gnu.org>
7384         * doc/groff.texinfo: Improve documentation of `ad'.
7385         Document that \D'f...' is dependent on the horizontal resolution.
7386         * man/groff_diff.man: Improve documentation of \D'f...'.
7388         * src/preproc/grn/hgraph.cc (HGPrintElt) <POLYGON>: Don't emit
7389         compensating \h'...' for \D'f ...' since the latter no longer moves
7390         current position.
7391         * src/preproc/pic/troff.cc (troff_output::set_fill): Ditto.
7393 2003-02-10  Werner LEMBERG  <wl@gnu.org>
7395         Improve error messages for `x F' (and `F') commands.
7397         * src/include/error.h: Add declaration for
7398         `current_source_filename'.
7399         * src/libs/libgroff/filename.cc: Add `current_source_filename'.
7400         * src/libs/libgroff/error.cc (do_error_with_file_and_line): Add
7401         parameter for source file string.
7402         Updated all callers.
7404         * src/libs/libdriver/input.cc: Add `current_source_filename'.
7405         (remember_source_filename): New function.
7406         (parse_x_command <'F'>, do_file <'F'>): Use it.
7408 2003-02-09  Werner LEMBERG  <wl@gnu.org>
7410         Make grotty not emit warnings about unknown colors more than
7411         necessary.
7413         * src/devices/grotty/tty.cc: Include `ptable.h'.
7414         (TTY_MAX_COLORS): Removed.
7415         (DEFAULT_COLOR_IDX): Defined to -1.
7416         (glyph): Change `back_color_idx' and `fore_color_idx' to `char'.
7417         (tty_printer): Change `curr_back_idx' and `curr_fore_idx' to `char'.
7418         Change `tty_colors' to be a ptable.
7419         First arg of `put_color' is now `char'.
7420         New functions `make_rgb_string' and `tty_color'.
7421         (tty_printer::tty_printer): Use `tty_color'.
7422         (tty_printer::color_to_idx): Return value is now `char'.
7423         Use `tty_color'.
7425         * src/include/color.h (color): Add `print_color' member function.
7426         * src/libs/libgroff/color.cc (color::print_color): Implement it.
7428 2003-02-08  Werner LEMBERG  <wl@gnu.org>
7430         Valgrind fixes.
7432         * src/devices/grops/ps.cc (ps_printer::define_encoding): Close
7433         encoding file.
7435         * src/include/ptable.h (PTABLE::~PTABLE, PTABLE::define): Always
7436         assume that value has been allocated with `new[]', thus use
7437         `a_delete' for deallocation.
7439         * src/libs/libdriver/input.cc (get_integer_arg,
7440         get_possibly_int_args, parse_x_command, do_file): Use `a_delete'
7441         where appropriate.
7443         * src/libs/libgroff/new.cc (delete) [!COOKIE_BUG]: Define.
7444         * src/libs/libgroff/nametoindex.cc
7445         (character_indexer::named_char_index): Use `new <type>[1]'.
7447         * src/preproc/eqn/lex.cc (init_table, do_definition): Use `new
7448         <type>[1]'.
7449         * src/preproc/eqn/text.cc (set_special_char_type): Ditto.
7450         (split_text): Use `a_delete'.
7452         * src/preproc/pic/pic.y (define_label, define_variable): Use `new
7453         <type>[1]'.
7455         * src/roff/troff/env.cc (environment::choose_breakpoint): Avoid
7456         harmless memory leak.
7457         (hyphen_trie::read_patterns_file): Initialize `buf'.
7458         * src/roff/troff/node.cc (troff_output_file::troff_output_file):
7459         Initialize `current_fill_color'and `current_glyph_color'.
7460         * src/roff/troff/glyphuni.cc
7461         (glyph_to_unicode_init::glyph_to_unicode_init): Use `new <type>[1]'.
7462         * src/roff/troff/uniuni.cc
7463         (unicode_decompose_init::unicode_decompose_init): Ditto.
7464         * src/roff/troff/uniglyph.cc
7465         (unicode_to_glyph_init::unicode_to_glyph_init): Ditto.
7467 2003-01-26  Werner LEMBERG  <wl@gnu.org>
7469         * src/utils/indxbib/indxbib.cc (main) [__EMX__]: Check with
7470         `access' before calling `unlink'.
7471         (do_file): Handle __EMX__.
7473         * src/include/nonposix.h: Handle __EMX__.
7475         * Makefile.in (SEP): New variable; set to @PATH_SEPARATOR@.
7476         (fontpath,tmacpath): Use it.
7477         (MDEFINES): Add it.
7478         Sorted alphabetically.
7480         * src/preproc/eqn/neqn.sh, src/roff/nroff/nroff.sh: Use
7481         @SEP@.
7482         * src/preproc/eqn/Makefile.sub, src/roff/nroff/Makefile.sub: Handle
7483         @SEP@.
7485 2003-01-27  Werner LEMBERG  <wl@gnu.org>
7487         * src/libs/libgroff/strcasecmp.c, src/libs/libgroff/strncasecmp.c:
7488         New files, copied from gnulib.
7489         * src/libs/libgroff/Makefile.sub (CSRCS): Add them.
7490         * configure.ac: Updated.
7491         * configure: Regenerated.
7493         * src/include/config.hin: Regenerated.
7494         * src/include/lib.h [!HAVE_STRCASECMP]: Declare `strcasecmp'.
7495         Don't define `strcasecmp' as `strcmp'.
7496         [!HAVE_STRNCASECMP]: Declare `strncasecmp'.
7497         Dont define `strncasecmp' as `strncmp'.
7499         * src/roff/groff/pipeline.c [!HAVE_STRCASECMP, !HAVE_STRNCASECMP]:
7500         Removed.
7502 2003-01-26  Werner LEMBERG  <wl@gnu.org>
7504         * src/utils/indxbib/indxbib.cc (main) [__EMX__]: Fix typo:
7505         s/unline/unlink/.
7507 2003-01-25  Werner LEMBERG  <wl@gnu.org>
7509         * doc/groff.texinfo (Ligatures and Kerning): Mention limitations.
7511 2003-01-24  Werner LEMBERG  <wl@gnu.org>
7513         Add US-english hyphenation exceptions (converted from Barbara
7514         Beeton's hyphenation exception log reports which appear irregularly
7515         in TUGBoat).
7517         * tmac/hyphen.us: Updated to latest version.
7518         * tmac/README: Updated.
7519         * tmac/hyphenex.us, tmac/hyphenex.sh: New files.
7520         * tmac/troffrc: Load `hyphenex.us'.
7521         * tmac/Makefile.sub (NORMALFILES): Add `hyphenex.us'.
7522         * doc/groff.texinfo: Updated.
7524 2003-01-23  Werner LEMBERG  <wl@gnu.org>
7526         Improve hyphenation slightly.  This is a first step in redesigning
7527         the hyphenation algorithm to make it more flexible (e.g. allowing
7528         kerns and ligatures between the hyphenation character and the
7529         following character -- while not used normally in English, other
7530         languages like German would benefit).
7532         * src/roff/troff/env.cc (environment::hyphenate_line): Use
7533         assertion instead of if-clause.
7534         Let `get_hyphen_list' return the number of involved characters in
7535         the hyphenation pattern instead of computing it directly (which
7536         often yields too small values).
7537         * src/roff/troff/node.h (*::get_hyphen_list): Add second parameter.
7538         * src/roff/troff/node.cc (*::get_hyphen_list): Handle new second
7539         parameter.
7541 2003-01-22  Werner LEMBERG  <wl@gnu.org>
7543         Fixing a bug which caused groff to hang if the hyphenation exception
7544         dictionary tried to grow.
7546         * src/roff/troff/env.cc (hyphen_trie::insert_hyphenation,
7547         hyphen_trie::read_patterns_file, do_hyphenation_patterns_file): Use
7548         pointer to dictionary.
7550 2003-01-20  Werner LEMBERG  <wl@gnu.org>
7552         * src/utils/afmtodit/afmtodit.pl: Add switch `-m' to suppress
7553         negative left italic correction.
7554         * src/utils/afmtodit/afmtodit.man: Document it.
7556         * font/devps/generate/Makefile (RFLAG): Add `-m'.
7557         * font/devps/{AB,AR,BMB,BMR,CB,CR,EURO,HB,HR,HNB,HNR,NB,NR,PB,PR,
7558         S,TB,TR,ZD,ZDR}: Regenerated with afmtodit options `-i 0 -m'.
7560         * NEWS: Updated.
7562 2003-01-16  Werner LEMBERG  <wl@gnu.org>
7564         * NEWS: Updated.
7566 2003-01-16  Jörgen Grahn  <jgrahn@algonet.se>
7568         * src/preproc/refer/refer.man: Mention REFER environment variable.
7570 2003-01-05  Werner LEMBERG  <wl@gnu.org>
7572         Similar to \[is], the square root glyph (\[sr]) and the square root
7573         extension glyph (\[radicalex]) are now text symbols.  The new
7574         mathematical versions are called \[sqrt] and \[sqrtex],
7575         respectively.
7577         * font/devX*/S: Regenerated.
7578         * font/devdvi/generate/texex.map: Rename `sr[0123]' to `sqrt[0123]'.
7579         * font/devdvi/generate/texsy.map: Rename `sr' to `sqrt'.
7580         * font/devdvi/EX, font/devdvi/S: Regenerated.
7581         * font/devhtml/R.proto, font/devutf8/R.proto: Add `sqrt'.
7582         * font/devlj4/generate/special.map: Add `sqrt'.
7583         * font/devlj4/S: Regenerated.
7584         * font/devps/generate/textmap: Add `sqrt'.
7585         * font/devps/S, font/devps/symbolmap: Regenerated.
7587         * src/preproc/eqn/sqrt.cc (SQRT_CHAR, RADICAL_EXTENSION_CHAR,
7588         SQRT_CHAIN, BAR_CHAIN): Use `sqrt*' and `sqrtex*'.
7589         * src/roff/troff/input.cc (init_charset_table): Make `sqrtex'
7590         overlap horizontally.
7592         * tmac/X.tmac, tmac/ps.tmac, tmac/lj4.tmac: Add `sqrtex'.
7593         * tmac/dvi.tmac: Add `sr', and `sqrtex'.
7594         Fix `radicalex'.
7596         * doc/groff.texinfo, man/groff_diff.man: Document that `radicalex'
7597         and `sqrtex' are overlapping glyphs.
7599 2003-01-04  Werner LEMBERG  <wl@gnu.org>
7601         * font/devdvi/generate/texsy.map: Add `is'.
7602         * font/devps/symbolmap: Regenerated.
7603         * font/devdvi/*TC, MI, S: Regenerated.
7605         * tmac/dvi.tmac: Remove `is'.
7607 2003-01-03  Werner LEMBERG  <wl@gnu.org>
7609         `is' is now a text symbol (only relevant for dvi).  The math variant
7610         can be accessed with `integral'.
7612         * font/devX*/S: Regenerated.
7613         * font/devdvi/generate/texex.map: Remove `is'.
7614         * font/devdvi/EX: Updated.
7615         * font/devhtml/R.proto, font/devutf8/R.proto: Add `integral'.
7616         * font/devlj4/generate/special.map: Ditto.
7617         * font/devlj4/S: Regenerated.
7618         * font/devps/generate/textmap: Add `integral'.
7619         * font/devps/S: Regenerated.
7621         * tmac/dvi.tmac: Define `is'.
7623         * src/roff/troff/glyphuni.cc (glyph_to_unicode_list): Add `integral'.
7625         * src/preproc/tbl/main.cc (process_format): Fix error message.
7627 2003-01-02  Werner LEMBERG  <wl@gnu.org>
7629         * font/devhtml/R.proto, font/devutf8/R.proto: Add `ne' and `nc'.
7630         * font/devps/textmap: Fix entries for `ne' and `nc'.
7631         * font/devps/symbolmap: Regenerated.
7633         * src/roff/troff/glyphuni.cc (glyph_to_unicode_list),
7634         src/roff/troff/uniglyph.cc (unicode_to_glyph_list): Add `18',
7635         `38', `58', `78', `-+', `|=', `nc', `ne'.
7637         * tmac/dvi.tmac: Add `nm', `ne', `nc'.
7638         Use `schar' for `aq'.
7639         * tmac/ps.tmac, tmac/X.tmac: Add `nc' and `ne'.
7640         * tmac/ec.tmac: Add `SC' to special fonts for `CW' and `CWI'.
7641         * tmac/tty.tmac: Add `ne'.
7643         * src/roff/troff/node.cc (make_glyph_node): Test with `get_macro'
7644         for fallback glyphs.
7646 2002-12-29  Werner LEMBERG  <wl@gnu.org>
7648         Add glyph `|='.
7650         * font/devX*/*: Regenerated.
7651         * font/devdvi/generate/ec.map: Remove `eq'.
7652         * font/devdvi/generate/texsy.map: Make `~=' the same as `~~'.
7653         Assign `|=' to position 39.
7654         * font/devdvi/*EC, S: Regenerated.
7655         * font/devhtml/R.proto, font/devutf8/R.proto: Add `|='.
7656         * font/devlj4/generate/special.map: Make `~=' the same as `~~'.
7657         Assign `|=' to position 549.
7658         * font/devps/generate/textmap, font/devps/enerate/symbolmap: Remove
7659         `equalmath'.
7660         Add `uni2243' for `|='.
7662         * tmac/ec.tmac: Add `eq'.
7663         * tmac/dvi.tmac: Add `=~'.
7664         * tmac/tty-char.tmac, tmac/ps.tmac, tmac/X.tmac, tmac/lbp.tmac: Add
7665         `|='.
7667 2002-12-21  Werner LEMBERG  <wl@gnu.org>
7669         * font/devdvi/generate/tc.map: Remove `**'.
7670         * font/devdvi/*TC: Regenerated.
7671         * font/devhtml/R.proto, font/devutf8/R.proto: Add `18', `38', `58',
7672         `78', `<<', `>>'.
7673         * font/devutf8/NOTES: Updated.
7675         * src/roff/troff/charinfo.h (charinfo): Add `setx_macro' function.
7676         Don't give default parameter to `set_macro'.
7677         * src/roff/troff/input.cc (do_define_character): Use `setx_macro'
7678         instead of `set_macro'.
7679         (charinfo::setx_macro): Implement it.
7680         (charinfo::set_macro): Don't change `mode'.
7682         * tmac/tty.tmac: Add `18', `38', `58', `78', `<<', `>>'.
7683         * tmac/ps.tmac, tmac/X.tmac: Add `<<', `>>'.
7684         * tmac/dvi.tmac: Define `!=' with `.schar'.
7686 2002-12-20  Werner LEMBERG  <wl@gnu.org>
7688         * font/devX*/S: Regenerated.
7689         * font/devdvi/generate/ec.map: Remove `pl'.
7690         * font/devdvi/generate/tc.map: Remove `mi', `14', `12', `34'.
7691         * font/devdvi/*{TC,EC}: Regenerated.
7692         * font/devhtml/R.proto: Add `-+'.
7693         Remove double entries for `rk', `lk', `lt', `rt', `rb', `lb'.
7694         * font/devlbp/*: Remove `or'.
7695         * font/devlj4/generate/special.map: Remove `or'.
7696         * font/devlj4/S: Regenerated.
7697         * font/devps/generate/textmap: Add `fiveeighths', `oneeighth',
7698         `seveneighths', `threeeighths'.
7699         Remove `plusmath'.
7700         Replace `minusplus' with `uni2213'.
7701         * font/devps/symbolmap: Regenerated.
7702         * font/devutf8/R.proto: Replace `shc' with unnamed glyph.
7703         Add `-+'.
7705         * src/roff/troff/charinfo.h (charinfo): Add `is_normal' inline
7706         function.
7707         * src/roff/troff/node.cc (troff_output_file::put_char_width):
7708         Call glyph_color and fill_color even if tcommand_flag isn't set.
7709         (make_node, node::add_char): Check not ci->is_fallback but
7710         ci->is_normal.
7712         * tmac/lj4.tmac, tmac/lbp.tmac: Define `or'.
7713         * tmac/ec.tmac: Add .rchar entry for `f/'.
7714         Don't remove `12', `14', `34'.
7715         Define `pl' to be always roman.
7716         * tmac/ps.tmac (ps-frac, ps-frac-mono): New macros.
7717         Define `18', `38', `58', `78'.
7718         * tmac/tty.tmac: Add `-+'.
7719         * tmac/dvi.tmac: Define `f/'.
7720         (dvi-frac): Use `f/'.
7721         * tmac/X.tmac (X-frac, X-frac-mono): New macros.
7722         Define `18', `38', `58', `78'.
7724 2002-12-15  Colin Watson  <cjwatson@debian.org>
7726         * contrib/pic2graph/pic2graph.sh: Add missing `;;'.
7728 2002-12-10  Werner LEMBERG  <wl@gnu.org>
7730         Add glyph `tno', a textual variant of `no'.
7732         * font/devX*/*: Regenerated.
7733         * font/{devcp1047,devlatin1,devutf8,devhtml}/R.proto: Add `tno'.
7734         * font/devdvi/generate/{tc.map: Replace `no' with `tno'.
7735         * font/devdvi/generated/{texsy,textex}.map: Add `tno'.
7736         * font/devdvi/*: Regenerated.
7737         * font/devlbp/*: Add `tno'.
7738         * font/devlj4/generate/tex.map: Replace `no' with `tno'.
7739         * font/devlj4/*: Regenerated.
7740         * font/devps/generate/textmap: Replace `no' with `tno'.
7741         * font/devps/generate/symbolchars: Add `no'.
7742         * font/devps/*: Regenerated.
7744         * src/roff/troff/glyphuni.cc (glyph_to_unicode_list): Add `tno'.
7746         * tmac/cp1047.tmac, tmac/latin1.tmac: Replace `no' with `tno'.
7747         * tmac/tty-char.tmac: Add entry for `tno' and `3d'.
7749         * NEWS: Updated.
7751         * tmac/dvi.tmac: Replace most `\\' with `\E'.
7752         Add definition for `sd'.
7753         * tmac/X.tmac, tmac/ps.tmac: Replace most `\\' with `\E'.
7755         * tmac/eqnrc <dvi>: Use `integral' instead of `is' glyph.
7757 2002-12-08  Werner LEMBERG  <wl@gnu.org>
7759         * tmac/an-old.tmac (TH): Use integer value for `IN' if in nroff
7760         mode to avoid rounding errors.
7761         (an-do-tag, an-do-tag-html, RS, RE): Remove redundant `.br'.
7763         * src/roff/groff/groff.man, src/roff/nroff/nroff.man,
7764         src/roff/troff/troff.man: Improve documentation of -T.
7766 2002-12-07  Jeff Conrad  <jeff_conrad@msn.com>
7768         * src/roff/groff/pipeline.c: Don't define `const' for _WIN32.
7769         (run_pipeline) [_WIN32]: Provide working function without `fork'.
7771 2002-12-06  Werner LEMBERG  <wl@gnu.org>
7773         * font/devps/generate/freeeuro.sfd: Make dimensions of Euro.symbol
7774         glyphs compatible to Adobe's Euro fonts (scaling them down a bit).
7775         Scaling Euro.sansserif glyphs down to have the same height as
7776         digits.
7777         Removed unnecessary points; added some extrema.
7779         * font/devps/EURO, font/devps/freeeuro.afm, font/devps/freeeuro.pfa:
7780         Regenerated.
7782 2002-12-04  Werner LEMBERG  <wl@gnu.org>
7784         * font/devps/generate/freeeuro.sfd: Add glyphs `Euro.symbol.slanted'
7785         and `Euro.symbol.bold.slanted'.
7786         Improve some glyph offsets and widths.
7787         * font/devps/EURO, font/devps/freeeuro.afm, font/devps/freeeuro.pfa:
7788         Regenerated.
7789         * font/devps/generate/Makefile (freeeuro.afm freeeuro.pfa): Fix
7790         typo.
7791         * font/devps/generate/sfdtopfa.pe: Generate PFA in current
7792         direcory.
7794         * tmac/europs.tmac: Updated to new glyph indices.
7795         Use Euro.symbol for font familiy `A'.
7797         * doc/groff.texinfo: Minor improvements.
7799 2002-12-02  Werner LEMBERG  <wl@gnu.org>
7801         * font/devdvi/generate.tc.map: s/%O/%0/.
7802         * font/devdvi/*TC: Regenerated.
7804         * src/roff/troff/div.cc (init_div_requests): Sorted.
7806         * tmac/dvi.tmac: Remove `Ye'.
7807         * tmac/ec.tmac: Remove `Ye'.
7808         Add .rchar entry for `de'.
7810         * man/groff.man, man/groff_diff.man: Document register `.pe'.
7811         * doc/groff.texinfo: Document registers `.pe', `.n', and `.w'.
7812         * NEWS: Updated.
7814 2002-11-30  Werner LEMBERG  <wl@gnu.org>
7816         Add PS font for various Euro glyphs.
7818         * font/devps/generate/freeeuro.sfd: New master font file for
7819         pfaedit.
7820         * font/devps/generate/sfdtopfa.pe: New conversion script for
7821         pfaedit.
7822         * font/devps/generate/Makefile (FONTS): Add `EURO'.
7823         (EURO, freeeuro.afm, freeeuro.pfa): New rules.
7824         * font/devps/freeeuro.pfa, font/devps/freeeuro.afm: Generated from
7825         `freeeuro.sfd'.
7826         * font/devps/EURO: Generated from `freeeuro.afm'.
7827         * font/devps/download: Add `freeuro.pfa'.
7828         * font/devps/Makefile.sub (NORMALFILES): Adde `EURO' and
7829         `freeeuro.pfa'.
7831         * tmac/europs.tmac: New file.
7832         * tmac/ps.tmac: Include `europs.tmac'.
7833         * tmac/Makefile.sub (DISTFILES): Add `europs.tmac'.
7835 2002-11-29  Werner LEMBERG  <wl@gnu.org>
7837         * font/devdvi/generate/texsy.map: Remove `lh' and `rh'.
7838         * font/devdvi/S: Regenerated.
7839         * font/devhtml/R.proto: Fix `CR' and `ci'.
7840         Add `OK'.
7841         * font/devps/generate/textmap: Fix `lh', `rh', and `sq'.
7842         Remove `bs'.
7843         * font/devps/symbolmap: Regenerated.
7844         * font/devutf8/R.proto: Fix `CR' and `ci'.
7845         Add `OK'.
7846         * font/devutf8/NOTES: Updated.
7848         * src/roff/troff/uniglyph.cc (unicode_to_glyph_list): Fix `CR' and
7849         `ci'.
7850         Add `OK'.
7851         * src/roff/troff/glyphuni.cc (glyph_to_unicode_list): Ditto.
7853         * tmac/dvi.tmac: Add `lh' and `rh'.
7854         * tmac/Xps.tmac: Fix `lh' and `rh'.
7855         * tmac/X.tmac: Add `OK'.
7856         * tmac/lj4.tmac: Ditto.
7858 2002-11-24  Werner LEMBERG  <wl@gnu.org>
7860         * font/devX*/S: Regenerated.
7861         * font/devascii/R.proto, font/devcp1047/R.proto: Remove glyphs `lb',
7862         `lc', `lf', `lk', `lt', `rb', `rc', `rf', `rk', and `rt'.
7863         * font/devdvi/generate/texsy.map: Remove `or' glyph.
7864         * font/devdvi/S: Regenerated.
7865         * font/devhtml/R.proto, font/devutf8/R.proto: Add/fix glyphs
7866         `parenlefttp', `parenleftex', `parenleftbt', `parenrighttp',
7867         `parenrightex', `parenrightbt', `bracketlefttp', `bracketleftex',
7868         `bracketleftbt', `bracketrighttp', `bracketrightex',
7869         `bracketrightbt', `bracelefttp', `braceleftmid', `braceleftbt',
7870         `braceex', `braceleftex', `bracerightex', `bracerighttp',
7871         `bracerightmid', `bracerightbt', `lt', `lk', `lb', `rt', `rk',
7872         `rb', and `bv'.
7873         * src/roff/troff/glyphuni.cc, src/roff/troff/uniglyph.cc: Ditto.
7874         * font/devutf8/NOTES: Updated.
7875         * font/devlj4/generate/special.map: Add glyph `braceex'.
7876         * font/devlj4/S: Regenerated.
7878         * tmac/tty-char.tmac: Add glyphs `lf', `rf', `lc', and `rc'.
7880 2002-11-14  Werner LEMBERG  <wl@gnu.org>
7882         * src/roff/troff/uniglyph.cc (unicode_to_glyph_list): Add `va'
7883         and `vA'.
7884         Fix code for `an'.
7885         * src/roff/troff/glyphuni.cc (glyph_to_unicode_list): Ditto.
7887         * doc/texinfo.tex: New version from texinfo 4.3.
7888         * doc/groff.texinfo: Updated for texinfo 4.3.
7889         Use @tie{} where appropriate.
7890         * font/devdvi/generate/ec.map: Don't include `or' and `bv'.
7891         * font/devdvi/generate/tc.map: Remove `rn'.
7892         * font/devdvi/*TC, font/devdvi/*EC: Regenerated.
7893         * font/devhtml/R.proto, font/devutf8/R.proto: Add `vA'.
7894         Fix code for `an'.
7895         * font/devX100/*, font/devX100-12/*, font/devX75/*,
7896         font/devX75-12/*: Regenerated.
7898         * tmac/dvi.tmac: Add special fonts `SA' and `SB'.
7899         Use .char (again) for `br', `ul', `rn', `or', and `ru'.
7900         Improve definition of `an'.
7901         * tmac/ps.tmac: Use .char (again) for `br', `ul', `rn', `or', and
7902         `ru'.
7903         * tmac/lj4.tmac: Use .char (again) for `br', `ul', `rn', and `ru'.
7904         * tmac/X.tmac: Add definition for `or'.
7905         * tmac/Xps.tmac: Undo change 2002-11-05.
7906         * tmac/lbp.tmac: Add definitions for `br', `rn', `ul', and `ru'.
7908 2002-11-11  Werner LEMBERG  <wl@gnu.org>
7910         * src/roff/troff/node.cc (troff_output_file::put_char): Always
7911         call flush_tbuf.
7913 2002-11-10  Werner LEMBERG  <wl@gnu.org>
7915         Added three new requests `schar', `fschar', and `rfschar'.  `schar'
7916         defines a glyph which is searched after the check for fonts declared
7917         with `.special' (and before the check for all mounted special
7918         fonts).  `fschar' defines a glyph for a particular font which is
7919         searched after the check for fonts declared with `.fspecial' (and
7920         before the check for fonts declared with `.special').  `rfschar'
7921         removes glyphs defined with `fschar'.
7923         * src/roff/troff/token.h (char_mode): New enum.
7924         Declare do_define_character.
7925         * src/roff/troff/charinfo.h (charinfo): Replace `fallback' with
7926         `mode'.
7927         (charinfo::is_fallback): Updated.
7928         (charinfo::is_special): New method.
7929         * src/roff/troff/input.cc (do_define_character): Add and use
7930         optional second parameter used as a prefix for font-specific glyph
7931         names.
7932         (define_character, define_fallback_character): Updated.
7933         (define_special_character): New function.
7934         (init_input_requests): Add `schar'.
7935         (charinfo::charinfo, charinfo::set_macro): Updated.
7936         * src/roff/troff/node.cc: Include `stringclass.h'.
7937         (make_glyph_node): Handle special glyphs defined with `.schar' and
7938         `.fschar'.
7939         (define_font_special_character, remove_font_special_character): New
7940         functions.
7941         (init_node_requests): Sorted.
7942         Add `fschar' and `rfschar'.
7943         * NEWS, man/groff_diff.man, man/groff.man, doc/groff.texinfo:
7944         Document new requests.
7946         * font/devhtml/R.proto, font/devutf8/R.proto: Add `va'.
7947         * tmac/dvi.tmac: Add `va' for CW and CWI (using `.fschar').
7949 2002-11-08  Werner LEMBERG  <wl@gnu.org>
7951         Added new font `SC' (cmtex10) to devdvi.
7953         * devdvi/generate/Makefile (FONTS): Add `SC'.
7954         (SC): New rule.
7955         * devdvi/generate/textex.map: New map file for cmtex.
7956         * devdvi/SC: New.
7957         * devdvi/Makefile.sub (DEVFILES): Updated.
7958         * tmac/dvi.tmac: Add fspecial entries for SC.
7959         Add `MI', `S' and `CW' to the `special' call.  Otherwise, `SC' is
7960         found before `S' since the font position of `SC' is lower due to the
7961         gaps in DESC's `font' line.
7962         * tmac/ec.tmac: Add a `special' call.
7963         * NEWS: Updated.
7965         * font/devhtml/R.proto: Remove double entry for `ti'.
7966         * tmac/tty.tmac: Add entries for `IJ', `ij', and `bq'.
7967         * tmac/tty-char.tmac: Remove entry for `bq'.
7968         * tmac/lbp.tmac: Add entries for `lq', `rq', `fo', `fc', and `em'.
7969         * tmac/ec.tmac: Don't remove `aq' glyph.
7970         * tmac/X.tmac: Fix entry for `em'.
7971         Add entries for `fo' and `fc'.
7972         * tmac/dvi.tmac: Add entries for `em', `en', `hy', `fo', and `fc'.
7974         * doc/groff.texinfo, man/groff.man, man/groff_diff.man: Fix
7975         documentation of `special' and `fspecial' requests.
7977 2002-11-05  Werner LEMBERG  <wl@gnu.org>
7979         * font/devascii/R.proto, font/devcp1047/R.proto,
7980         font/devlatin1/R.proto: Remove entry for `.i'.
7981         * font/devdvi/generate/textt.map: Add entry for `ad'.
7982         * font/devdvi/generate/texr.map, font/devdvi/generate/texb.map,
7983         font/devdvi/generate/texi.map: Add dummy glyph name `slash@for@l'.
7984         We need this for getting kerning values to compose `/l' and `/L'.
7985         * font/devdvi: Regenerated font definition files for CM fonts.
7986         * font/devhtml/R.proto: Add entries for "'C", "'c", `IJ', and `ij'.
7987         * font/devutf8/R.proto: Ditto.
7988         Remove double entry for `ti'.
7990         * src/roff/troff/glyphuni.cc (glyph_to_unicode_list): Fix entries
7991         for (groff) ligatures, `la', and `ra'.
7992         Add "'C", "'c", `IJ', and `ij'.
7993         Remove double entry for `ti'.
7994         * src/roff/troff/uniglyph.cc (unicode_to_glyph_list): Remove all
7995         double entries.
7996         Add "'C", "'c", `IJ', and `ij'.
7997         Fix entries for (groff) ligatures, `la', and `ra'.
7999         * tmac/ps.tmac (ps-achar): New macro.
8000         Define "'c" and "'C".
8001         * tmac/tty.tmac: Add entry for `.i'.
8002         * tmac/X.tmac (X-achar): New macro.
8003         Define "'c", "'C", and `:Y'.
8004         Add entries for `IJ' and `ij'.
8005         * tmac/Xps.tmac (Xps-achar): New macro.
8006         Define "'c" and "'C".
8007         Add entries for `IJ' and `ij'.
8008         * tmac/lbp.tmac (lbp-achar): New macro.
8009         Add fallback characters for all groff ligatures and many other
8010         glyphs.
8011         * tmac/dvi.tmac: Fix definitions of `_' and `ul'.
8012         Add entries for `/l' and `/L'.
8013         Define "'c" and "'C".
8014         Add entries for `IJ' and `ij'.
8016 2002-11-02  Larry Kollar  <kollar@alltel.net>
8018         * PROBLEMS: Document how to solve Mac OS X compilation problems.
8020 2002-11-02  Werner LEMBERG  <wl@gnu.org>
8022         Adding support for composite glyphs: \[xxx yyy ...] and the
8023         `composite' request.
8025         * src/roff/troff/glyphuni.cc: New file for mapping groff glyph names
8026         to Unicode-based glyph names.
8027         * src/roff/troff/uniglyph.cc: New file for mapping Unicode-based
8028         glyph names to groff glyph names.
8029         * src/roff/troff/uniuni.cc: New file for canonically decomposing
8030         Unicode-based glyph names.
8031         * src/roff/troff/unicode.cc, src/roff/troff/unicode.h: New files
8032         for handling Unicode glyph names.
8033         * src/roff/troff/input.cc: Include unicode.h.
8034         (composite_glyph_name): New function.
8035         (token::next) <'['>: Handle Unicode glyph names and composite
8036         glyphs.
8037         (composite_dictionary): New dictionary for the `composite' request.
8038         (composite_request): Implement `composite' request.
8039         (init_input_requests): Add `composite'.
8040         Alphabetically sorted.
8041         * src/roff/troff/env.cc (tabs_save, tabs_restore): Removed (already
8042         commented out).
8043         (init_env_requests): Alphabetically sorted.
8044         Removed `tas' and `tar' (already commented out).
8045         * src/roff/troff/Makefile.sub: Updated.
8047 2002-10-31  Ruslan Ermilov  <ru@FreeBSD.org>
8049         * src/roff/nroff/nroff.man, src/roff/nroff/nroff.sh: Fix description
8050         of options.
8052 2002-10-29  Werner LEMBERG  <wl@gnu.org>
8054         Fix computation of .trunc register.  Additionally, its value (and
8055         the value of the .ne register) is now always set before entering the
8056         trap.
8058         * src/roff/troff/div.cc (diversion::need): Set `truncated_space' and
8059         `needed_space' before calling `space'.
8060         (top_level_diversion::space): Remove special code for 'sp before the
8061         first page.
8062         Call `begin_page' with the discarded space as a parameter.
8063         (top_level_diversion::begin_page): Add optional parameter to set
8064         `truncated_space'.
8065         * src/roff/troff/div.h: Updated.
8067         * doc/groff.texinfo: Improve documentation of .sp, \n[.trunc], and
8068         \n[.ne].
8070         * tmac/an-old.tmac (SH, SS, TP, IP, HP, TS): Undo change 2002-10-26.
8071         (LP): Remove superfluous call to `br'.
8072         * tmac/doc-common (doc-paragraph): Undo change 2002-10-26.
8073         * tmac/doc.tmac (Bd, Bl, doc-set-vertical-and-indent): Ditto.
8075 2002-10-26  Werner LEMBERG  <wl@gnu.org>
8077         * tmac/doc-ditroff: Remove useless switch/variable -rC.
8078         (doc-setup-header): Don't set page register `%'.
8079         * tmac/doc-nroff: Remove variable `C'.
8080         (doc-setup-page-layout): Set doc-header-space to .5i unconditionally.
8081         (doc-setup-header): Don't set page register `%'.
8082         Don't call `bp'.
8083         * tmac/doc-common (doc-header): Call `ns'.
8084         (doc-paragraph): Protect .sp with .br so that it survives traps
8085         possibly set by the user.
8086         * tmac/doc.tmac (Bd, Bl, doc-set-vertical-and-indent): Ditto.
8088         * tmac/doc*: Replace ' with . for consistency if no effect.
8090 2002-10-26  Werner LEMBERG  <wl@gnu.org>
8092         * tmac/an-old.tmac (SH, SS, TP, IP, HP, TS): Protect .sp with .br
8093         so that it survives traps possibly set by the user.
8095         * src/roff/troff/node.cc: Fix the changes from 2002-10-23.
8096         (troff_output_file::set_font): Call flush_tbuf if necessary.
8097         (troff_output_file::fill_color, troff_output_file::glyph_color): Call
8098         flush_tbuf and do_motion only if necessary.
8099         (troff_output_file::start_special,
8100         troff_output_file::put_char_width, troff_output_file::put_char,
8101         troff_output_file::draw): Updated.
8102         (word_space_node::tprint, space_node::tprint, hmotion_node::tprint,
8103         vmotion_node::tprint): Undo change 2002-10-23.
8105 2002-10-25  Werner LEMBERG  <wl@gnu.org>
8107         * tmac/www.tmac (DC): Fix case of overlapping images.
8109 2002-10-23  Werner LEMBERG  <wl@gnu.org>
8111         * src/roff/troff/node.cc (troff_output_file::fill_color,
8112         troff_output_file::glyph_color): Set current color before testing
8113         color_flag.
8114         (troff_output_file::put_char_width, troff_output_file::put_char,
8115         troff_output_file::draw): Don't call flush_tbuf and/or do_motion
8116         before glyph_color.
8117         (troff_output_file::file_color, troff_output_file::glyph_color):
8118         Call do_motion.
8119         (word_space_node::tprint, space_node::tprint, hmotion_node::tprint,
8120         vmotion_node::tprint): Move first, then call fill_color.
8122 2002-10-20  Werner LEMBERG  <wl@gnu.org>
8124         * doc/groff.texinfo, man/groff_tmac.man: Document that it is not
8125         possible to use multiple main macro packages.
8127 2002-10-19  Werner LEMBERG  <wl@gnu.org>
8129         * src/devices/grops/ps.cc (cmyk_flag): New global variable.
8130         (ps_printer::set_color): Set `cmyk_flag' for CMY and CMYK colors.
8131         (ps_printer::~ps_printer): Emit `%%Extensions: CMYK' if `cmyk_flag'
8132         is set.
8133         * font/devps/prologue.ps (Fk, Ck): Enclose definitions with a
8134         `where' construction since `cmyksetcolor' is a PS Level 2 operator.
8136 2002-10-16  Werner LEMBERG  <wl@gnu.org>
8138         * NEWS, doc/webpage.ms: Updated.
8140 2002-10-14  Werner LEMBERG  <wl@gnu.org>
8142         * src/roff/troff/node.cc (troff_output_file::put_char_width,
8143         troff_output_file::put_char, troff_output_file::fill_color,
8144         troff_output_file::glyph_color): Handle case where color pointer
8145         is null.
8147 2002-10-13  Ruslan Ermilov  <ru@FreeBSD.org>
8149         Add the new -r option to grotty.  It is similar to the -i option
8150         except it tells grotty(1) to use the `reverse video' attribute to
8151         render italic fonts.
8153         * src/devices/grotty/tty.cc (reverse_flag): New global variable.
8154         (SGR_REVERSE, SGR_NO_REVERSE): New macros.
8155         (tty_printer::make_underline, tty_printer::put_color,
8156         tty_printer::end_page): Use it.
8157         (main): Add -r switch.
8158         (usage): Updated.
8159         * src/devices/grotty/grotty.man: Document it.
8161 2002-10-11  Ruslan Ermilov  <ru@FreeBSD.org>
8163         * src/roff/troff/env.cc (hyphen_trie::read_patterns_file): Add
8164         cast to `unsigned char' to properly read patterns with 8bit
8165         characters.
8167 2002-10-08  Werner LEMBERG  <wl@gnu.org>
8169         * REVISION: Increased to 2.
8171 Copyright 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009
8172   Free Software Foundation, Inc.
8174 Copying and distribution of this file, with or without modification,
8175 are permitted in any medium without royalty provided the copyright
8176 notice and this notice are preserved.
8178 Local Variables:
8179 version-control: never
8180 coding: latin-1
8181 End: