* src/preproc/preconv/preconv.cpp (emacs_to_mime): Add `utf-16be'
[s-roff.git] / ChangeLog
blob33493adfd90679161866649295f31408b5887f39
1 2007-11-08  Werner LEMBERG  <wl@gnu.org>
3         * src/preproc/preconv/preconv.cpp (emacs_to_mime): Add `utf-16be'
4         `utf-16le', `utf-16be-with-signature', `utf-16le-with-signature'.
5         (is_comment_line): Handle '\" and '\# also.
7         * src/preproc/preconv/preconv.man: Revise and make complete.
9 2007-10-25  Werner LEMBERG  <wl@gnu.org>
11         * tmac/cs.tmac: New file holding Czech strings, contributed by
12         Marcela Maslanova <mmaslano@redhat.com>.
13         * tmac/hyphen.cs, tmac/hyphenex.cs: New hyphenation pattern files
14         for Czech, taken from CTAN.
15         * LICENSES: Updated.
16         * tmac/Makefile (NORMALFILES): Add Czech stuff.
17         * doc/groff_tmac.man: Mention cs.tmac.
19 2007-10-21  Werner LEMBERG  <wl@gnu.org>
21         * src/roff/troff/input.cpp (do_ps_file): Handle `%X' in header
22         comments correctly.  Reported by Frank Jahnke
23         <jahnke@sonatabio.com>.
25 2007-10-02  Ruslan Ermilov  <ru@FreeBSD.org>
27         * tmac/doc-common, tmac/groff_doc.man: Add FreeBSD 6.2, document
28         FreeBSD 5.5 and 7.0.
30         * tmac/doc-syms: Give better names for System V releases.
32 2007-09-25  Gaius Mulley  <gaius@glam.ac.uk>
34         * doc/Makefile.in, doc/Makefile.sub (.ms.html): Add -P-V switch to
35         the production of html files.
36         (pic.html): Ditto.
37         Remove background colour switch.
38         (.SUFFIXES, clean): Handle *.xhtml files.
40         * src/devices/grohtml/grohtml.man: Document that -V option now
41         generates an HTML-4.01 validator or XHTML validator.
43         * src/devices/grohtml/html-text.cpp (html_text::end_tag,
44         html_text::start_tag): Suppress <small>, <big>, and <color> tags if
45         we are inside a <pre> block.
47         * src/devices/grohtml/post-html.cpp
48         (html_printer::handle_valid_flag): Add a parameter to indicate
49         whether it needs to generate a paragraph block.
50         (html_printer::write_navigation): Updated.
51         (html_printer::do_file_components): Generate an HTML-4.01 blue
52         validator button also.
54 2007-09-23  Axel Kielhorn  <A.Kielhorn@web.de>
56         * man/groff.man: Fix URL of CSTR 54.
58 2007-09-23  Werner LEMBERG  <wl@gnu.org>
60         * man/groff_char.man: Normalize character set names as defined
61         by IANA.  Based on a patch from Axel Kielhorn.
63         * src/preproc/refer/label.y: Undo change from 2007-09-19.
65 2007-09-19  Werner LEMBERG  <wl@gnu.org>
67         * src/roff/troff/input.cpp (interpolate_arg): Remove compiler
68         warning.
70         * src/preproc/eqn/pile.cpp (pile_box::output, matrix_box::output):
71         Remove compiler warning.
73         * src/preproc/refer/label.y: Remove compiler warning.
75         * src/preproc/pic/pic.y: Remove doubled token entries.
77 2007-09-19  Gaius Mulley  <gaius@glam.ac.uk>
79         * doc/groff.texinfo: Document new .O register and add cross
80         reference entries.
82         * NEWS: Updated.
84         * src/devices/grohtml/grohtml.man: Document new -V and -y options.
86         * src/devices/grohtml/html-table.cpp: Add support for XHTML 1.1.
87         (html_table:: emit_colspan, html_table::emit_td): New methods.
88         (html_table::emit_col):  Use html_table::emit_td.
89         (html_table::emit_table_header): Use html_table::emit_colspan if
90         dialect xhtml is specified.
91         (html_table::finish_row): Updated.
93         * src/devices/grohtml/html-table.h (html_table): Declare
94         emit_colspan, emit_td.
96         * src/devices/grohtml/html-text.cpp: Modified tags to comply with
97         xhtml if this dialect was requested.
99         * src/devices/grohtml/html-text.h (html_dialect): New enumeration.
100         (html_text): Add new variable `dialect'.
102         * src/devices/grohtml/post-html.cpp: Modify header tags to be XHTML
103         compliant.
104         (valid_flag, groff_sig, dialect): New global variables. 
105         (html_printer::handle_valid_flag, html_printer::do_math,
106         html_printer::write_html_anchor, html_printer::write_xhtml_anchor,
107         html_printer::do_math, html_printer::handle_valid_flag): New
108         methods.
109         (html_printer::emit_line, html_printer::emit_raw,
110         html_printer::do_check_center, html_printer::write_title,
111         write_rule, html_printer::writeHeadMetaStyle, generate_img_src,
112         html_printer::begin_page): Altered to be XHTML compliant.
113         (html_printer::write_header): Updated.
114         (html_printer::troff_tag): Call do_math.
115         (html_printer::insert_split_file, html_printer::do_file_components,
116         html_printer::write_navigation): Create XHTML file components if
117         necessary and also produces a groff signature if requested.
118         (~html_printer): Call writeHeadMetaStyle at appropriate places
119         depending upon html_dialect.
120         (html_printer::special): Handle new tags `html<?p>' and `math<?p>'.
121         (main): Added options -x, -V, and -y.
122         (usage): Updated.
124         * src/preproc/eqn/box.cpp: Create a distinction between
125         the MathML device and the XHTML device.
126         (do_text): Issue a newline at the end of the equation if XHTML was
127         specified.
128         (box::top_level): Prefix the output of an equation by the .MATHML
129         macro.
130         (output_string): Suppress \n if XHTML was specified.
132         * src/preproc/eqn/main.cpp (xhtml): New global flag.
133         (inline_equation): Skip leading spaces after inline equation for
134         XHTML device.
135         (main): Set `xhtml' flag if `-Tmathml:xhtml' is specified.
137         * src/preproc/eqn/eqn.h (xhtml): New external flag.
139         * src/preproc/eqn/text.cpp (entity_table): Fix typo.
141         * src/preproc/html/pre-html.cpp (html_dialect): New enumeration.
142         (dialect, eqn_flag): New global variables.
143         (html_system): Improve debugging support.
144         (alterDeviceTo): Test for -Txhtml when altering device to the image
145         device and reset to -Txhtml.
146         (addZ): Renamed to...
147         (addArg): This.
148         Introducea a general parameter.
149         (print_args): New debugging function.
150         (char_buffer::run_output_filter): Use print_args and addArg rather
151         than addZ.
152         (char_buffer::do_html, char_buffer::do_image): Add -rxhtml=1 command
153         line parameter as an argument to the html generation of text when
154         xhtml is needed.  Include -e on the command line if mathml is
155         required.
156         (scanArguments): Allow -e, -V, -y and -x options.
157         -V, -y are handled by the back end.  -e sets `eqn_flag'.
158         -x determines HTML dialect.
160         * src/roff/groff/groff.cpp (possible_command): New method
161         `clear_name'.
162         (main):  Set eflag if -e is present on command line.
163         Set is_xhtml if -Txhtml is present.
164         Pass `-x x' to the HTML pre and post processors.
165         Pass `-e' to the HTML pre processor if required.
166         Pass `-Tmathml:xhtml' to eqn if XHTML is requested.
168         * src/roff/troff/input.cpp (init_input_requests): Introduce new
169         number register `\n[.O]'.
171         * tmac/s.tmac: (LP): Use .nop for semantic sugar.
172         (cov*ab-init) reformat.
173         (@EQ): Use EQN-HTML-IMAGE and friends rather than HTML-IMAGE.
174         (CHECK-FOOTER-AND-KEEP): Define FS, FE such that they use
175         <cite></cite> for the html device rather than generate images for
176         footnotes.
178         * tmac/troffrc-end: Define EQN-HTML-IMAGE,
179         EQN-HTML-IMAGE-END, EQN-HTML-IMAGE-RIGHT,
180         EQN-HTML-IMAGE-LEFT, EQN-HTML-IMAGE-INLINE,
181         EQN-HTML-DO-IMAGE, EQN-HTML-IMAGE-END as null strings.
183         * tmac/www.tmac: (HTML<?p>): New macro.
184         (MATH<?p>): New macro.
185         (IMG, PIMG, MPIMG, HR): Use XHTML compliant syntax.
186         (www-emit-ltag): New macro.
187         (www-push-li): Updated.
188         (ULS): Ensure that tags are balanced in order by use of
189         www-emit-ltag.
190         (ULE): Likewise: Use www-emit-ltag and shut down paragraphs in
191         order.
192         (OLS, OLE, DLS, DLE): Ditto.
193         <global>: Define EQ and EN to EQN-HTML-IMAGE and EQN-HTML-IMAGE-END
194         respectively.
195         (www-li-ul, www-li-ol, www-li-dl): Updated.
196         (EQN-HTML-IMAGE, EQN-HTML-IMAGE-RIGHT, EQN-HTML-IMAGE-LEFT,
197         EQN-HTML-IMAGE-INLINE, EQN-HTML-DO-IMAGE, EQN-HTML-IMAGE-END,
198         MATHML): New macros.
200 2007-09-17  Werner LEMBERG  <wl@gnu.org>
202         * man/groff_font.man: Document `unicode' keyword.
203         * doc/groff.texinfo (DESC File Format): Synchronize with
204         groff_font.man.
206 2007-09-15  Werner LEMBERG  <wl@nu.org>
208         * man/groff.man: Document `\_'.
209         * doc/groff.texinfo: Ditto.
210         Remove references to `\@' which isn't a valid escape sequence in
211         groff.
214         * tmac/unicode.tmac: Add ` and '.
215         * tmac/html.tmac: Load unicode.tmac.
217 2007-09-14  Werner LEMBERG  <wl@gnu.org>
219         * tmac/unicode.tmac: Make `-' a pure input character by mapping it
220         to `hy'.
222         * src/roff/troff/input.cpp (init_charset_table): Handle `hy'.
224 2007-09-11  Werner LEMBERG  <wl@gnu.org>
226         * src/libs/libgroff/string.cpp (string::remove_spaces): Fix memory
227         allocation.
229         * src/preproc/tbl/table.cpp (table::allocate): Initialize
230         `blockflag' array.
232 2007-09-10  Keith Marshall  <keith.d.marshall@ntlworld.com>
234         * README.MinGW: Add warnings about use of MSYS-RXVT, and about
235         defective GnuWin32 versions of netpbm/libpng.
237 2007-07-15  Keith Marshall  <keith.d.marshall@ntlworld.com>
239         * tmac/s.tmac (cov*first-page-init): Remove invoking trap, to avoid
240         possible recursion.
242 2007-07-11  Werner LEMBERG  <wl@gnu.org>
244         * gendef.sh: Add shebang.
246 2007-07-05  Werner LEMBERG  <wl@gnu.org>
248         * tmac/papersize.tmac: Fix dimensions of executive paper format. 
249         Reported by John Rupley <rupley@u.arizona.edu>.
251 2007-07-02  Keith Marshall  <keith.d.marshall@ntlworld.com>
253         * tmac/s.tmac (cov*first-page-init): Emit error message if not in
254         top-level environment.
256 2007-06-12  Werner LEMBERG  <wl@gnu.org>
258         * src/devices/xditview/TODO, NEWS: Updated.
259         * src/devices/xditview/Makefile.sub (install_data, uninstall_sub):
260         Handle `GXditview-color'.
261         * src/devices/xditview/gxditview.man: Updated.
263         * m4/groff.m4 (GROFF_APPRESDIR_CHECK): Updated.
264         * m4/codeset.m4, m4/glibc21.m4, m4/iconv.m4, m4/lib-link.m4: Updated
265         from `gnulib' git repository.
267         * configure.ac: Updated.
268         * configure: Regenerated (using autoconf 2.61).
270         * config.guess, config.sub: Updated from `config' CVS repository.
271         * config.rpath, install-sh, mkinstalldirs: Updated from `gnulib' git
272         repository.
274 2007-06-12  Tadziu Hoffmann  <hoffmann@usm.uni-muenchen.de>
276         * src/devices/xditview/GXditview.ad: Split off color definitions
277         into...
278         * src/devices/xditview/GXditview-color.ad: This new file.
280 2007-06-08  Fabrice Ménard  <menard.fabrice@wanadoo.fr>.
282         * tmac/fr.tmac: Handle chapter system for `me'.
284 2007-06-05  Tadziu Hoffmann  <hoffmann@usm.uni-muenchen.de>
286         * src/devices/xditview/xditview.c (main): Add support for
287         accelerators.
289         * src/devices/xditview/GXditview.ad: Updated.
290         Make widget more colourful.
292 2007-05-30  Werner LEMBERG <wl@gnu.org>
294         * tmac/groff_mdoc.man: Convert `-' to `\-' where appropriate.
295         Recommend `tbl' instead of `-column' lists for more complicated
296         cases.
298 2007-05-21  Werner LEMBERG  <wl@gnu.org>
300         * src/devices/grops/ps.cpp (ps_printer::set_char): Handle subfonts
301         correctly.
303 2007-04-10  Werner LEMBERG  <wl@gnu.org>
305         In pic, make rounded boxes work with colors.  Reported by Urs Eggli
306         <Urs.Eggli@zuerich.ch>.
308         * src/preproc/pic/common.h (common_output), src/preproc/pix/output.h
309         (output): Add color parameter to `rounded_box' member function.
311         * src/preproc/pic/common.cpp (common_output::rounded_box): Use it.
313         * src/preproc/pic/object.cpp (box_object::print): Pass `color_fill'
314         to `out->rounded_box'.
316 2007-04-09  Michail Vidiassov  <master@iaas.msu.ru>
318         * font/devps/generate/textmap: Add Greek letters and some more.
320         * src/utils/afmtodit/afmtodit.tables: Change values of `Delta',
321         `Omega', and `mu' to the ones from aglfn.txt.
323 2007-04-08  Keith Marshall  <keith.d.marshall@ntlworld.com>
325         * tmac/s.tmac (SN): Define unconditionally.
326         (SN-STYLE): New string; define.
328         * NEWS, tmac/groff_ms.man, doc/groff.texinfo (SN-STYLE): Document it.
330 2007-03-22  Werner LEMBERG  <wl@gnu.org>
332         * tmac/pspic.tmac: Fix harmless numeric overflow warning.  Reported
333         by Jörg van den Hoff <j.van_den_hoff@fzd.de>.
335 2007-03-20  Werner LEMBERG  <wl@gnu.org>
337         * tmac/trace.tmac (rn): Added.
338         (nr, ds, ds1, as, as1, substring): Restore escape character while
339         executing the macro.
340         (nr): Remove dead code.
342         * src/preproc/eqn/box.cpp (box::top_level): Use \E in string
343         definitions to make them traceable.
345 2007-03-19  Werner LEMBERG  <wl@gnu.org>
347         * src/roff/troff/input.cpp (get_copy): Add third argument to control
348         whether \E shall be expanded.
349         (get_char_for_escape_name): Allow \E.
351 2007-03-15  Werner LEMBERG  <wl@gnu.org>
353         * tmac/s.tmac (MO, CH, pg*OH, pg*EH, pg*OF, pg*EF, *, [., .],
354         par*define-font-macro, \[hooko]): Use \E to make it traceable.
356         (ref*field): Add argument to control the space between previous and
357         current argument.
358         Update all callers.
359         (ref*add-N): Fix handling of opening parenthesis.  Problem reported
360         by Jörg van den Hoff <j.van_den_hoff@fzd.de>.
362 2007-03-14  Werner LEMBERG  <wl@gnu.org>
364         * tmac/trace.tmac (als): Added.
365         (de, de1, am, am1): Make traced macros aliased with .als work.
367 2007-02-25  Werner LEMBERG  <wl@gnu.org>
369         * src/devices/xditview/TODO: Add some more items.
371         * Makefile.comm (.man.n): Add @APPRESDIR@.
372         Sort entries.
374         * src/devices/xditview/gxditview.man: Document GXditview resource
375         file.
376         Other documentation enhancements based on a patch from Jörg.
378 2007-02-25  Tadziu Hoffmann  <hoffmann@usm.uni-muenchen.de>
379             Joerg van den Hoff <j.van_den_hoff@fzd.de>
381         * src/devices/xditview/GXditview.ad: Make all keys work regardless
382         of the current mouse position.
384 2007-02-20  Werner LEMBERG  <wl@gnu.org>
386         * tmac/groff_man.man: Revised to improve visual appearance.
387         Reduce use of future tense.
389         * tmac/groff_trace.man: Revosed to improve visual appearance.
391 2007-02-19  Eric S. Raymond  <esr@snark.thyrsus.com>
393         Make groff.man viewer-portable.
395         * tmac/groff.man: Eliminate use of .eo/.ec.
396         (.REQ): Surround args 2 through N with quotes.  This will enable us
397         not to rely on the shift request, which is nonportable.
398         (ExecFF): Remove.  The code is simpler without it.
400 2007-02-18  Eric S. Raymond  <esr@snark.thyrsus.com>
402         * tmac/groff_www.man: Viewer-portability fixes.
404 2007-02-16  Eric S. Raymond  <esr@snark.thyrsus.com>
406         * man/groff.man: Remove some unneeded code and a no-longer-used
407         inclusion of the www macros.
409 2007-02-12  Werner LEMBERG  <wl@gnu.org>
411         * src/preproc/tbl/table.cpp (compute_span_width): Fix use of
412         AVAILABLE_REG.
413         (table::compute_widths): Simplify.
415 2007-02-11  Werner LEMBERG  <wl@gnu.org>
417         * src/preproc/tbl/table.h: Don't include `stdbool.h'.
418         (table): Replace `bool' type with `char' for orthogonality.
419         Update all users.
421         * src/preproc/tbl/table.cpp (block_entry::do_divert): Fix usage of
422         AVAILABLE_REG and COLCOUNT_REG.
423         (table::table): Fix order call of initializers.
424         (table::~table): Deallocate `blockflag'.
426 2007-02-09  Eric S. Raymond  <esr@snark.thyrsus.com>
428         A try at the new rule for block column allocation is now enabled by
429         the new `experimental' global option: The horizontal space up to the
430         right margin which is not used by columns without text blocks is
431         evenly distributed to the columns with text blocks.
433         It doesn't work right as yet; there appears to be some error in the
434         computation of `3avail', the available line length.  The purpose of
435         this patch is (a) to make experimenting with other formulas easy,
436         and (b) leave the infrastructure for flag `experimental' in place
437         for future experiments.  Do not document any behavior associated
438         with this flag!
440         * src/preproc/tbl/table.h: Include `stdbool.h'.
441         (table): Make `flags' public.
442         Add `count_block_columns' function.
443         Add `blockflag' array.
444         Add `EXPERIMENTAL' enumeration value.
446         * src/preproc/tbl/table.cpp (AVAILABLE_REG, COLCOUNT_REG): New
447         macros.
448         (table_entry): New member `parent' so that class and subclass
449         members can set a parent field.  Update all users.
450         (block_entry::do_divert): Handle `EXPERIMENTAL' flag.
451         (block_entry::do_width): Set the parent's `blockflag'.
452         (table::allocate): Handle `blockflag'.
453         (table::count_block_columns): New function.
454         (compute_span_width): Adjust AVAILABLE_REG.
455         (table::compute_widths): Handle COLCOUNT_REG and AVAILABLE_REG.
457         * src/preproc/tbl/main.cpp (process_options): Handle `experimental'
458         option.
460 2007-02-08  Zhao, Yu (William)  <yzhao2@alcatel-lucent.com>
462         * src/devices/grodvi/dvi.cpp (draw_dvi_printer::draw) <'e'>: Set
463         line thickness.
465 2007-02-08  Werner LEMBERG  <wl@gnu.org>
467         * man/groff_out.man (offset): Make it work reliably.
469 2007-02-07  Eric S. Raymond  <esr@snark.thyrsus.com>
471         * man/groff_out.man: Simplify some font changes so \fP is less
472         likely to do something surprising.
473         
474         * man/groff_out.man: We can simplify the command macros still
475         further if we stop trying to hide structural requests inside them. 
476         Also, fix some instances of \} at start of line without a dot, and
477         make some font changes explicit in strings.
478         
479         * man/groff_out.man: Cleanup -- remove now-unneeded uses of .do and
480         .cp.
481         
482         * man/groff_out.man: Final step: Reduce x-command, get rid of eo/ec
483         calls and fix macros to do without them.  File should now be
484         viewer-portable.
485         
486         * man/groff_out.man: Fourth step: Eliminate use of eqn in favor of
487         micromotions that produce the same visual result and can be lifted
488         to XML-DocBook.
489         
490         * man/groff_out.man: Third step: Reduce Da-comand, fix a
491         call-sequence bug in the original.
492         
493         * man/groff_out.man: Second step: Reduce D-commmand and D-command+,
494         move font-change escapes to portable form.
496         * man/groff_out.man: First step in macro simplification; eliminate
497         list1..n, simplify .offset and .index_offset so they no longer
498         require groff-specific features or eqn (instead, use troff
499         micromotions for subscripting).
501 2007-02-06  Eric S. Raymond  <esr@snark.thyrsus.com>
503         * src/preproc/eqn/eqn.man: Minor corrections.
505         * tmac/an-ext.tmac: Change .UR/.UE and .MT/.ME so the start macro no
506         longer takes a second argument that is pasted to the end of the
507         generated text.  Instead, the end macro takes an argument that does
508         the same thing.
510         * man/ditroff.man, man/groff_diff.man, man/groff.man,
511         man/groff_out.man, man/groff_tmac.man, man/roff.man,
512         src/roff/groff/groff.man, src/roff/grog/grog.man,
513         tmac/groff_man.man, tmac/groff_trace.man: Update accordingly.
515         * src/roff/troff/troff.man: .SY and .YS are canned macros now,
516         so we can use them here.
517         
518 2007-02-05  Eric S. Raymond  <esr@snark.thyrsus.com>
520         * src/preproc/eqn/lex.cpp, src/preproc/eqn/eqn.man:
521         By popular demand, make ... set three lower dots again
522         and introduce a new predefined macro 'cdots' to set
523         three centered dots.
525 2007-02-05  Werner LEMBERG  <wl@gnu.org>
527         * src/preproc/eqn/eqn.man: Revised.
529         * src/preproc/eqn/text.cpp (map, special_char_boc::output): Use
530         `const'.
531         (spacing_type): Fix typo.
532         (special_to_entity): Use `const'.
533         Remove unused variable.
534         * src/preproc/eqn/other.cpp (font_box::output): Use `const'.
536 2007-02-05  Eric S. Raymond  <esr@snark.thyrsus.com>
538         * src/devices/grotty/grotty.man: \m[] and \M[] aren't portable,
539         which is a shame as the effect was cute.
541 2007-02-04  Eric S. Raymond  <esr@snark.thyrsus.com>
543         * man/groff_tmac.man, man/groff_diff.man: Portability conversion;
544         rip out over-elaborate macrology, use .EX/.EE and .UR/.UE where
545         possible, remove preamble declarations and macros that are no
546         longer needed.  Conversion checked using the protocol described in
547         tmac/TESTING-HINTS.
549 2007-02-03  Werner LEMBERG  <wl@gnu.org>
551         * tmac/an-old.tmac (LP, IP, HP): Use .ns to suppress additional
552         vertical space.
554 2007-02-03  Eric S. Raymond  <esr@snark.thyrsus.com>
556         * tmac/groff_man.man: Documented the extension macros, and 
557         added portability advice.
559         * MORE.STUFF: More-stuff entries for doclifter and pic2plot.
562         Add support for MathML output to eqn.  
564         The strategy used is very simple and relies on the fact that the box
565         models of eqn and Presentation MathML differ in only trivial ways. 
566         It leaves the grammar and existing internal object structures
567         unchanged.  A new global, `output_format', is defined as an
568         enumerated type with values {troff, mathml}.  Most of the functions
569         and methods that emit actual output acquire a top-level conditional,
570         dispatching on this global, which has one arm for troff mode and one
571         for MathML mode.  In most cases the MathML arm is drastically
572         simpler.
574         (This strategy could be easily generalized to support other output
575         formats.  TeX is a possibility that leaps to mind.)
577         The only even moderately tricky changes are in the lexer.  Some of
578         the predefined macros used constructs like `up', `down', `fwd',
579         `back', and `vcenter' that have no equivalents in MathML.  I
580         attacked this problem in these ways:
582         1. I eliminated three uses of `back' to compose characters in favor
583            of using equivalent groff specials `\(<<', `\(>>', and `\(<>'
584            that did not exist when these macros were written.  (This will be
585            a quality improvement for troff users.)
587         2. I eliminated one use of `vcenter' by using \\(md.  (Likewise...)
589         3. I then split the table of pre-definitions in three; one large
590            common table and two small troff-specific and MathML-specific
591            tables.  Use of troff-only operations (up, down, back, fwd,
592            vcenter) is now confined to the former.  The latter now uses
593            `size big' and drops out the explicit positioning operations,
594            counting on MathML processors to do them.
596         POTENTIAL TROUBLE SPOTS:
598         Here are notes for reviewers on places I'm not 100% sure I've done
599         the right thing:
601         * In the process of preparing the troff table, I translated three
602           definitions (dot_def, dotdot_def, and utilde def) that previously
603           used explicit \v escapes to use `up' and `down' instead.  I
604           modeled the new definitions on the way `vec' and `dyad' work, but
605           it's possible I got something subtle wrong.
607         * I'm not certain the MathML implementation of font_box::output() is
608           right, because I don't quite get what the switcheroo between
609           `current_roman_font' and `old_roman_font' is supposed to
610           accomplish.  It does seem to generare good MathML, though.
612         Finally, I made one purely cosmetic change in `text.cpp'; I replaced
613         with an enum some magic numbers for spacing types that I thought
614         were too ugly to live.
616         REMAINING ISSUES:
618         The entirety of eqn is translated when `-TMathML' is specified, 
619         with the following exceptions...
621         Limitations that cannot be fixed include non-support for special,
622         up/down/fwd/back, and vcenter.
624         Limitations that might be fixable include non-support for mark and
625         lineup.  I will investigate further, but if these can be implemented
626         at all it's going to be in a very complicated and nasty way.
628         The way character boxes are output means that each digit of a
629         multi-digit number gets its own <mn></mn> tag pair in the MathHTML. 
630         While this is not technically wrong for Presentation MathML, it is
631         ugly and inefficient.  Fixing this will require implementing a
632         little state machine in the `text.cpp' output method.
634         * src/preproc/eqn/box.cpp, src/preproc/eqn/delim.cpp, 
635         src/preproc/eqn/eqn.h, src/preproc/eqn/eqn.man, 
636         src/preproc/eqn/lex.cpp, src/preproc/eqn/limit.cpp,
637         src/preproc/eqn/list.cpp, src/preproc/eqn/main.cpp, 
638         src/preproc/eqn/other.cpp, src/preproc/eqn/over.cpp, 
639         src/preproc/eqn/pile.cpp, src/preproc/eqn/script.cpp,
640         src/preproc/eqn/sqrt.cpp, src/preproc/eqn/text.cpp,
641         src/preproc/eqn/eqn.man: MathML output mode.
643         * NEWS: Document it.
645 2007-02-02  Eric S. Raymond  <esr@snark.thyrsus.com>
647         * src/roff/groff/groff.man: Converted to use .SY/.OP/.YS
648         and for cross-viewer portability.  Conversion checked 
649         using the protocol described in tmac/TESTING-HINTS.
651 2007-02-02  Werner LEMBERG  <wl@gnu.org>
653         * tmac/an-ext.tmac (ME): Don't use `\:'.
655         * src/roff/grog/grog.man: Further refinements and normalizations.
657 2007-02-02  Eric S. Raymond  <esr@snark.thyrsus.com>
659         * src/roff/grog/grog.man: Converted to use .SY/.OP/.YS and for
660         cross-viewer portability.  Conversion checked using the protocol
661         described in tmac/TESTING-HINTS.
663 2007-02-01  Eric S. Raymond  <esr@thyrsus.com>
665         * tmac/TESTING-HINTS: Added.
667 2007-02-01  Eric S. Raymond  <esr@thyrsus.com>
669         Enable the support for Bell archaisms on .SC, so the `-r bell'
670         switch is no longer needed to format old AT&T papers like
671         the EQN user guide.
673         * tmac/s.tmac (.SC, .UC, .P1, .P2): Updated.
675         * tmac/groff_ms.man, doc/groff.texinfo, NEWS: Updated.
677 2007-02-01  Eric S. Raymond  <esr@thyrsus.com>
679         Add some Bell labs extensions to the -ms macros.
681         * tmac/s.tmac (.SC, .UC, .P1, .P2) [bell]: New macros.
683         * tmac/groff_ms.man, doc/groff.texinfo, NEWS: Document `-r bell'.
685 2007-01-30  Werner LEMBERG  <wl@gnu.org>
687         * tmac/an-ext.tmac (\n[EX]): Rename to \n[mX].
688         (\n[mH]): New register (set if grohtml is used).
689         (\n[SY]): Rename to \n[mS].
690         (\n[a]): Rename to \n[mA].
691         (\n[i]): Rename to \n[mI].
692         (mU): New auxiliary input trap macro.
693         (UR, UE): Replace stub with real definition.
694         (URL): Remove.
695         (MT, ME): New macros.
696         (MTO): Remove.
697         (EX, EE): Don't insert vertical space.
698         Use a register to store (and restore) the current font.
700         * man/ditroff.man, man/groff_diff.man, man/roff.man: Revised, based
701         on patches from Eric Raymond.
702         Fix URL addresses.
704 2007-01-22  Gaius Mulley  <gaius@glam.ac.uk>
706         * tmac/an-old.tmac (an-trap, HP): Make `HP' work as expected.
708 2007-01-22  Werner LEMBERG  <wl@gnu.org>
710         * tmac/an-ext.tmac: Protect against being sourced twice.
711         (URL, EE): Use always two backslashes.
712         (MTO): New macro.
714 2007-01-16  Werner LEMBERG  <wl@gnu.org>
716         * tmac/an-ext.tmac: Remove code for grodvi.
717         (SY): Fix typos.
718         Don't insert empty line.
719         (URL, TQ): Fix typos.
721 2007-01-14  Werner LEMBERG  <wl@gnu.org>
723         * tmac/an-ext.tmac: New file, containing extension macros
724         for -man.  See discussion on the groff mailing list for
725         background information.
726         * tmac/an-old.tmac: Load an-ext.tmac.
727         Decorate .ds and as with comment escapes where appropriate.
728         * tmac/Makefile.sub (NORMALFILES): Add an-ext.tmac.
730 2007-01-05  Werner LEMBERG  <wl@gnu.org>
732         * src/preproc/tbl/tbl.man: Document .T# and \n[TW].
734 2007-01-04  Gaius Mulley  <gaius@glam.ac.uk>
736         Make -me macros ready for grohtml.
738         * tmac/e.tmac: Load devtag.tmac.
739         (need_eo_h, need_eo_tl, need_tl): New registers.
740         (check_need_title, (x-html, )x-html, xp-html): New macros.
741         (@h, hl, ip, @p, sh, (b, (l, EQ, EN, TS, TE, PS, PE, GS, GE, r, i,
742         b, rb, bi, bx, (x, )x, xp): Adapt for use with grohtml.
743         (bp): Rename to @b only if output device is not html.
745 2007-01-01  Werner LEMBERG  <wl@gnu.org>
747         * man/groff_font.man: Document empty lines.
749         * src/utils/afmtodit/afmtodit.pl: Always print a header comment at
750         the very beginning of the output.
751         [!$opt_x]: Fix typo.
753         * font/devps/*: Regenerate font definition files.
755 2007-01-01  Werner LEMBERG  <wl@gnu.org>
757         * font/devps/generate/Makefile (AFMTODIT): Use -c flag.
759         * font/devps/*: Regenerate font definition files.
761 2006-12-31  Werner LEMBERG  <wl@gnu.org>
763         * Makefile.in (oldfontdir): New variable.
764         (MDEFINES): Add $(oldfontdir).
765         (uninstall_dirs): Remove `current' link.
766         Remove $(oldfontdir).
768         * Makefile.comm (oldfontsubdir): New variable.
769         (install_dev): Install files collected in $(OLDDEVFILES) into
770         $(oldfontsubdir).
771         (uninstall_dev): Remove data in $(oldfontsubdir).
772         (.man.n): Handle @OLDFONTDIR@.
774         * src/devices/grodvi/grodvi.man, src/devices/grohtml/grohtml.man,
775         src/devices/grolbp/grolbp.man, src/devices/grolj4/grolj4.man,
776         src/devices/grotty/grotty.man, src/devices/xditview/gxditview.man:
777         Document GROFF_FONT_PATH.
779         * src/devices/grops/grops.man: Document GROFF_FONT_PATH and
780         old font description files.
782         * font/devps/Makefile.sub (OLDDISTFILES, OLDDEVFILES): New
783         variables.
785         * font/devps/old/*: New directory, holding the previous version
786         of the 35 Adobe core font description files.
788         * font/devps/*: Regenerated the 35 Adobe core fonts, using the
789         Adobe-Core35_AFMs-229.tar.bz2 bundle from ftp.dante.de.
791         * NEWS: Document font update.
793 2006-12-31  Werner LEMBERG  <wl@gnu.org>
795         * font/devps/generate/Makefile (symbolsl.afm): Use $(srcdir).
797         * Makefile.comm (fonts): New (empty) target.
798         * Makefile.in (TARGETS): Add `fonts'.
800         * MANIFEST: Add `chem'.
802         * doc/groff.texinfo (Changing Fonts): Font translations with .ftr
803         can't be chained.
805 2006-12-26  Werner LEMBERG  <wl@gnu.org>
807         * src/preproc/grn/hdb.cpp: Include gprint.h later.  From NetBSD.
809 2006-12-19  Werner LEMBERG  <wl@gnu.org>
811         Add support for German.  For activation, simply use -mde or -mden
812         (for traditional and new orthgraphy, respectively) as the last
813         macro package.
815         * tmac/de.tmac, tmac/den.tmac, tmac/hyphen.det, tmac/hyphen.den,
816         tmac/hyphenex.det: New files, partly taken from CTAN.
817         * LICENSES: Updated list of hyphenation patterns.
818         * man/groff_tmac.man: Mention de.tmac and den.tmac.
819         * NEWS: Updated.
821 2006-12-11  Werner LEMBERG  <wl@gnu.org>
823         Support up to 32 macro arguments in pic (and up to 16 on EBCDIC
824         hosts).
826         * src/preproc/pic/lex.cpp (ARG1): Redefine.  Update all users.
827         (MAX_ARG): New macro.  Use it everywhere to replace hard-coded
828         limit of 9 arguments.
829         (process_body): Handle argument numbers with more than a single
830         digit.
831         (interpolate_macro_with_args): Protect against exceeding number of
832         arguments.
834         * NEWS, src/preproc/pic/pic.man, doc/pic.ms: Document it.
836 2006-12-10  Werner LEMBERG  <wl@gnu.org>
838         * Makefile.in (site.exp, docheck): Commented out.  Not working
839         currently.
840         (check): Just emit dummy message.
842 2006-12-08  Werner LEMBERG  <wl@gnu.org>
844         During installation, create soft link from <version> to `current' in
845         <datadir>/groff.
847         * Makefile.comm (install): Renamed to...
848         (do_install): This.
849         (prefix_must_exist): Removed.  Code moved to Makefile.in.
851         * Makefile.in (TARGETS): Remove `install'.
853         (install): New target which first creates the directory given by
854         --prefix, then calling `make' to do the installation, and finishing
855         with the creation of the soft link.
857 2006-11-21  Werner LEMBERG  <wl@gnu.org>
859         * doc/Makefile.sub (uninstall_sub): Fix names for info files.
861 2006-11-18  Werner LEMBERG  <wl@gnu.org>
863         * man/roff.man, doc/groff.texinfo: Improve history of roff, based on
864         information from Tom Van Vleck <thvv@multicians.org>.
866 2006-11-16  Werner LEMBERG  <wl@gnu.org>
868         * tmac/62bit.tmac: New macro package.
869         * tmac/Makefile.sub (NORMALFILES): Add it.
870         * NEWS: Document it.
872         * tmac/trace.tmac: Protect against being loaded again.
873         (nr): Always show result.
875         * doc/groff.texinfo (Input Encodings): Document latin-5.
877         * man/grof_tmac.man: Document sv, latinX, cp1047, 60bit, ec.
879 2006-11-13  Werner LEMBERG  <wl@gnu.org>
881         * doc/groff.texinfo (Page Location Traps) [.wh]: Give more details
882         on negative trap positions.
884 2006-11-10  Werner LEMBERG  <wl@gnu.org>
886         * Makefile.comm (.man.n): Handle @DATASUBDIR@.
888 2006-11-09  Werner LEMBERG  <wl@gnu.org>
890         * INSTALL: Move information about external installation from
891         INSTALL.gen into this file.
892         Updated.
894         * INSTALL.gen: Update to new version (from texinfo CVS).
896 2006-11-09  Bernd Warken
898         * INSTALL.gen: Extend the file by information on `external
899         installation'.  Reorder the installation instruction as `normal
900         installation'. 
902 2006-11-08  Werner LEMBERG  <wl@gnu.org>
904         * doc/Makefile.sub (install_data): Take care of proper paths while
905         installing info files.  Bug reported by Bernd Warken.
907 2006-11-06  Bernd Warken
909         * src/roff/grog/grog.pl: Rewrite.
910         - Call by `#! /usr/bin/env perl'.  That isn't replaced.
911         - Rename usage() to version().
912         - Use warnings.
913         - For `use strict', start all global variables with an upper case
914         character.  Use `my' for all variables.  Use several new variables.
915         - Add option `-h'.
916         - Add copyright to GPL and Emacs comment.
917         - Handle several `-m*' options.
918         - Fix handling of `-ms' and `-mm'.  Add .TL and .NH.
919         - Allow options after file names.
920         - Allow only one `-' parameter (standard input).
921         - Add option abbreviations.
922         - Expand the usage information.
923         - Add `chem'.
924         - Add single quote "'" as additional first character and allow
925         arbitrary space after the first character.
927         * src/roff/grog/grog.sh: Rewrite.
928         - Remove option `-e' of `sed'.
929         - Allow file names with space characters.
930         - Add option `-h'.
931         - Add copyright to GPL.
932         - Handle several `-m*' options.
933         - Fix handling of `-ms' and `-mm'.  Add .TL and .NH.
934         - Allow options after file names.
935         - Allow only one `-' parameter (standard input).
936         - Add option abbreviations.
937         - Expand the usage information.
938         - Add `chem'.
939         - Add single quote "'" as additional first character and allow
940         arbitrary space after the first character.
942         * src/roff/grog/Makefile.sub:
943         - Add copyright to GPL.
944         - Remove `grog:'.  Move `grog.old:' to `grog:' in order to have a
945         fair chance to choose between the shell version and the Perl
946         version of `grog'.  This is now again comparable to grog in groff
947         version 1.10.
949         * src/roff/grog/grog.man: Rewrite.
950         - Move the license to GPL.
951         - New sections: OPTIONS, DETAILS, EXAMPLES, COPYING.
952         - Take over some setup and macros from `groffer'.
953         - Add information on options.
955 2006-10-28  Werner LEMBERG  <wl@gnu.org>
957         * tmac/trace.tmac: Improve tracing of `.nr'.
958         Trace `.substring' also.
960         * NEWS: Updated.
962 2006-10-28  Bernd Warken
964         * man/roff.man, src/roff/groff/groff.man: Add `chem', fix position
965         of groff development site, fix fonts.
967         * News: Add information on `chem' and `groffer'.
969 2006-10-26  Bernd Warken
971         * Makefile.in (OTHERDIRS, NOMAKEDIRS): Add `chem' bundle.
973 2006-10-26  Werner LEMBERG  <wl@gnu.org>
975         Add `\%^' escape to handle the parameters to a macro as a string
976         argument.
978         * src/roff/troff/input.h (DOUBLE_QUOTE): New special character.
980         * src/roff/troff/input.cpp (input_iterator, input_stack,
981         macro_iterator): Add `space_follows_arg' member function.
982         (macro_iterator::add_arg): Add parameter to set the `space_follows'
983         flag.
984         (arg_list): Add member `space_follows'.
985         Update constructor and all callers.
986         (decode_args): Store discarded double quotes.
987         (interpolate_args): Handle DOUBLE_QUOTE.
988         Add `\%^' escape.
989         (get_copy, token::next, composite_glyph_name): Handle DOUBLE_QUOTE.
991         * tmac/trace.tmac: Trace .nr, .ds, .ds1, .as, .as1.
993         * docs/groff.texinfo (Parameters), man/groff.man,
994         man/groff_diff.man, NEWS: Document it.
996 2006-10-24  Bernd Warken
998         * Makefile.in (NOMAKEDIRS): Add groffer subdirectories.
1000 2006-10-24  Werner LEMBERG  <wl@gnu.org>
1002         * tmac/groff_trace.man: Mention problem with `\\\\'.
1004 2006-10-23  Werner LEMBERG  <wl@gnu.org>
1006         * doc/groff.texinfo (Expressions): Improve documentation of `!'.
1008         * tmac/trace.tmac (return): Don't call `substring'.
1010 2006-09-10  Werner LEMBERG  <wl@gnu.org>
1012         * src/roff/troff/input.cpp (read_size): Revert previous change
1013         w.r.t. `\s-[-...]'.
1015         * doc/groff.texinfo (Fractional Size Types): Clarify syntax of \s.
1017 2006-09-09  Werner LEMBERG  <wl@gnu.org>
1019         * src/roff/troff/input.cpp (read_size): Fix `\s[-\n[.s]]' so that it
1020         behave the same as `\s-[\n[.s]]' (this is, emit a warning and set
1021         point size to 1).  Reported by Gunnar Ritter.
1022         Also catch `\s-[-...]' and friends (causing an error).
1024 2006-09-06  Werner LEMBERG  <wl@gnu.org>
1026         * src/roff/troff/env.cpp (environment::do_break): Insert zero-width
1027         space only if there is no previous space.  This fixes a bug which
1028         caused unwanted filling of the last line in a paragraph.  Thanks to
1029         Gunnar Ritter for an analysis.
1031 2006-09-03  Werner LEMBERG  <wl@gnu.org>
1033         * src/roff/groff/groff.cpp (main): Pass -U flag to pic also.
1034         Reported by Jennifer Sayers <jenjen@isu.usyd.edu.au>.
1036 2006-09-01  Nick Stoughton  <nick@msbit.com>
1037             Werner LEMBERG  <wl@gnu.org>
1039         Add a request `pev' to print environment information (similar to
1040         `pnr' and `ptr' to print number registers and traps).
1042         * src/roff/troff/env.h (environment): Add member function print_env.
1044         * src/roff/troff/env.cpp: (environment::print_env): New function to
1045         print a given environment state.
1046         (print_env): New global function to iterate through the
1047         environments, printing each one.
1048         (init_env_requests): Register `pev'.
1050         * doc/groff.texinfo (Debugging), man/groff.man, man/groff_diff.man,
1051         NEWS: Document `pev' request.
1053 2006-09-01  Bernd Warken
1055         * src/preproc/soelim/soelim.cpp (usage): Fix option argument of
1056         `-I' to `dir'.
1058 2006-09-01  Werner LEMBERG  <wl@gnu.org>
1060         * src/preproc/pic/main.cpp (usage): Add missing options.
1062 2006-08-25  Werner LEMBERG  <wl@gnu.org>
1064         * src/preproc/soelim/soelim.man: Document how to insert `\' and ` '
1065         in file names.
1067 2006-08-19  Werner LEMBERG  <wl@gnu.org>
1069         * configure: Regenerated.
1071 2006-08-18  Keith Marshall  <keith.d.marshall@ntlworld.com>
1073         * m4/groff.m4 (GROFF_MAKEINFO): Correct `makeinfo version testing
1074         logic; it previously caused an `expr' syntax error, if no version of
1075         `makinfo' was present.  Also, remove dependency on `makeinfo' in VPATH
1076         builds, if an up to date `groff.info' is present in either `builddir'
1077         or in `srcdir'.
1079 2006-08-12  Tadziu Hoffmann  <hoffmann@usm.uni-muenchen.de>
1081         * font/devps/prologue.ps: Add BPhook.
1083         * src/devices/grops/grops.man: Document BPHook.
1084         Reorder some sections for better readability.
1086 2006-08-12  Werner LEMBERG  <wl@gnu.org>
1088         * src/include/lib.h (getlocale): New macro.
1089         (setlocale, LC_ALL, LC_CTYPE) [!HAVE_SETLOCALE]: Define, as
1090         suggested by Bruno.
1092         * src/preproc/preconv/preconv.cpp (main): Use getlocale.
1094 2006-08-11  Werner LEMBERG  <wl@gnu.org>
1096         Add new flag to .cflags to enable hyphenation without looking at
1097         hcode values.
1099         * src/roff/troff/charinfo.h (charinfo): New enumeration value
1100         `IGNORE_HCODES'.
1101         New member function `ignore_hcodes'.
1103         * src/roff/troff/node.cpp (break_char_node::add_self,
1104         node::add_char): Updated.
1106         * doc/groff.texinfo, man/groff_diff.man, NEWS: Document it.
1108 2006-08-09  Werner LEMBERG  <wl@gnu.org>
1110         Support composite Unicode characters again.  Reported by Colin.
1112         * font/devhtml/R.proto: Renamed to...
1113         * font/devhtml/R.in: This.
1115         * font/devutf8/R.proto: Renamed to...
1116         * font/devutf8/R.in: This.
1117         Add `charset' line.
1119         * font/make-Rproto: New script.
1120         * font/devhtml/R.proto, font/devutf8/R.proto: Generated.
1122 2006-07-26  Werner LEMBERG  <wl@gnu.org>
1124         * README: Fix description of CVS access.  Reported by Joachim.
1126 2006-07-11  Werner LEMBERG  <wl@gnu.org>
1128         Add a request `.fzoom' and a number register `.zoom' to magnify
1129         fonts.
1131         * src/include/font.h (font): Add member variable `zoom'.
1132         Add member functions `set_zoom' and `get_zoom'.
1133         Remove `static' attribute from `scale' member function.
1135         * src/libs/libgroff/font.cpp (font::font): Updated.
1136         (scale_round): New version with three parameters to handle zoom
1137         factor.
1138         (font::scale, font::get_width): Handle zoom factor.
1139         (font::set_zoom, font::get_zoom): New functions.
1140         (font::load): Handle `zoom' while computing `space_width'.
1142         * src/roff/troff/env.h: Declare `env_get_zoom'.
1143         (environment): Add member function `get_zoom'.
1145         * src/roff/troff/env.cpp (environment::get_zoom): New function.
1146         (init_env_requests): Initialize `.zoom' register.
1148         * src/roff/troff/node.cpp (font_info): New member functions
1149         `set_zoom' and `get_zoom'.
1150         (tfont): New member function `get_zoom'.
1151         (env_get_zoom): New function.
1152         (troff_output_file::set_font): Handle zoom factor.
1153         (font_zoom_request): New function.
1154         (init_node_requests): Initialize `fzoom' request.
1156         * docs/groff.texinfo (Changing Fonts), man/groff.man,
1157         man/groff_diff.man, NEWS: Document `fzoom' request and `.zoom'
1158         register.
1160         * src/roff/troff/TODO: Updated.
1162 2006-07-10  Werner LEMBERG  <wl@gnu.org>
1164         * doc/groff.texinfo (Drawing Requests): Improve documentation of
1165         \D'P ...'.
1167 2006-07-02  Werner LEMBERG  <wl@gnu.org>
1169         * man/groff_tmac.man: Document usage of .PSPIC within diversions.
1171 2006-07-01  Werner LEMBERG  <wl@gnu.org>
1173         * tmac/pspic.tmac: Make .PSPIC work for all devices.
1174         Print image file name for devices which don't support PS image
1175         inclusion.
1176         Handle multiple inclusions.
1177         Add lots of comments.
1179         * tmac/dvi.tmac, tmac/html.tmac, tmac/ps.tmac: Don't load
1180         pspic.tmac.
1182         * tmac/troffrc: Load pspic.tmac.
1184         * man/groff_tmac.man: Update .PSPIC documentation.
1186         * NEWS: Updated.
1188 2006-06-29  Werner LEMBERG  <wl@gnu.org>
1190         * src/roff/troff/input.cpp (interpolate_macro):
1191         s/probably/possibly/, as suggested by Keith.
1193 2006-06-28  Werner LEMBERG  <wl@gnu.org>
1195         Add support for \D'p...' to grotty.
1197         * src/devices/grotty/grotty.cpp (tty_printer::draw): Move most of
1198         its code to...
1199         (tty_printer::line): This function.
1200         (tty_printer::draw): Rewritten; just call either draw_line or
1201         draw_polygon.
1202         (tty_printer::draw_line, tty_printer::draw_polygon): New functions.
1204         * src/devices/grotty/grotty.man, NEWS: Document it.
1206 2006-06-27  Werner LEMBERG  <wl@gnu.org>
1208         * src/preproc/refer/command.h (have_bibliography): New variable
1209         declaration.
1211         * src/preproc/refer/command.cpp (bibliography_command): Set
1212         `have_bibliography'.
1214         * src/preproc/refer/refer.cpp: Initialize `have_bibliography'.
1215         (output_references): Emit warning only if `have_bibliography' is
1216         set.
1218 2006-06-15  Michail Vidiassov  <master@iaas.msu.ru>
1220         * font/devps/Makefile.sub (DISTFILES): Add freeeuro.afm.
1221         * font/devps/generate/Makefile (clean): Don't remove symbolsl.afm
1222         and zapfdr.afm.
1224 2006-06-15  Werner LEMBERG  <wl@gnu.org>
1226         * src/preproc/tbl/tbl.man: Document limitations of .TS/.TE within a
1227         macro (as suggested by Tadziu Hoffmann).
1229 2006-06-12  Werner LEMBERG  <wl@gnu.org>
1231         * src/preproc/tbl/tbl.man: Add example for use of .TS/.TE within a
1232         macro (as suggested by Tadziu Hoffmann).
1234 2006-06-05  Werner LEMBERG  <wl@gnu.org>
1236         * tmac/strip.sed: Strip `\#' also.
1238         * doc/groff.texinfo (Operators in Conditionals): Document usage of
1239         \? for string comparison.
1241 2006-06-04  Werner LEMBERG  <wl@gnu.org>
1243         * doc/groff.texinfo: Add more index entries for copy-in mode.
1244         (Changing Fonts) <.ft>: Document that a font definition file must
1245         not be called `DESC'.
1247 2006-05-31  Werner LEMBERG  <wl@gnu.org>
1249         * src/roff/troff/input.cpp (token::next) <\N>: Catch negative values
1250         here.
1252         * doc/Makefile.sub (EXAMPLEFILES): Move gnu.eps to...
1253         (PROCESSEDEXAMPLEFILES): Here.
1255 2006-05-30  Werner LEMBERG  <wl@gnu.org>
1257         * src/libs/libgroff/font.cpp (font::load): Reject fonts called
1258         `DESC'.
1259         Reduce number of false positives for `.if F ...' conditionals.
1260         Improve warning messages.
1262 2006-05-29  Werner LEMBERG  <wl@gnu.org>
1264         * tmac/Makefile.sub: Add copyright notice.
1265         (NORMALFILES): Add man.tmac and ms.tmac.
1266         (SPECIALFILES): Remove man.tmac and ms.tmac.
1267         (CLEANADD): Remove man.tmac-sed and ms.tmac-sed.
1268         (install_data, uninstall_sub): Don't handle man.tmac and ms.tmac
1269         specially.
1270         (stamp-sed): Don't handle man.tmac and ms.tmac.
1271         Remove obsolete components in sed's regexp.
1273         * doc/Makefile.sub (EXAMPLEFILES): Add gnu.eps.
1275         * Makefile.in (OTHERDIRS, NOMAKEDIRS): Add hdtbl.
1277 2006-05-28  Werner LEMBERG  <wl@gnu.org>
1279         * doc/groff.texinfo (History): Correct death circumstances of Joe
1280         Ossanna.
1282 2006-05-27  Werner LEMBERG  <wl@gnu.org>
1284         * tmac/an-old.tmac (an-do-tag): Simplify.
1286 2006-05-26  Werner LEMBERG  <wl@gnu.org>
1288         * tmac/an-old.tmac (an-do-tag): Make margin characters work.
1289         (an-header, an-p-footer): Use named environment.
1291         * src/roff/troff/env.cpp (environment::copy): Copy margin character
1292         node.
1294 2006-05-21  Werner LEMBERG  <wl@gnu.org>
1296         * tmac/trace.tmac (de1): Fix serious typo (.di -> .do) and minor
1297         omissions.
1299 2006-05-11  Keith Marshall  <keith.d.marshall@ntlworld.com>
1301         * src/roff/groff/groff.man: Remove superfluous word `intermediate'.
1303 2006-05-10  Keith Marshall  <keith.d.marshall@ntlworld.com>
1305         * src/roff/groff/groff.man: Update copyright notice.
1306         Improved wording to describe effect of `-Z' option.
1308 2006-05-06  Werner LEMBERG  <wl@gnu.org>
1310         * tmac/www.tmac: Decorate `.ds' with trailing `\"' where missing.
1311         Normalize handling of `"' in arguments.
1312         (PIMG): Remove debug message.
1313         Simplify code.
1315 2006-05-05  Werner LEMBERG  <wl@gnu.org>
1317         * src/devices/grohtml/post-html.cpp (page::add_and_encode): Don't
1318         swallow character immediately after `\[...]'.
1319         Simplify code.
1321 2006-05-02  Gaius Mulley  <gaius@glam.ac.uk>
1323         * tmac/www.tmac (PIMG): Fix the HTML device specific components.
1325 2006-05-02  Larry Kollar  <kollar@alltel.net>
1327         * tmac/www.tmac (PIMG): Really default to `-C' if the alignment
1328         option is missing.
1330 2006-04-30  Michail Vidiassov  <master@iaas.msu.ru>
1332         * src/utils/afmtodit/afmtodit.pl: New option `-c' to add font
1333         information as a comment in output.
1334         * src/utils/afmtodit/afmtodit.man, NEWS: Document it.
1336 2006-04-26  Werner LEMBERG  <wl@gnu.org>
1338         * src/devices/grohtml/post-html.cpp (html_printer::~html_printer):
1339         Handle current_paragraph only if it is non-NULL.
1341         * src/libs/libdriver/input.cpp (parse_x_command <'F'>, do_file
1342         <'F'>): Use `get_extended_arg' to behave as documented.  Reported by
1343         Bill Ward <william.a.ward.jr@erdc.usace.army.mil>.
1346         Surround the (pseudo) file name for the .pso request with `<' and
1347         `>'.
1349         * src/roff/troff/node.cpp (real_output_file, troff_output_file): Add
1350         second parameter to `really_put_filename' and `put_filename'.
1351         (troff_output_file::really_put_filename): Emit `<' and `>' around
1352         filename if second argument is set.
1353         * src/roff/troff/node.h: Updated.
1355         * src/roff/troff/input.cpp (file_iterator::file_iterator,
1356         file_iterator::set_location): Update to changes in node.cpp.
1358 2006-04-25  Tetsurou Okazaki  <okazaki@FreeBSD.org>
1360         * src/preproc/preconv/preconv.cpp (do_file): Fix conditional
1361         preprocessor expression (I18N -> HAVE_ICONV).
1362         (main): Fix handling of option `-h'.
1363         Fix conditional preprocessor expression.
1365 2006-04-04  Werner LEMBERG  <wl@gnu.org>
1367         Implement new number register `.br' which is set to 1 if a macro has
1368         been called as .foo and to 0 if called as 'bar.  This is useful for
1369         -mtrace so that requests can be reliably traced too.
1371         * src/roff/troff/input.cpp (input_iterator): Add virtual function
1372         `get_break_flag'.
1373         (macro_iterator): Add `with_break' member and `get_break_flag'
1374         function.
1375         Update constructors.
1376         (input_stack): Add function `get_break_flag'.
1377         (break_flag_reg): New number register class.
1378         (input_init_requests): Register `.br'.
1380         * src/roff/troff/TODO: Updated.
1382         * tmac/trace.tmac: s/!!sp/!!!sp/.
1383         Modify definitions of `de', `de1', `am', and `am1' to use \n[.br].
1385         * docs/groff.texinfo (Requests), man/groff.man, man/groff_diff.man,
1386         NEWS: Document it.
1388 2006-03-29  Werner LEMBERG  <wl@gnu.org>
1390         * src/devices/grops/ps.cpp: s/must not/should not/ in warning
1391         messages where appropriate.
1393 2006-03-28  Werner LEMBERG  <wl@gnu.org>
1395         * configure.ac: Call AC_PROG_EGREP.
1396         * configure: Regenerated.
1398         * Makefile.in (EGREP): New variable.
1399         (MDEFINES): Add $(EGREP).
1401         * src/roff/grog/grog.sh: Treat .TH between .TS and .TE properly
1402         (bug reported by Robert Goulding <Goulding.2@nd.edu>).
1403         Use @EGREP@.
1405         * src/roff/grog/Makefile.sub (grog, grog.old): Use $(EGREP).
1407 2006-03-27  Werner LEMBERG  <wl@gnu.org>
1409         Add two requests `.device' and `.devicem' which are equivalent to
1410         `\X' and `\Y', respectively.
1412         * src/roff/troff/input.cpp (device_request, device_macro_request):
1413         New functions.
1414         (init_input_requests): Register them.
1416         * doc/groff.texinfo (Postprocessor Access), man/groff_diff.man,
1417         man/groff.man, NEWS: Document them.
1419 2006-03-27  Gaius Mulley  <gaius@glam.ac.uk>
1421         * src/roff/troff/input.cpp (encode_char): Emit special characters
1422         for -Thtml as `\[...]'.
1423         * src/devices/grohtml/post-html.cpp (page::add_and_encode): Updated.
1425         * doc/groff.texinfo (Postprocessor Access) <\X>: Updated.
1427 2006-03-27  Werner LEMBERG  <wl@gnu.org>
1429         * tmac/Makefile.sub (NORMALFILES, SPECIALFILES): Add various missing
1430         files.
1432 2006-03-26  Werner LEMBERG  <wl@gnu.org>
1434         * doc/groff.texinfo (Writing Macros): More documentation on
1435         end-of-macro symbol of `.de'.
1436         (Diversions): Minor addition to `.di' description.
1438         * src/devices/grops/grops.man: Some clarifications regarding
1439         insertion of PostScript snippets.
1441 2006-03-25  Michail Vidiassov  <master@iaas.msu.ru>
1443         Add rules to generate `symbolsl.afm'.
1445         * font/devps/generate/zapfdr.sed,
1446         font/devps/generate/symbolsl.awk: New files.
1448         * font/devps/generate/Makefile (symbolfont, PRINTAFM): New
1449         variables.
1450         (SS, clean): Updated.
1451         (freeeuro.afm): Use $(srcdir).
1452         (symbolsl.afm): New rule.
1453         (zapfdr.afm): Use zapfdr.sed.
1455 2006-03-22  Dwight Aplevich  <aplevich@uwaterloo.ca>
1457         * src/preproc/pic/pic.y (expr <INT>): Fix code.
1459 2006-03-22  Jörgen Grahn <jgrahn@algonet.se>
1461         * tmac/sv.tmac: Add missing translations and activate support for
1462         other macro packages.
1464 2006-03-21  Francis GUDIN  <fgudin@nerim.net>
1466         * tmac/doc-syms (Dx): New macro to identify DragonFly.
1467         (doc-str-St--ieee1275-94, doc-str-St--isoC-amd1,
1468         doc-str-St--isoC-tcor1, doc-str-St--isoC-tcor2): New standard
1469         strings.
1470         (doc-operating-system-FreeBSD-5.5, doc-operating-system-FreeBSD-7.0,
1471         doc-operating-system-NetBSD-1.6.3, doc-operating-system-NetBSD-4.0
1472         doc-operating-system-DragonFly-*): New operating system strings.
1474         * tmac/groff_mdoc.man, NEWS: Document `Dx'.
1476 2006-03-21  Werner LEMBERG  <wl@gnu.org>
1478         * src/preproc/pic/pic.y (object_spec THEN): For compatibility with
1479         both DWB pic and dpic, make
1481           right;
1482           line then down;
1484         equal to
1486           right;
1487           line right then down;
1489         instead of
1491           right;
1492           line 0 then down;
1494         * doc/pic.ms: Document this.
1496 2006-03-20  Werner LEMBERG  <wl@gnu.org>
1498         * doc/pic.ms: With permission of Eric Raymond, put it under the
1499         GPL.
1501         * NEWS: Updated.
1503 2006-03-19  Werner LEMBERG  <wl@gnu.org>
1505         * src/preproc/pic/pic.y (expr <INT>): Really return integer part.
1507         * src/preproc/pic/objects.cpp (object_spec::make_line): Handle `at'
1508         attribute in combination with `with'.  Bug reported by Jennifer
1509         Sayers <jenjen@mail.usyd.edu.au>.
1511 2006-03-19  Miklos Somogyi  <msom@netspace.net.au>
1513         * doc/groff.texinfo (Manipulating Spacing): Improve documentation of
1514         `.sp'.
1516 2006-03-18  Werner LEMBERG  <wl@gnu.org>
1518         * LICENSE: Renamed to...
1519         * LICENSES: This.  Collect all licensing information in this file.
1520         * tmac/README, src/libs/snprintf/README: Removed.
1522         * src/devices/grops/grops.man: Add section how to install fonts.
1524         * src/utils/xtotroff/xtotroff.c: Add GPL.
1526 2006-03-17  Werner LEMBERG  <wl@gnu.org>
1528         * Makefile.comm (.y.cpp): Fix #line arguments in output.
1530 2006-03-13  Werner LEMBERG  <wl@gnu.org>
1532         * src/preproc/tbl/tbl.man: Mention default length of text blocks.
1534         * tmac/doc-common (Os): Add more Darwin versions.
1535         * tmac/groff_mdoc.man: Document them.
1537         * doc/groff.texinfo (Operators in Conditionals): Mention that `c'
1538         works with \N'...' also.
1539         * man/groff_diff.man: Ditto.  Remove use of future tense where
1540         possible.
1542 2006-03-12  Michail Vidiassov  <master@iaas.msu.ru>
1544         * font/devps/generate/make-zapfdr, font/devps/symbolsl.ps,
1545         font/devps/zapfdr.ps: Add `%%EndComments' line.
1547 2006-03-10  Larry Kollar  <kollar@alltel.net>
1549         * doc/groff.texinfo (Headers and footers): Document PT, HD, and BT.
1551 2006-03-10  Werner LEMBERG  <wl@gnu.org>
1553         * src/devices/grops/ps.cpp (ps_printer::do_exec, ps_printer::do_def,
1554         ps_printer::do_mdef): Overlong lines now cause a warning message,
1555         not an error.
1557 2006-03-09  Werner LEMBERG  <wl@gnu.org>
1559         * font/devps/generate/make-zapfdr: New script for generating
1560         `zapfdr.ps'.
1562 2006-03-08  Werner LEMBERG  <wl@gnu.org>
1564         * doc/groff.css (pre): Fix `background-color' value.
1566 2006-03-04  Larry Kollar  <kollar@alltel.net>
1568         * tmac/groff_ms.man: Document PT, HD, and BT.
1570 2006-03-04  Werner LEMBERG  <wl@gnu.org>
1572         * src/roff/troff/node.cpp (make_glyph_node): Improve warning message
1573         for single-letter glyph names.
1575 2006-03-02  Werner LEMBERG  <wl@gnu.org>
1577         * tmac/sv.tmac: New file; currently holding only the Swedish strings
1578         for -mm.
1579         * tmac/hyphen.sv: New hyphenation pattern file for Swedish, taken
1580         from CTAN.
1581         * tmac/README: Updated.
1583 2006-02-27  Werner LEMBERG  <wl@gnu.org>
1585         * tmac/trans.tmac (Liec, Letdate, Letns!14): Add it (for -mm).
1586         * tmac/fr.tmac: Add French translations.
1588         * tmac/composite.tmac: Add entry for `:'.
1590 2006-02-26  Werner LEMBERG  <wl@gnu.org>
1592         * doc/Makefile.sub (HTMLEXAMPLEFILESALL): New variable.
1593         (CLEANADD): Use it.
1594         (install_html, uninstall_sub): Updated.
1596 2006-02-26  Bruno Haible  <bruno@clisp.org>
1598         Introduce Unicode fonts.
1600         * font/devhtml/DESC.proto: Mark as unicode.
1601         * font/devhtml/R.proto: Remove all charset entries that are already
1602         in glyphuni.cpp.
1603         * font/devutf8/DESC.proto: Mark as unicode.
1604         * font/devutf8/R.proto: Remove all charset entries.
1605         * src/include/font.h (font): New static field `is_unicode'.
1606         Change order of fields.
1607         * src/libs/libgroff/font.cpp: Include unicode.h.
1608         (font::font): Update for changed order of fields.
1609         (font::contains, font::get_width, font::get_height, font::get_depth,
1610         font::get_italic_correction, font::get_left_italic_correction,
1611         font::get_subscript_correction, font::get_character_type,
1612         font::get_code, font::get_special_device_encoding): Handle both the
1613         explicitly enumerated glyphs and use general code for Unicode fonts.
1614         (font::load): Make the charset section optional when the font is
1615         declared unicode.
1616         (font::load_desc): Recognize the `unicode' attribute.
1617         * src/libs/libgroff/fontfile.cpp (font::is_unicode): New variable.
1619 2006-02-26  Claudio Fontana  <claudio@gnu.org>
1621         * Makefile.in: Add comment about DESTDIR.
1623         * Makefile.sub: Add DESTDIR to install and uninstall targets
1624         to support staged installations.
1625         * Makefile.comm: Likewise.
1626         * doc/Makefile.sub: Likewise.
1627         * contrib/eqn2graph/Makefile.sub: Likewise.
1628         * contrib/grap2graph/Makefile.sub: Likewise.
1629         * contrib/pic2graph/Makefile.sub: Likewise.
1630         * src/devices/xditview/Makefile.sub: Likewise.
1631         * src/preproc/eqn/Makefile.sub: Likewise.
1632         * src/roff/grog/Makefile.sub: Likewise.
1633         * src/roff/nroff/Makefile.sub: Likewise.
1634         * src/utils/afmtodit/Makefile.sub: Likewise.
1635         * src/utils/indxbib/Makefile.sub: Likewise.
1636         * tmac/Makefile.sub: Likewise.
1638 2006-02-24  Werner LEMBERG  <wl@gnu.org>
1640         * src/libs/libgroff/glyphuni.cpp (glyph_to_unicode_list): Use entry
1641         for \-.
1642         Remove commented out entries for \' and \` (there are no such glyph
1643         names).
1645         * src/libs/libgroff/uniglyph.cpp (unicode_to_glyph_list): Remove
1646         commented out entries for \' and \`.
1649         * */*: s/legal/valid/ where appropriate.
1651 2006-06-23  Werner LEMBERG  <wl@gnu.org>
1653         * font/devhtml/R.proto, font/devutf8/R.proto: Remove incorrect \'
1654         and \` entries.
1656 2006-02-22  Werner LEMBERG  <wl@gnu.org>
1658         Remove all remaining traces from the `shc' glyph.
1660         * src/libs/libgroff/glyphuni.cpp (glyph_to_unicode_list),
1661         src/libs/libgroff/uniglyph.cpp (unicode_to_glyph_list): Remove
1662         entry for `shc'.
1664         * font/devlatin1/R.proto, font/devcp1046/R.proto: Replace `shc'
1665         entry with unnamed glyph.
1667         * tmac/html/tmac: Remove `shc' entry from call to `.cflags'.
1669         * src/preproc/preconv/preconv.cpp (unicode_entity): Handle U+00AD
1670         specially.
1672 2006-02-22  Bruno Haible  <bruno@clisp.org>
1674         Concretize the `glyph' datatype.
1676         * src/include/font.h (glyph): Remove class.
1677         (glyph): Renamed from struct `glyphinfo'.
1678         (glyph_to_index): New inline function.
1679         (glyph_to_name): Make extern, not inline.
1680         (glyph_to_number): Update.
1681         (font): Use `glyph *' instead of `glyph'.
1683         * src/libs/libgroff/nametoindex.cpp (charinfo): Inherit from class
1684         `glyph'.  Make `name' field public.
1685         (character_indexer, number_to_glyph, name_to_glyph): Use `glyph *'
1686         instead of `glyph'.
1687         (glyph_to_name): Renamed from `glyph::glyph_name'.
1689         * src/roff/troff/charinfo.h (charinfo): Inherit from class `glyph'.
1690         Use `glyph *' instead of `glyph'.
1692         * src/roff/troff/input.cpp (name_to_glyph, number_to_glyph): Use
1693         `glyph *' instead of `glyph'.
1694         (glyph_to_name): Renamed from `glyph::glyph_name'.
1696         * src/libs/libgroff/font.cpp: Use `glyph *' instead of `glyph',
1697         and `glyph_to_index' instead of `glyph::glyph_index'.
1699         * src/include/printer.h (printer): Use `glyph *' instead of `glyph'.
1700         * src/libs/libdriver/printer.cpp: Likewise.
1701         * src/devices/grodvi/dvi.cpp: Likewise.
1702         * src/devices/grohtml/post-html.cpp: Likewise.
1703         * src/devices/grolbp/lbp.cpp: Likewise.
1704         * src/devices/grolj4/lj4.cpp: Likewise.
1705         * src/devices/grops/ps.cpp: Likewise.
1706         * src/devices/grotty/tty.cpp: Likewise.
1708 2006-02-22  Werner LEMBERG  <wl@gnu.org>
1710         * font/devdvi/generate/tc.map: Add `sr' glyph.
1711         * font/devdvi/*TC: Regenerated.
1713         * src/libs/libgroff/glyphuni.cpp (glyph_to_unicode_list): Use entry
1714         for `sqrt'.
1716 2006-02-21  Werner LEMBERG  <wl@gnu.org>
1718         * man/groff_char.man: Explain `***' marker.
1720 2006-02-17  Bruno Haible  <bruno@clisp.org>
1722         * src/libs/libgroff/nametoindex.cpp (character_indexer): Rename
1723         methods and fields from *_index to *_glyph.
1724         (character_indexer::named_char_glyph): Test for `charNNN' name
1725         here...
1726         (name_to_glyph): ... not here.
1728 2006-02-17  Bruno Haible  <bruno@clisp.org>
1730         * src/include/font.h (name_to_glyph): Renamed from
1731         font::name_to_index.
1732         (number_to_glyph): Renamed from font::number_to_index.
1733         (glyph_to_name): Renamed from font::index_to_name.
1734         (glyph_to_number): Renamed from font::index_to_number.
1735         * src/libs/libgroff/nametoindex.cpp: Likewise.
1736         * src/roff/troff/charinfo.h (charinfo::as_glyph): Renamed from
1737         charinfo::get_index.
1739         * src/roff/troff/input.cpp: All callers changed.
1740         * src/roff/troff/node.cpp: Likewise.
1741         * src/libs/libgroff/font.cpp: Likewise.
1742         * src/devices/grops/ps.cpp: Likewise.
1743         * src/devices/grohtml/post-html.cpp: Likewise.
1744         * src/libs/libdriver/printer.cpp: Likewise.
1746 2006-02-17  Werner LEMBERG  <wl@gnu.org>
1748         * src/include/ptable.h, src/include/itable.h
1749         (NEXT_PTABLE_SIZE_DEFINED): Use it to avoid multiple declaration
1750         of external symbol `next_ptable_size' (used by both header files).
1752 2006-02-15  Bruno Haible  <bruno@clisp.org>
1754         * src/include/font.h (glyphinfo): New class.
1755         (glyph): Change internal representation.
1756         Change constructor signature.
1757         New method glyph::glyph_number().
1758         (glyph::glyph, glyph glyph::undefined_glyph, glyph::glyph_index,
1759         glyph::operator==, glyph::operator!=): Update.
1760         (font::index_to_name, font::index_to_number): New functions.
1762         * src/include/itable.h: New file, based on src/include/ptable.h.
1764         * src/libs/libgroff/nametoindex.cpp: Include itable.h.
1765         (class charinfo): New class.
1766         (class character_indexer): Change table result type from `int' to
1767         `class charinfo'.
1768         Add table with integer key.
1769         (character_indexer::character_indexer): Update.
1770         (character_indexer::ascii_char_index): Update.
1771         (character_indexer::numbered_char_index): Use NULL as name, not a
1772         string starting with a space.
1773         (character_indexer::named_char_index): Update.
1774         (font::number_to_index, font::name_to_index): Remove no-op cast.
1775         (glyph::glyph_name): New method.
1776         * src/roff/troff/charinfo.h (class charinfo): Inherit from class
1777         glyphinfo.
1778         (NUMBERED): Remove flag bit.
1779         (charinfo::numbered, charinfo::get_index): Update.
1781         * src/roff/troff/input.cpp (charinfo::charinfo): Update.
1782         (charinfo::set_number, charinfo::get_number): Update.
1783         (glyph::glyph_name): New method.
1785 2006-02-15  Werner LEMBERG  <wl@gnu.org>
1787         * src/libs/libgroff/glyphuni.cpp (glyph_to_unicode_list): Fix
1788         entries for `>>', `<<', `*f', and `+f'.  Reported by Bruno.
1790 2006-02-13  Werner LEMBERG  <wl@gnu.org>
1792         * font/devps/prologue.ps (RE): Check `UniqueID' also, similar to
1793         dvips.
1795 2006-02-11  Werner LEMBERG  <wl@gnu.org>
1797         * src/include/font.h: s/glyph_t/glyph/.
1798         Update all callers.
1800         * src/devices/grotty/tty.cpp: s/glyph/tty_glyph/.
1801         s/output_character_t/output_character/.
1803 2006-02-11  Bruno Haible  <bruno@clisp.org>
1805         New accessor method glyph_t::glyph_name().
1807         * src/include/ptable.h (declare_ptable): Add a return value to the
1808         `define' method, and declare a `lookupassoc' method.
1809         (implement_ptable): Return the stored key in `define'.  Implement
1810         lookupassoc.
1811         * src/include/font.h (glyph_t): Add `name' field.  Add an argument
1812         to the constructor.
1813         (glyph_t::glyph_name): New method.
1815         * src/libs/libgroff/nametoindex.cpp (character_indexer): Change
1816         return type of methods and field member type to glyph_t.
1817         (character_indexer::character_indexer): Update.
1818         (character_indexer::ascii_char_index): Allocate a name for the
1819         glyph.
1820         Return a glyph_t with name.
1821         (character_indexer::numbered_char_index): Return a glyph_t without a
1822         name.
1823         (character_indexer::named_char_index): Return a glyph_t with a name.
1824         (font::number_to_index, font::name_to_index): Update.
1826         * src/roff/troff/input.cpp (charinfo::charinfo): Use the symbol as
1827         the glyph's name.
1829 2006-02-11  Bruno Haible  <bruno@clisp.org>
1831         * src/devices/grotty/tty.cpp (output_character_t): New type.
1832         (tty_printer::make_bold, tty_printer::add_char,
1833         tty_printer::put_char): Change argument type to output_character_t.
1834         (crossings): Change element type to output_character_t.
1836 2006-02-11  Bruno Haible  <bruno@clisp.org>
1838         Make the glyph data type abstract.
1840         * src/include/font.h (glyph_t): New class.
1841         (name_to_index, number_to_index): Change return type to glyph_t.
1842         (font::contains, font::get_width, font::get_height, font::get_depth,
1843         font::get_character_type, font::get_kern, font::get_skew,
1844         font::get_italic_correction, font::get_left_italic_correction,
1845         font::get_subscript_correction, font::get_code,
1846         font::get_special_device_encoding, font::add_entry,
1847         font::copy_entry, font::add_kern, font::hash_kern): Change argument
1848         type to glyph_t.
1850         * src/libs/libgroff/font.cpp (font_kern_list): Change members
1851         type and constructor argument types to glyph_t.
1852         (font::contains, font::get_width, font::get_height, font::get_depth,
1853         font::get_character_type, font::get_kern, font::get_skew,
1854         font::get_italic_correction, font::get_left_italic_correction,
1855         font::get_subscript_correction, font::get_code,
1856         font::get_special_device_encoding, font::add_entry,
1857         font::copy_entry, font::add_kern, font::hash_kern): Change argument
1858         type to glyph_t.
1859         (font::load): Use glyph_t variables.
1861         * src/libs/libgroff/nametoindex.cpp (name_to_index,
1862         number_to_index): Change return type to glyph_t.
1864         * src/roff/troff/charinfo.h (charinfo::index): Change type to
1865         glyph_t.
1866         (charinfo::get_index): Change return type to glyph_t.
1868         * src/roff/troff/env.cpp: Include font.h.
1870         * src/roff/troff/node.cpp: Include font.h before charinfo.h.
1872         * src/roff/troff/input.cpp: Include font.h before charinfo.h.
1873         (charinfo::charinfo): Update.
1874         (name_to_index, number_to_index): Change return type to glyph_t.
1876         * src/include/printer.h (printer::set_char_and_width): Change return
1877         type to glyph_t.
1879         * src/libs/libdriver/printer.cpp (printer::set_char_and_width):
1880         Change return type to glyph_t.
1882         * src/devices/grodvi/dvi.cpp (dvi_printer::set_char): Change
1883         argument type to glyph_t.
1885         * src/devices/grohtml/post-html.cpp (page::add_and_encode): Update.
1886         (html_printer::space_glyph): Renamed from space_char_index.
1887         (html_printer::add_to_sbuf, html_printer::sbuf_continuation,
1888         html_printer::overstrike, html_printer::set_char): Change argument
1889         type to glyph_t.
1890         (html_printer::set_char_and_width): Change return type to glyph_t.
1892         * src/devices/grolbp/lbp.cpp (lbp_printer::set_char): Change
1893         argument type to glyph_t.
1895         * src/devices/grolj4/lj4.cpp (lj4_printer::set_char): Change
1896         argument type to glyph_t.
1898         * src/devices/grops/ps.cpp (ps_printer::space_glyph): Renamed from
1899         space_char_index.
1900         (ps_printer::set_subencoding, ps_printer::set_char): Change argument
1901         type to glyph_t.
1903         * src/devices/grotty/tty.cpp (tty_printer::set_char): Change
1904         argument type to glyph_t.
1906 2006-02-11  Bruno Haible  <bruno@clisp.org>
1908         * src/roff/troff/input.cpp (font::name_to_index): Never return a
1909         negative value.
1911         * src/libs/libgroff/font.cpp (font::load): Remove failure tests for
1912         font::name_to_index.
1914 2006-02-10  Werner LEMBERG  <wl@gnu.org>
1916         * doc/groff.texinfo (Assigning Formats): Number registers are always
1917         interpolated.
1918         Apply some rephrasing, contributed by Michael Burt.
1920 2006-02-07  Werner LEMBERG  <wl@gnu.org>
1922         * tmac/fr.tmac <ms>: Set `HY' register.
1924 2006-02-07  Werner LEMBERG  <wl@gnu.org>
1926         Add framework for simple adaptation of the main macro packages (mm,
1927         me, ms, mom) to different locales.  In particular, add support for
1928         French.  For activation, simply use `-mfr' as the last macro
1929         package.  This feature has been contributed by Fabrice Ménard
1930         <menard.fabrice@wanadoo.fr>.
1932         * tmac/fr.tmac, tmac/trans.tmac, tmac/hyphen.fr, tmac/LOCALIZATION:
1933         New files.
1934         * tmac/README: Mention hyphen.fr.
1935         * man/groff_tmac.man: Mention fr.tmac.
1936         * NEWS: Updated.
1938 2006-01-27  Werner LEMBERG  <wl@gnu.org>
1940         * man/groff_font.man: Updated documentation of `entity_name' field.
1941         Avoid future tense.
1943 2006-01-27  Bruno Haible  <bruno@clisp.org>
1945         * font/devhtml/R.proto: Remove the entity names from the font's
1946         special_encoding_encoding column.
1947         * src/devices/grohtml/post-html.cpp (get_html_entity): New function,
1948         handling the entity names here.
1949         (get_html_translation): Use it.  Change return type to `const
1950         char *'.
1951         (page::add_and_encode): Update, removing a useless cast.
1953 2006-01-26  Werner LEMBERG  <wl@gnu.org>
1955         This change is based on a patch by Bruno Haible <bruno@clisp.org>.
1957         * src/include/device.h: Add comments.
1958         * src/include/font.h: Add comments.
1959         * src/include/unicode.h: Likewise.
1960         * src/include/ptable.h, src/libs/libgroff/ptable.cpp: Likewise.
1962 2006-01-26  Keith Marshall  <keith.d.marshall@ntlworld.com>
1964         Suppress `.st' request emission by `grn'.
1966         * src/preproc/grn/main.cpp (USE_ST_REQUEST): New macro.
1967         (conv): Use it.
1969 2006-01-22  Werner LEMBERG  <wl@gnu.org>
1971         * install-sh: New version; taken from texinfo CVS.
1973 2006-01-21  Werner LEMBERG  <wl@gnu.org>
1975         * src/preproc/preconv/preconv.cpp (main): Set program_name.  Bug
1976         reported by Alexander E. Patrakov <patrakov@ums.usu.ru>.
1978 2006-01-19  Bruno Haible  <bruno@clisp.org>
1980         Let `make -k install' install more files.
1982         * Makefile.in (MAKE_K_FLAG): New variable.  Use it everywhere where
1983         $(MAKE) and $(MDEFINES) are used.
1984         (CPROGDIRS): Remove $(XPROGDIRS).  Treat $(XPROGDIRS) like
1985         $(CPROGDIRS) everywhere.
1986         ($(DEVDIRS) $(XDEVDIRS) $(OTHERDEVDIRS) $(TTYDEVDIRS)): Don't depend
1987         on $(XPROGDIRS).
1988         ($(OTHERDIRS)): Likewise.
1991         * src/devices/grohtml/post-html.cpp (get_html_translation): Remove
1992         failure test for font::name_to_index -- it can never fail.
1994 2006-01-19  Werner LEMBERG  <wl@gnu.org>
1996         * src/devices/grops/grops.man: Fix section on creating EPS files.
1997         Don't use future time in manual.
1998         Other minor fixes.
2000 2006-01-15  Gaius Mulley  <gaius@glam.ac.uk>
2002         * tmac/www.tmac: New macro LINKSTYLE which allows users to set
2003         various typographical URL attributes for non-HTML devices.
2005         * tmac/groff_www.man: Document LINKSTYLE.
2007 2006-01-11  Werner LEMBERG  <wl@gnu.org>
2009         * configure.ac: Test for getc_unlocked (needed for localcharset).
2010         * configure, src/include/config.hin: Regenerated.
2012         * src/libs/libgroff/Makefile.sub (EXTRA_CFLAGS): Define
2013         ENABLE_RELOCATABLE.
2015         * src/libs/libgroff/relocatable.h: New dummy header file for
2016         localcharset.c.
2018         * src/libs/libgroff/localcharset.c: Updated to (unchanged) CVS
2019         gnulib version.
2021 2006-01-10  Bruno Haible  <bruno@clisp.org>
2023         Work around unportability of nl_langinfo(CODESET).
2025         * m4/glibc21.m4: New file, from gnulib.
2026         * Makefile.sub (M4MACROS): Add m4/glibc21.m4.
2027         * configure.ac: Also test for stddef.h, and invoke jm_GLIBC21.
2028         * Makefile.in (HOST, GLIBC21): New variables.
2029         (MDEFINES): Pass them to subdirectories.
2030         * src/include/relocate.h (relocatep): Define with C linkage.
2031         * src/include/localcharset.h: New file, from gnulib.
2032         * src/libs/libgroff/localcharset.c: New file, from gnulib with a
2033         modification for relocate().
2034         * src/libs/libgroff/config.charset: New file, from gnulib.
2035         * src/libs/libgroff/ref-add.sin: New file, from gnulib.
2036         * src/libs/libgroff/ref-del.sin: New file, from gnulib.
2037         * src/libs/libgroff/Makefile.sub (EXTRA_CFLAGS): Also define LIBDIR.
2038         (OBJS): Add localcharset.o.
2039         (CSRCS): Add localcharset.c.
2040         (all): Add dependencies to charset.alias, ref-add.sed, ref-del.sed.
2041         (charset.alias): New rule.
2042         (PACKAGE): New variable.
2043         (ref-add.sed, ref-del.sed): New rules.
2044         (MKINSTALLDIRS): New variable.
2045         (install_data): Depend on install_charset_data.
2046         (install_charset_data): New rule for creating or updating
2047         charset.alias.
2048         (uninstall_sub): Depend on uninstall_charset_data.
2049         (uninstall_charset_data): New rule for uninstalling or updating
2050         charset.alias.
2051         * src/preproc/preconv/preconv.cpp: Include localcharset.h instead
2052         of <langinfo.h>.
2053         (main): Initialize default_encoding from locale_charset() instead of
2054         nl_langinfo(CODESET).
2056         * aclocal.m4, configure, src/include/config.hin: Regenerated.
2058 2006-01-10  Werner LEMBERG  <wl@gnu.org>
2060         * src/preproc/preconv/preconv.cpp (conversion_iconv): Use
2061         ICONV_CONST in call to iconv.  Reported by Robert Goulding.
2063 2006-01-07  Werner LEMBERG  <wl@gnu.org>
2065         * font/devps/generate/freeeuro.sfd: Run auto-hinter with recent
2066         fontforge version.
2067         Bump font version to 001.001.
2069         * font/devps/generate/Makefile (freeeuro.afm, freeeuro.pfa):
2070         Call fontforge, not pfaedit.
2072         * font/devps/freeeuro.afm, font/devps/freeeuro.pfa: Regenerated.
2074 2006-01-05  Ruslan Ermilov  <ru@FreeBSD.org>
2076         * tmac/doc-common: Add new FreeBSD and NetBSD versions.
2077         * tmac/groff_mdoc.man: Updated.
2079 2006-01-05  Werner LEMBERG  <wl@gnu.org>
2081         * src/preproc/preconv/preconv.cpp: s/debug/debug_flag/.
2082         (raw_flag): New global variable.
2083         (do_file): Use .lf to set file name (if `raw_flag' isn't set).
2084         Don't pass BOM to `conversion_utf8'.
2085         (usage): Updated.
2086         (main): Handle `-r' command line switch to set `raw_flag'.
2087         (get_BOM): Fix encodings in `BOM_table'.
2089         * src/preproc/preconv/preconv.man: New file.  Not complete yet.
2090         * src/preproc/proconv/Makefile.sub (MAN1): New variable.
2092 2006-01-04  Werner LEMBERG  <wl@gnu.org>
2094         * src/preproc/preconv/preconv.cpp (emacs_to_mime): As suggested by
2095         Bruno, comment out most encodings to support only a small set of
2096         coding tags, thus reducing potential problems with legacy encodings
2097         and character sets in the future.
2098         Add many XEmacs coding tags (now commented out).
2099         Add `cp1047'.
2100         (check_encoding_tag): Renamed to...
2101         (check_coding_tag): This.
2102         (get_BOM): Return encoding as specified by BOM.
2103         Test for UTF32-LE too.
2104         (do_file): Don't check for coding tag if a BOM has been found.
2106 2006-01-03  Bruno Haible  <bruno@clisp.org>
2108         * m4/groff.m4: Renamed from aclocal.m4.
2109         * m4/codeset.m4: New file, from gnulib.
2110         * m4/iconv.m4: New file, from gnulib.
2111         * m4/lib-ld.m4, m4/lib-link.m4, m4/lib-prefix.m4: New files, from
2112         gnulib.
2113         * config.rpath: New file, from gnulib.
2114         * config.guess, config.sub: New files, from gnulib.
2115         * Makefile.sub (M4MACROS): New variable.
2116         (configure): Fix typo.
2117         (aclocal.m4): New rule.
2118         (stamp-h.in): Depend on aclocal.m4.
2119         * configure.ac: Invoke AM_ICONV and AM_LANGINFO_CODESET.
2120         * Makefile.in (LIBICONV): New variable.
2121         (MDEFINES): Pass it to recursive makes.
2122         * src/preproc/preconv/preconv.cpp: Use HAVE_LANGINFO_CODESET and
2123         HAVE_ICONV instead of I18N macro.
2124         * src/preproc/preconv/Makefile.sub (EXTRA_LDFLAGS): New variable.
2126         * aclocal.m4, configure, src/include/config.hin: (Re)generated.
2128 2006-01-03  Werner LEMBERG  <wl@gnu.org>
2130         * doc/Makefile.in (webpage.html): Simplify.
2131         * doc/Makefile.sub (webpage.html): Synchronize with doc/Makefile.in.
2132         * doc/webpage.ms, tmac/groff_www.man, tmac/www.tmac: Minor updates.
2134 2006-01-01  Werner LEMBERG  <wl@gnu.org>
2136         * tmac/doc-common (Os): Add some Darwin versions.
2137         * tmac/groff_mdoc.man: Document them.
2139 2006-01-01  Bruno Haible  <bruno@clisp.org>
2141         * src/preproc/preconv/preconv.cpp (emacs_to_mime): Various
2142         corrections:
2143           . Don't map ascii to latin-1.
2144           . Don't use IBMxxx encodings but cpxxx for portability.
2145           . Map cp932, cp936, cp949, cp950 to itself.
2146         (emacs2mime): Protect calls to strcasecmp.
2147         (conversion_iconv): Add missing call to iconv_close.
2148         (do_file): Emit error message in case of unsupported encoding.
2150 2005-12-31  Werner LEMBERG  <wl@gnu.org>
2152         Integrate preconv into the groff binary.  Changes based on a patch
2153         from Michail Vidiassov.
2155         * src/roff/groff/pipeline.h (MAX_COMMANDS): Increase by 1.
2157         * src/roff/groff/groff.cpp (PRECONV_INDEX): New macro.
2158         (SOELIM_INDEX): Updated.
2159         (help, synopsis): Updated.
2160         (main): Add command line options `-k' and `-K enc' to select
2161         encoding.
2162         Add support for GROFF_ENCODING environment variable.
2164         * src/roff/groff/groff.man: Updated and revised.
2167         Start with autoconf support for preconv.
2169         * configure.ac: Call AC_C_BIGENDIAN.
2170         * configure, src/include/config.hin: Regenerated.
2172 2005-12-30  Werner LEMBERG  <wl@gnu.org>
2174         New preprocessor `preconv' to convert input encodings to something
2175         groff can understand.  Not yet integrated within groff.  Proper
2176         autoconf stuff is missing too.
2178         Tomohiro Kubota has written a first draft of this program, and some
2179         ideas have been reused (while almost no code has been taken
2180         actually).
2182         * src/preproc/preconv/preconv.cpp. src/preproc/preconv/Makefile.sub:
2183         New files.
2185         * MANIFEST, Makefile.in (CCPROGDIRS), test-groff.in
2186         (GROFF_BIN_PATH): Add preconv.
2188 2005-12-12  Werner LEMBERG  <wl@gnu.org>
2190         * aclocal.m4 (GROFF_MAKEINFO): Fix regexps to be POSIX conformant.
2191         In particular, don't use `\+' since it is a GNU sed extension.
2193         * configure: Regenerated.
2195 2005-12-09  Werner LEMBERG  <wl@gnu.org>
2197         * src/libs/libgroff/make-uniuni: New script to generate uniuni.cpp. 
2199         * src/libs/libgroff/uniuni.cpp: Regenerated, using data from Unicode
2200         4.1.0.
2203         * src/utils/afmtodit/make-afmtodit-tables: New script to generate
2204         afmtodit.tables.
2206         * src/utils/afmtodit/afmtodit.tables: New file, representing Unicode
2207         4.1.0 data.
2209         * src/utils/afmtodit/afmtodit.pl (%unicode_decomposed,
2210         %AGL_to_unicode): Removed.  Replace it with a tag.
2212         * src/utils/afmtodit/Makefile.sub (afmtodit): Adjust sed expression
2213         to replace tag with actual file contents.
2215 2005-12-08  Werner LEMBERG  <wl@gnu.org>
2217         The change 2005-06-20 can indeed cause problems, so we follow the
2218         advice by using marks.
2220         * font/devps/prologue.ps (PBEGIN): Use `mark'.
2221         (PEND): Use `cleartomark'.
2223 2005-12-07  Michail Vidiassov  <master@iaas.msu.ru>
2225         * src/utils/afmtodit.pl: Fix kerning output to avoid warnings for
2226         glyphs which have kern values but aren't handled (glyph variants,
2227         for example).
2229 2005-12-02  Werner LEMBERG  <wl@gnu.org>
2231         * src/devices/grops/ps.cpp (ps_printer::get_subfont): Use correct
2232         subfont index.  Reported by Michail Vidiassov <master@iaas.msu.ru>.
2234 2005-11-28  Gaius Mulley  <gaius@glam.ac.uk>
2236         * doc/Makefile.in: Separate rule for webpage.html so that extra
2237         command line options can be passed to grohtml.
2238         * doc/groff.css: Change all margins to 0%.
2239         * doc/webpage.ms: Now use new macros ALN, LNS, and LNE so that left
2240         navigation is exploited.  Also update webpage to contain new
2241         sections on licenses, mailing lists, cvs/ftp access, groff
2242         dependencies, and bug reports.
2243         * tmac/groff_www.man: Document the new macros ALN, LNS, and LNE.
2244         * tmac/www.tmac: Implement the new macros ALN, LNS, and LNE.
2245         
2246 2005-11-25  Gaius Mulley  <gaius@glam.ac.uk>
2248         * src/devices/grohtml/post-html.cpp
2249         (html_printer::do_file_components): Add fputs calls to emit the
2250         head contents and shut down the head tag whenever a new file
2251         component is generated.
2253 2005-11-22  Gaius Mulley  <gaius@glam.ac.uk>
2255         * src/devices/grohtml/post-html.cpp (html_printer::flush_page): Add
2256         call to flush_text to flush any outstanding html tags on the
2257         paragraph stack.
2259 2005-11-18  Werner LEMBERG  <wl@gnu.org>
2261         * aclocal.m4 (GROFF_MAKEINFO): Use `groff.info' in tests.
2262         Announce makeinfo version.
2263         * configure: Regenerated.
2265 2005-11-18  Mike Frysinger <vapier@gentoo.org>
2267         * Makefile.in: Declare proper dependencies between make targets.
2269         * doc/Makefile.in: Rename groff info page to `groff.info'.
2270         * doc/Makefile.sub: Likewise.
2271         * doc/groff.texinfo: Likewise.
2273 2005-11-17  Peter O'Gorman  <mlists@thewrittenword.com>
2275         * src/utils/pfbtops/pfbtops.c, src/utils/xtotroff/xtotroff.c: Move
2276         definition of __GETOPT_PREFIX to the beginning of file to ensure
2277         that it is defined even on platforms where getopt.h is already
2278         included by other header files.
2280 2005-11-10  Gaius Mulley  <gaius@glam.ac.uk>
2282         * src/devices/grohtml/post-html.cpp (html_printer::do_heading):
2283         Reset font to NULL to ensure that a font block is recreated during
2284         the next paragraph.
2286 2005-11-04  Werner LEMBERG  <wl@gnu.org>
2288         * aclocal.m4 (GROFF_MAKEINFO): Fix sed expression.
2289         * configure: Regenerated.
2291 2005-10-27  Werner LEMBERG  <wl@gnu.org>
2293         * aclocal.m4 (GROFF_MAKEINFO): New function for checking whether
2294         makeinfo 4.8 or newer is available.
2295         * configure.ac: Call GROFF_MAKEINFO.
2296         * configure: Regenerated.
2298         * Makefile.in (MAKEINFO): Use autoconf variable.
2299         (MDEFINES): Add MAKEINFO.
2301         * doc/Makefile.in (MAKEINFO): Use autoconf variable.
2302         * doc/Makefile.sub (MAKEINFO): Remove.
2304 2005-10-26  Werner LEMBERG  <wl@gnu.org>
2306         * REVISION: Set to 3.
2308 2005-10-17  Werner LEMBERG  <wl@gnu.org>
2310         Mention $MANPAGER variable used with some `man' systems.
2312         * doc/webpage.ms, src/devices/grotty/grotty.man, NEWS: Updated.
2314 2005-09-13  Werner LEMBERG  <wl@gnu.org>
2316         * tmac/hyphenex.us: New version (`ushyphex.tex' from ftp.dante.de).
2318 2005-09-04  Werner LEMBERG  <wl@gnu.org>
2320 Version 1.19.2 released
2321 =======================
2323         * tmac/groff_ms.man, doc/groff.texinfo: Synchronize.
2325         * doc/webpage.ms: Updated.
2327         * install-sh, mkinstalldirs: New versions; taken from texinfo CVS.
2329 2005-09-04  Jörgen Grahn <jgrahn@algonet.se>
2331         * tmac/groff_ms.man: Document `PO' better.
2333 2005-09-03  Werner LEMBERG  <wl@gnu.org>
2335         * NEWS: Document grotty changes.
2337 2005-09-01  Keith Marshall  <keith.d.marshall@ntlworld.com>
2339         Backward compatibility support for `man' program.
2341         * tmac/an-old.tmac (LL): Initialize it to respect prior LL register
2342         assignment, prior `.ll' request and then package defaults, in this
2343         specified order of decreasing priority.
2345         * tmac/groff_man.man, doc/groff.texinfo (Man options): Document
2346         altered `LL' register initialization priorities.
2348 2005-08-29  Gary W. Swearingen  <garys@opusnet.com>
2350         * tmac/groff_mdoc.man: Go into more details how the `AUTHORS'
2351         section should look like.
2353 2005-08-29  Werner LEMBERG  <wl@gnu.org>
2355         * tmac/groff_mdoc.man: The month's name in a call to .Dd shouldn't
2356         be abbreviated.
2358 2005-08-27  Bernd Warken
2360         * tmac/groff_man.man: Add man(7) too SEE ALSO and more minor
2361         fixes.
2363 2005-08-11  Bernd Warken
2365         * tmac/www.tmac (URL, MTO): Handle empty \\$1 better.
2367 2005-08-09  Bernd Warken
2369         * tmac/www.tmac (URL, MTO): Use bold series if color support is
2370         deactivated.
2372 2005-08-02  Bernd Warken
2374         * doc/Makefile.sub (uninstall_sub): Use --remove, not --delete
2375         as argument to $(INSTALL_INFO).  The latter isn't portable.
2376         Remove $(HTMLEXAMPLEFILES) too.
2378         * Makefile.in (uninstall_dirs): Remove $(datadir)/doc/groff and
2379         $(datadir)/doc too.
2380         Suppress warning messages and return always true.
2382         * tmac/Makefile.sub (uninstall_sub): Remove www.tmac too.
2384 2005-07-02  Bernd Warken
2386         * src/devices/xditview/gxditview.man: Change many `.I' to `.B'.
2387         * man/groff_out.man: More markup and minor improvements.
2388         * src/roff/groff/groff.man: Minor improvements.
2390 2005-06-28  Werner LEMBERG  <wl@gnu.org>
2392         * ChangeLog: Split off older entries into...
2393         * ChangeLog.115 ChangeLog.116, ChangeLog.117, ChangeLog.118: New
2394         files.
2396 2005-06-26  Bernd Warken
2398         * src/devices/xditview/gxditview.man: More minor fixes.
2400 2005-06-24  Werner LEMBERG  <wl@gnu.org>
2402         * src/preproc/pic/troff.cpp (troff_output::set_fill,
2403         troff_output::set_color, troff_output::reset_color): Use .bcolor and
2404         .fcolor instead of \m and \M, respectively.
2406 2005-06-23  Bernd Warken
2408         * src/devices/xditview/gxditview.man: More minor fixes.
2409         * README: Formatting issues.
2410         Mention some problems with Debian.
2412 2005-06-23  Bernd Warken
2414         * src/devices/xditview/gxditview.man: Revised and improved.
2416 2005-06-22  Werner LEMBERG  <wl@gnu.org>
2418         Another round in fixing getopt problems.  Hopefully the last one!
2419         This time we use the getopt stuff from gnulib and define a prefix
2420         unconditionally so that there are no collisions with any other
2421         getopt implementations.  This is a slight waste of space in case
2422         we already use a GNU getopt implementation, but on
2423         the other hand it really simplifies life.
2425         * src/include/getopt.h: Use gnulib version.
2427         * src/include/getopt_int.h: Use gnulib version.
2429         * src/include/groff-getopt.h: Removed.  Obsolete now.
2431         * src/include/lib.h: Regarding getopt, don't handle any platform
2432         specially; just include getopt.h.
2433         (__GETOPT_PREFIX): Define (before getopt.h).
2435         * src/include/Makefile.sub (HDRS): Updated.
2437         * src/libs/libgroff/getopt1.c, src/libs/libgroff/getopt.c: Use
2438         gnulib version.
2440         * src/libs/libgroff/Makefile.sub (EXTRA_CFLAGS): Set
2441         __GETOPT_PREFIX.
2443         * src/utils/pfbtops/pfbtops.c, src/utils/xtotroff/xtotroff.c
2444         (__GETOPT_PREFIX): Define (before getopt.h).
2446 2005-06-21  Werner LEMBERG  <wl@gnu.org>
2448         * src/include/lib.h: Provide a fix for Mac OS X to not include
2449         groff-getopt.h.
2451 2005-06-20  Denis M. Wilson  <dmw@oxytropis.plus.com>
2453         * font/devps/prologue.ps (EP): Dont' use `bind'.  Reason: Using
2454         `bind' to define a procedure which contains `showpage' means that an
2455         invocation of `showpage' may execute wrongly (the exact effect
2456         depending on the interpreter).  Not usually a problem except under
2457         transformations, such as combining pages.
2458         (PEND): Don't call `clear'.  Reason: Using `clear' in the definition
2459         of /PEND means that stack underflow will occur if the stack is
2460         deliberately non-empty before document inclusion.  If included
2461         files are found to be generally badly behaved, we could replace the
2462         `clear' with `mark' in /PBEGIN and `cleartomark' in /PEND (I've
2463         never found this necessary).
2465 2005-06-20  Jörgen Grahn  <jgrahn@algonet.se>
2467         * src/preproc/soelim/soelim.cpp (do_file): Append trailing zero
2468         earlier to get correct error message.
2470 2005-06-16  Bernd Warken
2471         * src/roff/nroff/nroff.sh: Add support for iso-8859-15.
2473 2005-06-15  Werner LEMBERG  <wl@gnu.org>
2475         Another try to update getopt files.  This time we add a dummy
2476         gettext.h file to satisfy the dependency.
2478         * src/include/getopt.h, src/libs/libgroff/getopt.c,
2479         src/libs/libgroff/getopt1.c: Updated from GNU libc CVS.
2481         * src/include/getopt_int.h: New file (from GNU libc CVS).
2483         * src/include/gettext.h: Dummy file which just defines a gettext()
2484         macro.
2486         * src/include/groff-getopt.h: Updated.
2488         * src/include/Makefile.sub (HDRS): Add getopt_int.h and gettext.h.
2491         * src/libs/libdriver/input.cpp (IntArray): Remove superfluous
2492         `const' keywords in return value.
2494         * src/preproc/html/pushback.cpp (pushBackBuffer::~pushBackBuffer):
2495         Remove redundant variable `old'.
2496         (pushBackBuffer::skipToNewline): Remove redundant variable `ch'.
2498         * src/preproc/tbl/main.cpp (process_table): Remove redundant
2499         variable `c'.
2502         Fix more friend name injection problems since modern C++ compilers
2503         fail otherwise.  We simply provide (global) declarations for all
2504         functions declared as friends.  This is not really necessary but
2505         doesn't harm.
2507         * src/preproc/eqn/lex.cpp: Provide declarations for get_char,
2508         peek_char, and get_location.
2510         * src/preproc/refer/ref.h: Provide declarations for
2511         compare_reference, same_reference, same_year, same_date,
2512         same_author_last_name, and same_author_name.
2514         * src/roff/troff/div.h: Provide declarations for do_divert and
2515         page_offset.
2517         * src/roff/troff/env.h: Provide declarations for title_length,
2518         space_size, fill, no_fill, adjust, no_adjust, center, right_justify,
2519         vertical_spacing, post_vertical_spacing, line_spacing, line_length,
2520         indent, temporary_indent, do_underline, do_input_trap, set_tabs,
2521         margin_character, no_number, number_lines, leader_character,
2522         tab_character, hyphenate_request, no_hyphenate,
2523         hyphen_line_max_request, hyphenation_space_request,
2524         hyphenation_margin_request, line_width, tabs_save, tabs_restore,
2525         line_tabs_request, widow_control_request, and do_divert.
2527         * src/roff/troff/input.cpp: Provide declaration for chop_macro.
2529         * src/roff/troff/node.cpp: Provide declarations for class
2530         tfont_spec.
2531         Provide declaration for make_tfont.
2533 2005-05-29  Werner LEMBERG  <wl@gnu.org>
2535         * doc/fdl.texi: Updated to version 1.2.  Reported by Bernd Warken.
2537 2005-05-28  Werner LEMBERG  <wl@gnu.org>
2539         * src/devices/grolbp/lbp.cpp, src/devices/grolbp/lbp.h: Remove
2540         redundant semicolons.
2542         * src/preproc/eqn/Makefile.sub, src/preproc/html/Makefile.sub,
2543         src/preproc/soelim/Makefile.sub, src/preproc/tbl/Makefile.sub:
2544         Define `MLIB'.  Some compilers need this for linking with libgroff.
2546 2005-05-27  Werner LEMBERG  <wl@gnu.org>
2548         * MANIFEST, README, doc/webpage.ms: Updated.
2550 2005-05-26  Werner LEMBERG  <wl@gnu.org>
2552         * All affected files: Update postal address of FSF.
2554 2005-05-25  Keith Marshall  <keith.d.marshall@ntlworld.com>
2555             Bernd Warken
2557         * README: More fixes.
2559         * README.CVS: Removed.  Its contents is now part of the README file.
2561 2005-05-21  Werner LEMBERG  <wl@gnu.org>
2563         * README: Updated.  Based on a patch from Bernd Warken.
2565 2005-05-16  Keith Marshall  <keith.d.marshall@ntlworld.com>
2567         Miscellaneous script portability enhancements.
2569         * aclocal.m4: (GROFF_CSH_HACK): Add space in shebang prototype for
2570         generated conftest.sh script, conforming to portability
2571         recommendation in autoconf docs.
2572         * configure: Likewise, for code generated by GROFF_CSH_HACK.
2573         * contrib/eqn2graph/eqn2graph.sh: Add space in shebang, conforming
2574         to portability recommendation in autoconf docs.
2575         * contrib/grap2graph/grap2graph.sh: Likewise.
2576         * contrib/pic2graph/pic2graph.sh: Likewise.
2577         * font/devps/generate/afmname: Likewise.
2578         * src/devices/xditview/ad2c: Likewise.
2579         * src/preproc/eqn/neqn.sh: Likewise.
2580         * src/roff/grog/grog.pl: Likewise.
2581         * src/roff/grog/grog.sh: Likewise.
2582         * src/roff/nroff/nroff.sh: Likewise.
2583         * PROBLEMS: Likewise, in embedded script examples.
2585 2005-05-16  Keith Marshall  <keith.d.marshall@ntlworld.com>
2587         Improve portability of `pdfroff' shell script.
2589         * arch/misc/shdeps.sh: Add space in shebang, conforming to
2590         portability guidelines in `autoconf' docs.
2591         (PATH_SEARCH_SETUP): New substitution; emits PATH_SEPARATOR
2592         initialization code.  Used by contrib/pdfmark/pdfroff.sh's
2593         `searchpath' function.
2595 2005-05-14  Werner LEMBERG  <wl@gnu.org>
2597         * contrib/pic2graph/pic2graph.sh, contrib/graph2graph.sh,
2598         contrib/eqn2graph.sh: Add option `-trim' to `convert' which is
2599         needed for newer ImageMagick versions.
2601 2005-05-07  Werner LEMBERG  <wl@gnu.org>
2603         * src/preproc/refer/refer.man: Many small typographic fixes.
2605 2005-05-06  Jeff Conrad  <jeff_conrad@msn.com>
2607         * src/devices/grohtml/post-html.cpp (assert_state::~assert_state):
2608         Use `char *' cast for a_delete.
2610 2005-05-03  Werner LEMBERG  <wl@gnu.org>
2612         * src/libs/libgroff/maxpathname.cpp: Include stdlib.h.
2613         src/libs/libgroff/relocate.cpp: Use path_name_max everywhere.
2615 2005-05-03  Jeff Conrad  <jeff_conrad@msn.com>
2617         * src/devices/grohtml/post-html.cpp: Use casts to `char *' if using
2618         `a_delete' for `const char *'.
2620 2005-05-03  Werner LEMBERG  <wl@gnu.org>
2622         * src/devices/grohtml/post-html.cpp,
2623         src/devices/grohtml/html-table.cpp,
2624         src/devices/grohtml/html-text.cpp, src/devices/grohtml/output.cpp:
2625         Replace malloc/free with new/delete/a_delete.
2627         * src/devices/grolbp/lbp.h: Remove superfluous semicolons which
2628         are prohibited with ANSI C++.
2629         (lbpprintf, vdmprintf): Remove useless `inline' keyword (since the
2630         function has a variable number of arguments).
2632         * src/preproc/grn/main.cpp (doinput): Change return type to `int'.
2633         Simplify function and update all callers.
2635 2005-05-02  Werner LEMBERG  <wl@gnu.org>
2637         Undo getopt changes from 2005-04-30.  We don't want a dependency
2638         on gettext.
2640         * src/include/getopt_int.h: Removed.
2642         * src/include/getopt.h, src/include/groff-getopt.h,
2643         src/include/Makefile.sub, src/libs/libgroff/getopt.c,
2644         src/libs/libgroff/getopt1.c: Revert to previous version.
2647         * src/include/nonposix.h (access) [_MSC_VER]: New macro.
2649         * src/include/posix.h (F_OK): Define conditionally.
2651         * src/devices/grotty/tty.cpp (tty_printer::make_underline): Use
2652         different variable name in second `for' loop to avoid MSVC compiler
2653         problem.
2655 2005-04-30  Werner LEMBERG  <wl@gnu.org>
2657         AC_TYPE_SIGNAL from current autoconf can fail if CC=g++.
2659         * aclocal.m4 (GROFF_TYPE_SIGNAL): New function.
2660         * configure.ac: Use GROFF_TYPE_SIGNAL, not AC_TYPE_SIGNAL.
2661         * configure, src/include/config.hin: Regenerated.
2663         * PROBLEMS: Updated.
2666         Update getopt files.
2668         * src/include/getopt.h, src/libs/libgroff/getopt.c,
2669         src/libs/libgroff/getopt1.c: Updated from GNU libc CVS.
2671         * src/include/getopt_int.h: New file (from GNU libc CVS).
2673         * src/include/groff-getopt.h: Updated.
2675         * src/include/Makefile.sub (HDRS): Add getopt_int.h.
2678         * font/devutf8/NOTES: Updated.
2680 2005-04-28  Werner LEMBERG  <wl@gnu.org>
2682         Bug fix for Win32 relocatable code.  Based on a patch from Keith
2683         Marshall.
2685         * src/libs/libgroff/maxpathname.cpp (PATH_MAX): Test for `_MAX_PATH'
2686         also.
2688         * src/libs/libgroff/relocate.c (DEBUG): Define it conditionally.
2689         (searchpath) [_WIN32]: Use `_fullpath', not `realpath'.
2691 2005-04-28  Keith Marshall  <keith.d.marshall@ntlworld.com>
2693         Correct `gnu.eps' handling for build from distribution tarball, with
2694         separate source and build directories.
2696         * doc/Makefile.sub: (examples.stamp): New target; forces copy of
2697         grnexmpl.g, groff.css and gnu.eps from source to build directory;
2698         generate gnu.eps from gnu.xpm if required; touch examples.stamp.
2699         (prepare_examples): Make it depend on examples.stamp.
2700         (CLEANADD): Add examples.stamp.
2702 2005-04-27  Werner LEMBERG  <wl@gnu.org>
2704         Implement the rule
2706           position: `(' position `)'
2708         in pic.
2710         * src/preproc/pic/pic.y (position, position_not_place): Handle
2711         additional parentheses.
2713         * doc/pic.ms: Updated.
2715 2005-04-23  Larry Jones  <lawrence.jones@ugs.com>
2717         * src/utils/xtotroff/xtotroff.c (MapFont): Fix variable declaration.
2719 2005-04-18  Werner LEMBERG  <wl@gnu.org>
2721         * src/roff/groff/pipeline.c: Don't include ctype.h.
2723 2005-04-13  Werner LEMBERG  <wl@gnu.org>
2725         * src/roff/nroff/nroff.man: Document option `-M'.
2727 2005-04-13  Bruce Lilly  <blilly@erols.com>
2729         * src/roff/nroff/nroff.sh: Make the script accept option `-M'.
2731 2005-04-01  Kees Zeelenberg  <kzlg@users.sourceforge.net>
2732             Werner LEMBERG  <wl@gnu.org>
2734         Add binary relocation support for Windows platforms.
2736         * src/include/Makefile.sub (defs.h): Add `INSTALLPATH'.
2738         * src/include/relocate.h, src/libs/libgroff/relocate.cpp: New files.
2740         * src/libs/libgroff/searchpath.cpp: Handle `relocate'.
2741         (search_path::search_path, search_path::open_file_cautious): Use
2742         `relocate'.
2744         * src/libs/libgroff/Makefile.sub (OBJS, CCSRCS),
2745         src/include/Makefile.sub (HDRS): Updated.
2747 2005-04-01  Werner LEMBERG  <wl@gnu.org>
2749         * src/devices/grohtml/post-html.cpp: Don't use strdup/free but
2750         strsave/a_delete.
2752         * src/libs/libgroff/font.cpp: Replace strdup with strsave.
2754         * src/libs/libgroff/maxfilename.cpp: Don't include limits.h since
2755         lib.h already does it.
2757         * src/libs/libgroff/maxpathname.cpp: New file, defining
2758         path_name_max.
2760         * src/include/lib.h: Add prototype for path_name_max.
2762         * src/libs/libgroff/Makefile.sub (OBJS, CCSRCS): Updated.
2764         * src/include/nonposix.h (PATH_EXT): New macro.
2766 2005-03-28  Werner LEMBERG  <wl@gnu.org>
2768         Add support for double- and zero-width characters in grotty.
2770         * src/devices/grotty/tty.cpp (glyph): Add width.
2771         (tty_printer::make_underline, tty_printer::make_bold,
2772         tty_printer::add_character): Add parameter to pass character width.
2773         Update all callers.
2774         (tty_printer::end_page): Increase hpos by actual character width.
2776         * font/devutf8/R.proto: Specify zero width for non-spacing
2777         characters.
2779         * tmac/unicode.tmac: Remove definitions for non-spacing entities.
2781         * Makefile.comm (extraclean): Remove more junk files.
2783 2005-03-25  Werner LEMBERG  <wl@gnu.org>
2785         * configure.ac: Undo change from 2005-03-24.
2786         * configure: Regenerated.
2788 2005-03-24  Werner LEMBERG  <wl@gnu.org>
2790         * Makefile.in (NOMAKEDIRS): Add contrib/gdiffmk/tests.
2791         (dist): Search Makefile while descending into $(EXTRADIRS).
2793         * doc/Makefile.in (.PHONY): Add.
2794         (clean): Don't remove *.png and *.eps.
2795         Don't handle *.gif.
2796         (realclean): Remove *.png and *.eps.
2797         (extraclean): Depend on distclean.
2799         * configure.ac: Add copyright.
2800         Handle contrib/pdfmark/Makefile.
2802         * configure: Regenerated.
2804 2005-03-18  Larry Kollar  <kollar@alltel.net>
2806         Add numbered and definition lists to www.tmac.
2808         * tmac/www.tmac (www-ul-level1, www-ul-level2, www-ul-level3,
2809         www-ol-level1, www-ol-level2, www-ol-level3, www-ol-tmp): New
2810         auxiliary string registers.
2811         (www-ul-level, www-ol-level, www-dl-level, www-ol-ctr1, www-ol-ctr2,
2812         www-ol-ctr3, www-dl-shift): New auxiliary number registers.
2813         (www-level): Removed.
2814         (www-level1, www-level2, www-level3): Initialize to empty.
2815         (www-level0, www-level4, www-level5, www-level6, www-level7,
2816         www-level8, www-level9): New string registers.
2817         (www-push-li, www-pop-li): New macros.
2818         (www-push-level, www-pop-level): Renamed to...
2819         (www-push-ul-level, www-pop-ul-level): This.
2820         Updated.
2821         (www-push-ol-level, www-pop-ol-level): New macros.
2822         (ULS, ULE): Updated.
2823         (OLS, OLE, DLS, DLE): New user macros.
2824         (LI): Removed.  It is aliased to one of...
2825         (www-li-ul, www-li-ol, www-li-dl): New macros.
2827         * tmac/groff_www.man: Document new macros.
2829         * NEWS: Updated.
2831 2005-03-18  Werner LEMBERG  <wl@gnu.org>
2833         * tmac/doc-common (doc-operating-system-NetBSD-2.0.1,
2834         doc-operating-system-NetBSD-2.0.2): New strings.
2836         * tmac/groff_mdoc.man: Updated.
2838 2005-03-17  Werner LEMBERG  <wl@gnu.org>
2840         * doc/Makefile.sub (CLEANADD): Add `groff.html'.
2842 2005-03-17  Werner LEMBERG  <wl@gnu.org>
2844         * src/libs/libgroff/hypot.c: Renamed to...
2845         * src/libs/libgroff/hypot.cpp: This.  Updated to C++.
2847         * src/libs/libgroff/Makefile.sub (CCSRCS, CSRCS): Updated.
2849         * src/include/lib.h: Updated.
2851 2005-03-16  Werner LEMBERG  <wl@gnu.org>
2853         Add workaround for broken hypot() on Interix.
2855         * src/libs/libgroff/hypot.c: New wrapper file for `hypot'.
2857         * src/libs/libgroff/Makefile.sub (OBJS): Add `hypot.o'.
2858         (CSRCS): Add `hypot.c'.
2860         * src/include/lib.h: Declare `groff_hypot'.
2862         * src/preproc/grn/hgraph.cpp: Don't declare `hypot'.
2863         Use `groff_hypot'.
2865         * src/preproc/pic/pic.h: Don't declare `hypot'.
2867         * src/preproc/pic/object.cpp (hypot): Use `groff_hypot'.
2869 2005-03-15  Gaius Mulley  <gaius@glam.ac.uk>
2871         * src/devices/grohtml/post-html.cpp
2872         (html_printer::lookahead_for_tables): End .ce properly to avoid a
2873         segfault.
2875 2005-03-15  Werner LEMBERG  <wl@gnu.org>
2877         makeinfo 4.8 doesn't produce good HTML output from groff.texinfo.
2879         * doc/fixinfo.sh: New script to postprocess makeinfo's HTML output.
2881         * doc/Makefile.in (.texinfo.html): Call fixinfo.sh.
2883 2005-03-14  Werner LEMBERG  <wl@gnu.org>
2885         Add Cyrillic support to devutf8 and devhtml.
2887         * font/devutf8/R.proto, font/devhtml/R.proto: Add Cyrillic blocks.
2889         * tmac/unicode.tmac: New file.
2891         * tmac/tty.tmac: Include unicode.tmac if device is utf8.
2893         * tmac/Makefile.sub (NORMALFILES): Add unicode.tmac.
2895         * NEWS: Updated.
2897 2005-03-02  Keith Marshall  <keith.d.marshall@ntlworld.com>
2899         * src/libs/libdriver/printer.cpp (check_for_output_error): New
2900         function.  It has been introduced to catch peculiar error contexts
2901         on MS-Windows platforms.
2903 2005-02-28  Werner LEMBERG  <wl@gnu.org>
2905         * src/roff/troff/input.cpp (string_iterator::fill): Protect against
2906         null pointer.
2908         * tmac/papersize.tmac: Convert `paper' string contents to lowercase.
2910         * configure: Regenerated.
2912         * NEWS: Updated.
2914 2005-02-28  Keith Marshall  <keith.d.marshall@ntlworld.com>
2916         Integrate `pdfmark' into normal groff build system;
2917         install macro `pdfmark' packages, build and install `pdfroff',
2918         and PDF format documentation.
2920         * Makefile.comm: Add PDFDOCDIR.
2922         * Makefile.in: (MDEFINES) ALT_AWK_PROGS, ALT_GHOSTSCRIPT_PROGS,
2923         pdfdocdir, make_pdfdoc, make_install_pdfdoc: New variables.
2924         (unstall_dirs): Add pdfdocdir.
2926         * aclocal.m4: (GROFF_GHOSTSCRIPT_PREFS): New function; support
2927         `--with-alt-gs' option, set ALT_GHOSTSCRIPT_PROGS.
2928         (GROFF_GHOSTSCRIPT_PATH): Support `--with-gs' option, force use of
2929         GROFF_GHOSTSCRIPT_PREFS, set GHOSTSCRIPT.
2930         (GROFF_HTML_PROGRAMS): Force use of GROFF_GHOSTSCRIPT_PATH; tidy up.
2931         (GROFF_AWK_PREFS): New function; support `--with-alt-awk' option,
2932         set ALT_AWK_PROGS.
2933         (GROFF_AWK_PATH): New function; support `--with-awk' option, force
2934         use of GROFF_AWK_PREFS.
2935         (GROFF_PDFDOC_PROGRAMS): New function; force use of GROFF_AWK_PATH
2936         and GROFF_GHOSTSCRIPT_PATH, set make_pdfdoc and make_install_pdfdoc.
2938         * configure.ac: Add AC_PREREQ(2.59), GROFF_PDFDOC_PROGRAMS.
2939         Remove GROFF_GHOSTSCRIPT_PATH, (forced by GROFF_PDFDOC_PROGRAMS, and
2940         also by modified GROFF_HTML_PROGRAMS).
2942 2005-02-27  Gaius Mulley  <gaius@glam.ac.uk>
2944         * src/devices/grohtml/html-text.cpp (html_text::do_pre): Preserve
2945         paragraph spacing.
2946         (html_text::done_para): Unset `start_space'.
2947         (html_text::remove_para_align): Call `retrieve_para_space' for the
2948         spacing.
2950         * src/devices/grohtml/post-html.cpp (html_printer::emit_raw): Unset
2951         `seen_space'.
2952         (html_printer::do_check_center): Emit vertical space if necessary.
2954         * src/roff/troff/env.cpp (environment_switch): Preserve
2955         `seen_space', `seen_eol', and `suppress_next_eol' while switching
2956         environments.
2958         * src/roff/troff/node.cpp (suppress_node::suppress_node): Set
2959         `is_special'.
2961 2005-02-20  Werner LEMBERG  <wl@gnu.org>
2963         * src/preproc/eqn/eqn.man, NEWS: Document various extensions of
2964         eqn.
2966 2005-02-17  Werner LEMBERG  <wl@gnu.org>
2968         * doc/pic.ms, man/groff.man: Fix typos.
2970         * doc/groff.texinfo: Fix typos.
2971         (\LEmacro): Get proper mathematical spacing.
2973 2005-02-16  Werner LEMBERG  <wl@gnu.org>
2975         * aclocal.m4 (GROFF_APPRESDIR_CHECK): Improve warning message.
2976         * configure: Regenerated with autoconf 2.59b.
2978 2005-02-16  Gaius Mulley  <gaius@glam.ac.uk>
2980         * src/devices/grohtml/post-html.cpp (html_printer::is_line_start,
2981         html_printer::start_font): Fix handling of preformatted text.
2983 2005-02-15  Gaius Mulley  <gaius@glam.ac.uk>
2985         These patches modify the indentation implementation to use `<p
2986         style=margin-left: n%>'.  Many thanks to Peter and Larry for
2987         suggesting this solution.  Grohtml only uses tables for `.IP' and
2988         related tags when the first operand has a short width.
2990         Similarly, they modify all vertical space code.  By default, grohtml
2991         sets up a style sheet which uses no vertical space between `table',
2992         `pre', and `p' tags.  It forces spaces when it needs them using
2993         `style="margin-top: 1em"'.
2995         * src/devices/grohtml/html-table.cpp: Include `html-text.h'.
2996         (html_table::emit_table_header, html_table::emit_new_row):
2997         Rewritten.
2998         (html_table::set_space): New function.
2999         (html_indent::html_indent): Don't set `is_used'.
3000         (html_indent::begin): Rewritten.
3001         (html_indent::end): Remove code in function.
3003         * src/devices/grohtml/html-table.h: Updated.
3004         (html_table): Make `out' public.
3006         * src/devices/grohtml/html-text.cpp (html_text::html_text):
3007         Initialize `start_space' with FALSE.
3008         (html_text::end_tag) <P_TAG, PRE_TAG>: Updated.
3009         (html_text::issue_tag): Add argument to handle space style.
3010         (html_text::start_tag) <P_TAG, PRE_TAG>: Updated.
3011         (html_text::flush_text): Don't set `start_space'.
3012         (html_text::push_para): Don't set `p->really_issued'.
3013         (html_text::do_emittext): Updated.
3014         (html_text::do_para): Add paremeter to handle space.
3015         Update all callers.
3016         (html_text::retrieve_para_space): New function.
3018         * src/devices/grohtml/html-text.h (STYLE_VERTICAL_SPACE): New macro.
3019         (tag_definition): Remove `really_issued'.
3020         (html_text): Updated.
3022         * src/devices/grohtml/post-html.cpp (html_printer): Add variables
3023         `current_column' and `row_space'.
3024         Update constructor.
3025         (html_printer::emit_raw, html_printer::write_header,
3026         html_printer::do_indent, html_printer::do_check_center,
3027         html_printer::do_tab_ts): Handle vertical space.
3028         (html_printer:do_tab_te, html_printer::do_end_para): Call
3029         `remove_para_space'.
3030         (html_printer::do_col): Rewritten.
3031         (html_printer::flush_globs): Remove debugging code.
3032         (html_printer::is_line_start): New function.
3033         (html_printer::start_font): Use `is_line_start'.
3034         (html_printer::writeHeadMetaStyle): New function.
3035         (html_printer::do_file_components, html_printer::~html_printer):
3036         Call `writeHeadMetaStyle'.
3038         * tmac/www.tmac (www-handle-percent): New macro.
3039         (MPIMG): Handle percent values for width and height parameters.
3040         (DC): Updated.
3042         * tmac/groff_www.man: Updated.
3044 2005-02-14  Werner LEMBERG  <wl@gnu.org>
3046         * src/utils/afmtodit/afmtodit.pl: Remove an incorrect `my' from
3047         $psname and $italic_angle.
3048         Immediately restart file input loops if `split' returns an empty
3049         array.
3051 2005-02-13  Michail Vidiassov  <master@iaas.msu.ru>
3052             Werner LEMBERG  <wl@gnu.org>
3054         Update afmtodit to better support Unicode (Michail).
3055         Update afmtodit to use Perl 5 syntax (Werner).
3057         * src/utils/afmtodit/afmtodit.pl: Don't use `getopts.pl' but
3058         `Getopts::Std'.
3059         Decorate variables with `my' where necessary.
3060         Use `defined' where necessary to avoid warnings.
3061         Don't use `do' for subroutine calls.
3062         Other minor syntax updates.
3063         Check for both `uXXXX[X[X]]' and `uniXXXX'.
3064         Handle glyph variants properly.
3065         (%unicode_decomposed, %AGL_to_unicode): Don't use `u' prefix in
3066         strings.
3068         * src/utils/afmtodit/afmtodit.man: Updated.
3070 2005-02-13  Werner LEMBERG  <wl@gnu.org>
3072         Make groff.texinfo work with texinfo 4.8.
3074         * doc/groff.texinfo (@Var): Use @r and @slanted.
3075         (@defdummy, @Def*): Use @c to avoid empty lines.
3076         (\angles): Replaced with...
3077         (\Langlemacro, \Ranglemacro): New TeX macros.
3078         (@Langlemacro, @Ranglemacro): New variables defined with @set.
3079         (@angles): Use @Langlemacro and @Ranglemacro.
3080         (\LE): Replaced with...
3081         (\LEmacro): New TeX macro.
3082         (@LEmacro): New variable defined with @set.
3083         (@LE): Use @LEmacro.
3084         (@Lparenmacro, @Rparenmacro, @Lbrackmacro, @Rbrackmacro): New
3085         variables defined with @set.
3086         (@lparen, @rparen, @lbrack, @rbrack): Replaced with...
3087         (@Lparen, @Rparen, @Lbrack, @Rbrack): New macros.
3088         Update all callers.
3090         Other minor updates.
3092         * doc/texinfo.tex: Update to texinfo version 4.8.
3094         * README.CVS: Updated.
3096 2005-02-09  Alejandro López-Valencia <palopez@etb.net.co> (tiny change)
3098         * doc/groff.texinfo (ms Document Control Registers): Document `HY'
3099         and `FAM' registers.
3101 2005-02-05  Werner LEMBERG  <wl@gnu.org>
3103         * tmac/groff_mdoc.man, tmac/doc-common, tmac/doc-ditroff,
3104         tmac/doc-nroff, tmac/doc-old.tmac, tmac/doc-syms, tmac/doc.tmac:
3105         Update BSD license.
3107 2005-02-01  Werner LEMBERG  <wl@gnu.org>
3109         * src/roff/groff/groff.man: Add information about paper size.
3111 2005-01-25  Werner LEMBERG  <wl@gnu.org>
3113         * src/roff/nroff/nroff.sh: Handle `*.ISO8859-1' in locale.  From
3114         NetBSD bin/29114.
3116 2005-01-22  Ruslan Ermilov  <ru@FreeBSD.org>
3118         * tmac/doc.tmac (Sm): Improved.  It didn't work properly in many
3119         cases.
3120         (Re): Emit a warning if called without `.Rs'.
3121         (doc-finish-reference): Use parameter for decreasing
3122         `doc-reference-count'.
3123         (doc-print-reference): Pass specific count parameters to
3124         `doc-finish-reference'.
3126 2005-01-21  Werner LEMBERG  <wl@gnu.org>
3128         * src/libs/libdriver/input.cpp (delete_current_env, do_file):
3129         Reset pointers to zero after deallocation.  This fixes a crash
3130         if a driver is called with multiple input files.  Reported by
3131         Ken Chilton <ken@chiltonfamily.org>.
3133         * src/devices/grops/grops.man: Add more info on DSC.
3135 2005-01-17  Ruslan Ermilov  <ru@FreeBSD.org>
3137         * tmac/doc-common (Dd), tmac/doc-ditroff (gX, doc-setup-header):
3138         Remove dead code.
3140 2005-01-17  Werner LEMBERG  <wl@gnu.org>
3142         * src/roff/troff/div.cpp (top_level_diversion::space): Protect
3143         against division by zero.
3145 2005-01-13  Ruslan Ermilov  <ru@FreeBSD.org>
3147         * tmac/doc.tmac (Ef): Restore doc-curr-font and doc-curr-size.
3149 2004-12-19  Werner LEMBERG  <wl@gnu.org>
3151         * install-sh: New version; taken from texinfo CVS.
3153 2004-12-17  Werner LEMBERG  <wl@gnu.org>
3155         * tmac/devtag.tmac: Protect against loading twice.
3156         Protect agains compatibility mode.
3157         * tmac/www.tmac: Protect against loading twice.
3158         Load `devtag.tmac' before switching off compatibility mode.
3159         * tmac/an-old.tmac, tmac/s.tmac: Load `devtag.tmac'.
3161 2004-12-16  Mike Bianchi  <mbianchi@Foveal.com>
3163         * configure.ac: Produce `contrib/gdiffmk/tests/runtests'.
3164         * configure: Updated.
3166 2004-12-15  Thomas Klausner  <wiz@netbsd.org>
3168         * tmac/doc-syms, tmac/groff_mdoc.man: Add `libpam' library.
3170 2004-12-15  Werner LEMBERG  <wl@gnu.org>
3172         Make `test-groff' work again -- previously, wrong paths have been
3173         used.  Additionally, it can now be called from anywhere.
3175         * test-groff.in: Don't test for groff binary.  This is no longer
3176         necessary since the proper paths are determined by `configure'.
3177         (EXEEXT): Removed.  No longer used.
3178         (srcdir, builddir): Use values provided by the configure script.
3179         (XENVIRONMENT): Updated.
3181         * INSTALL: Updated.
3183 2004-12-14  Gaius Mulley  <gaius@glam.ac.uk>
3185         Make .tag and .taga work for all devices (but only grohtml actually
3186         handles them).
3188         * src/devices/grohtml/post-html.cpp: s/html-tag/devtag/.
3189         (text_glob::is_br, page::add_tag, html_printer::troff_tag,
3190         html_printer::handle_assertion): Don't use hard-coded string
3191         lengths.
3192         (html_printer::lookahead_for_table): Reset `tbl' properly if
3193         necessary.
3194         (html_printer::devtag): New function, handling `devtag'.
3195         (html_printer::special): Don't handle `html-tag'.
3197         * src/include/printer.h, src/libs/libdriver/printer.cpp
3198         (printer::devtag): New virtual function.
3200         * src/libs/libdriver/input.cpp (parse_x_command) <'X'>: Handle
3201         `devtag'.
3203         * src/roff/troff/env.cpp, src/roff/troff/mtsm.cpp,
3204         src/roff/troff/node.cpp: s/html-tag/devtag/.
3206         * src/roff/troff/input.cpp (tag, taga): Always call
3207         curenv->add_node.
3209         * tmac/an-old.tmac, tmac/s.tmac, tmac/troffrc-end: Use DEVTAG*
3210         macros instead of HTML-TAG*.
3212         * tmac/devtag.tmac: New file, defining the DEVTAG-* macros.
3214         * tmac/www.tmac: Load devtag.tmac.
3215         Replace HTML-TAG* macros with DEVTAG* macros.
3216         (HTML, HTML-NS): Changed definitions.
3217         (URL): Use HTML-NS.
3218         (HTML-TAG, HTML-TAG-NS, HTML-TAG-NEXT): Removed.
3220         * tmac/Makefile.sub (NORMALFILES): Add devtag.tmac.
3222 2004-12-10  Werner LEMBERG  <wl@gnu.org>
3224         Import Mike's `gdiffmk' package.
3226         * contrib/gdiffmk/*: New files.
3227         * Makefile.in (OTHERDIRS): Add contrib/gdiffmk.
3228         * NEWS: Updated.
3230 2004-12-08  Werner LEMBERG  <wl@gnu.org>
3232         Import Keith's `pdfmark' package.  Integration is very preliminary.
3234         * contrib/pdfmark/*: New files.
3235         * Makefile.in (OTHERDIRS): Add contrib/pdfmark.
3236         * NEWS: Updated.
3238 2004-12-07  Gaius Mulley  <gaius@glam.ac.uk>
3240         Fix a bug with title handling in HTML.
3242         * src/devices/grohtml/post-html.cpp (text_glob::is_nf,
3243         text_glob::is_fi, text_glob::is_ce): Use strlen to compute string
3244         length.
3245         (html_printer::handle_tag_within_title): New function.
3246         (html_printer::do_title): Use it.
3248         * tmac/s.tmac (TL): Don't set `need_eo_tl'.
3249         (cov*tl-au-print): Emit `.eo.tl' tag.
3251 2004-12-05  Alejandro López-Valencia  <dradul@etb.net.co>
3253         * man/groff_char.man: Minor imrovements.
3255 2004-12-04  Werner LEMBERG  <wl@gnu.org>
3257         * src/preproc/eqn/eqn.man: Revised.
3259 2004-11-25  Werner LEMBERG  <wl@gnu.org>
3261         * src/utils/xtotroff/xtotroff.c: Reformat to be similar to other
3262         groff source files.
3263         Include config.h.
3264         Include limits.h.
3265         Remove X_NOT_STDC_ENV conditional.
3266         (Version_string, program_name): New global variables.
3267         (groff_flag): Removed.
3268         (MapFont): Updated.
3269         (usage): Take a stream as argument.
3270         Use `program_name'.
3271         Update all callers.
3272         (main): Add `long_options' array for `--help' and `--version'.
3273         Make `-g' a dummy option.
3274         Handle `-v' and unknown options.
3275         Remove unused `position' variable.
3277         * src/utils/xtotroff/Makefile.sub (MAN1): Define.
3278         (XLIBS): Add LIBGROFF.
3280         * src/utils/xtotroff/xtotroff.man, src/utils/xtotroff/Makefile.in:
3281         New files.
3283         * src/devices/xditview/Dvi.c (default_font_map): Split into three
3284         parts to avoid compiler warning.
3285         (resources): Don't initialize with `default_font_map'.
3286         (ClassInitialize): Initialize first element of `resources'.
3288         * src/devices/xditview/Makefile.sub (devdir, xtotroff, DPIS, fonts):
3289         Removed.
3291         * src/utils/lkbib/lkbib.man, src/utils/lookbib/lookbib.man,
3292         src/utils/pfbtops/pfbtops.man: Revised, updated.
3294         * configure.ac: Generate src/utils/xtotroff/Makefile.
3295         * configure: Regenerated.
3297 2004-11-24  Werner LEMBERG  <wl@gnu.org>
3299         First fixes to get produce HTML.
3301         * src/devices/grohtml/post-html.cpp (generate_img_src): Add `alt'
3302         attribute.
3304         * tmac/www.tmac (IMG, PIMG, MPIMG): Add `alt' attribute.
3305         (HR, LI): Use `HTML</p>', not `HTML'.
3307         * doc/webpage.ms: Minor updates.
3309 2004-11-23  Larry Kollar  <kollar@alltel.net>
3311         Add option -S grohtml to determine the file split level.
3313         * src/devices/grohtml/post-html.cpp (split_level): New global
3314         variable.
3315         (html_header::determine_header_level): Use split_level.
3316         (main): Handle `-S' command line option.
3317         Sort options.
3319         * src/preproc/html/pre-html.cpp (scanArguments): Updated.
3321         * src/devices/grohtml/grohtml.man: Document it.
3322         Sort options.
3324         * NEWS: Document it.
3326 2004-11-23  Y T  <doarhop@hotmail.com>
3328         * tmac/s.tmac (ref*add-V, ref*add-N): New macros for handling
3329         the volume and number refer entries.
3331 2004-11-22  Werner LEMBERG  <wl@gnu.org>
3333         * src/devices/grohtml/html-table.cpp
3334         (html_table::emit_table_header): Don't emit `cols' attribute which
3335         doesn't exist in HTML 4.0 and is thus invalid.
3337         * NEWS: More minor fixes and updates.
3339 2004-11-18  Werner LEMBERG  <wl@gnu.org>
3341         * tmac/www.tmac (HTML-NS, HTML-TAG-NS, HTML-TAG-NEXT): Simplified.
3342         (HTML</p>): Minor clean-up.
3344         * tmac/groff_www.man: Updated.
3346         * src/devices/grohtml/grohtml.man: Revised and updated.
3348         * NEWS: Updated.
3350 2004-11-18  Gaius Mulley  <gaius@glam.ac.uk>
3352         * src/devices/grohtml/post-html.cpp (html_printer::do_heading):
3353         Fix space insertion.
3354         (html_printer::do_links): Fix rules generation around automatic
3355         heading links.
3357         * tmac/www.tmac (LK): Use HTML-TAG-NS.
3358         (HR): Simplify.
3359         No longer emit empty line for non-HTML devices.
3361 2004-11-17  Werner LEMBERG  <wl@gnu.org>
3363         * doc/Makefile.in (prepare_examples, webpage.html): Handle
3364         `groff.css'.
3366         * doc/Makefile.sub (EXAMPLEFILES, CLEANNOTSRCDIRADD,
3367         prepare_examples, webpage.html): Handle `groff.css'.
3369 2004-11-15  Werner LEMBERG  <wl@gnu.org>
3371         * NEWS, README, doc/webpage.ms: Updated.
3373         * tmac/www.tmac (HTML, HTML-TAG): Minor clean-ups.
3375 2004-10-30  Gaius Mulley  <gaius@glam.ac.uk>
3377         * src/include/printer.h (printer): Remove virtual function
3378         `round_width'.
3379         Update all source files.
3381         * src/devices/grohtml/post-html.cpp (html_printer): New member
3382         function `round_width'.
3384 2004-10-20  Tadziu Hoffmann  <hoffmann@usm.uni-muenchen.de>
3386         * src/preproc/tbl/table.cpp (table::do_row): Fix handling of the `d'
3387         column key letter suffix.
3389 2004-10-14  Werner LEMBERG  <wl@gnu.org>
3391         * Makefile.in (check): Depend on `site.exp' and `docheck'.
3392         (docheck): Run dejagnu's `runtest' if it exists.
3393         (site.exp): Create dejagnu configuration file.
3395         * Makefile.sub (DISTCLEANFILES): Add files related to dejagnu.
3397 2004-10-13  Werner LEMBERG  <wl@gnu.org>
3399         * src/devices/grohtml/html-text.cpp (html_text_get_alignment),
3400         src/devices/grohtml/post-html.cpp (make_val,
3401         html_printer::handle_state_assertion): Fix compiler warnings.
3403         * src/roff/troff/div.cpp: Include `stringclass.h' and `mtsm.h'.
3404         (diversion::diversion): Fix order of initializers.
3406         * src/roff/troff/div.h: Don't include `mtsm.h'.
3408         * src/roff/troff/env.cpp: Include `stringclass.h' and `mtsm.h'.
3409         (environment::environment): Fix order of initializers.
3410         (environment::make_tag, environment::construct_format_state): Fix
3411         compiler warnings.
3413         * src/roff/troff/input.cpp: Include `stringclass.h' and `mtsm.h'.
3414         (input_iterator::input_iterator, macro::macro): Fix order of
3415         initializers.
3417         * src/roff/troff/mtsm.cpp: Include only necessary header files.
3418         (state_set::add, state_set::val): Fix compiler warnings.
3420         * src/roff/troff/mtsm.h: Don't include `stringclass.h'.
3421         (bool_value_state, int_value_state, units_value_state,
3422         string_value_state): Remove comma after last element which causes
3423         an error with g++ 3.3.3.
3425         * src/roff/troff/node.cpp: Include `stringclass.h'.
3426         (hline_node::hline_node, vline_node::vline_node,
3427         space_char_hmotion_node, left_italic_corrected_node): Fix compiler
3428         warnings.
3429         (zero_width_node::zero_width_node): Fix order of initializers.
3431         * src/roff/troff/node.h: Don't include `mtsm.h'.
3432         (hmotion_node): Fix compiler warnings.
3434         * src/roff/troff/number.cpp: Include `stringclass.h' and `mtsm.h'.
3436 2004-10-12  Gaius Mulley  <gaius@glam.ac.uk>
3438         * doc/groff.css: New file.
3440         * doc/webpage.ms: Use `groff.css'.
3441         Other small fixes.
3443         * tmac/an-old.tmac (need_eo_h): New number register.
3444         (TH): Emit `.eo.tl' tag after title.
3445         (SH): Set `need_eo_h'.
3446         (an-trap): Handle `need_eo_h'.
3447         (an-do-tag): s/HTML-TAG-NS/HTML-TAG-NEXT/.
3449         * tmac/s.tmac (need_eo_h, need_eo_tl): New number registers.
3450         (TL): Always start diversion.
3451         Updated.
3452         (@AI): Always call `par@reset'.
3453         (@AB): Update code for -Thtml.
3454         (cov*tl-au-print): Handle -Thtml.
3455         (par@reset): Handle `need_eo_tl', `need_eo_h'.
3456         (@IP): Simplified.
3457         (@IT-html): Removed.
3458         (@SH): Set `need_eo_h' for -Thtml.
3459         (par@TL): s/HTML-TAG/HTMl-TAG-NS/.
3460         Set `need_eo_tl'.
3461         (@NH): s/HTML-TAG/HTMl-TAG-NS/.
3462         Set `need_eo_h' for -Thtml.
3463         (@EQ, @EN): Don't handle -Thtml specially.
3464         (par@load-init): Don't handle -Thtml specially.
3466         * tmac/www.tmac (www:paraspace): New macro.
3467         (HTML-NS, HTML-TAG-NS): Use new `tag' request.
3468         (HTML</p>, HTML-TAG-NEXT): New macros.
3469         (HnE): Emit tag `.eo.h' instead of break.
3470         (HR): s/HTML-NS/HTML/.
3471         (www-end-nowhere): End diversion only if `www-html' not set.
3472         Emit `.eo.tl' tag.
3473         (ULS, ULE): s|HTML|HTML</p>|.
3474         (LI): Call `www:paraspace'.
3475         (HEAD): New macro.
3477 2004-10-11  Gaius Mulley  <gaius@glam.ac.uk>
3479         * src/roff/troff/request.h (macro): Make `p' public.
3480         New variable `is_a_diversion'.
3481         New member function `is_diversion'.
3484         * src/devices/grohtml/html.h (simple_output): New member function
3485         `force_nl'.
3487         * src/devices/grohtml/html-table.cpp (tabs::compatible): Fix
3488         computation of `total'.
3489         (tabs::check_init): New function.
3490         (html_table::emit_table_header): Emit style data.
3491         (html_table::insert_column): Improved.
3493         * src/devices/grohtml/html-table.h: Updated.
3495         * src/devices/grohtml/html-text.cpp (html_text::html_text):
3496         Initialize `start_space' with TRUE.
3497         (html_text::end_tag, html_start_tag): Fix `P_TAG' and `PRE_TAG'
3498         cases.
3499         (html_text::flush_text): Set `start_space' flag.
3500         (html_text::uses_indent, html_text::remove_para_space,
3501         html_text::get_alignment): New functions.
3502         (html_text::push_para): Updated.
3503         (html_text::do_para): Check for empty argument.
3504         Don't set `space_emitted'.
3505         (html_text::do_space, html_text::emit_space): Updated.
3507         * src/devices/grohtml/html-text.h (tag_definition): New variable
3508         `really_issued'.
3509         (html_text): New member function `uses_indent', `remove_para_space',
3510         `get_alignment'.
3512         * src/devices/grohtml/output.cpp (simple_output::force_nl): New
3513         function.
3514         (simple_output:nl): Always emit `\n'.
3516         * src/devices/grohtml/post-html.cpp: Include `string.h'.
3517         (BASE_POINT_SIZE): Removed.
3518         (base_point_size, head_info): New global variables.
3519         (text_glob): New member functions `is_ll', `is_tl', `is_eo_tl',
3520         `is_eo_h'.
3521         (text_glob::is_nf, text_glob::is_fi): Handle `.fi 0' and `.fi 1'
3522         tags, respectively.
3523         (page::add_and_encode): Pass additional parameter for tag flag.
3524         (assert_pos): New structure.
3525         (assert_state): New class.
3526         (html_printer): Remove `indentation', `prev_indent'.
3527         Add variables `troff_indent', `device_indent', `temp_indent'.
3528         Add variables `seen_indent', `next_indent', `seen_pageoffset',
3529         `next_pageoffset', `seen_linelenght', `next_linelength',
3530         `seen_center', `next_center', `seen_space', `seen_break', `as'.
3531         Add member functions `do_check_center', `do_space', `do_head',
3532         `get_troff_indent', `restore_troff_indent', `handle_assertion',
3533         `handle_state_assertion', `do_end_para', `set_char_and_width'.
3534         Change argument to `do_fill' to `char *'.
3535         Update constructor.
3536         (html_printer::emit_raw): Call `shutdown_table'.
3537         Use new functions.
3538         (html_printer::do_center): Simplified.
3539         (html_printer::do_title): Improved.
3540         (html_printer::write_header): Emit one more newline.
3541         Use new functions.
3542         (html_printer::do_heading, html_printer::do_indent,
3543         html_printer::do_eol, html_printer::do_tab_ts,
3544         html_printer::do_tab, html_printer::do_tab0,
3545         html_printer::calc_po_in, html_printer::next_horiz_pos,
3546         html_printer::remove_courier_tabs,
3547         html_printer::insert_tab0_foreach_tab, html_printer::begin_page):
3548         Updated.
3549         (html_printer::do_linelength, html_printer::do_pageoffset,
3550         html_printer::do_indentation, html_printer::do_tempindent,
3551         html_printer::do_tab_te): Simplified.
3552         (html_printer::do_pointsize): Check whether point size is really
3553         associated a `.tl' tag.
3554         (html_printer::do_break): Rewritten.
3555         (html_printer::troff_tag): Improved.
3556         (html_printer::flush_globs): Updated.
3557         (html_printer::lookahead_for_tables): Handle `is_br'.
3558         Use new functions.
3559         (html_printer::set_char): Check `sbuf_style.f'.
3560         (html_printer::write_navigation): Use string comparison.
3561         (html_printer::~html_printer): Emit `head_info'.
3562         (html_printer::special): Rewritten.
3563         (get_str, make_val): New functions.
3564         (main): New option `s' to set the base point size.
3566         * src/preproc/html/pre-html.cpp (scanArguments): Handle option `s'.
3568 2004-10-10  Gaius Mulley  <gaius@glam.ac.uk>
3570         * src/roff/troff/node.cpp: New extern `debug_state'.
3571         Include `stringclass.h' and `mtsm.h'.
3572         Implement new classes and class members from `node.h'.
3573         (real_output_file): Make `fp' public.
3574         (troff_output_file): New variables `cur_div_level' and `tag_list'.
3575         Update constructors.
3576         (troff_output_file::really_print_line): Check whether we should push
3577         the current troff state and use the state at the start of the
3578         invocation of this diversion.
3579         (troff_output_file::add_to_tag_list): New member function.
3580         (node::add_char): Handle `glyph_comp_np'.
3582         * src/roff/troff/node.h: Include `mtsm.h'.
3583         (node): New variables `state', `push_state', `div_nest_level',
3584         `is_special'.  Update constructors, all descendants.
3585         Pass additional argument to `add_char' member function.
3586         New virtual member functions `is_tag', `debug_node',
3587         `debug_node_list'.  Update all descendants.
3588         (tag_node): New class for handling tags.
3589         (output_file): Add variable `state'.
3591 2004-10-09  Gaius Mulley  <gaius@glam.ac.uk>
3593         * src/roff/troff/mtsm.cpp, src/roff/troff/mtsm.h: New files,
3594         providing a minimal troff state machine to emit meta tags for the
3595         post-grohtml device driver.
3597         * src/roff/troff/Makefile.sub (OBJS, CCSRCS, HDRS): Handle new
3598         files.
3600 2004-10-09  Werner LEMBERG  <wl@gnu.org>
3602         * tmac/trace.tmac: Fix handling of `am' and `am1' calls.
3604 2004-10-06  Gaius Mulley  <gaius@glam.ac.uk>
3606         * src/roff/troff/column.cpp (vjustify_node::copy): Updated.
3608         * src/roff/troff/div.h: Include `mtsm.h'.
3609         (diversion): New variables `any_chars_added', `needs_push',
3610         `saved_seen_break', `saved_seen_space', `saved_seen_eol',
3611         `saved_suppress_next_eol', `modified_tag'.
3612         New virtual member function `is_diversion'.  Update all descendants.
3614         * src/roff/troff/div.cpp (diversion::diversion,
3615         macro_diversion::macro_diversion): Updated.
3616         (do_divert): Handle `seen_break', `seen_space', `seen_eol',
3617         `suppress_next_eol'.
3618         (top_level_diversion::space): Handle `curenv->seen_space'.
3619         (page_offset): Update tag handling.
3620         (space_request, blank_line, flush_output): Don't call `add_html_tag'.
3622         * src/roff/troff/env.h (environment): Make `tabs' public.
3623         Remove `ignore_next_eol', `emitted_node'.
3624         Update `output_line', `output'.
3625         New variables `seen_space', `seen_eol', `suppress_next_eol',
3626         `seen_break'.
3627         New member functions `construct_state', `make_tag',
3628         `construct_format_state, `construct_new_line_state,
3629         `dump_troff_state'.
3630         Remove `add_html_tag', `make_html_tag'.
3632         * src/roff/troff/env.cpp: New externs `suppress_push',
3633         `get_diversion_state', `global_diverted_space'.
3634         (pending_output_line): New variable `was_centered'.
3635         Update constructor and all callers.
3636         (pending_output_line::output): Call `curenv->construct_format_state'.
3637         (environment::environment, environment::copy): Updated.
3638         (environment::output): Handle `was_centered'.
3639         (environment::add_char): Handle construct and diversion state.
3640         (environment::add_node): Handle construct state.
3641         (environment::newline): Handle `was_centered'.
3642         (environment::output_line): Updated.
3643         (environment::possibly_break_line): Updated.
3644         Update tag handling.
3645         (environment::add_html_tag): Replaced with...
3646         (environment::make_tag): New function.
3647         (environment::add_html_tag_tabs, environment::make_html_tag): Removed.
3648         (environment::dump_troff_state): New debugging function.
3649         (environment::construct_state, environment::construct_format_state,
3650         environment::construct_new_line_state): New functions.
3651         (environment::do_break): Updated.
3652         Handle `global_diverted_space'.
3653         (environment::handle_tag): Update tag handling.
3654         (point_size, fill, do_break_request): Don't call `add_html_tag'.
3655         (no_fill): Don't call `add_html_tag'.
3656         Set `suppress_next_eol'.
3657         (center, right_justify, line_length, indent, temporary_indent,
3658         set_tabs):
3659         Update tag handling.
3661         * src/roff/troff/input.cpp: Don't include `stringclass.h'.
3662         (input_iterator): New variables `is_diversion', `diversion_state'.
3663         Update constructors.
3664         (input_stack): New member functions `get_div_level',
3665         `get_diversion_state', `check_end_diversion'.
3666         New variables `div_level', `diversion_state'.  Initialize them.
3667         (suppress_push, global_diverted_space): New global variables.
3668         (input_stack::finish_get, input_stack::finish_peek,
3669         input_stack::remove_boundary, input_stack::end_file,
3670         input_stack::clear, input_stack::pop_macro): Call
3671         `check_end_diversion'.
3672         (input_stack::push): Handle `div_level' and `diversion_state'.
3673         (get_diversion_state): New function.
3674         (diverted_space_node::reread): Handle `global_diverted_space'.
3675         (macro::macro): Update constructors.
3676         (macro::is_diversion): New function.
3677         (macro::operator=): Set `is_a_diversion'.
3678         (string_iterator): New member function `is_diversion'.
3679         (string_iterator::string_iterator): Update constructors.
3680         (string_iterator::fill): Set `div_nest_level'.
3681         (macro_iterator): New member function `is_diversion'.
3682         (do_if_request): Handle `suppress_push'.
3683         (tag, taga): New functions.
3684         (init_input_requests): Add `tag' and `taga' requests.
3686 2004-10-05  Gaius Mulley  <gaius@glam.ac.uk>
3688         * src/include/font.h (font): New member function
3689         `get_image_generator'.
3690         New variables `unscaled_charwidths' and `image_generator'.
3692         * src/libs/libgroff/font.cpp (font::get_width): Always return the
3693         character's unscaled width if `font::unscaled_charwidths' is set.
3694         (font::get_image_generator): New function.
3695         (font::load_desc): Check the `unscaled_charwidths' and
3696         `image_generator' keywords.
3698         * src/libs/libgroff/fontfile.cpp: Initialize
3699         `font::unscaled_charwidths' and `font::image_generator'.
3701         * font/devhtml/DESC.proto: s/html/unscaled_charwidths/.
3703         * font/devhtml/Makefile.sub (DESC): Set `image_generator' keyword.
3705         * man/groff_font.man: Document `unscaled_charwidths' and
3706         `image_generator'.
3708         * src/preproc/html/pre-html.cpp: Include `device.h'.
3709         (image_gen): New global variable.
3710         (imageList::createPage): Use `image_gen'.
3711         (main): Use `image_generator' keyword.
3713 2004-10-04  Gaius Mulley  <gaius@glam.ac.uk>
3715         * tmac/html.tmac: Handle \[sqrtex].
3717 2004-10-04  Gaius Mulley  <gaius@glam.ac.uk>
3719         * src/include/printer.h (printer): New virtual method `round_width'.
3721         * src/devices/grodvi/dvi.cpp, src/devices/grolbp/lbp.cpp,
3722         src/devices/grolj4/lj4.cpp, src/devices/grops/ps.cpp,
3723         src/devices/grotty/tty.cpp (printer::round_width): New function
3724         member.
3726         * src/devices/grohtml/post-html.cpp (printer::round_width): New
3727         function member.
3728         (html_printer::set_numbered_char): Use it.
3730 2004-10-03  Gaius Mulley  <gaius@glam.ac.uk>
3732         * aclocal.m4 (GROFF_GHOSTSCRIPT_PATH): New macro.
3734         * configure.ac: Call GROFF_GHOSTSCRIPT_PATH.
3736         * configure: Regenerated.
3738         * Makefile.in (GHOSTSCRIPT): New variable.
3739         (MDEFINES): Add GHOSTSCRIPT.
3741 2004-10-03  Werner LEMBERG  <wl@gnu.org>
3743         * INSTALL.gen: Updated (taken from texinfo CVS).
3745 2004-09-28  Werner LEMBERG  <wl@gnu.org>
3747         * NEWS: Updated.
3749 2004-09-28  Heinz-Jürgen Oertel  <hj.oertel@surfeu.de>
3751         * tmac/groff_www.man: Revised and updated.
3753 2004-09-26  Werner LEMBERG  <wl@gnu.org>
3755         Fix \$@ and \$* to handle any number of arguments.
3757         * src/roff/troff/input.h (BEGIN_QUOTE, END_QUOTE): New special
3758         characters.
3760         * src/roff/troff/input.cpp (input_iterator::internal_level):
3761         Removed.
3762         (input_stack): New member functions `increase_level' and
3763         `decrease_level'.
3764         (input_stack::get_level): Don't use `internal_level'.
3765         (get_copy, token::next): Handle BEGIN_QUOTE and END_QUOTE.
3766         (end_quote_iterator): Completely removed.
3767         (interpolate_arg): Build string for \$@ and \$* which is then
3768         pushed onto the input stack.
3770 2004-09-23  Keith Marshall  <keith.d.marshall@ntlworld.com>
3772         * tmac/groff_ms.man, doc/groff.texinfo (ms Document Control
3773         Registers): Document changes from 2004-09-19.
3775 2004-09-23  Werner LEMBERG  <wl@gnu.org>
3777         * tmac/an-old.tmac (ne): Using default scaling operator.
3779 2004-09-19  Keith Marshall  <keith.d.marshall@ntlworld.com>
3781         This change implements the following features:
3783         PORPHANS
3784           New numeric register: Defines number of lines following LP, PP,
3785           QP, IP or XP, which must be kept together, before any automatic
3786           page break.  If insufficient space remains on the current page, a
3787           page break is forced before the new paragraph begins.
3789         HORPHANS
3790           New numeric register: Sets number of lines of following paragraph
3791           which must be kept with a heading, defined by NH or SH, before any
3792           automatic page break.  If insufficient space remains on the
3793           current page, a page break is forced before the heading.
3795         GROWPS
3796           (Thanks to Joerg van den Hoff, for this idea).
3798           New numeric register: Sets the first level of heading (set with
3799           NH), which will keep the same point size as body text; e.g. if
3800           GROWPS is set to 3, .NH 3, .NH 4, ... will produce headings at the
3801           point size specified by \n[PS], but .NH 2 and .NH 1 will have
3802           progressively larger point sizes, determined by \n[PSINCR] (see
3803           below).
3805         PSINCR
3806           New numeric register: Sets the point size increment for each level
3807           of heading, (set with NH), below the threshold level set by
3808           GROWPS; e.g. if \n[PS] = 10, \n[GROWPS] = 3 and \n[PSINCR] = 2.0p,
3809           then .NH 1 will produce 14pt headings, .NH 2 will produce 12pt,
3810           and all other levels will remain at 10pt, (because \n[PS] = 10).
3812         SH
3813           Existing macro now accepts a numeric argument, to make heading
3814           size match that of NH with same argument value, when the
3815           GROWPS/PSINCR feature is enabled.
3817         SN-DOT
3818           New string, set by NH macro, replaces the existing (undocumented)
3819           use of SN, to represent the assigned section number.
3821         SN-NO-DOT
3822           New string, set by NH macro, represents the assigned section
3823           number, but omits the terminal period (periods at intermediate
3824           levels are retained).
3826         SN
3827           String set by NH macro, originally undocumented, now implemented
3828           as an alias for SN-DOT (which reproduces original behaviour).
3830         * tmac/s.tmac (PORPHANS): New register.
3831         (par*start): Use it.
3832         (HORPHANS, GROWPS, PSINCR): New registers.
3833         (SH-NO-TAG, @SH): Use them.
3834         (@NH): Improved.
3836 2004-09-19  Keith Marshall  <keith.d.marshall@ntlworld.com>
3838         * NEWS, doc/groff.texinfo (ms Display and Keeps), tmac/groff_ms.man:
3839         Document the deletion of `Ds' and `De' macros.
3841 2004-09-10  Werner LEMBERG  <wl@gnu.org>
3843         In tbl, handle \a as an interpreted leader character if in
3844         compatibility mode.
3846         * src/preproc/tbl/table.h (PREFIX, PREFIX_CHAR, LEADER,
3847         LEADER_CHAR): New macros.
3848         (compatible_flag): New declaration.
3850         * src/preproc/tbl/main.cpp (table_input): Add LEADER_1, LEADER_2,
3851         LEADER_3, and LEADER_4 to `state'.
3852         (table_input::get): Handle `\a'.
3854         * src/preproc/tbl/table.cpp (PREFIX): Removed.
3855         (LEADER_REG): New macro.
3856         (table::init_output): Define LEADER_REG string register if in
3857         compatibility mode.
3859         * src/preproc/tbl/tbl.man: Document it.
3861 2004-08-18  Werner LEMBERG  <wl@gnu.org>
3863         * tmac/doc.tmac (An): Fix error message.
3865 2004-08-06  Werner LEMBERG  <wl@gnu.org>
3867         * src/preproc/tbl/main.cpp (main): Call `fatal' not `error' if a
3868         file can't be opened.  UNIX tbl has the same behaviour.
3870 2004-08-05  Y T  <doarhop@hotmail.com>
3872         * src/preproc/grn/hdb.cpp (compatibility_flag): Add declaration.
3873         (DBRead): If in compatibility mode, take into account the text
3874         when computing figure boundaries.
3876 2004-08-05  Werner LEMBERG  <wl@gnu.org>
3878         * src/preproc/soelim/soelim.man: Improved.  Based on suggestions
3879         from Tadziu Hoffmann.
3881 2004-08-03  Werner LEMBERG  <wl@gnu.org>
3883         * doc/meref.me: Document `_M' register.
3885 2004-08-03  Martin Husemann  <martin@duskware.de>
3887         Make hpftodit work correctly on big-endian systems.
3889         * src/utils/hpftodit/hpftodit.cpp (File): New method
3890         `get_uint32(char *)'.
3891         (entry): New member `orig_value'.
3892         (read_tags): Use new method.
3893         (output_font_name, read_and_output_pcltypeface, dump_ascii):
3894         Updated.
3896 2004-08-01  Werner LEMBERG  <wl@gnu.org>
3898         * tmac/s.tmac: Undo change 2003-06-29.  The proper macro definitions
3899         are already in X11's `macros.t' file.
3901 2004-08-01  Jeff Conrad  <jeff_conrad@msn.com>
3903         * src/utils/hpftodit/hfptodit.cpp (output_font_name, dump_ascii):
3904         Fix casting bug.
3905         (read_and_output_pcltypeface): Handle strings with length <= 4.
3907 2004-07-27  Egil Kvaleberg  <egil@kvaleberg.no>
3909         * tmac/s.tmac (pg@top): Don't save `PO' register.
3910         (pg*end-col, pg*end-page): Directly use `PO' register.
3912 2004-07-27  Werner LEMBERG  <wl@gnu.org>
3914         * man/groff_tmac.man: Mention `trace' and `pic' macro packages.
3916         * src/preproc/refer/refer.cpp (output_references): Check for
3917         empty hash table.
3918         * src/preproc/refer/refer.man: Improve documentation of
3919         `bibliography' command.
3921 2004-07-26  Werner LEMBERG  <wl@gnu.org>
3923         Add requests `fcolor' and `gcolor'.
3925         * src/roff/troff/env.cpp (fill_color_change, glyph_color_change):
3926         New functions.
3927         (init_env_requests): Add `fcolor' and `gcolor'.
3929         * src/roff/troff/input.h: Export do_glyph_color and do_fill_color.
3931         * NEWS, man/groff_diff.man, man/groff.man, doc/groff.texinfo
3932         (Colors): Document new requests.
3934 2004-07-24  Werner LEMBERG  <wl@gnu.org>
3936         Add support for fractional point sizes in ms macros.  A value for
3937         PS, VS, FPS, and FVS greater than or equal to 1000 is always divided
3938         by 1000.  For example, `.nr PS 10250' sets the font size to 10.25p.
3940         * tmac/s.tmac (@AU, @AI, par@load-init, par@init, par@reset, NL,
3941         PX): Handle fractional point sizes for PS, VS, FPS, and FVS.
3943         * tmac/groff_ms.man, docs/groff.texinfo (ms Document Control
3944         Registers), NEWS: Document it.
3946 2004-07-19  Werner LEMBERG  <wl@gnu.org>
3948         * src/preproc/pic/lex.cpp (for_input): Add member `from'.
3949         Update constructor.
3950         (do_for, for_input::get, for_input::peek): Handle negative `by'.
3951         * src/preproc/pic/pic.man, doc/pic.ms, NEWS: Document it.
3953 2004-07-08  Thomas Klausner  <wiz@netbsd.org>
3955         * tmac/doc-syms (doc-str-St--p1003.1-2004): New string.
3956         * tmac/groff_mdoc.man: Updated.
3958 2004-07-05  Werner LEMBERG  <wl@gnu.org>
3960         * doc/groff.texinfo (Manipulating Hyphenation): Further improve
3961         documentation of `hcode'.
3963 2004-07-04  Sang Dae Yu  <sdyu@bh.knu.ac.kr>
3965         Improve appearance of arrows in pic.
3967         * src/preproc/pic/object.cpp (draw_arrow): Make outline of filled
3968         arrow head thin.
3969         Use two line segments for drawing non-filled arrow head.
3970         (line_object::print, spline_object::print): Shorten line length to
3971         avoid arrow sticking.
3972         (arc_object::print): Take arrow direction into account.
3974 2004-07-03  Heinz-Jürgen Oertel  <hj.oertel@surfeu.de>
3976         * tmac/groff_www.man: Update documentation of .MPIMG.
3978 2004-07-03  Werner LEMBERG  <wl@gnu.org>
3980         * tmac/an-old.tmac (RI): Always start with font `R'.
3981         (RI, IR): Properly end with font `R'.
3983 2004-07-02  Paul Eggert  <eggert@cs.ucla.edu>
3985         * man/ditroff.man, man/groff_font.man, man/groff_out.man,
3986         src/devices/grohtml/grohtml.man, src/preproc/grn/grn.man,
3987         src/preproc/pic/pic.man, tmac/groff_man.man, tmac/groff_ms.man:
3988         Don't pass more than six arguments to .R, .I, .B, etc., for
3989         compatibility with traditional troff macros.
3991 2004-07-02  Werner LEMBERG  <wl@gnu.org>
3993         * src/roff/troff/input.h: s/COMPATIBLE_SAVE/PUSH_GROFF_MODE/.
3994         s/COMPATIBLE_RESTORE/POP_GROFFCOMP_MODE/.
3995         Update all users.
3996         (PUSH_COMP_MODE): New internal character constant.
3997         Update all users.
3999         * src/roff/troff/input.cpp (get_copy): Handle PUSH_GROFF_MODE,
4000         PUSH_COMP_MODE, and POP_GROFFCOMP_MODE.
4001         (token::next, macro::append): Handle PUSH_COMP_MODE.
4002         (decode_args): Add PUSH_GROFF_MODE or PUSH_COMP_MODE before and
4003         POP_GROFFCOMP after each of the decoded arguments to make them
4004         independent from the compatibility mode status.
4005         (comp_mode): Add `COMP_ENABLE'.
4006         (do_define_string, do_define_macro): Handle COMP_ENABLE.
4007         (define_string, append_string, define_macro, define_indirect_macro,
4008         append_macro, append_indirect_macro): Handle `compatible_flag'.
4009         (chop_macro, substring_request, asciify): Handle PUSH_COMP_MODE.
4011         * man/groff_diff.man, doc/groff.texinfo: Updated.
4013 2004-07-01  Werner LEMBERG  <wl@gnu.org>
4015         * doc/groff.texinfo: Improve documentation of `hcode'.
4016         Use @documentencoding and convert document to latin-1; to do that
4017         make latin characters active and assign proper macros (within a
4018         @tex...@end tex environment).
4019         * doc/Makefile.in (.texinfo.html, groff): Use --enable-encoding.
4020         * doc/Makefile.sub (groff): Ditto.
4022 2004-06-29  Werner LEMBERG  <wl@gnu.org>
4024         Implement two new conditional operators `F <name>' and `S <name>'
4025         which check whether <name> is a valid font or style, respectively.
4027         * src/libs/libgroff/font.cpp (text_file): Add `silent' member.
4028         (text_file::text_file): Updated.
4029         (text_file::error): Don't emit message if `silent' is set.
4030         (font::load_font): Add optional third argument (which is directly
4031         passed to `load'.
4032         (font::load): Add optional second argument to check the header of
4033         a font only, without emitting warning or error messages.
4034         * src/include/font.h (font): Updated.
4036         * src/roff/troff/input.cpp (do_if_request): Implement `S' and `F'
4037         conditionals.
4038         * src/roff/troff/node.cpp (mount_font_no_translate): Add optional
4039         fourth argument to check a font without mounting.
4040         (check_font, check_style): New functions.
4041         * src/roff/troff/node.h: Updated.
4043         * man/groff_diff.man, man/groff.man, NEWS, doc/groff.texinfo:
4044         Updated.
4046 2004-06-27  Werner LEMBERG  <wl@gnu.org>
4048         Implement new string-valued register `.sty' to return the current
4049         style name.
4051         * env.cpp (environment::get_style_name_string): New function.
4052         (init_env_requests): Add `.sty' register.
4053         * env.h (environment): Updated.
4054         * node.cpp (font_info): Make `get_style_name' a friend.
4055         (get_style_name): New function.
4056         * node.h: Updated.
4058         * man/groff_diff.man, man/groff.man, NEWS, doc/groff.texinfo:
4059         Updated.
4061 2004-06-15  Werner LEMBERG  <wl@gnu.org>
4063         * src/preproc/tbl/main.cpp (process_data) <GOT_RIGHT_BRACE>: Handle
4064         `nospaces' option.
4066 2004-06-10  Colin Percival  <colin.percival@wadham.ox.ac.uk>
4068         * doc/meintro.me, doc/meref.me: Don't use \*[td], \n[dy], \*[mo],
4069         and \n[mo] to avoid dependency on current date.
4071 2004-06-08  Werner LEMBERG  <wl@gnu.org>
4073         * Makefile.sub (install_data): New target.
4075 2004-06-04  Werner LEMBERG  <wl@gnu.org>
4077         * src/libs/libxutil/Makefile.sub (EXTRA_CFLAGS): Define.
4079 2004-06-03  Werner LEMBERG  <wl@gnu.org>
4081         * src/devices/xditview/Makefile.sub (EXTRA_LDFLAGS): Fix typo and
4082         order of libraries.
4083         (install_data): Add $(srcdir).
4085         * src/utils/xtotroff/Makefile.sub (EXTRA_LDFLAGS): Fix order of
4086         libraries.
4088 2004-06-02  Werner LEMBERG  <wl@gnu.org>
4090         * aclocal.m4 (GROFF_X11): s/have_no_x/groff_no_x/.
4091         Add X11 stuff to CFLAGS, LDFLAGS, and LIBS temporarily.
4092         Add test for Xmu library.
4093         (GROFF_APPRESDIR_OPTION, GROFF_APPRESDIR_CHECK,
4094         GROFF_APPRESDIR_DEFAULT): New macros.
4096         * configure.ac: Call GROFF_APPRESDIR_OPTION, GROFF_APPRESDIR_CHECK,
4097         and GROFF_APPRESDIR_DEFAULT.
4099         * configure: Regenerated.
4101         * Makefile.in (appresdir): New variable.
4102         (MDEFINES): Add appresdir.
4104         * src/devices/xditview/Makefile.sub (EXTRA_LDFLAGS): Add -Xmu and
4105         -Xt.
4106         (install_data, uninstall_sub): New targets to handle GXditview.ad.
4108         * src/utils/indxbib/Makefiles.ub (install_data): Depend on
4109         `$(srcdir)/eign', not `eign'.
4111         * MANIFEST, INSTALL, NEWS, PROBLEMS: Updated.
4113         * man/groff_out.man, man/roff.man, src/devices/grops/grops.man,
4114         src/devices/xditview/gxditview.man, src/roff/groff/groff.man:
4115         Protect (g)xditview with `\%' to avoid hyphenation.
4116         Other minor formatting.
4118 2004-06-01  Werner LEMBERG  <wl@gnu.org>
4120         Integrate gxditview into groff's standard directory hierarchy.
4122         * src/xditview/*: Moved to ...
4123         * src/devices/xditview/*: Here.
4124         Moved DviChar.h and XFontName.h to src/include.
4125         Moved DviChar.c and XFontName.c to new directory src/libs/libxutil.
4126         Split off `xmalloc' into new file src/libs/libxutil/xmalloc.c.
4127         Moved xtotroff.c to new directory src/utils/xtotroff.
4128         Provide proper Makefile.sub files (reusing the stuff from
4129         Imakefile.in).
4130         DESC renamed to DESC.in.
4131         Removed GXDitview-ad.h, INSTALL, Imakefile.in.
4132         Converted everything from K&R to ANSI C.
4133         Decorated with const where appropriate.
4134         Cast string constants with `String' and `char *' where appropriate.
4135         Made it compile with C++ (used as a C compiler).
4136         Removed other minor compiler warnings.
4138         * src/devices/xditview/device.c: Include config.h, string.h, and
4139         defs.h.
4140         Don't declare `exit', `strtok', `strchr', and `getenv'.
4141         (FONTPATH): Remove.
4143         * src/devices/xditview/font.c: Don't declare `XParseFontName' and
4144         `XFormatFontName'.
4146         * src/devices/xditview/xditview.c: Include config.h.
4147         Include stdio.h earlier.
4148         Protect declaration of `popen' and `pclose' with
4149         NEED_DECLARATION_POPEN and NEED_DECLARATION_PCLOSE.
4150         Replace `caddr_t' with `XtPointer'.
4151         (MakePromptFunc): New typedef.
4152         (DoPrint): Use RETSIGTYPE.
4153         (promptfunction): Change type to MakePromptFunc.
4154         (MakePrompt): Use MakePromptFunc for third argument.
4155         (xmalloc): Removed.
4157         * src/devices/xditview/ad2c: Add casts to `String'.
4159         * src/include/XFontName.h (XFontNameString): Don't use array
4160         notation.
4161         Add prototypes for `XParseFontName', `XFormatFontName',
4162         `XCompareFontName', and `XCopyFontName'.
4164         * src/include/Makefile.sub (HDRS): Add `DviChar.h' and
4165         `XFontName.h'.
4167         * src/utils/xtotroff/xtotroff.c: Include getopt.h.
4168         Don't declare `XParseFontName' and `XFormatFontName'.
4169         (xmalloc): Removed.
4170         (main): Remove `optind' and `optarg'.
4172         * Makefile.in (XDEVDIRS, XPROGDIRS, XLIBDIRS): New variables
4173         (to select programs which need X).
4174         Make XDEVIDIRS depend on `FORCE'.
4175         (X_CFLAGS, X_LIBS, X_EXTRA_LIBS, X_PRE_LIBS): New variables (for
4176         X support).
4177         (MDEFINES): Updated.
4178         (LIBDIRS): Use XLIBDIRS.
4179         (CPROGDIRS): Use XPROGDIRS.
4180         (DEVDIRS): Remove font directories for gxditview.
4181         (ALLDIRS, DISTDIRS): Add XDEVDIRS.
4182         (EXTRADIRS): Remove src/xditview.
4184         * Makefile.sub (DISCLEANFILES): Updated.
4186         * Makefile.comm (LIBXUTIL): New variable.
4187         (.cpp.o, .cpp.obj): Handle EXTRA_CCFLAGS.
4188         (.c.o, .c.obj, .y.o): Handle EXTRA_CFLAGS.
4190         * Makefile.cpg, Makefile.ccpg ($PROG): Handle EXTRA_LDFLAGS.
4192         * aclocal.m4 (GROFF_X11): New function.
4194         * configure.ac: Call GROFF_X11.
4195         Don't create src/xditview/Imakefile.
4196         Don't emit notice how to build gxditview.
4198         * configure: Regenerated.
4200         * test-groff.in (GROFF_BIN_PATH, XENVIRONMENT): Updated.
4202 2004-05-28  Akihiro Sagawa  <sagawa@sohgoh.net>
4204         * Makefile.in (CPPFLAGS): Define.
4205         (MDEFINES): Add CPPFLAGS.
4207 2004-05-27  Werner LEMBERG  <wl@gnu.org>
4209         * arch/misc/Makefile.sub (shdeps.sed): Use $(srcdir).
4211 2004-05-26  Niklas Edmundsson  <nikke@acc.umu.se>
4213         Fix problems with `friend name injections'.
4215         * src/preproc/eqn/box.h (make_mark_box, make_lineup_box,
4216         make_script_box), src/roff/troff/div.h (end_diversions),
4217         src/roff/troff/env.h (title), input.cpp (process_input_stack): Undo
4218         change 2004-04-08.
4220 2004-05-25  Bernd Warken  <bwarken@mayn.de>
4222         * src/preproc/pic/pic.man, doc/pic.ms: Add example for `command'.
4224 2004-05-25  Werner LEMBERG  <wl@gnu.org>
4226         * src/libs/libgroff/cset.cpp, src/libs/libgroff/lf.cpp,
4227         src/libs/libgroff/color.cpp: Include lib.h.
4229 2004-05-25  Paul Eggert  <eggert@cs.ucla.edu>
4231         * PROBLEMS: Update documentation for problems with Sun C++ 5.0
4232         through Forte 6u1, and for how to get GNU make on Solaris.
4234 2004-05-24  Werner LEMBERG  <wl@gnu.org>
4236         * PROBLEMS: Document problems with gcc 3.4.0 on Sun.  Reported
4237         by Paul Eggert.
4239 2004-05-15  Keith Marshall  <keith.d.marshall@ntlworld.com>
4241         * arch/misc/Makefile.sub (shdeps.sed): Don't use `$<' in explicit
4242         rule.
4244 2004-05-14  Werner LEMBERG  <wl@gnu.org>
4246         * REVISION: Set to 2.
4248         * aclocal.m4 (GROFF_STDINT_H): Removed.
4249         (GROFF_INTTYPES_H): Define HAVE_CC_INTTYPES_H.
4251         * configure.ac: Updated.
4252         * configure, src/include/config.hin: Regenerated.
4254         * src/libs/libgroff/tmpname.cpp: Don't include stdint.h but
4255         inttypes.h conditionally.
4257 2004-05-13  Werner LEMBERG  <wl@gnu.org>
4259 Version 1.19.1 released
4260 =======================
4262 2004-05-10  Stephen Gildea  <http://www.gildea.com/stephen>
4264         * src/preproc/refer/label.y (same_author_last_name,
4265         same_author_name): Handle empty sort keys.
4267 2004-05-10  Werner LEMBERG  <wl@gnu.org>
4269         * NEWS, README, TODO, PROJECTS, PROBLEMS, MANIFEST, doc/webpage.ms,
4270         tmac/TODO: Updated.
4272         * tmac/doc-syms (doc-str-Lb-libposix, doc-str-Lb-libpthread,
4273         doc-str-Lb-librt): Reset font.
4274         (Lb): Rename `doc-str-Lb' to `doc-str-Lb1'.
4275         Provide `doc-str-Lb' to reset font.
4276         * tmac/groff_mdoc.man: Updated.
4278 2004-05-08  Jan Schaumann  <jschauma@netmeister.org>
4280         * src/preproc/html/pre-html.cpp (make_message): Make it work for
4281         snprintf versions which don't conform to ANSI C 99 (this is,
4282         counting the string's trailing null byte in the return value).
4284 2004-05-07  Keith Marshall  <keith.d.marshall@ntlworld.com>
4286         * src/roff/troff/node.cpp (suppress_node::tprint): Don't expect
4287         that all implementations of sprintf handle null pointers correctly.
4289 2004-05-04  Werner LEMBERG  <wl@gnu.org>
4291         * NEWS, man/groff_diff.man, man/groff.man, doc/groff.texinfo:
4292         Document `.U' register.
4294         * src/roff/troff/env.cpp (environment::mark_last_line)
4295         [WIDOW_CONTROL]: Fix scope of `p' for new C++ compilers.
4297 2004-05-04  Larry Kollar  <kollar@alltel.net>
4299         New read-only register `.U'; it returns 1 in safer mode and 0
4300         otherwise.
4302         * src/roff/troff/input.cpp (init_input_requests): Implement `.U'
4303         register.
4305 2004-05-03  Werner LEMBERG  <wl@gnu.org>
4307         * install-sh, mkinstalldirs: New versions; taken from texinfo CVS.
4309 2004-04-17  Werner LEMBERG  <wl@gnu.org>
4311         * src/include/font.h (font): Use `int' for ch_index.
4312         * src/libs/libgroff/font.cpp (font::alloc_ch_index,
4313         font::compact): Updated.
4315         * src/roff/groff/pipeline.c (run_pipeline) [_WIN32]: Fix compiler
4316         warnings.
4318         * src/roff/troff/div.cpp (begin_page), src/roff/troff/env.cpp
4319         (hyphen_word): Fix compiler warnings.
4320         * src/roff/troff/input.cpp (get_char_for_escape_name): Return
4321         `char'.
4322         Update all callers.
4323         (get_delim_number, get_line_arg): Change second argument type to
4324         `unsigned char'.
4325         (macro_header::copy, token::next, do_define_string,
4326         do_define_character, substring_request, asciify_macro,
4327         unformat_macro, read_size, non_interpreted_node::interpret,
4328         while_request, main: Fix compiler warnings.
4329         (read_color_draw_node): Initialize `col'.
4331         * src/preproc/tbl/table.cpp (horizontal_span, table_entry): Make
4332         `start_col' and `end_col' of type `int'.
4333         (vertical_rule): Make `col' of type `int'.
4335         * src/preproc/grn/hdb.cpp (DBRead): Protect call to getc with check
4336         for EOF.
4338         * src/preproc/refer/label.y (uppercase_array, lowercase_array):
4339         New arrays.
4340         (format_serial): Use them to remove dependency on ASCII.
4342         * src/devices/grops/ps.cpp (ps_printer::define_encoding): Fix
4343         compiler warning.
4344         * src/devices/grops/psrm.cpp (resource_manager::supply_resource):
4345         Ditto.
4347         * src/devices/grotty/tty.cpp (tty_font::load_tty_font): Fix
4348         compiler warnings.
4349         (glyph): Change type of `hpos' to `int'.
4351         * src/devices/lbp/lbp.cpp (strsep): Removed.  Unused.
4352         * src/devices/lbp/lbp.h (splinerel): Fix compiler warnings.
4354         * src/utils/tfmtodit.cpp (gf::load): Fix compiler warnings.
4356         * src/utils/pfbtops/pfbtops.c (get_text): Fix compiler warning.
4358 2004-04-16  Werner LEMBERG  <wl@gnu.org>
4360         * src/devices/grolbp/lbp.h, src/preproc/grn/gprint.h,
4361         src/preproc/grn/hgraph.cpp, src/preproc/grn/hpoint.cpp,
4362         src/preproc/html/pushback.cpp, src/preproc/html/pushback.h: Use
4363         `double' instead of `float' everywhere.
4364         * src/preproc/grn/main.cpp: Use `double' instead of `float'
4365         everywhere.
4366         (main): Add return value.
4367         * src/preproc/grn/hdb.cpp: Use `double' instead of `float'
4368         everywhere.
4369         Update all user functions.
4371         * src/include/search.h, src/include/ptable.h, src/include/printer.h,
4372         src/preproc/eqn/box.h, src/preproc/pic/object.h,
4373         src/preproc/refer/refer.h, src/preproc/tbl/table.h,
4374         src/preproc/tbl/table.cpp, src/roff/troff/env.h,
4375         src/roff/troff/div.h, src/roff/troff/token.h, src/roff/troff/node.h,
4376         src/roff/troff/input.cpp, src/roff/troff/request.h,
4377         src/roff/troff/node.cpp: Don't mix `struct' and `class' in forward
4378         declarations.
4380         * src/utils/indxbib/signal.c: Include stdlib.h.
4382 2004-04-14  Keith Marshall  <keith.d.marshall@ntlworld.com>
4384         * tmac/s.tmac (@init, RP): Allow initialization of the PO register
4385         before the first page.
4387 2004-04-14  Thomas Klausner  <wiz@netbsd.org>
4389         * tmac/doc-common (doc-volume-as-*): Use lowercase names.
4390         (doc-operating-system-*): Updated.
4391         * tmac/doc-syms (doc-str-St-*): Various small fixes.
4392         (doc-str-Lb-*): Add more library names.
4394 2004-04-10  Art Haas  <ahaas@airmail.net>
4396         * src/utils/hpftodit/hpuni.cpp (hp_msl_to_unicode_list): Don't
4397         use anonymous type.
4399 2004-04-09  Art Haas  <ahaas@airmail.net>
4401         * src/utils/tfmtodit.cpp (lig_chars): Don't use anonymous type.
4403 2004-04-09  Keith Marshall  <keith.d.marshall@ntlworld.com>
4405         * arch/misc/shdeps.sh: Generate better comment for sed script.
4407 2004-04-08  Art Haas  <ahaas@airmail.net>
4409         * src/libs/libgroff/glyphuni.cpp (glyph_to_unicode_list),
4410         src/libs/libgroff/uniglyph.cpp (unicode_to_glyph_list),
4411         src/libs/libgroff/uniuni.cpp (unicode_decompose_list),
4412         src/preproc/eqn/box.cpp (param_table), src/preproc/grn/hgraph.cpp
4413         (polyfill), src/preproc/grn/main.cpp (polyfill),
4414         src/preproc/refer/command.cpp (command_table),
4415         src/utils/tfmtodit.cpp (lig_table): Don't use anonymous types (which
4416         gcc 3.5 doesn't like).
4418 2004-04-08  Werner LEMBERG  <wl@gnu.org>
4420         Removing many compiler warnings.  groff should now compile with
4421         a C++ compiler used for C files also.  [Simple variable renamings
4422         to avoid shadowing aren't logged in detail.]
4424         * src/devices/grodvi/dvi.cpp: Some local variable renamings.
4425         (draw_dvi_printer::draw) ['c']: Enclose in block.
4427         * src/devices/grohtml/post-html.cpp: Some local variable renamings.
4428         (page::add_line): Fix typos.
4429         * src/devices/grohtml/html-text.cpp: Some local variable renamings.
4431         * src/devices/grolbp/lbp.cpp: Don't define _GNU_SOURCE.
4432         Some local variable renamings.
4433         * src/devices/grolbp/lbp.h: Some local variable renamings.
4435         * src/devices/grolj4/lj4.cpp, src/devices/grotty/tty.cpp: Some local
4436         variable renamings.
4438         * src/libs/libbib/index.cpp (index_search_item_iterator::get_tag):
4439         Remove redundant local variable declaration.
4440         * src/libs/libbib/map.c (mapread, unmap): Don't use K&R style.
4441         Don't use `caddr_t' but `void *'.
4442         Enclose functions with `extern "C"' for C++.
4444         * src/libs/libdriver/input.cpp (remember_filename,
4445         remember_source_filename): Use cast for string constant.
4447         * src/libs/libgroff/font.cpp, src/libs/libgroff/fontfile.cpp,
4448         src/libs/libgroff/nametoindex.cpp, src/libs/libgroff/paper.cpp,
4449         src/libs/libgroff/geometry.cpp: Some local variable renamings.
4450         * src/libs/libgroff/iftoa.c, src/libs/libgroff/itoa.c: Don't use K&R
4451         style.
4452         Enclose functions with `extern "C"' for C++.
4453         * src/libs/libgroff/quotearg.c (TRUE,FALSE): Define as macros.
4454         (needs_quoting): Return `int'.
4455         (quote_arg): Add proper casts to malloc and realloc.
4456         * src/libs/libgroff/spawnvp.c: Compile code only for MS-DOS and
4457         various MS Windows environments.
4458         (spawnvp_wrapper): Add proper cast to malloc.
4460         * src/preproc/eqn/box.h: Remove redundant declarations of
4461         `make_script_box', `make_mark_box' and `make_lineup_box'.
4462         * src/preproc/eqn/eqn.y: Remove redundant declaration of `strsave'.
4463         * src/preproc/eqn/script.cpp, src/preproc/eqn/pile.cpp: Some local
4464         variable renamings.
4466         * src/preproc/grn/hpoint.cpp: Some local variable renamings.
4467         * src/preproc/grn/hgraph.cpp: Some local variable renamings.
4468         (dx, dy): Renamed functions to...
4469         (deltax, deltay): This.
4470         * src/preproc/grn/main.cpp: Some local variable renamings.
4471         (deffont): Add `const'.
4472         (initpic, conv): Use cast for string constant.
4474         * src/preproc/html/pre-html.cpp: Some local variable renamings.
4475         (makeFileName, alterDeviceTo, addZ): Use cast for string constant.
4476         (char_buffer::run_output_filter): Second argument is unused.
4477         * src/preproc/html/pushback.cpp: Some local variable renamings.
4479         * src/preproc/pic/pic.y: Remove redundant declaration of `do_copy'.
4480         * src/preproc/pic/object.cpp: Some local variable renamings.
4482         * src/preproc/refer/label.y (lookup_label): Remove redundant
4483         declaration of local variable.
4485         * src/preproc/soelim.cpp: Remove redundant declaration of
4486         `interpret_lf_args'.
4488         * src/preproc/tbl/main.cpp: Some local variable renamings.
4490         * src/roff/groff/groff.cpp (main): Use cast for string constant.
4491         * src/roff/groff/pipeline.c: Enclose declarations of `error',
4492         `c_fatal', and `i_to_a' with `extern "C"' for C++.
4493         Don't use C++-style comments.
4495         * src/roff/troff/env.h: Remove redundant declaration of `title'.
4496         * src/roff/troff/node.h, src/roff/troff/env.cpp,
4497         src/roff/troff/div.cpp, src/roff/troff/node.cpp: Some local variable
4498         renamings.
4499         * src/roff/troff/div.h: Remove redundant declaration of
4500         `end_diversions'.
4501         * src/roff/troff/troff.h: Remove redundant declaration of
4502         `cleanup_and_exit'
4503         * src/roff/troff/input.cpp: Remove redundant declaration of
4504         `handle_first_page_transition' and `process_input_stack'.
4506         * src/utils/hpftodit.cpp: Some local variable renamings.
4508         * src/utils/indxbib/signal.c: Enclose functions with `extern "C"'
4509         for C++.
4510         Don't define RETSIGTYPE.
4511         * src/utils/indxbib/indxbib.cpp: Some local variable renamings.
4513         * src/utils/pfbtops/pfbtops.cpp: Don't use K&R style.
4514         (error): Use `const' in argument.
4515         (main): Remove redundant declaration of `optind'.
4516         Move declaration of `Version_string' to top-level.
4518         * PROBLEMS: Document difficulties compiling signal.c if a C++
4519         compiler is used for C.
4521 2004-04-07  Werner LEMBERG  <wl@gnu.org>
4523         * Makefile.sub (DISTCLEANFILES): Add `test-groff'.
4525 2004-04-06  Keith Marshall  <keith.d.marshall@ntlworld.com>
4527         Make scripts like nroff.sh and neqn.sh portable across various
4528         (Unix-like) shell implementations from Cygwin, MSYS, etc., which use
4529         non-POSIX path separators.  The idea is to extend those scripts to
4530         decide at run-time (of the script) which path separator to use.
4532         * arch/misc/Makefile.sub: New file.
4533         * arch/misc/shdeps.sh: New file, generating OS dependency fixups.
4534         This script handles @GROFF_BIN_PATH_SETUP@, replacing it with
4535         a proper definition of the variable `GROFF_RUNTIME'.
4537         * Makefile.in (SH_DEPS_SED_SCRIPT): New variable.
4538         (MDEFINES): Add SH_DEPS_SED_SCRIPT.
4539         (PROGDEPDIRS): New variable.
4540         `FORCE' it.
4541         (PROGDIRS): Add PROGDEPDIRS.
4543         * src/preproc/eqn/Makefile.sub (neqn): Call SH_DEPS_SED_SCRIPT.
4544         Don't substitute @SEP@ and @BINDIR@.
4545         * src/preproc/eqn/neqn.sh: Use @GROFF_BIN_PATH_SETUP@.
4546         (PATH): Use GROFF_RUNTIME.
4548         * src/roff/nroff/Makefile.sub (nroff): Call SH_DEPS_SED_SCRIPT.
4549         Don't substitute @SEP@ and @BINDIR@.
4550         * src/roff/nroff/nroff.sh: Use @GROFF_BIN_PATH_SETUP@.
4551         (PATH): Use GROFF_RUNTIME.
4553 2004-04-05  Keith Marshall  <keith.d.marshall@ntlworld.com>
4555         * src/roff/nroff/nroff.sh: Implement work-around for sh.exe from
4556         Cygwin which doesn't handle stderr correctly.
4558 2004-03-08  Werner LEMBERG  <wl@gnu.org>
4560         * Makefile.comm (install_dev, uninstall_dev): Protect `for' loops
4561         against empty argument.  Problem reported by <cgd@broadcom.com>.
4563 2004-03-05  Keith Marshall  <keith.d.marshall@ntlworld.com>
4565         * Makefile.in (SEP): Replaced with...
4566         (RT_SEP, SH_SEP): Separators for the target platform's native path
4567         separator and the build environment, respectively.
4568         (fontpath, tmacpath): Use RT_SEP.
4569         (MDEFINES): Updated.
4571         * doc/Makefile.sub (GROFF_BIN_PATH): Use SH_SEP.
4572         * src/preproc/eqn/Makefile.sub (neqn): Use SH_SEP.
4573         * src/roff/nroff/Makefile.sub (nroff): Use SH_SEP.
4575 2004-03-05  Werner LEMBERG  <wl@gnu.org>
4577         * font/devlj4/Makefile.sub (LJ4RES): Set to 1200.  This helps to
4578         reduce alignment problems with newer printers which use built-in
4579         TrueType fonts (instead of the older Intellifonts).  The ideal
4580         solution is to provide a second set of groff metric files, but this
4581         is extremely time-consuming to produce, given that HP's metric
4582         files are very rudimentary.
4584 2004-03-01  Werner LEMBERG  <wl@gnu.org>
4586         * src/devices/grolj4/lj4.cpp (main): Fix argument of getopt_long.
4587         s/operand/argument/ in error message.
4589 2004-03-01  Keith Marshall  <keith.d.marshall@ntlworld.com>
4591         * src/roff/groff/groff.cpp (main): Don't allow option -o if -Thtml
4592         is in use.
4594 2004-03-01  Antti Kantee  <pooka@netbsd.org>
4596         * tmac/s.tmac (XE): Fix error message.
4598 2004-02-27  Jeff Conrad  <jeff_conrad@msn.com>
4600         * src/include/nonposix.h (write, dup, dup2, close) [_MSC_VER]:
4601         New macros.
4603         * src/roff/groff/pipeline.c: Declare strcasecmp.
4604         (run_pipeline) [_WIN32]: Use function name variants which don't
4605         start with `_'.
4606         Fix stream handling.
4608 2004-02-27  Keith Marshall  <keith.d.marshall@ntlworld.com>
4610         * src/include/nonposix.h: Fix declaration of `system_shell_name'.
4611         Declare `spawnvp_wrapper' and macro definitions of spawnvp only
4612         for platforms which use the native Win32 runtime libraries.
4613         (FLUSH_INPUT_PIPE) [_UWIN]: Provide non-empty version.
4615         * src/libs/libgroff/quotearg.c (QUOTE_ARG_MALLOC_ERROR,
4616         QUOTE_ARG_REALLOC_ERROR): Fix string.
4618         * src/preproc/html/pre-html.cpp: Remove declaration of
4619         `spawnvp_wrapper'.
4620         Don't use __MINGW32__.
4621         s/DEBUG_FILE/DEBUG_FILE_DIR/.
4622         (DEBUG_TEXT, DEBUG_NAME, DEBUG_FILE) [DEBUGGING]: New macros.
4623         (OUTPUT_STREAM, PS_OUTPUT_STREAM, REGION_OUTPUT_STREAM): New macros.
4624         (char_buffer::run_output_filter) [MAY_FORK_CHILD_PROCESS]: Fix
4625         calls to `set_redirection' and `WAIT'.
4626         [MAY_SPAWN_ASYNCHRONOUS_CHILD]: Remove unused variable `i' and `j'.
4627         Fix calls to `set_redirection' and `save_and_redirect'.
4628         (char_buffer::do_html, char_buffer::do_image) [DEBUGGING]: Fix calls
4629         to `set_redirection' and `save_and_redirect'.
4630         (usage): Fix message.
4631         (makeTempFiles, main): Use `DEBUG_FILE'.
4633 2004-02-21  Werner LEMBERG  <wl@gnu.org>
4635         * src/roff/troff/troff.h (WARN_TOTAL): Fix value.
4637 2004-02-21  Keith Marshall  <keith.d.marshall@ntlworld.com>
4639         * src/libs/libgroff/quotearg.c: New file, providing proper argument
4640         quoting for MSVC's spawn* and exec* functions.
4641         * src/libs/libgroff/spawnvp.c: New file, providing a wrapper around
4642         spawnvp with proper quoting for MSVC.
4644         * src/libs/libgroff/assert.cpp (program_name),
4645         src/libs/libgroff/new.cpp (program_name): Declare as `extern "C"'.
4646         * src/libs/libgroff/Makefile.sub (OBJS, CSRCS): Updated.
4648         * src/roff/troff/input.cpp (program_name): Declare as `extern "C"'.
4650         * src/include/error.h (program_name): Declare as `extern "C"'.
4651         * src/include/nonposix.h [__MSDOS__ ...]: Handle spawnvp.
4653 2004-02-21  Jeff Conrad  <jeff_conrad@msn.com>
4655         * src/preproc/html/pre-html.cpp [__CYGWIN__ ...]: Declare
4656         spawnvp_wrapper.
4657         [MAY_SPAWN_ASYNCHRONOUS_CHILD]: Declare i and j.
4659 2004-02-20  Jeff Conrad  <jeff_conrad@msn.com>
4661         * src/roff/groff/pipeline.c (cmd) [__MSDOS__ || ...]: New global
4662         variable.
4663         (sbasename) [__MSDOS__ || ...]: New function.
4664         (system_shell_name) [__MSDOS__ || ...]: Use a different, more
4665         generic algorithm.
4666         (system_shell_dash_c, is_system_shell) [__MSDOS__ || ...]: Updated.
4667         (run_pipeline) [_WIN32]: Use _XXX variants for some macros instead
4668         of XXX.
4669         Use STDOUT_FILENO instead of hardcoded file handle.
4670         (signal_catcher) [__MSDOS__]: Moved to non-_WIN32 section.
4672 2004-02-19  Werner LEMBERG  <wl@gnu.org>
4674         * src/roff/troff/div.cpp: Include nonposix.h after troff.h to
4675         avoid warnings w.r.t. redefinition of P_tmpdir for some compilers.
4677 2004-02-18  Werner LEMBERG  <wl@gnu.org>
4679         * font/devlj4/Makefile.sub (DEVFILES): Updated to contain all
4680         new font and mapping files.
4682 2004-02-18  Jeff Conrad  <jeff_conrad@msn.com>
4683             Keith Marshall  <keith.d.marshall@ntlworld.com>
4685         * src/include/nonposix.h (FLUSH_INPUT_PIPE): New macro to empty
4686         an input pipe.  This is needed for the MSVC compiler to make troff's
4687         `-o' option work.
4689         * src/roff/troff/div.cpp: Include nonposix.h.
4690         (cleanup_and_exit): Call FLUSH_INPUT_PIPE.
4692 2004-02-17  Werner LEMBERG  <wl@gnu.org>
4694         * font/devlj4/generate/special.awk: New script.
4695         * font/devlj4/generate/Makefile (S): Use special.awk.
4696         * font/devlj4/*: Regenerated, including the following new files:
4697         Arial (AR, AB, AI, ABI), Times New Roman (TNRR, TNRB, TNRI, TNRBI),
4698         MS Symbol (SYMBOL), Wingdings (WINGDINGS).
4699         * NEWS: Document new lj4 fonts and revised hpftodit.
4701 2004-02-17  Paco Andrés Verdú  <pandres@dragonet.es>
4703         * src/devices/grolbp/lbp.h (vmdvarc): Fix formatting string.
4705 2004-01-25  Werner LEMBERG  <wl@gnu.org>
4707         * src/libs/libgroff/progname.cpp: Replaced with...
4708         * src/libs/libgroff/progname.c: New file.
4709         * src/libs/libgroff/Makefile.sub: Updated accordingly.
4711 2004-01-17  Werner LEMBERG  <wl@gnu.org>
4713         * font/devlj4/generate/Makefile (SYMBOL): Use 9nb28703.tfm.
4715 2004-01-16  Jeff Conrad  <jeff_conrad@msn.com>
4717         * font/devlj4/generate/wingdings.map,
4718         font/devlj4/generate/symbol.map: Include unnamed glyphs.
4719         Use groff glyph names where possible.
4720         * src/devices/grolj4/lj4_font.man: Minor updates.
4722 2004-01-13  Werner LEMBERG  <wl@gnu.org>
4724         * tmac/www.tmac (DC): Handle TTY devices.
4726         * doc/webpage.ms: Document viewCVS from ffii.org.
4727         * NEWS, README: Updated.
4729         * src/roff/groff/groff.man: Mention lj4_font man page.
4731         * font/devlj4/generate/Makefile (SYMBOLMAP, WINGDINGSMAP): New
4732         variables.
4733         (FONTS): Add SYMBOL and WINGDINGS.
4734         (SYMBOL, WINGDINGS): New targets.
4736 2004-01-13  Jeff Conrad  <jeff_conrad@msn.com>
4738         * src/devices/grolj4/lj4_font.man: New man page.
4739         * src/devices/grolj4/Makefile.sub (MAN5): New variable.
4740         * src/devices/grolj4.man: Mention lj4_font man page.
4742         * src/utils/hpftodit/hpftodit.cpp (read_map): Handle line comments.
4743         * src/utils/hpftodit/hpftodit.man: Document it.
4744         (CW): New macro.
4745         Remove details about fonts (which are now in lj4_font.man).
4747         * font/devlj4/generate/symbol.map,
4748         font/devlj4/generate/wingdings.map: New files.
4750 2004-01-12  Werner LEMBERG  <wl@gnu.org>
4752         * README: Mention ffii's viewcvs access.
4754 2004-01-09  Werner LEMBERG  <wl@gnu.org>
4756         * font/devlj4/generate/special.map: Map MSL 228 to U+221F.
4758 2004-01-09  Jeff Conrad  <jeff_conrad@msn.com>
4760         Revert most of the change from 2004-01-03 to better control used
4761         symbol sets.
4763         * src/utils/hpftodit/hpftodit.cpp (symbol_set): New structure.
4764         (text_symbol_sets, special_symbol_sets): New arrays.
4765         (symbol_set_table): New global variable.
4766         (read_symbol_sets): Use search order given in the text_symbol_sets
4767         and special_symbol_sets arrays.  If command line flag -a is not
4768         given, search both arrays.
4769         (output_charset): Require x_height_tag only for command line flag -i.
4771 2004-01-06  Werner LEMBERG  <wl@gnu.org>
4773         Implement string-valued registers \n[.m] and \n[.M] to return the
4774         name of the current drawing and background color, respectively.
4776         * src/roff/troff/symbol.h: Moved to...
4777         * src/include/symbol.h: Here.
4778         Small fixes to make it work outside of the `troff' directory.
4779         * src/roff/troff/symbol.cpp: Moved to...
4780         * src/libs/libgroff/symbol.cpp: Here.
4781         Small fixes to make it work outside of the `troff' directory.
4783         * src/include/Makefile.sub (HDRS), src/libs/libgroff/Makefile.sub
4784         (OBJS, CCSRCS), src/roff/troff/Makefile.sub (OBJS, CCSRCS, HDRS):
4785         Updated.
4787         * src/include/color.h: Include symbol.h.
4788         (color): Add new field `nm'.
4789         * src/libs/libgroff/color.cpp (color::color): Updated.
4791         * src/roff/troff/dictionary.cpp, src/roff/troff/div.cpp,
4792         src/roff/troff/node.cpp, src/roff/troff/number.cpp,
4793         src/roff/troff/reg.cpp: Don't include symbol.h.
4795         * src/roff/troff/env.cpp: Don't include symbol.h.
4796         (environment::get_glyph_color_string,
4797         environment_get_fill_color_string): New member functions.
4798         (init_env_requests): Handle `.m' and `.M' registers.
4799         * src/roff/troff/input.cpp: Don't include symbol.h.
4800         (default_symbol): Moved to symbol.cpp/symbol.h.
4801         (do_glyph_color, do_fill_color, define_color): Pass symbol name
4802         to color constructor.
4803         * src/roff/troff/env.h: Updated.
4805         * NEWS, man/groff_diff.man, man/groff.man, doc/groff.texinfo:
4806         Document new registers.
4808 2004-01-05  Werner LEMBERG  <wl@gnu.org>
4810         * src/roff/troff/node.cpp (space_node::get_breakpoints,
4811         space_node::nbreaks): Protect against zero `next' field.
4813 2004-01-03  Jeff Conrad  <jeff_conrad@msn.com>
4815         In hpftodit, use the symbol sets offered in the TFM.
4817         * src/utils/hpftodit/hpftodit.cpp (NO_GLYPH): New constant.
4818         (symbol_set, text_symbol_sets, special_symbol_sets,
4819         symbol_set_table): Removed.
4820         (get_printcode): Removed.
4821         (read_symbol_sets): Initialize `symbol_set' field with
4822         `NO_SYMBOL_SET'.
4823         Simplify code to just use the `kind' value.
4824         (output_charset): Improve output formatting.
4825         (dump_symbols): Simplified.
4827 2004-01-02  Werner LEMBERG  <wl@gnu.org>
4829         * font/devlj4/generate/text.map: Add more MSL numbers.
4831 2004-01-02  Jeff Conrad  <jeff_conrad@msn.com>
4833         * src/utils/hpftodit/hpftodit.cpp (is_decomposed): New macro.
4834         (text_symbol_sets): Add more symbol sets.
4835         (debug_flag): New static variable (moved from `main').
4836         (get_printcode, show_symset): New functions.
4837         (main): Remove `debug_flag'.
4838         (output_charset): Use `show_symset'.
4839         (dump_symbols):  Use `show_symset'.
4840         Print symsets for all glyphs.
4841         (read_map): Actually call `unicode_to_ucode_make' but this time
4842         correctly.
4844 2004-01-01  Werner LEMBERG  <wl@gnu.org>
4846         * font/devlj4/generate/text.map, font/devlj4/generate/special.map:
4847         Fix placement of comments.
4849 2004-01-01  Jeff Conrad  <jeff_conrad@msn.com>
4851         * src/utils/hpftodit/hpftodit.cpp (main): Read map file also if
4852         option `-d' is given.
4853         (output_charset): Improve warning messages to give more information.
4854         (dump_symbols): Make information more precise.
4855         (usage): Updated.
4856         (read_map): Don't call unicode_to_ucode_name; the glyph names must
4857         appear as-is and shouldn't be decomposed.
4859 2003-12-31  Werner LEMBERG  <wl@gnu.org>
4861         * src/utils/hpftodit/hpftodit.cpp (dump_tags): Handle posture_tag.
4862         * font/devlj4/generate/Makefile (IFLAG): Updated to new units.
4863         (FONTS): Add TrueType font families Arial and Times New Roman.
4864         (TNRR, TNRB, TNRI, TNRBI, AR, AB, AI, ABI): New targets.
4865         * font/devlj4/generate/text.map: Fix Unicode values of `fi' and
4866         `fl'.
4868 2003-12-31  Jeff Conrad  <jeff_conrad@msn.com>
4870         * test-groff.in (SEP): Quote value.
4871         * src/roff/troff/node.cpp (suppress_node::tprint): Change type of
4872         `tem' to `char*' to avoid deallocation of a pointer to a constant
4873         object which some compilers don't like.
4875 2003-12-31  Werner LEMBERG  <wl@gnu.org>
4877         * font/devlj4/generate (text.map, special.map): Rewritten to work
4878         with the new hpftodit version.
4880 2003-12-30  Jeff Conrad  <jeff_conrad@msn.com>
4882         * src/utils/hpftodit/hpftodit.cpp (output_charset): Emit HP symbol
4883         set and 8bit character code for all glyphs also.
4885 2003-12-30  Werner LEMBERG  <wl@gnu.org>
4887         * src/libs/libgroff/strcasecmp.c: Updated from gnulib.
4889 2003-12-29  Werner LEMBERG  <wl@gnu.org>
4891         More fixes for MSVC compiler.
4893         * doc/Makefile.sub (GROFF_BIN_PATH): Use $(SEP).
4895         * src/include/nonposix.h (STDIN_FILENO, STDOUT_FILENO,
4896         STDERR_FILENO) [_MSC_VER]: Define conditionally.
4897         (getpid) [_MSC_VER]: Remove.
4898         Include direct.h and process.h conditionally.
4900         * src/roff/troff/node.cpp (suppress_node::tprint): Don't use
4901         parentheses for a_delete.
4903         * src/utils/lookbib/lookbib.cpp: Include nonposix.h.
4905         * test-groff: Replaced with...
4906         * test-groff.in: This new template to handle path separator
4907         properly.
4909         * configure.ac: Check for direct.h and process.h.
4910         Generate test-groff script.
4911         * configure, src/include/config.hin: Regenerated.
4913 2003-12-28  Werner LEMBERG  <wl@gnu.org>
4915         Add integral extension glyph.
4916         Add new option `-x' to afmtodit to suppress use of built-in AGL.
4918         * font/devhtml/R.proto, font/devutf8/R.proto: Add `u23AE'.
4920         * font/devps/generate/textmap: Provide entry for `integralex' to
4921         override (old) PUA value of the AGL.
4922         * font/devps/generate/Makefile (SS): Add afmtodit option `-x'.
4923         * font/devps/*: Regenerated.
4925         * src/utils/afmtodit/afmtodit.pl: Add option `-x'.
4926         * src/utils/afmtodit/afmtodit.man, NEWS: Updated.
4928 2003-12-27  Werner LEMBERG  <wl@gnu.org>
4930         Add forgotten `coproduct' symbol (already available for DVI).
4932         * font/devhtml/R.proto, font/devps/generate/textmap,
4933         font/devps/symbolmap, font/devutf8/R.proto, man/groff_char.man,
4934         src/libs/libgroff/uniglyph.cc, src/libs/libgroff/glyphuni.cpp: Add
4935         U+2210 (\[coproduct]).
4937 2003-12-26  Jeff Conrad  <jeff_conrad@msn.com>
4939         hpftodit has been extended to handle TrueType metric files and
4940         more glyphs.  See hpftodit.man for more details.
4942         * src/utils/hpftodit/hpftodit.cpp: Include stdio.h, string.h,
4943         ctype.h, and unicode.h.
4944         s/msl/charcode/ everywhere since we now handle Unicode values also.
4945         (equal, NO, YES, MSL, SYMSET, UNICODE, UNICODE): New macros.
4946         Use it where appropriate.
4947         (MULTIPLIER): Replaced with...
4948         (multiplier): New global static variable.
4949         (scale): Updated.
4950         (tag_type): Add more TFM tags.
4951         (tag_name): New array.
4952         (ENUM_TYPE, FLOAT_TYPE): Removed.
4953         (BYTE_TYPE): New value assigned.
4954         (ASCII_TYPE, RATIONAL_TYPE): New enumeration values.
4955         (text_symbol_sets, special_symbol_sets): Extended to cover more
4956         sets.
4957         (check_type): Add return value.
4958         (check_units): Add parameters to get ppi and upem values.
4959         Handle TrueType TFM data.
4960         (output_font_name): New function.
4961         (output_charset): Add parameter to handle TFM type.
4962         Handle TrueType TFMs also.
4963         (em_fract): New macro.
4964         (dump_tags): Be much more verbose and handle more tags.
4965         (dump_ascii, dump_symbol_sets, dump_symbols): New functions.
4966         (hp_msl_to_ucode_name, unicode_to_ucode_name, is_uname): New
4967         functions.
4968         (read_map): Add parameter to handle TFM type.
4969         Handle both MSL and Unicode mappings.
4970         (main): Add two new command line options `-a' and `-q'.
4971         Updated to make use of new functions.
4972         (usage): Updated.
4974         * src/utils/hpftodit/hpuni.cpp: New file.
4976         * src/utils/hpftodit/Makefile.sub, src/utils/hpftodit/hpftodit.man:
4977         Updated.
4979 2003-12-25  Werner LEMBERG  <wl@gnu.org>
4981         * src/include/nonposix.h (read) [_MSC_VER]: Define.
4983 2003-12-24  Werner LEMBERG  <wl@gnu.org>
4985         * src/utils/afmtodit/afmtodit.man: Some reformulations as suggested
4986         by Michail Vidiassov <master@iaas.msu.ru>.
4988 2003-12-20  Werner LEMBERG  <wl@gnu.org>
4990         * font/devhtml/R.proto: Add u00{47,67}_0306, u00{53,73}_0327,
4991         and u0049_0307.
4992         Add missing latin-2 glyphs.
4993         * font/devutf8/R.proto: Add missing latin-2 glyphs.
4995         * tmac/troffrc: Load `composite.tmac' earlier.
4997         * tmac/dvi.tmac, tmac/ps.tmac, tmac/lbp.tmac: Add u00{47,67}_0306,
4998         u00{53,73}_0327, and u0049_0307.
4999         * tmac/X.tmac: Add u00{47,67}_0306.
5000         * tmac/tty-char.tmac: Use composite glyph names for readability.
5002         * NEWS: Updated.
5004         * src/include/unicode.h: Remove `extern' keywords.
5006 2003-12-20  Nilgün Belma Bugüner  <nilgun@superonline.com>
5008         * tmac/latin5.tmac: New file.
5010 2003-12-19  Werner LEMBERG  <wl@gnu.org>
5012         Add some glyphs needed for Turkish.
5014         * font/devutf8/R.proto: Add u00{47,67}_0306, u00{53,73}_0327,
5015         and u0049_0307.
5017         * tmac/composite.tmac: Add `,' as a synonym for `ac' accent.
5018         * tmac/tty-char.tmac: Add representations for u00{47,67}_0306,
5019         u00{53,73}_0327, and u0049_0307.
5021 2003-12-18  Werner LEMBERG  <wl@gnu.org>
5023         * src/devices/grops/ps.cc (ps_output::put_float): Revert change
5024         from 2001-10-04.
5025         Remove trailing zeros.
5027 2003-12-17  Werner LEMBERG  <wl@gnu.org>
5029         Make \? transparent to end-of-sentence recognition.
5031         * src/roff/troff/input.cc (non_interpreted_node): Add
5032         `ends_sentence' member function.
5034 2003-12-16  Werner LEMBERG  <wl@gnu.org>
5036         * doc/groff.texinfo: Document `dt' request correctly.
5037         Other minor typographical improvements.
5039 2003-12-10  Michail Vidiassov  <master@iaas.msu.ru>
5041         * src/utils/afmtodit/Makefile.sub (afmtodit): Fix typo.
5043 2003-12-10  Richard Stallman  <rms@gnu.org>
5045         * LICENSE: Better wording.
5047 2003-12-09  Werner LEMBERG  <wl@gnu.org>
5049         * aclocal.m4 (GROFF_BROKEN_SPOOLER_FLAGS): Set default value to 0.
5050         * configure, NEWS: Updated.
5052 2003-12-08  Werner LEMBERG  <wl@gnu.org>
5054         * FDL: Updated to version 1.2 (from www.gnu.org/copyleft).
5056 2003-12-07  Bernd Warken  <bwarken@mayn.de>
5058         * LICENSE: Updated.
5060 2003-12-07  Werner LEMBERG  <wl@gnu.org>
5062         * INSTALL: Improved.
5064 2003-12-05  Keith Marshall  <keith.d.marshall@ntlworld.com>
5066         Use path separator character of target platform for compiled-in
5067         default paths.
5069         * aclocal.m4 (GROFF_TARGET_PATH_SEPARATOR): New macro.
5070         * configure.ac: Use GROFF_TARGET_PATH_SEPARATOR.
5071         * configure: Regenerated.
5072         * Makefile.in (SEP): Use GROFF_PATH_SEPARATOR.
5074 2003-12-05  Werner LEMBERG  <wl@gnu.org>
5076         * src/include/nonposix.h (PATH_SEP_CHAR): New definition.
5077         Replace `PATH_SEP[0]' with `PATH_SEP_CHAR' everywhere.
5079 2003-12-04  Bernd Warken  <bwarken@mayn.de>
5081         * LICENSE: New file.
5083 2003-12-03  Werner LEMBERG  <wl@gnu.org>
5085         * src/utils/afmtodit/afmtodit.pl: Comment out code which handles
5086         ligatures present in AFM files since groff currently only
5087         understands some standard ligatures and nothing else.
5089 2003-12-03  Jeff Conrad  <jeff_conrad@msn.com>
5091         * src/roff/groff/groff.cpp (main): Don't run the spooler if
5092         option -v is given.
5094         * src/roff/groff/pipeline.c (run_pipeline) [_WIN32]: Fix error
5095         messages.
5096         Close stdout copy.
5097         Don't use Unix wait flags.
5099 2003-12-02  Werner LEMBERG  <wl@gnu.org>
5101         * src/roff/troff/glyphuni.cpp, src/roff/troff/unicode.cpp,
5102         src/roff/troff/unicode.h, src/roff/troff/uniglyph.cpp,
5103         src/roff/troff/uniuni.cpp: Moved to...
5104         * src/libs/libgroff/glyphuni.cpp, src/libs/libgroff/unicode.cpp,
5105         src/libs/libgroff/unicode.h, src/libs/libgroff/uniglyph.cpp,
5106         src/libs/libgroff/uniuni.cpp: Here.
5108         * src/include/Makefile.sub.old (HDRS),
5109         src/libs/libgroff/Makefile.sub (OBJS, CCSRCS),
5110         src/roff/troff/Makefile.sub (HDRS, PBJS, CCSRCS): Updated.
5112 2003-12-01  Keith Marshall  <keith.d.marshall@ntlworld.com>
5114         * src/preproc/htlp/pre-html.cpp (__tmpfile): Renamed to
5115         `DEBUG_FILE'.
5116         Updated all users.
5118 2003-12-01  Werner LEMBERG  <wl@gnu.org>
5120         * groff.texinfo: Document special behaviour of `.vs 0'.
5121         Improve documentation of `cflags' request.
5122         * NEWS: Updated.
5124 2003-11-29  Werner LEMBERG  <wl@gnu.org>
5126         * font/devlj4/generate/Makefile (CORONET): Use correct TFM.
5127         * font/devlj4/CORONET: Regenerated.
5129 2003-11-24  Werner LEMBERG  <wl@gnu.org>
5131         * src/roff/troff/env.cpp (hyphen_trie::read_patterns_file): Fix loop
5132         if processing hyphenation patterns in traditional mode.
5133         Improve error messages.
5135 2003-11-20  Werner LEMBERG  <wl@gnu.org>
5137         * src/roff/troff/node.cpp (troff_output_file::put_char_width,
5138         troff_output_file::put_char): Fix type of local variable `c'.
5140 2003-11-19  Werner LEMBERG  <wl@gnu.org>
5142         * src/roff/groff/pipeline.c (P): Removed.  Updated all function
5143         declarations.
5144         (i_to_a): Removed.  libgroff already provides this function.
5145         (run_pipeline) [_WIN32]: Don't use itoa but i_to_a.
5147 2003-11-18  Keith Marshall  <keith.d.marshall@ntlworld.com>
5149         * src/roff/groff/pipeline.c (xstrsignal): Fix usage of
5150         HAVE_DECL_SYS_LIST.
5152 2003-11-17  Werner LEMBERG  <wl@gnu.org>
5154         * COPYING: Use correct version.
5156 2003-11-11  Werner LEMBERG  <wl@gnu.org>
5158         LynxOS 4.0.0 doesn't declare vfprintf.
5160         * configure.ac: Check for vfprintf.
5161         * configure: Regenerated.
5162         * src/include/lib.h: Handle `NEED_DECLARATION_VFPRINTF'.
5163         * src/include/config.hin: Regenerated.
5165 2003-11-10  Werner LEMBERG  <wl@gnu.org>
5167         LynxOS 4.0.0 has snprintf (without declaration) but no vsnprintf.
5169         * configure.ac: Check for vsnprintf.
5170         * configure: Regenerated.
5171         * src/include/lib.h: Handle `NEED_DECLARATION_VSNPRINTF' and
5172         `HAVE_VSNPRINTF'.
5173         * src/include/config.hin: Regenerated.
5175 2003-11-09  Werner LEMBERG  <wl@gnu.org>
5177         * aclocal.m4: Updated syntax to autoconf 2.59.
5178         (GROFF_HTML_PROGRAMS): Use AC_FOREACH.
5179         Don't check for gsos2.
5180         (GROFF_SRCDIR, GROFF_BUILDDIR): Removed.  autoconf 2.59 provides
5181         working abs_top_srcdir and abs_top_builddir.
5183         * configure.ac: Updated syntax to autoconf 2.59.
5184         Don't call GROFF_SRCDIR and GROFF_BUILDDIR.
5185         Replace call to AC_DECL_SYS_SIGLIST with call to AC_CHECK_DECLS.
5186         * configure: Regenerated.
5188         * Makefile.in, doc/Makefile.in: s/@top_srcdir@/@abs_top_srcdir@/,
5189         s/@groff_top_builddir@/@abs_top_builddir@/.
5191         * src/roff/groff/pipeline.c (xstrsignal):
5192         s/SYS_SIGLIST_DECLARED/HAVE_DECL_SYS_SIGLIST/.
5194 2003-11-07  Werner LEMBERG  <wl@gnu.org>
5196         * src/devices/grodvi/dvi.cpp (draw_dvi_printer::draw) ['a']: Always
5197         make start angle smaller than end angle to circumvent a bug in tpic
5198         handling of some versions of dvipdfm (and dvipdfmx).
5200 2003-10-30  Werner LEMBERG  <wl@gnu.org>
5202         * src/devices/grops/grops.man: Improve section on creating EPS.
5204 2003-10-29  Werner LEMBERG  <wl@gnu.org>
5206         * contrib/pic2graph/pic2graph.sh: Fix typo (-P-letter ->
5207         -P-pletter).
5209 2003-10-28  Werner LEMBERG  <wl@gnu.org>
5211         * doc/groff.texinfo: Fix documentation of `.if'.
5213 2003-10-27  Michail Vidiassov  <master@iaas.msu.ru>
5215         * src/utils/afmtodit/afmtodit.pl: Handle unmapped characters of
5216         the form `uniXXXX' also.
5218 2003-10-27  Werner LEMBERG  <wl@gnu.org>
5220         * contrib/eqn2graph/eqn2graph.sh, contrib/grap2graph/grap2graph.sh,
5221         contrib/pic2graph/pic2graph.sh: Implement secure management of
5222         temporary files.
5223         Pass `-P-pletter' to groff to avoid data outside of the converted
5224         area -- some versions of `convert' (for example 5.3.8) don't check
5225         the bounding box of the image but always use a fixed image size
5226         (letter paper format).
5227         * contrib/eqn2graph/eqn2graph.man, contrib/grap2graph/grap2graph.man,
5228         contrib/pic2graph/pic2graph.man: Updated.
5230         * src/roff/groff/groff.man: Document $TMP and $TEMP.
5232 2003-10-26  Werner LEMBERG  <wl@gnu.org>
5234         * src/preproc/pic/troff.cpp (troff_output::simple_circle,
5235         troff_output::simple_ellipse, troff_output::simple_arc,
5236         troff_output::simple_line, troff_output::simple_spline,
5237         troff_output::simple_polygon): Insert a space before arguments.
5238         (troff_output::set_fill): Emit `\&' before `\D'Fg...' since the
5239         latter doesn't produce a node, so the following `.sp -1' would do
5240         the wrong thing.
5241         Don't emit `.sp -1' after \M.  This also doesn't produce a token
5242         (and we don't have to care about compatibility mode).
5243         (troff_output::set_color, troff_output::reset_color): Don't emit
5244         `.sp -1' after \M and \m.
5246         * src/roff/troff/input.cpp (old_have_input): New global variable.
5247         (input_stack::get): Handle `old_have_input'.
5248         (process_input_stack) <token::TOKEN_NEWLINE>: Call
5249         `trapping_blank_line' depending on `old_have_input', not
5250         `have_input'.
5252 2003-10-20  Keith Marshall  <keith.d.marshall@ntlworld.com>
5254         * src/libs/libgroff/tmpfile.cpp [__MSDOS__, _Win32]
5255         (WIN32_TMPDIR_ENVVAR, MSDOS_TMPDIR_ENVVAR): New macros, providing
5256         default directory names for temporary files.
5257         [__MSDOS__, _Win32] (temp_init::temp_init): Use them.
5259         * src/roff/groff/pipeline.c [__MSDOS__]: Include stdlib.h.
5260         [__MSDOS__] (run_pipeline): Honour environment variables.
5261         Don't use `tmpnam' but `tempnam' to work around messy
5262         implementation.
5264         * README.MinGW: New file.
5266 2003-10-16  Werner LEMBERG  <wl@gnu.org>
5268         * src/preproc/html/pre-html.cpp (write_upto_newline): Don't use
5269         `(*t)->next' without testing validity of `*t'.
5270         (usage): Make it more readable.
5272 2003-10-16  Keith Marshall  <keith.d.marshall@ntlworld.com>
5274         Make html device run under both MS-DOS and Win32.
5276         * src/preproc/html/pre-html.cpp (MAY_FORK_CHILD_PROCESS,
5277         MAY_SPAWN_ASYNCHRONOUS_CHILD): New macros to control whether
5278         spawn or fork+exec has to be used, and whether parent must sleep
5279         until the child process terminates.  Used in
5280         `char_buffer::run_output_filter'.
5281         (copyofstdoutfd): Removed.
5282         (char_buffer): Replace `write_file_html' and `write_file_troff'
5283         member functions with `emit_troff_output' and `run_output_filter'.
5284         (DEVICE_FORMAT, HTML_OUTPUT_FILTER, IMAGE_OUTPUT_FILTER): New
5285         macros.
5286         (replaceFd): Replaced with...
5287         (set_redirection): New auxiliary function.
5288         (waitForChild): Replaced with...
5289         (save_and_redirect): New auxiliary function for.
5291         (char_buffer::do_html, char_buffer::do_image): Simplified, using new
5292         functions.
5294 2003-10-14  Keith Marshall  <keith.d.marshall@ntlworld.com>
5296         * aclocal.m4 (GROFF_SYS_NERR): Check stdlib.h also.
5297         (GROFF_LIBC): New function.
5298         * configure.ac: Call GROFF_LIBC.
5299         Check for `kill'.
5300         * configure: Regenerated.
5302         * src/include/lib.h: Handle __MINGW32__.
5303         * src/include/nonposix.h [_MSC_VER]: Handle __MINGW32__.
5304         Add macro for `pipe'.
5305         Define P_tmpdir.
5307         * src/roff/groff/pipeline.c (run_pipeline): Handle `no_pipe'
5308         correctly.
5310         * src/utils/indxbib/signal.c (handle_fatal_signal) [!HAVE_KILL]:
5311         Implement.
5313 2003-10-12  Werner LEMBERG  <wl@gnu.org>
5315         * src/roff/groff/groff.cpp (help), src/devices/grops/ps.cpp (usage),
5316         src/roff/troff/input.cc (usage): Updated.
5318         * NEWS, doc/groff.texinfo: Updated.
5320 2003-10-12  Peter Miller  <millerp@canb.auug.org.au>
5322         * src/libs/libgroff/searchpath.cpp
5323         (search_path::open_file_cautious): New function which also handles
5324         `-' as stdin and stdout depending on the access mode.
5325         * src/include/searchpath.h (search_path): Updated.
5327         * src/devices/grops/ps.cpp (main): Handle new `-I' switch.
5328         * src/devices/grops/ps.h: Include `searchpath.h'.
5329         * src/devices/grops/psrm.cpp (resource_manager::supply_resource):
5330         Open resource file with `include_search_path.open_file_cautious'.
5331         * src/devices/grops/grops.man: Document new `-I' switch.
5333         * src/devices/grodvi/dvi.cpp (main), src/devices/grolbp/lbp.cpp
5334         (main), src/devices/grolj4/lj4.cpp (main),
5335         src/devices/grotty/tty.cpp (main): Ignore new `-I' switch.
5337         * src/preproc/soelim/soelim.cpp (include_list_length, include_list):
5338         Replaced with...
5339         (include_search_path): New global variable.
5340         (include_path_append): Removed.
5341         (main): Use `include_search_path.command_line_dir' to handle `-I'.
5342         (do_file): Simplify, using new
5343         `include_search_path.open_file_cautious'.
5345         * src/roff/groff/groff.cpp (print_commands): Accept file handle as
5346         parameter.
5347         (main): Pass arguments to `-I' to both troff and devices.
5348         Improve handling of `-V'.
5349         * src/roff/groff/groff.man: Document changes to -I and -V.
5351         * src/roff/troff/input.cpp (include_search_path): New global
5352         variable.
5353         (next_file, source, ps_bbox_request, transparent_file,
5354         process_input_file): Use new
5355         `include_search_path.open_file_cautious'.
5356         (main) Handle `-I' switch.
5357         * src/roff/troff/node.cpp (troff_output_file::really_copy_file):
5358         Use new `include_search_path.open_file_cautious'.
5359         * src/roff/troff/node.h: New extern symbol `include_search_path'.
5360         * src/roff/troff/troff.man: Document new `-I' switch.
5362 2003-09-15  Ruslan Ermilov  <ru@FreeBSD.org>
5364         Support multiple calls of .Lb in LIBRARY section.
5366         * tmac/doc-common (doc-in-library-section): New register.
5367         (doc-section-library): New string.
5368         (Sh): Set `doc-in-library-section'.
5369         (Rd): Updated.
5370         * tmac/doc-syms (Lb): Insert breaks before and after arguments
5371         if in LIBRARY section.
5372         * tmac/doc.tmac (doc-save-global-vars): Updated.
5373         * NEWS, tmac/groff_mdoc.man: Updated.
5375 2003-09-14  Ruslan Ermilov  <ru@FreeBSD.org>
5377         * tmac/doc-common (doc-default-operating-system): New variable.
5378         (Os): Use it.
5380 2003-09-08  Werner LEMBERG  <wl@gnu.org>
5382         * tmac/doc.tmac (doc-reset-reference): Handle data for `%I' also.
5384 2003-08-31  Werner LEMBERG  <wl@gnu.org>
5386         * Makefile.comm: Use `test ... ||' in favor of `if test ...; then'.
5387         (install_dev, uninstall_dev): Check whether $(DEVSCRIPTS) and
5388         $(DEVFILES) are not empty.
5389         * Makefile.in: Use `test ... ||' in favor of `if test ...; then'.
5391 2003-08-23  Stephen Gildea  <http://www.gildea.com/stephen>
5393         * src/preproc/ref/ref.cpp (reference::compute_sort_key): Always
5394         insert SORT_SEP.  With certain combinations of sort specifications,
5395         refer sorted entries in the wrong order.  In particular, entries
5396         with a missing field should be be sorted before all entries that
5397         have that field, before refer looks to the next field.
5399 2003-08-23  Werner LEMBERG  <wl@gnu.org>
5401         * src/utils/pfbtops/Makefile.sub (LINK.c): Define it so that the
5402         g++ linker is used.  Reported by Mark J. Reed
5403         <mark.reed@turner.com>.
5405 2003-08-16  Heinz-Jürgen Oertel  <hj.oertel@surfeu.de>
5407         Add key character `x' to tbl which makes tbl call a user-defined
5408         macro on a table cell.
5410         * src/preproc/tbl/table.h (entry_modifier): Add `macro'.
5411         * src/preproc/tbl/table.cpp (block_entry::do_divert): Call
5412         `set_modifier' after printing the compatibility request.
5413         (set_modifier): Print call to `m->macro' if not empty.
5414         * src/preproc/tbl/main.cpp (entry_format::debug_print): Handle
5415         `macro'.
5416         (process_format): Implement cases `x' and `X'.
5417         * src/preproc/tbl/tbl.man, NEWS: Updated.
5419 2003-08-15  Werner LEMBERG  <wl@gnu.org>
5421         * doc/groff.texinfo: Minor fixes.
5423 2003-08-09  Werner LEMBERG  <wl@gnu.org>
5425         * tmac/an-old.tmac [cR]: Fix redefinition of `bp'.
5427 2003-08-07  Werner LEMBERG  <wl@gnu.org>
5429         * doc/Makefile.sub: Not all shells expand wildcards in the `for'
5430         argument list to nothing if there is no file to match.  Use `ls' as
5431         a protection, similar to autoconf.
5433         * Makefile.comm (install_dev, uninstall_dev): Protect `for' against
5434         empty argument lists.
5436         * doc/groff.texinfo: Improve documentation how vertical spacing
5437         and line breaks interact.
5438         Other minor fixes.
5440         * tmac/www.tmac: Initialize `www-htmlimage-gap'.
5442 2003-08-03  Werner LEMBERG  <wl@gnu.org>
5444         * NEWS, src/devices/grops/grops.man: -b16 is necessary to produce
5445         EPS (using eps2eps or similar programs to compute the bounding box).
5447 2003-07-24  Werner LEMBERG  <wl@gnu.org>
5449         * doc/groff.texinfo: Use the new @/ command to avoid overlong lines.
5450         * doc/texinfo.tex: Updated from texinfo 4.6.
5451         * README.CVS: From now on we need texinfo 4.6.
5453 2003-07-23  Werner LEMBERG  <wl@gnu.org>
5455         Add requests `dei1' and `ami1' for completeness.
5457         * src/roff/troff/input.cc (calling_mode): Remove
5458         CALLING_DISABLE_COMP.
5459         (comp_mode): New enumeration.
5460         (do_define_string, define_string, define_nocomp_string,
5461         append_string, append_nocomp_string): Updated.
5462         (do_define_macro): Add third parameter.
5463         (define_macro, define_nocomp_macro, define_indirect_macro,
5464         append_macro, append_nocomp_macro, append_indirect_macro): Updated.
5465         (define_indirect_nocomp_macro, append_indirect_nocomp_macro): New
5466         functions.
5467         (ignore): Updated.
5468         (init_input_requests): Add `dei1' and `ami1'.
5470         * tmac/trace.tmac: Handle de1 and am1.
5471         (de): Improve tracing message.
5472         (am): Add missing `do'.
5473         (return): Use de1.
5475         * NEWS, man/groff_diff.man, man/groff.man, doc/groff.texinfo:
5476         Document new requests.
5478 2003-07-22  Heinz-Jürgen Oertel  <hj.oertel@surfeu.de>
5480         Add option -G to .MPIMG to insert a gap between text and the image.
5482         * tmac/www.tmac (www-finish-left-po, www-finish-right-ll,
5483         www-finish-left-ll): Updated.
5484         (www-image-just, www-image-gap, www-htmlimage-gap): New variables.
5485         (MPIMG): Make option -L and -R optional.
5486         Implement option -G.
5488 2003-07-22  Gaius Mulley  <gaius@glam.ac.uk>
5490         * src/devices/grohtml/post-html.cpp
5491         (html_printer::do_file_components): Don't use `stdout' as lvalue
5492         since it can be a macro.
5494 2003-07-22  Werner LEMBERG  <wl@gnu.org>
5496         * src/libs/libgroff/strerror.c: Include errno.h to be in sync with
5497         the corresponding test in aclocal.m4.
5499 2003-07-21  Werner LEMBERG  <wl@gnu.org>
5501         * src/preproc/html/pre-html.cpp (TRANSPARENT): Don't use colour
5502         names but RGB values directly.  Otherwise pnmtopng depends on
5503         an external file `rgb.txt' which maps colour names to values.
5505 2003-07-20  Werner LEMBERG  <wl@gnu.org>
5507         * aclocal.m4 (GROFF_SYS_ERRLIST): Include stdlib.h for MinGW.
5508         * configure, src/include/config.hin: Regenerated.
5510         * src/libs/libgroff/strerror.c: Include stdlib.h for MinGW.
5512 2003-07-19  Werner LEMBERG  <wl@gnu.org>
5514         * PROBLEMS: Add solution for UTF-8 problem with hyphens.
5516 2003-07-18  Werner LEMBERG  <wl@gnu.org>
5518         * *.man: Switch to non-compatibility mode temporarily if GNU
5519         syntax extensions are used in the particular man page.
5521         * PROBLEMS: Add solutions for SGR problems.
5523 2003-07-17  Werner LEMBERG  <wl@gnu.org>
5525         Don't ignore grotty's command line options if \X'tty: sgr ...' is
5526         used to change the drawing scheme.
5528         * src/devives/grotty/tty.cpp (bold_flag_option,
5529         underline_flag_option, italic_flag_option, reverse_flag_option,
5530         bold_underline_mode_option): New global variables.
5531         (update_options): New function.
5532         (tty_printer::special): Call update_options.
5533         (main): Don't set xxx_flag but xxx_flag_option, then call
5534         update_options.
5536 2003-07-14  Werner LEMBERG  <wl@gnu.org>
5538         Make grotty emit proper Unicode box drawing characters for -Tutf8.
5540         * src/devices/grotty/tty.cpp (START_LINE, END_LINE): New enum
5541         values.
5542         (hline_char, vline_char): New global variables.
5543         (tty_printer::tty_printer): Initialize them.
5544         (tty_printer::draw): Emit START_LINE and END_LINE flags for both
5545         horizontal and vertical lines.
5546         (crossings): New global array.
5547         (tty_printer::end_page): Use it to determine the proper crossing
5548         character for -Tutf8.
5550 2003-07-12  Werner LEMBERG  <wl@gnu.org>
5552         * doc/Makefilesub (HTMLDOCFILESALL): New macro.
5553         (HTMLDOCFILES): Revert to `pic.html'.
5554         (CLEANADD, install_html, uninstall_sub): Use HTMLDOCFILESALL.
5556 2003-07-11  Werner LEMBERG  <wl@gnu.org>
5558         * doc/pic.ms: Improve documentation of absolute coordinates.
5559         Document absolute positioning of pictures.
5561         * NEWS: Add new pic capability.
5563 2003-07-09  Hartmut Henkel  <hartmut_henkel@gmx.de>
5565         * src/libs/libgroff/geometry.cpp (check_output_arc_limits):
5566         Rewritten.
5568 2003-07-07  Werner LEMBERG  <wl@gnu.org>
5570         Implement support for dashed and dotted ellipses in pic.  Based on
5571         a patch from Hartmut Henkel <hartmut_henkel@gmx.de>.
5573         * src/preproc/pic/common.cpp (common_output::ellipse_arc,
5574         common_output::dashed_ellipse, common_output::dotted_ellipse): New
5575         functions.  Ellipse arcs are approximated with circle arcs.
5576         * src/preproc/pic/common.h (common_output): Updated.
5577         * src/preproc/pic/tex.cpp (tex_output::ellipse): Use new ellipse
5578         functions.
5579         * src/preproc/pic/troff.cpp (simple_output::ellipse): Ditto.
5581         * src/preproc/pic/TODO, src/preproc/pic/pic.man: Updated.
5583 2003-07-06  Werner LEMBERG  <wl@gnu.org>
5585         Make grotty work on platforms which have unsigned char as the
5586         default for char.  Based on a patch by Thomas Klausner
5587         <wiz@netbsd.org>.
5589         * src/devices/grotty/tty.cpp (schar): New typedef.
5590         Updated calls to declare_ptable and implement_ptable.
5591         (glyph): Use schar for back_color_idx and fore_color_idx.
5592         (tty_printer): Use schar for curr_fore_idx and curr_back_idx.
5593         (tty_printer::tty_color, tty_printer::tty_printer,
5594         tty_printer::color_to_idx, tty_printer::put_color): Updated.
5596 2003-07-06  Ruslan Ermilov  <ru@FreeBSD.org>
5598         * src/roff/nroff/nroff.sh: Add option -d for completeness.
5599         * src/roff/nroff/nroff.man: Updated.
5601 2003-07-05  Werner LEMBERG  <wl@gnu.org>
5603         * NEWS, tmac/groff_www.man: Updated.
5604         * doc/Makefile.sub: Updated.
5606 2003-07-05  Gaius Mulley  <gaius@glam.ac.uk>
5608         Implement support for multiple HTML output files.
5610         * src/preproc/html/pre-html.cpp (scanArguments): Dummy handling for
5611         -j command line option.
5613         * src/devices/grohtml/post-html.cpp (job_name, multiple_files): New
5614         global variables.
5615         (file): New fields `new_output_file', `require_links',
5616         `output_file_name'.
5617         (file::file): Updated.
5618         (files::set_file_name, files::set_links_required,
5619         files::are_links_required, files::is_new_output_file,
5620         files::file_name, files::next_file_name): New functions.
5621         (header_desc): New fields `no_of_level_one_headings',
5622         `header_filename'.
5623         (header_desc::header_desc): Updated.
5624         (header_desc::write_headings): Handle multiple files.
5625         (html_printer::write_header): Save file name in which header occurs.
5626         (html_printer::determine_header_level): Possibly split files on
5627         level one headings.
5628         (html_printer::do_links, html_printer::troff_tag): Updated.
5629         (html_printer::insert_split_file, html_printer::do_job_name,
5630         html_printer::emit_link, html_printer::write_navigation,
5631         html_printer::do_file_components): New functions.
5632         (html_printer::~html_printer): Handle multiple files.
5633         (main): Handle command line option `-j'.
5635         * src/devices/grohtml/grohtml.man: Updated.
5637         * doc/Makefile.sub (pic.html), doc/Makefile.in (pic.html): New rule
5638         which splits file.
5640         * tmac/www.tmac (JOBNAME): New macro.
5641         * tmac/s.tmac (SH-NO-TAG): New macro.
5642         (@SH): Call SH-NO-TAG.
5643         (@NH): Updated.
5645 2003-07-05  Ruslan Ermilov  <ru@FreeBSD.org>
5647         * tmac/groff_mdoc.man: Improve documentation of punctuation
5648         characters.
5650 2003-07-04  Ruslan Ermilov  <ru@FreeBSD.org>
5652         * tmac/doc.tmac (Bd): Change to doc-Li-font later.
5654 2003-07-03  Werner LEMBERG  <wl@gnu.org>
5656         * tmac/an-old.tmac [cR]: Redefine `bp' to avoid empty lines.
5658 2003-07-01  Ruslan Ermilov  <ru@FreeBSD.org>
5660         * tmac/doc.tmac (doc-do-func, doc-do-func-args): Don't print a comma
5661         after `/*' and `*/'.
5662         Fix spacing.
5663         (Fn, Fo): Reduce indentation in synopsis.
5665         * tmac/doc-common (doc-check-depth): New macro.
5666         (doc-end-macro, Sh, Ss): Use it.
5667         (Cd): Fix behaviour in synopsis.
5668         (In): Make it parsed and callable.
5669         If not in the synopsis, represent the C header file enclosed in
5670         angle brackets.
5671         (doc-str-Rv-std-suffix, doc-str-Rv-stds-suffix, doc-str-Rv-std0):
5672         Use minus, not hyphen.
5674         * tmac/groff_mdoc.man: Updated.
5676 2003-07-01  Werner LEMBERG  <wl@gnu.org>
5678         Integrated grap2graph, contributed by Eric S. Raymond.
5680         * contrib/grap2graph/{Makefile.sub, grap2graph.sh, grap2graph.man}:
5681         New files.
5682         * Makefile.in, NEWS, MANIFEST, contrib/eqn2graph.man,
5683         contrib/pic2graph.man, src/roff/groff/groff.man: Updated.
5685 2003-07-01  Colin Watson  <cjwatson@debian.org>
5687         * src/xditview/*.c: Add prototypes, fix return types, add includes.
5688         Based on work by Fumitoshi UKAI <ukai@debian.or.jp>.
5690 2003-06-31  Ruslan Ermilov  <ru@FreeBSD.org>
5692         * tmac/tty-char.tmac: Provide `lb', `rb', `lk', `rk', `lt', `rt'.
5694 2003-06-31  Werner LEMBERG  <wl@gnu.org>
5696         * doc/Makefile.sub (CLEANADD): Remove all files created by
5697         running `make groff.{pdf,dvi}'.
5699         * Makefile.sub (DISTCLEANFILES): Remove all non-source files from
5700         src/xditview also.
5702 2003-06-30  Werner LEMBERG  <wl@gnu.org>
5704         * Makefile.in (SHELL): Define as @SHELL@.
5705         (mkinstalldirs): Use $(SHELL).
5706         (MDEFINES): Add $(SHELL).
5707         * Makefile.comm (SHELL): Removed.
5709 2003-06-29  Werner LEMBERG  <wl@gnu.org>
5711         * tmac/s.tmac (De, Ds): New aliases for .DE and .DS, respectively.
5712         The X11 documentation files use them.
5713         * tmac/groff_ms.man, doc/groff.texinfo: Document them.
5715 2003-06-15  Robert Goulding  <goulding@Princeton.EDU>
5717         * tmac/e.tmac (@C): Handle .ad also.
5719 2003-06-12  Werner LEMBERG  <wl@gnu.org>
5721         * src/preproc/tbl/tbl.man: Document formatting of text blocks.
5723         * src/roff/troff/input.cc (token::next) <handle_escape_char>:
5724         Assign `n' even here.  It is possible to construct a node
5725         immediately following an escape character:
5727           .di xx
5728           \?\\\?a
5729           .br
5730           .di
5731           .xx
5733 2003-06-10  Werner LEMBERG  <wl@gnu.org>
5735         * README.WIN32: Removed.
5736         * MANIFEST: Updated.
5738 2003-06-07  Werner LEMBERG  <wl@gnu.org>
5740         * src/roff/nroff/nroff.sh: Don't emit SGR for option -u.
5742 2003-06-05  Werner LEMBERG  <wl@gnu.org>
5744         * src/preproc/pic/pic.y <sprintf_args>: Implement workaround for bug
5745         in Compaq C++ V6.5-033 for Compaq Tru64 UNIX V5.1A (Rev. 1885).
5747 2003-06-03  Werner LEMBERG  <wl@gnu.org>
5749         * src/preproc/grn/hdb.cpp (DBRead): Don't close file handle; this
5750         is done by the calling function.
5752 2003-05-22  Ruslan Ermilov  <ru@FreeBSD.org>
5754         * tmac/X.tmac: Fix definition of `em'.
5756 2003-05-22  Werner LEMBERG  <wl@gnu.org>
5758         * src/roff/troff/input.cc (return_macro_request): Fix detection of
5759         argument.
5761 2003-05-18  Werner LEMBERG  <wl@gnu.org>
5763         * tmac/doc.tmac (doc-tag-list): Force horizontal mode after tag
5764         to make items work which consist only of a tag.
5766 2003-05-17  Werner LEMBERG  <wl@gnu.org>
5768         * tmac/doc.tmac (doc-tag-list): Don't use \Z to assure that spaces
5769         aren't stretched in a tag (this can fail with unformatted boxes).
5770         Instead, insert a break and go back one line.
5772 2003-05-16  Werner LEMBERG  <wl@gnu.org>
5774         * src/roff/troff/input.cc (return_macro_request): If called with
5775         argument pop macro twice.  We need this to trace `return'.
5777         * tmac/trace.tmac: Handle `return'.
5778         Fix typos.
5780         * NEWS, man/groff_diff.man, man/groff.man, doc/groff.texinfo:
5781         Document.
5783 2003-05-15  Larry Kollar  <kollar@alltel.net>
5785         * tmac/groff_ms.man, doc/groff.texinfo: Improve documentation of
5786         registers `FPS', `FVS', and `FPD'.
5788 2003-05-15  Werner LEMBERG  <wl@gnu.org>
5790         * src/utils/pfbtops/pfbtops.c (get_text): Handle loop counter
5791         correctly.
5793 2003-05-03  Ruslan Ermilov  <ru@FreeBSD.org>
5795         * tmac/groff_mdoc.man: Slight improvements.
5797 2003-05-03  Werner LEMBERG  <wl@gnu.org>
5799         * tmac/doc-common (doc-header): Emit vertical space of 1v instead of
5800         `doc-header-space' after header line if register `cR' is set.
5802 2003-05-02  Werner LEMBERG  <wl@gnu.org>
5804         * TODO: Updated.
5806 2003-05-01  Ruslan Ermilov  <ru@FreeBSD.org>
5808         * tmac/doc-common (Nd): Use \[em].
5810 2003-05-01  Werner LEMBERG  <wl@gnu.org>
5812         * tmac/doc-ditroff, tmac/doc-nroff (doc-header-space,
5813         doc-footer-space): Initialize to 0.5i.
5814         (doc-setup-page-layout): Don't set doc-header-space and
5815         doc-footer-space.
5817 2003-04-30  Werner LEMBERG  <wl@gnu.org>
5819         * REVISION: Set to 1.
5821         * doc/pic.ms: Document possible problems with `figname'.
5823 2003-04-29  Werner LEMBERG  <wl@gnu.org>
5825 Version 1.19 released
5826 =====================
5828         * VERSION: Set to 1.19.
5829         * REVISION: Set to 0.
5830         * doc/groff.texinfo, doc/webpage.ms, NEWS: Updated.
5832         * src/devices/grohtml/post-html.cpp (html_printer::~html_printer):
5833         Define charset as `US-ASCII' in html output.
5835         * tmac/www.tmac (ULE): Add missing scaling indicator.
5837         * win32-diffs: Removed.
5839 2003-04-28  Werner LEMBERG  <wl@gnu.org>
5841         * doc/groff.texinfo: Document `dn' and `dl' registers if used with
5842         `.da' and `.boxa'.
5843         Document how to insert discardable whitespace with `.ss'.
5845 2003-04-27  Werner LEMBERG  <wl@gnu.org>
5847         * src/preproc/pic/tex.cpp (tex_output::start_picture): Make code
5848         work with plain TeX also.
5850         * src/preproc/pic/pic.man, doc/pic.ms: Fix TeX code example.
5852 2003-04-25  Gaius Mulley  <gaius@glam.ac.uk>
5854         * src/devices/grohtml/post-html.cpp (html_printer::~html_printer):
5855         Use a loose DTD.
5857 2003-04-24  Werner LEMBERG  <wl@gnu.org>
5859         * src/preproc/pic/pic.man, doc/pic.ms: Explain how to get a
5860         vbox with positive height and zero depth if in TeX mode.
5862         * NEWS: Document glyph name changes for grodvi and grolj4.
5864 2003-04-23  Werner LEMBERG  <wl@gnu.org>
5866         * src/preproc/pic/tex.cpp (tex_output::start_picture): Fix TeX code.
5867         * doc/pic.ms: Fixed.
5869 2003-04-21  Werner LEMBERG  <wl@gnu.org>
5871         HP-UX 10.20 has `snprintf' but it isn't declared.
5873         * configure.ac: Add declaration test for snprintf.
5874         * configure: Regenerated.
5875         * src/include/lib.h: Handle `NEED_DECLARATION_SNPRINTF'.
5876         * src/include/config.hin: Regenerated.
5878 2003-04-19  Werner LEMBERG  <wl@gnu.org>
5880         Add keyword `figname' to pic, specifying the name of the picture
5881         box in TeX mode.  Based on a patch from William J Poser
5882         <wjposer@unagi.cis.upenn.edu>.
5884         * src/preproc/pic/pic.y: New token `FIGNAME'.
5885         (macro_name): New rule of type <str>.
5886         (placeless_element): Handle `FIGNAME'.
5887         * src/preproc/pic/lex.cpp (lookup_keyword): Add `figname'.
5888         * src/preproc/pic/main.cpp (graphname): New global variable.
5889         (do_picture): Initialize `graphname'.
5890         * src/preproc/pic/pic.h: Updated.
5891         * src/preproc/pic/tex.cpp (tex_output::start_picture): Use
5892         `graphname'.
5893         Simplify TeX code.
5894         (tex_output::text): Beautify output.
5895         * src/preproc/pic/object.cpp (object_spec::~object_spec): Deallocate
5896         `shaded' and `outlined' unconditionally.
5897         * NEWS, src/preproc/pic/pic.man, doc/pic.ms: Updated.
5898         Minor improvements.
5900         * PROBLEMS, README.CVS: Mention that bison version 1.875b or
5901         greater is necessary.
5903 2003-04-17  Hartmut Henkel  <hartmut_henkel@gmx.de>
5905         Add option -r to soelim to avoid emission of `.lf' lines.
5906         Add option -t to produces TeX comment lines instead of `.lf' lines.
5908         * src/preproc/soelim/soelim.cpp: New global variables `raw_flag'
5909         and `tex_flag'.
5910         (usage): Updated.
5911         (main): Handle `-r' and `-t'.
5912         (set_location): Handle `raw_flag' and `tex_flag'.
5913         * src/preproc/soelim/soelim.man, NEWS: Updated.
5915 2003-04-17  Werner LEMBERG  <wl@gnu.org>
5917         * tmac/hyphenex.sh: Replaced with...
5918         * tmac/hyphenex.pl: This perl script to avoid sed compatibility
5919         nightmares.
5921         * aclocal.m4 (GROFF_HTML_PROGRAMS): Emit useful warning message
5922         if --quiet is used for the configure script.
5923         * configure: Regenerated.
5925 2003-04-16  Werner LEMBERG  <wl@gnu.org>
5927         * src/devices/grohtml/post-html.cpp (text_glob::text_glob):
5928         Add `const' to second argument.
5929         (html_printer::add_table_end): Add `const' to argument.
5930         * src/devices/grohtml/html-text.cpp (html_text::issue_tag): Add
5931         `const' to arguments.
5932         * src/devices/grohtml/html-text.h: Updated.
5934         * src/devices/grolbp/charset.h (symset): Use `unsigned char'.
5935         * src/devices/grolbp/lbp.h (lbpputc): Use `unsigned char' for
5936         argument.
5938         * src/devices/grotty/tty.cpp (tty_printer::make_rgb_string): Use
5939         cast for integer constant.
5941         * src/preproc/html/pre-html.cpp (image_device): Use `const'.
5942         (writeNbytes): Add `const' to first argument.
5943         (writeString): Add `const' to argument.
5944         (char_buffer::can_see): Add `const' to third argument.
5945         * src/preproc/html/pushback.cpp (pushBackBuffer::isString): Add
5946         `const' to argument.
5947         * src/preproc/html/pushback.h: Updated.
5949         * src/preproc/soelim/soelim.cpp (include_list): Add `const'.
5950         (include_path_append): Add `const' to argument.
5951         (do_file): Updated.
5953         * src/roff/troff/uniglyph.cpp (unicode_to_glyph_list): Use `const'
5954         for `value'.
5955         (unicode_to_glyph_init::unicode_to_glyph_init): Updated.
5956         * src/roff/troff/uniuni.cpp (unicode_decompose_list): Use `const'
5957         for `value'.
5958         (unicode_decompose_init::unicode_decompose_init): Updated.
5959         * src/roff/troff/glyphuni.cpp (glyph_to_unicode_list): Use `const'
5960         for `value'.
5961         (glyph_to_unicode_init::glyph_to_unicode_init): Updated.
5962         * src/roff/troff/input.cc (process_startup_file): Add `const' to
5963         argument.
5965         * tmac/hyphenex.sh: Make script more portable by using a here
5966         document.
5968 2003-04-15  Werner LEMBERG  <wl@gnu.org>
5970         Renamed all `*.cc' files to `*.cpp'.
5971         Updated all configuration files, makefiles, and documentation.
5973 2003-04-14  Werner LEMBERG  <wl@gnu.org>
5975         * tmac/hyphenex.sh: Slight improvements.
5977 2003-04-13  Werner LEMBERG  <wl@gnu.org>
5979         * font/devascii/R.proto, font/devcp1037/R.proto,
5980         font/devlatin1/R.proto, font/devutf8/R.proto: Fill up remaining
5981         character slots with unnamed glyphs.
5983         * tmac/an-old.tmac: Fix hyphenation value if `cR' is active.
5984         (an-first): New global variable.
5985         (an-header): Emit vertical space between multiple man pages.
5987 2003-04-11  Werner LEMBERG  <wl@gnu.org>
5989         * doc/groff.texinfo, man/groff_out.man: \S only accepts integer
5990         values.
5992 2003-04-10  Werner LEMBERG  <wl@gnu.org>
5994         * PROBLEMS: Revised.
5996 2003-04-10  Bernd Warken  <bwarken@mayn.de>
5998         * doc/webpage.ms: Improved.
6000 2003-04-09  Werner LEMBERG  <wl@gnu.org>
6002         Add register \n[.height] which returns the value of \H.
6003         Add register \n[.slant] which returns the value of \S.
6005         * src/roff/troff/env.cc (init_env_requests): Implement.
6006         * NEWS, man/groff_diff.man, man/groff.man, doc/groff.texinfo:
6007         Document.
6009 2003-04-08  Werner LEMBERG  <wl@gnu.org>
6011         * tmac/html.tmac: Move some of the data into html-end.tmac.
6012         Remove most of the character translations for eqn since html fonts
6013         now cover those characters.
6014         Load www.tmac.
6015         * tmac/html-end.tmac: New file.
6016         * tmac/troffrc: Load html.tmac not www.tmac for -Thtml.
6017         * tmac/troffrc-end: Load html-end.tmac not html.tmac for -Thtml.
6018         * tmac/Makefile.sub (NORMALFILES): Add html-end.tmac.
6020 2003-04-07  Werner LEMBERG  <wl@gnu.org>
6022         * man/groff_out.man: Document negative values of `N' if -Thtml is
6023         used.
6025 2003-04-06  Werner LEMBERG  <wl@gnu.org>
6027         * Makefile.comm (depend.temp): Check location of YTABC.
6029 2003-04-05  Maciej W. Rozycki  <macro@ds2.pg.gda.pl>
6031         * doc/Makefile.in (TROFFBIN): New variable for troff
6032         binary path.
6033         (GROFFBIN): New variable for groff binary path.
6034         (groff_bin_path): Rename to GROFF_BIN_PATH.
6035         (TROFF): Use TROFFBIN.
6036         (GROFF): Use GROFFBIN and GROFF_BIN_PATH.
6037         * doc/Makefile.sub (GROFFBIN): New variable for groff
6038         binary path.
6039         (groff_bin_path): Rename to GROFF_BIN_PATH.
6040         (GROFF): Use GROFFBIN and GROFF_BIN_PATH.
6042         * Makefile.comm (install_dev): Install scripts from DEVSCRIPTS
6043         with INSTALL_SCRIPT.
6044         (uninstall_dev): Uninstall scripts from DEVSCRIPTS.
6045         * Makefile.dev (all): Depend on DEVSCRIPTS.
6046         (install_dev): Likewise.
6047         * font/devdvi/Makefile.sub (DEVSCRIPTS): New variable to hold
6048         scripts.
6049         * font/devps/Makefile.sub (DEVSCRIPTS): Likewise.
6050         (DEVGENSCRIPTS): New variable to hold generated scripts.
6052 2003-04-05  Werner LEMBERG  <wl@gnu.org>
6054         * src/libs/libdriver/input.cc (IntArray::operator[],
6055         IntArray::get_data): Remove meaningless `const' in return value.
6057         * README.CVS: New file.
6059 2003-04-04  Werner LEMBERG  <wl@gnu.org>
6061         Check for stdint.h in C++, not in C.
6063         * aclocal.m4 (GROFF_STDINT_H): New function,
6064         * configure.ac: Check for stdint.h with GROFF_STDINT_H instead of
6065         AC_CHECK_HEADERS.
6066         * configure, src/include/config.hin: Regenerated.
6067         * src/libs/libgroff/tmpname.cc: Use HAVE_CC_STDINT_H.
6070         Fix handling of &nbsp; in grohtml.  To do this, troff emits `N'
6071         with a negative value, representing the width of the unbreakable
6072         space (only for -Thtml).  grohtml then converts this back to
6073         &nbsp; and uses the value of N as its width.
6075         * src/roff/troff/node.cc (space_char_hmotion_node::tprint,
6076         unbreakable_space_node::tprint): Emit `N-<width>'.
6077         * src/include/printer.h (printer::set_numbered_char): Make it
6078         virtual.
6079         Make members `font_table' and `nfonts' protected instead of private.
6080         * src/devices/grohtml/post-html.cc
6081         (html_printer::set_numbered_char): New member function.
6084         * src/libs/libgroff/maxfilename.cc:
6085         s/HAVE_LIMITS_H/HAVE_CC_LIMITS_H/.
6087         * src/roff/troff/node.cc (unbreakable_space_node::tprint): Don't
6088         emit word marker.
6090 2003-04-03  Sergey A. Osokin  <osa@freebsd.org.ru>
6092         * man/roff.man: Small fixes.
6094 2003-04-03  Werner LEMBERG  <wl@gnu.org>
6096         Make groff independent from locale's numeric settings.
6098         * configure.ac: Check for `setlocale'.
6099         * configure, src/include/config.hin: Regenerated.
6101         * src/include/lib.h: Handle HAVE_SETLOCALE.
6103         * src/devices/grodvi/dvi.cc (main), src/devices/grolj4/lj4.cc
6104         (main), src/devices/grops/ps.cc (main), src/preproc/grn/main.cc
6105         (main), src/preproc/pic/main.cc (main): Call `setlocale'.
6108         * doc/groff.texinfo: Change dir category to `Typesetting'.
6109         (Man font macros): Mention that there is no space between arguments
6110         of .BI and friends.
6112         * src/libs/libdriver/printer.cc, src/devices/grotty/tty.cc
6113         (*printer::change_color, *printer::change_fill_color): Add missing
6114         `const'.
6116 2003-04-02  Werner LEMBERG  <wl@gnu.org>
6118         * src/devices/grohtml/html-table.cc (html_table::emit_col,
6119         html_table::is_gap): Compute table widths after converting border
6120         positions to avoid rounding errors.
6122 2003-04-01  Werner LEMBERG  <wl@gnu.org>
6124         * src/devices/grohtml/html-text.cc (html_text::do_space): Handle
6125         `space_emitted' properly.
6127 2003-03-31  Werner LEMBERG  <wl@gnu.org>
6129         * src/devices/grohtml/html-table.cc: Fix column width calculation.
6130         (html_table::set_linelength): Don't add 1.
6131         (html_table::add_indent): Don't subtract 1.
6133         * tmac/html.tmac: Set default page offset to zero.
6135 2003-03-30  Werner LEMBERG  <wl@gnu.org>
6137         Make groff emit `&nbsp;' for `\ ' and `\~' if `-Thtml' is used.
6139         * src/roff/troff/node.cc (space_char_hmotion_node::tprint,
6140         unbreakable_space_node::tprint): New functions.
6141         (troff_output_file): Make space_char_hmotion_mode::tprint and
6142         unbreakable_space_node::tprint to friends.
6143         * src/roff/troff/node.h: Updated.
6145         * font/devhtml/R.proto: Add `&nbsp' at position 0xA0 (as defined
6146         in the HTML standard).
6148 2003-03-29  Werner LEMBERG  <wl@gnu.org>
6150         * src/roff/troff/env.cc (point_size): Fix emission of html tag.
6151         Otherwise, the following code
6153           .di xxx
6154           .ps 10
6155           a
6156           .br
6157           .di
6158           x\*[xxx]
6160         produces `x a' instead of `xa'.  This is a temporary fix, disabling
6161         font changes in diversions for -Thtml.
6163         * tmac/an-old.tmac (TH, SH): Use `HTML-TAG-NS' instead of
6164         `HTML-TAG'.
6165         (an-do-tag-html): Merge with ...
6166         (an-do-tag): This macro.
6167         Change code slightly to circumvent grohtml bug.
6168         * tmac/troffrc-end: Define dummy for HTML-TAG-NS.
6170         * src/devices/grohtml/html-table.cc (html_table::emit_col,
6171         html_table::is_gap): Round `width' properly.
6173         * tmac/html.tmac: Provide some default layout parameters for
6174         grohtml.
6176         * font/devhtml/DESC.proto: Don't use discrete values for `sizes'
6177         command.
6179 2003-03-28  Werner LEMBERG  <wl@gnu.org>
6181         src/devices/grops/ps.cc (ps_printer::do_import): Fix error message.
6183 2003-03-27  Werner LEMBERG  <wl@gnu.org>
6185         * tmac/an-old.tmac (BT): Don't call .tl if register `ps4html' is
6186         defined.
6188 2003-03-20  Werner LEMBERG  <wl@gnu.org>
6190         * src/roff/troff/env.cc (vertical_spacing): Allow zero value for
6191         `.vs'.
6192         * doc/groff.texinfo: Updated.
6194 2003-03-19  Werner LEMBERG  <wl@gnu.org>
6196         * src/roff/troff/input.cc (process_input_stack) <TOKEN_BEGIN_TRAP,
6197         TOKEN_END_TRAP>: Reset `have_input'.
6199 2003-03-18  Werner LEMBERG  <wl@gnu.org>
6201         * src/roff/groff/groff.man: Mention groff_trace man page.
6203 2003-03-16  Werner LEMBERG  <wl@gnu.org>
6205         * Makefile.in (LIBEXT): New variable to indicate the file extension
6206         of library files.  Computed heuristically from $(OBJEXT).
6207         (MDEFINES): Add $(LIBEXT).
6208         * Makefile.lib, Makefile.comm: Use it.
6210         * src/utils/pfbtops/pfbtops.c (get_text): New function.  Split
6211         overlong lines into smaller chunks.
6212         (get_binary): New function.
6213         (main): Use them.
6214         * src/utils/pfbtops/pfbtops.man: Updated.
6216 2003-03-15  Colin Watson  <cjwatson@debian.org>
6218         * src/roff/groff/groff.man: Minor syntax fix.
6220 2003-03-14  Egil Kvaleberg  <egil@kvaleberg.no>
6222         * src/devices/grops/ps.cc (ps_printer::media_set,
6223         ps_printer::~ps_printer): Handle zero paper width and length.
6225 2003-03-13  Werner LEMBERG  <wl@gnu.org>
6227         Add options -p and -l to grodvi.
6229         * src/devices/grodvi/dvi.cc: Include paper.h.
6230         (landscape_flag, user_paper_length, user_paper_width): New global
6231         variables.
6232         (dvi_printer::begin_page): Emit `papersize' special.
6233         Set color after initialization of `cur_h' and `cur_v'.
6234         (main): Add options `-l' and `-p'.
6235         * font/devdvi/Makefile.sub (DESC): Set `papersize'.
6236         * src/devices/grodvi/grodvi.man, NEWS: Updated.
6238         * src/devices/grops/psrm.cc (valid_input_table): Fixed.
6240 2003-03-12  Werner LEMBERG  <wl@gnu.org>
6242         * src/devices/grops/grops.man: Move documentation of .PSPIC to...
6243         * man/groff_tmac.man: This man page.
6244         * man/groff_font.man: Declare `paperwidth' and `paperlength' as
6245         deprecated.
6247         * tmac/X.tmac: Don't load pspic.tmac.
6249 2003-03-11  Werner LEMBERG  <wl@gnu.org>
6251         Make variable `pr' local to libdriver/input.cc.  Based on a patch
6252         by Bernd Warken <bwarken@mayn.de>.
6254         * src/include/driver.h (pr): Removed.
6256         * src/libs/libdriver/input.cc (pr): New global variable.
6257         (do_file): Deallocate `pr'.
6258         * src/libs/libdriver/printer.cc (pr): Removed.
6260         * src/devices/grodvi/dvi.cc (main), src/devices/grohtml/post-html.cc
6261         (main), src/devices/grolbp/lbp.cc (main), src/devices/grolj4/lj4.cc
6262         (main), src/devices/grops/ps.cc (main), src/devices/grotty/tty.cc
6263         (main): Don't delete `pr'.
6265 2003-03-10  Werner LEMBERG  <wl@gnu.org>
6267         * tmac/a4.tmac, tmac/composite.tmac: Use `.do'.
6268         * tmac/papersize.tmac: New file.
6269         * tmac/troffrc: Include `papersize.tmac'.
6270         * tmac/Makefile.sub (NORMALFILES): Add `papersize.tmac'.
6271         * tmac/an-old.tmac: Set LT to LL by default.
6273         * NEWS, MANIFEST, tmac/groff_man.man, man/groff_tmac.man,
6274         doc/groff.texinfo: Updated.
6276         * src/libs/libgroff/paper.cc (add_iso_paper): Fix very embarassing
6277         bug which caused all odd iso papers to have wrong dimensions.
6279         * src/devices/grops/ps.cc (user_paper_width): New global variable.
6280         (main) <'p'>: Set `user_paper_width' also.
6281         (ps_printer::media_width, ps_printer::media_height): Use values
6282         given with option `-p'.
6284 2003-03-09  Werner LEMBERG  <wl@gnu.org>
6286         * src/include/nonposix.h: Provide default for SET_BINARY.
6288         * src/devices/grodvi/dvi.cc, src/devices/grolbp/lbp.cc,
6289         src/devices/grolj4/lj4.cc, src/devices/grops/ps.cc: Call SET_BINARY
6290         unconditionally.
6292         * src/utils/pfbtops/pfbtops.c: Call SET_BINARY unconditionally.
6293         (main): Treat \r\n as \n.
6295 2003-03-08  Werner LEMBERG  <wl@gnu.org>
6297         * tmac/an-old.tmac: Use register `HY' to control hyphenation.
6298         * NEWS, tmac/groff_man.man, doc/groff.texinfo: Document it.
6300 2003-03-07  Werner LEMBERG  <wl@gnu.org>
6302         Added support to access more than 256 glyphs in Type 1 fonts.
6304         * src/devices/grops/ps.cc (subencoding): New structure.
6305         (style): Add `sub' field.
6306         Updated all users.
6307         (ps_printer): Add `subencodings' and `next_subencoding_index' fields.
6308         Add `set_subencoding', `get_subfont' and `encode_subfont' member
6309         functions.
6310         Updated all users.
6311         (ps_printer::set_char): Use `set_subencoding'.
6312         (make_subencoding_name): New function.
6313         (ps_printer::set_style): Handle case where `sty.sub' is not zero.
6314         (ps_printer::~ps_printer): Emit subencoding definitions.
6316         * src/devices/grops/psrm.cc (valid_input_table): New array to
6317         properly support EBCDIC.
6318         (white_space): Add `\f'.
6319         (ps_get_line): Change first argument to be of type `string &'.
6320         Updated all callers.
6321         This allows to get lines of arbitrary length.
6322         Use `valid_input_table'.
6323         Remove warning about non-conforming PS line length.  This seems
6324         not to be of great importance -- for example, dvips don't emit
6325         a warning either.
6326         (PS_LINE_MAX): Removed.
6327         (matches_comment): Change first argument to be of type `string &'.
6329         * src/devices/grops/grops.man, src/devices/grops/TODO: Updated.
6331         * src/utils/afmtodit/afmtodit.pl (%unicode_decomposed,
6332         %AGL_to_unicode, %default_ligatures): New hash tables.
6333         Read all map entries.
6334         Add unencoded characters.
6335         Check for default ligatures if there are no `L' entries.
6336         Print all kern entries.
6337         Print all characters in charset.
6338         * src/utils/afmtodit/afmtodit.man: Updated.
6340         * font/devps/*: Regerated all fonts.
6342         * tmac/latin[129].tmac, tmac/cp1047.tmac: Don't test for existence
6343         of characters, just use `.trin'.  Otherwise the mapping depends
6344         on the font encoding.
6345         * tmac/ps.tmac: Add `fi' and `fl'.
6346         Improve `Fi' and `Fl'.
6347         * tmac/X.tmac, tmac/lbp.tmac, tmac/tty.tmac: Improve `Fi' and `Fl'.
6348         * tmac/Xps.tmac: Fix `em'.
6350         * NEWS: Updated.
6352 2003-03-04  Werner LEMBERG  <wl@gnu.org>
6354         * src/roff/troff/input.cc (charinfo_to_node_list): Reset
6355         `have_input'.
6357 2003-03-03  Werner LEMBERG  <wl@gnu.org>
6359         * Makefile.sub (DISTCLEANFILES): Add gxditview._man.
6361         * font/devps/generate/textmap: Remove entry `similarequal'.
6362         * font/devps/symbolmap: Updated.
6364 2003-03-02  Werner LEMBERG  <wl@gnu.org>
6366         * src/libs/libgroff/font.cc (font::load): Fix error message for
6367         bad character type.
6369         * src/devices/grops/grops.man: Improve documentation of the -b
6370         flag.
6372         * tmac/tty.tmac: Load latin1.tmac for all TTY devices except
6373         `ascii' and `cp1047'.
6375 2003-03-01  Werner LEMBERG  <wl@gnu.org>
6377         Document composite glyphs and the `composite' request.
6379         * man/groff.man, man/groff_diff.man, doc/groff.texinfo: Do it.
6381 2003-02-28  Werner LEMBERG  <wl@gnu.org>
6383         * font/devdvi/generate/ec.map: Add some more Unicode entities.
6384         * font/devdvi/*EC: Updated.
6386         * tmac/composite.tmac, tmac/latin2.tmac, tmac/latin9.tmac: New files.
6387         * tmac/latin1 (latin1-tr): Undo any previous mapping.
6388         * tmac/troffrc: Load `composite.tmac'.
6389         * tmac/Makefile.sub (NORMALFILES): Updated.
6391         * doc/groff.texinfo (Input Encodings): New section.
6392         * NEWS: Updated.
6394 2003-02-27  Werner LEMBERG  <wl@gnu.org>
6396         * doc/texinfo.tex: New version 2003-02-11.06.
6398         * tmac/doc-common (Dt): Don't emit warning for unknown section.
6399         * tmac/groff_mdoc.man: Fix description of `Dt'.
6401 2003-02-26  Egil Kvaleberg  <egil@kvaleberg.no>
6403         * font/devps/prologue.ps: Fix for included Postscript that does
6404         a setpagedevice -- which is now safely ignored.
6406         * NEWS: Updated.
6408         * src/devices/grops/ps.cc: Now sets the page size in the generated
6409         document.  This is done in two ways: Via a %%-comment for gv and
6410         the like, and via a PageSize and setpagedevice for programs that
6411         understands Postscript proper, like ps2pdf.
6413         * src/devices/grops/ps.h: New broken-flag to avoid page size
6414         definition, if required.
6416         * src/devices/grops/grops.man: New broken-flag 16 mentioned.
6418         * doc/Makefile.in: Added -nosetpage flag (via @pnmtops_nosetpage@).
6419         Not really necessary due to the fix in prologue.ps, but cleaner:
6420         Such information does not belong in an .eps file.
6422         * doc/Makefile.sub: See doc/Makefile.in.
6424 2003-02-26  Ralph Corderoy  <ralph@inputplus.co.uk>
6426         * aclocal.m4 (GROFF_PNMTOPS_NOSETPAGE): Use P2 format for testing
6427         instead of P1 since the latter is broken in some versions of netpbm.
6428         * configure: Updated.
6430 2003-02-26  Larry Kollar  <kollar@alltel.net>
6432         Make man pages more customizable.
6434         * tmac/an-old.tmac (FT): New register holding footer distance from
6435         bottom.
6436         (HF): New string holding the default heading font.
6437         (TH): Handle registers `IN' and `SN' set on the command line.
6438         Use `FT'.
6439         (PT, BT): New strings to customize header and footer lines.
6440         (an-header, an-footer): Use them.
6441         (SH, SS): Use `HF'.
6442         * tmac/groff_man.man: Document changes.
6444         * doc/groff.texinfo: Document man changes.
6445         Document Ultrix extensions of man.
6447 2003-02-26  Werner LEMBERG  <wl@gnu.org>
6449         * src/roff/troff/input.cc (do_width, do_if_request): Reset
6450         `have_input' after changing back to old environment.
6452         * src/devices/grolbp/lbp.cc (lbp_printer::set_line_thickness): Move
6453         function up to be defined before first call.  This is necessary to
6454         avoid a compilation problem with Sun's WorkShop 6 C++ compiler.
6456         * src/utils/afmtodit/afmtodit.pl: Make script search for files in
6457         the default font directory also.  Based on a patch from James
6458         J. Ramsey <jjramsey_6x9eq42@yahoo.com>.
6459         * src/utils/afmtodit/Makefile.sub (afmtodit): Handle @FONTDIR@.
6460         * src/utils/afmtodit/afmtodit.man: Document it.
6462         * NEWS: Updated.
6464         * tmac/groff_man.man, doc/groff.texinfo: Many minor fixes.
6466 2003-02-25  Gaius Mulley  <gaius@glam.ac.uk>
6468         * aclocal.m4 (GROFF_HTML_PROGRAMS): Add test for pnmtops.
6469         (GROFF_PNMTOPS_NOSETPAGE): New macro.
6470         * configure.ac: Use it.
6471         * configure: Regenerated.
6472         * Makefile.in: Updated.
6474         * tmac/Makefile.sub (NORMALFILES): Remove www.tmac.
6475         (CLEANADD): Add www.tmac-sed.
6476         (pnmtops_nosetpage): Define default.
6477         (install_data): Handle www.tmac-sed and substitute
6478         @PNMTOPS_NOSETPAGE@.
6479         (stamp-sed): Add www.tmac.
6480         * tmac/www.tmac: Rewritten, based on a patch by Bernd Warken.
6481         It now breaks URLs at suitable places.
6482         (www:substring_ok): New register set by...
6483         (www:@test_substring): New macro.
6484         (www:error): New alias to www-error.
6485         (www:lenstr, www:splitstr, www:url_breaks, www:url_breaks_splitted):
6486         New macros.
6487         (URL): Use www:url_breaks.
6488         (PIMG, MPIMG): Use @PNMTOPS_NOSETPAGE@.
6489         (CDS, CDE): New macros.
6491 2003-02-25  Werner LEMBERG  <wl@gnu.org>
6493         * src/devices/grops/ps.cc (ps_printer::define_encoding): Avoid
6494         buffer overflow.
6496 2003-02-24  Werner LEMBERG  <wl@gnu.org>
6498         Contrary to the PCL5 Developer's Guide, the ascenders in TFM files
6499         can be negative also.
6501         * src/utils/hpftodit/hpftodit.cc (char_info): `ascent' must be
6502         `int16'.
6503         (read_char_table): Avoid negative ascenders.
6504         (output_charset): Add cast.
6505         * font/devlj4/*: Regenerated.
6507         Replace unnamed glyphs for DVI fonts with `uXXXX' glyph names where
6508         possible.
6510         * font/devdvi/generate/{tc,texttt,ec,texmi,texsy,textex}.map: Do it.
6511         * font/devdvi/generate/textex.map: Map glyph 23 to `u21C6' instead
6512         of `<>'.
6513         * font/devdvi/*: Regenerated.
6515         Map `la' and `ra' to U+27E8 and U+27E9.  These two characters have
6516         normal width, while the previously used characters (U+2329 and
6517         U+232A) are classified as wide due to canonical equivalence with the
6518         CJK punctuation characters U+3008 and U+3009.
6520         * font/devutf8/R.proto: Updated.
6521         * src/roff/troff/uniglyph.cc, src/roff/troff/glyphuni.cc: Ditto.
6523         * man/groff_char.man: Simplify handling of table traps by
6524         introducing `start block' and `end block' macros.
6525         (Ns, Ne, 2s, 2e, Ds, De): New macros.
6526         (DL): Make it work with Unix troff also.
6527         Fix code values of `la' and `ra'.
6529         * tmac/dvi.tmac: Define `<>' for CW and CWI.
6531 2003-02-23  Gaius Mulley  <gaius@glam.ac.uk>
6533         * src/devices/grohtml/post-html.cc (element_list::~element_list):
6534         New destructor, fixing a major memory leak.
6536 2003-02-22  Werner LEMBERG  <wl@gnu.org>
6538         * font/devhtml/R.proto, font/devutf8/R.proto: Flip `*f' and `+f'
6539         to be in conformance with Unicode 3.0 and newer.
6541         * font/devlj4/generate/text.map: Add `Eu'.
6542         * font/devlj4/generate/special.map: Flip `*e' and `+e'.
6543         * font/devlj4/S: Regenerated.
6545         * man/groff_char.man: Completely rewritten.
6547         * doc/groff.texinfo: Fix description of request and macro arguments.
6549 2003-02-20  Gaius Mulley  <gaius@glam.ac.uk>
6551         Valgrind fixes.
6553         * src/devices/grohtml/html-table.cc (html_table::~html_table):
6554         Deallocate `columns' list.
6555         * src/devices/grohtml/post-html.cc (char_block::~char_block):
6556         New destructor.
6557         (text_glob::text_glob_html, text_glob::text_glob_special,
6558         text_glob::text_glob_line, text_glob::text_glob_auto_image,
6559         text_glob::text_glob_tag): Avoid memory leaks.
6560         (text_glob::remember_table): Free memory before reassigning.
6562 2003-02-19  Werner LEMBERG  <wl@gnu.org>
6564         Add glyph `+e', greek lunate epsilon symbol, and `-h' (with the
6565         alias `hbar'), the Planck constant over two pi.
6567         * font/devdvi/generate/texmi.map: Use `*e' for position 15 and
6568         `+e' for position 34.
6569         * font/devdvi/generate/texsy.map: Replace `DI' and `HE' with
6570         `u2662' and `u2661'.
6571         * font/devdvi/{MI,S}: Regenerated.
6572         * font/devhtml/R.proto, font/devutf8/R.proto: Add `+e', `-h', `hbar'.
6573         * font/devlbp/*: Add `hbar' alias.
6574         * font/devlj4/generate/special.map: Ditto.
6575         * font/devlj4/S: Regenerated.
6576         * font/devps/generate/symbolchars: Add `+e'.
6577         * font/devps/generate/textmap: Fix PS name for `-h'.
6578         Add `hbar' alias.
6579         * font/devps/symbolmap: Regenerated.
6581         * src/devices/grops/ps.cc (transform_fill): Removed since unused.
6583         * src/roff/troff/glyphuni.cc (glyph_to_unicode_list): Add `+e',
6584         `-h', `hbar'.
6585         * src/roff/troff/uniglyph.cc (unicode_to_glyph_list): Add `+e',
6586         `-h'.
6588         * tmac/X.tmac, tmac/ps.tmac: Provide definitions for `-h' and
6589         `hbar'.
6590         * tmac/tty-char.tmac: Add `+e'.
6592 2003-02-17  Werner LEMBERG  <wl@gnu.org>
6594         Another round trying to really fix problems with `have_input'.
6596         * src/roff/troff/input.cc (input_stack::get): Handle `have_input'.
6597         (token::next) <'\n'>, <\'\n'>: Don't handle `have_input'.
6599         * src/devices/grotty/tty.cc (tty_printer::put_color): Fix color
6600         handling if both foreground and background colors are default.
6602         * doc/groff.texinfo (Debugging): Document .lf differences to
6603         AT&T troff.
6605 2003-02-16  Werner LEMBERG  <wl@gnu.org>
6607         * src/devices/grotty/tty.cc (tty_printer::make_rgb_string): Avoid
6608         null-bytes in created string.
6610         * src/roff/troff/input.cc (lookup_color, interpolate_macro,
6611         alias_macro, lookup_request): Improve warning messages.
6613         * src/roff/troff/node.cc (suppress_node::tprint): Use `strsave',
6614         not `strdup'.
6615         Free `last_image_filename'.
6617         * src/preproc/html/pre-html.cc (char_block::char_block): Initialize
6618         `buffer'.
6619         (imageList::createPage, imageList::createImage): Use `free', not
6620         `a_delete'.
6621         (imageItem::~imageItem): Free `imageName'.
6622         (addRegDef): Use `strsave', not `strdup'.
6623         (get_resolution): Free `pathp'.
6625 2003-02-15  Werner LEMBERG  <wl@gnu.org>
6627         * src/devices/grotty/tty.cc (tty_printer::tty_printer): Fix pointer
6628         to `dummy'.
6630 2003-02-14  Werner LEMBERG  <wl@gnu.org>
6632         Add memory management for colors to deallocate unnamed colors
6633         properly.
6635         * src/include/color.h (color): New members `free_list' and `next'.
6636         New member functions `new' and `delete'.
6637         Add destructor.
6638         * src/libs/libgroff/color.cc: Implement it.
6640         * src/libs/libgroff/font.cc (font::add_kern): Use integer cast
6641         for array size of new operator.
6643         * src/libs/libdriver/input.cc (IntArray::operator[]): Remove
6644         redundant comparison.
6646         * src/roff/troff/input.cc (word_space_node::reread,
6647         hmotion_node::reread): Avoid warning about unused parameter.
6648         (reset_output_registers): Remove redundant parameter.
6649         (define_color): Undo change 2003-02-12.
6651         * src/roff/troff/reg.h: Updated.
6653         * src/roff/troff/node.cc (troff_output_file::really_print_line,
6654         output_file::put_filename, real_output_file::really_put_filename,
6655         ascii_output_file::really_print_line,
6656         break_char_node::get_hyphen_list): Avoid warning about unused
6657         parameter.
6658         (suppress_node::tprint): Updated.
6660         * configure.ac: Check declaration for rand() and srand().
6661         * configure: Regenerated.
6663         * src/preproc/pic/pic.h: Declare fmod(), rand(), and srand()
6664         conditionally.
6665         * src/preproc/pic/pic.y: Remove declaration of fmod(), rand(),
6666         and srand().
6668         * src/preproc/eqn/delim.cc (delim_table): Add missing initializers
6669         to avoid compiler warnings.
6671         * src/preproc/grn/hgraph.cc (HGPrintElt): Second parameter is
6672         unused.
6674         * src/devices/grops/ps.cc (ps_printer::set_char): Last parameter
6675         is unused.
6676         * src/devices/grops/psrm.cc (skip_possible_newline): Remove first
6677         (unused) parameter.
6678         Updated all callers.
6680         * src/devices/grotty/tty.cc (tty_printer::set_char): Last parameter
6681         is unused.
6682         * src/devices/grodvi/dvi.cc (dvi_printer::set_char): Ditto.
6683         * src/devices/grolj4/lj4.cc (lj4_printer::set_char): Ditto.
6685         * src/devices/grohtml/post-html.cc (html_printer::emit_line):
6686         Parameter is unused.
6687         (html_printer::add_table_end): Define parameter conditionally.
6688         * src/devices/grohtml/output.cc (simple_output::special): Parameter
6689         is unused.
6691         * src/devices/grolbp/lbp.cc: Define _GNU_SOURCE conditionally.
6692         (lbp_printer::set_char): Last parameter is unused.
6694         * src/utils/indxbib/indxbib.cc (main): Remove redundant comparison.
6696 2003-02-13  Werner LEMBERG  <wl@gnu.org>
6698         New commands \D'Fr ...', \D'Fc ...', etc. for orthogonality.
6699         Make \D'f ...' move horizontally again for backwards compatibility.
6700         Replace it with \D'Fg ...' where appropriate to avoid dependency
6701         on horizontal resolution.
6703         * src/roff/troff/input.cc (do_get_long_name): New function.
6704         (get_long_name): Call it.
6706         (read_draw_node): Handle `\D'Fx ...' by calling ...
6707         (read_color_draw_node): New function.
6709         (read_rgb, read_cmy, read_cmyk, read_gray): New optional argument
6710         `end'.
6711         Pass it to `do_get_long_name' which is used instead of
6712         `get_long_name'.
6714         * src/libs/libdriver/input.cc (color_from_Df_command): Remove
6715         unnecessary value guard.
6716         (parse_D_command) <'f'>: Add horizontal shift.
6718         * src/preproc/grn/hgraph.cc (HGPrintElt) <POLYGON>: Use \D'Fg ...'.
6719         * src/preproc/pic/troff.cc (troff_output::set_fill): Ditto.
6720         (FILL_MAX): Removed.
6722         * NEWS, man/groff_diff.man, man/groff.man, doc/groff.texinfo:
6723         Updated.
6725 2003-02-12  Werner LEMBERG  <wl@gnu.org>
6727         * src/roff/troff/input.cc (do_name_test, do_expr_test,
6728         do_zero_width): Push `\n' if closing delimiter is missing.
6730         (token::next) <ESCAPE_NEWLINE>, <'\n'>, <\'\n'>: Reset `have_input'.
6731         <'F'>: Make \F non-transparent at the beginning of line.
6732         (process_input_stack) <token::TOKEN_CHAR, token::TOKEN_NEWLINE,
6733         token::TOKEN_REQUEST, token::TOKEN_BEGIN_TRAP>: Don't handle
6734         `have_input'.
6736         (define_color): Free color in case of reassignment.
6738         * doc/groff.texinfo (@Defesc, @DefescList, @DefescItem,
6739         @DefescListEnd): Use @Var, not @var.
6740         Fix all calls.
6742         * src/preproc/grn/hgraph.cc (HGPrintElt): Fix typo.
6744         * src/preproc/pic/object.cc (object_spec::~object_spec): Free
6745         `shaded' and `outlined' arrays.
6746         (object_spec::object_spec): Initialize `shaded' and `outlined'.
6747         (graphic_object::set_fill_color, graphic_object::set_outline_color):
6748         Use strsave.
6749         (closed_object::set_fill_color): Ditto.
6750         * src/preproc/pic/troff.cc (troff_output::set_color): Use strsave
6751         instead of strdup.
6752         (troff_output::reset_color): Use a_delete instead of free.
6753         * src/preproc/pic/main.cc (do_file): Free `out' in case of error.
6755 2003-02-11  Werner LEMBERG  <wl@gnu.org>
6757         * doc/groff.texinfo: Improve documentation of `ad'.
6758         Document that \D'f...' is dependent on the horizontal resolution.
6759         * man/groff_diff.man: Improve documentation of \D'f...'.
6761         * src/preproc/grn/hgraph.cc (HGPrintElt) <POLYGON>: Don't emit
6762         compensating \h'...' for \D'f ...' since the latter no longer moves
6763         current position.
6764         * src/preproc/pic/troff.cc (troff_output::set_fill): Ditto.
6766 2003-02-10  Werner LEMBERG  <wl@gnu.org>
6768         Improve error messages for `x F' (and `F') commands.
6770         * src/include/error.h: Add declaration for
6771         `current_source_filename'.
6772         * src/libs/libgroff/filename.cc: Add `current_source_filename'.
6773         * src/libs/libgroff/error.cc (do_error_with_file_and_line): Add
6774         parameter for source file string.
6775         Updated all callers.
6777         * src/libs/libdriver/input.cc: Add `current_source_filename'.
6778         (remember_source_filename): New function.
6779         (parse_x_command <'F'>, do_file <'F'>): Use it.
6781 2003-02-09  Werner LEMBERG  <wl@gnu.org>
6783         Make grotty not emit warnings about unknown colors more than
6784         necessary.
6786         * src/devices/grotty/tty.cc: Include `ptable.h'.
6787         (TTY_MAX_COLORS): Removed.
6788         (DEFAULT_COLOR_IDX): Defined to -1.
6789         (glyph): Change `back_color_idx' and `fore_color_idx' to `char'.
6790         (tty_printer): Change `curr_back_idx' and `curr_fore_idx' to `char'.
6791         Change `tty_colors' to be a ptable.
6792         First arg of `put_color' is now `char'.
6793         New functions `make_rgb_string' and `tty_color'.
6794         (tty_printer::tty_printer): Use `tty_color'.
6795         (tty_printer::color_to_idx): Return value is now `char'.
6796         Use `tty_color'.
6798         * src/include/color.h (color): Add `print_color' member function.
6799         * src/libs/libgroff/color.cc (color::print_color): Implement it.
6801 2003-02-08  Werner LEMBERG  <wl@gnu.org>
6803         Valgrind fixes.
6805         * src/devices/grops/ps.cc (ps_printer::define_encoding): Close
6806         encoding file.
6808         * src/include/ptable.h (PTABLE::~PTABLE, PTABLE::define): Always
6809         assume that value has been allocated with `new[]', thus use
6810         `a_delete' for deallocation.
6812         * src/libs/libdriver/input.cc (get_integer_arg,
6813         get_possibly_int_args, parse_x_command, do_file): Use `a_delete'
6814         where appropriate.
6816         * src/libs/libgroff/new.cc (delete) [!COOKIE_BUG]: Define.
6817         * src/libs/libgroff/nametoindex.cc
6818         (character_indexer::named_char_index): Use `new <type>[1]'.
6820         * src/preproc/eqn/lex.cc (init_table, do_definition): Use `new
6821         <type>[1]'.
6822         * src/preproc/eqn/text.cc (set_special_char_type): Ditto.
6823         (split_text): Use `a_delete'.
6825         * src/preproc/pic/pic.y (define_label, define_variable): Use `new
6826         <type>[1]'.
6828         * src/roff/troff/env.cc (environment::choose_breakpoint): Avoid
6829         harmless memory leak.
6830         (hyphen_trie::read_patterns_file): Initialize `buf'.
6831         * src/roff/troff/node.cc (troff_output_file::troff_output_file):
6832         Initialize `current_fill_color'and `current_glyph_color'.
6833         * src/roff/troff/glyphuni.cc
6834         (glyph_to_unicode_init::glyph_to_unicode_init): Use `new <type>[1]'.
6835         * src/roff/troff/uniuni.cc
6836         (unicode_decompose_init::unicode_decompose_init): Ditto.
6837         * src/roff/troff/uniglyph.cc
6838         (unicode_to_glyph_init::unicode_to_glyph_init): Ditto.
6840 2003-01-26  Werner LEMBERG  <wl@gnu.org>
6842         * src/utils/indxbib/indxbib.cc (main) [__EMX__]: Check with
6843         `access' before calling `unlink'.
6844         (do_file): Handle __EMX__.
6846         * src/include/nonposix.h: Handle __EMX__.
6848         * Makefile.in (SEP): New variable; set to @PATH_SEPARATOR@.
6849         (fontpath,tmacpath): Use it.
6850         (MDEFINES): Add it.
6851         Sorted alphabetically.
6853         * src/preproc/eqn/neqn.sh, src/roff/nroff/nroff.sh: Use
6854         @SEP@.
6855         * src/preproc/eqn/Makefile.sub, src/roff/nroff/Makefile.sub: Handle
6856         @SEP@.
6858 2003-01-27  Werner LEMBERG  <wl@gnu.org>
6860         * src/libs/libgroff/strcasecmp.c, src/libs/libgroff/strncasecmp.c:
6861         New files, copied from gnulib.
6862         * src/libs/libgroff/Makefile.sub (CSRCS): Add them.
6863         * configure.ac: Updated.
6864         * configure: Regenerated.
6866         * src/include/config.hin: Regenerated.
6867         * src/include/lib.h [!HAVE_STRCASECMP]: Declare `strcasecmp'.
6868         Don't define `strcasecmp' as `strcmp'.
6869         [!HAVE_STRNCASECMP]: Declare `strncasecmp'.
6870         Dont define `strncasecmp' as `strncmp'.
6872         * src/roff/groff/pipeline.c [!HAVE_STRCASECMP, !HAVE_STRNCASECMP]:
6873         Removed.
6875 2003-01-26  Werner LEMBERG  <wl@gnu.org>
6877         * src/utils/indxbib/indxbib.cc (main) [__EMX__]: Fix typo:
6878         s/unline/unlink/.
6880 2003-01-25  Werner LEMBERG  <wl@gnu.org>
6882         * doc/groff.texinfo (Ligatures and Kerning): Mention limitations.
6884 2003-01-24  Werner LEMBERG  <wl@gnu.org>
6886         Add US-english hyphenation exceptions (converted from Barbara
6887         Beeton's hyphenation exception log reports which appear irregularly
6888         in TUGBoat).
6890         * tmac/hyphen.us: Updated to latest version.
6891         * tmac/README: Updated.
6892         * tmac/hyphenex.us, tmac/hyphenex.sh: New files.
6893         * tmac/troffrc: Load `hyphenex.us'.
6894         * tmac/Makefile.sub (NORMALFILES): Add `hyphenex.us'.
6895         * doc/groff.texinfo: Updated.
6897 2003-01-23  Werner LEMBERG  <wl@gnu.org>
6899         Improve hyphenation slightly.  This is a first step in redesigning
6900         the hyphenation algorithm to make it more flexible (e.g. allowing
6901         kerns and ligatures between the hyphenation character and the
6902         following character -- while not used normally in English, other
6903         languages like German would benefit).
6905         * src/roff/troff/env.cc (environment::hyphenate_line): Use
6906         assertion instead of if-clause.
6907         Let `get_hyphen_list' return the number of involved characters in
6908         the hyphenation pattern instead of computing it directly (which
6909         often yields too small values).
6910         * src/roff/troff/node.h (*::get_hyphen_list): Add second parameter.
6911         * src/roff/troff/node.cc (*::get_hyphen_list): Handle new second
6912         parameter.
6914 2003-01-22  Werner LEMBERG  <wl@gnu.org>
6916         Fixing a bug which caused groff to hang if the hyphenation exception
6917         dictionary tried to grow.
6919         * src/roff/troff/env.cc (hyphen_trie::insert_hyphenation,
6920         hyphen_trie::read_patterns_file, do_hyphenation_patterns_file): Use
6921         pointer to dictionary.
6923 2003-01-20  Werner LEMBERG  <wl@gnu.org>
6925         * src/utils/afmtodit/afmtodit.pl: Add switch `-m' to suppress
6926         negative left italic correction.
6927         * src/utils/afmtodit/afmtodit.man: Document it.
6929         * font/devps/generate/Makefile (RFLAG): Add `-m'.
6930         * font/devps/{AB,AR,BMB,BMR,CB,CR,EURO,HB,HR,HNB,HNR,NB,NR,PB,PR,
6931         S,TB,TR,ZD,ZDR}: Regenerated with afmtodit options `-i 0 -m'.
6933         * NEWS: Updated.
6935 2003-01-16  Werner LEMBERG  <wl@gnu.org>
6937         * NEWS: Updated.
6939 2003-01-16  Jörgen Grahn  <jgrahn@algonet.se>
6941         * src/preproc/refer/refer.man: Mention REFER environment variable.
6943 2003-01-05  Werner LEMBERG  <wl@gnu.org>
6945         Similar to \[is], the square root glyph (\[sr]) and the square root
6946         extension glyph (\[radicalex]) are now text symbols.  The new
6947         mathematical versions are called \[sqrt] and \[sqrtex],
6948         respectively.
6950         * font/devX*/S: Regenerated.
6951         * font/devdvi/generate/texex.map: Rename `sr[0123]' to `sqrt[0123]'.
6952         * font/devdvi/generate/texsy.map: Rename `sr' to `sqrt'.
6953         * font/devdvi/EX, font/devdvi/S: Regenerated.
6954         * font/devhtml/R.proto, font/devutf8/R.proto: Add `sqrt'.
6955         * font/devlj4/generate/special.map: Add `sqrt'.
6956         * font/devlj4/S: Regenerated.
6957         * font/devps/generate/textmap: Add `sqrt'.
6958         * font/devps/S, font/devps/symbolmap: Regenerated.
6960         * src/preproc/eqn/sqrt.cc (SQRT_CHAR, RADICAL_EXTENSION_CHAR,
6961         SQRT_CHAIN, BAR_CHAIN): Use `sqrt*' and `sqrtex*'.
6962         * src/roff/troff/input.cc (init_charset_table): Make `sqrtex'
6963         overlap horizontally.
6965         * tmac/X.tmac, tmac/ps.tmac, tmac/lj4.tmac: Add `sqrtex'.
6966         * tmac/dvi.tmac: Add `sr', and `sqrtex'.
6967         Fix `radicalex'.
6969         * doc/groff.texinfo, man/groff_diff.man: Document that `radicalex'
6970         and `sqrtex' are overlapping glyphs.
6972 2003-01-04  Werner LEMBERG  <wl@gnu.org>
6974         * font/devdvi/generate/texsy.map: Add `is'.
6975         * font/devps/symbolmap: Regenerated.
6976         * font/devdvi/*TC, MI, S: Regenerated.
6978         * tmac/dvi.tmac: Remove `is'.
6980 2003-01-03  Werner LEMBERG  <wl@gnu.org>
6982         `is' is now a text symbol (only relevant for dvi).  The math variant
6983         can be accessed with `integral'.
6985         * font/devX*/S: Regenerated.
6986         * font/devdvi/generate/texex.map: Remove `is'.
6987         * font/devdvi/EX: Updated.
6988         * font/devhtml/R.proto, font/devutf8/R.proto: Add `integral'.
6989         * font/devlj4/generate/special.map: Ditto.
6990         * font/devlj4/S: Regenerated.
6991         * font/devps/generate/textmap: Add `integral'.
6992         * font/devps/S: Regenerated.
6994         * tmac/dvi.tmac: Define `is'.
6996         * src/roff/troff/glyphuni.cc (glyph_to_unicode_list): Add `integral'.
6998         * src/preproc/tbl/main.cc (process_format): Fix error message.
7000 2003-01-02  Werner LEMBERG  <wl@gnu.org>
7002         * font/devhtml/R.proto, font/devutf8/R.proto: Add `ne' and `nc'.
7003         * font/devps/textmap: Fix entries for `ne' and `nc'.
7004         * font/devps/symbolmap: Regenerated.
7006         * src/roff/troff/glyphuni.cc (glyph_to_unicode_list),
7007         src/roff/troff/uniglyph.cc (unicode_to_glyph_list): Add `18',
7008         `38', `58', `78', `-+', `|=', `nc', `ne'.
7010         * tmac/dvi.tmac: Add `nm', `ne', `nc'.
7011         Use `schar' for `aq'.
7012         * tmac/ps.tmac, tmac/X.tmac: Add `nc' and `ne'.
7013         * tmac/ec.tmac: Add `SC' to special fonts for `CW' and `CWI'.
7014         * tmac/tty.tmac: Add `ne'.
7016         * src/roff/troff/node.cc (make_glyph_node): Test with `get_macro'
7017         for fallback glyphs.
7019 2002-12-29  Werner LEMBERG  <wl@gnu.org>
7021         Add glyph `|='.
7023         * font/devX*/*: Regenerated.
7024         * font/devdvi/generate/ec.map: Remove `eq'.
7025         * font/devdvi/generate/texsy.map: Make `~=' the same as `~~'.
7026         Assign `|=' to position 39.
7027         * font/devdvi/*EC, S: Regenerated.
7028         * font/devhtml/R.proto, font/devutf8/R.proto: Add `|='.
7029         * font/devlj4/generate/special.map: Make `~=' the same as `~~'.
7030         Assign `|=' to position 549.
7031         * font/devps/generate/textmap, font/devps/enerate/symbolmap: Remove
7032         `equalmath'.
7033         Add `uni2243' for `|='.
7035         * tmac/ec.tmac: Add `eq'.
7036         * tmac/dvi.tmac: Add `=~'.
7037         * tmac/tty-char.tmac, tmac/ps.tmac, tmac/X.tmac, tmac/lbp.tmac: Add
7038         `|='.
7040 2002-12-21  Werner LEMBERG  <wl@gnu.org>
7042         * font/devdvi/generate/tc.map: Remove `**'.
7043         * font/devdvi/*TC: Regenerated.
7044         * font/devhtml/R.proto, font/devutf8/R.proto: Add `18', `38', `58',
7045         `78', `<<', `>>'.
7046         * font/devutf8/NOTES: Updated.
7048         * src/roff/troff/charinfo.h (charinfo): Add `setx_macro' function.
7049         Don't give default parameter to `set_macro'.
7050         * src/roff/troff/input.cc (do_define_character): Use `setx_macro'
7051         instead of `set_macro'.
7052         (charinfo::setx_macro): Implement it.
7053         (charinfo::set_macro): Don't change `mode'.
7055         * tmac/tty.tmac: Add `18', `38', `58', `78', `<<', `>>'.
7056         * tmac/ps.tmac, tmac/X.tmac: Add `<<', `>>'.
7057         * tmac/dvi.tmac: Define `!=' with `.schar'.
7059 2002-12-20  Werner LEMBERG  <wl@gnu.org>
7061         * font/devX*/S: Regenerated.
7062         * font/devdvi/generate/ec.map: Remove `pl'.
7063         * font/devdvi/generate/tc.map: Remove `mi', `14', `12', `34'.
7064         * font/devdvi/*{TC,EC}: Regenerated.
7065         * font/devhtml/R.proto: Add `-+'.
7066         Remove double entries for `rk', `lk', `lt', `rt', `rb', `lb'.
7067         * font/devlbp/*: Remove `or'.
7068         * font/devlj4/generate/special.map: Remove `or'.
7069         * font/devlj4/S: Regenerated.
7070         * font/devps/generate/textmap: Add `fiveeighths', `oneeighth',
7071         `seveneighths', `threeeighths'.
7072         Remove `plusmath'.
7073         Replace `minusplus' with `uni2213'.
7074         * font/devps/symbolmap: Regenerated.
7075         * font/devutf8/R.proto: Replace `shc' with unnamed glyph.
7076         Add `-+'.
7078         * src/roff/troff/charinfo.h (charinfo): Add `is_normal' inline
7079         function.
7080         * src/roff/troff/node.cc (troff_output_file::put_char_width):
7081         Call glyph_color and fill_color even if tcommand_flag isn't set.
7082         (make_node, node::add_char): Check not ci->is_fallback but
7083         ci->is_normal.
7085         * tmac/lj4.tmac, tmac/lbp.tmac: Define `or'.
7086         * tmac/ec.tmac: Add .rchar entry for `f/'.
7087         Don't remove `12', `14', `34'.
7088         Define `pl' to be always roman.
7089         * tmac/ps.tmac (ps-frac, ps-frac-mono): New macros.
7090         Define `18', `38', `58', `78'.
7091         * tmac/tty.tmac: Add `-+'.
7092         * tmac/dvi.tmac: Define `f/'.
7093         (dvi-frac): Use `f/'.
7094         * tmac/X.tmac (X-frac, X-frac-mono): New macros.
7095         Define `18', `38', `58', `78'.
7097 2002-12-15  Colin Watson  <cjwatson@debian.org>
7099         * contrib/pic2graph/pic2graph.sh: Add missing `;;'.
7101 2002-12-10  Werner LEMBERG  <wl@gnu.org>
7103         Add glyph `tno', a textual variant of `no'.
7105         * font/devX*/*: Regenerated.
7106         * font/{devcp1047,devlatin1,devutf8,devhtml}/R.proto: Add `tno'.
7107         * font/devdvi/generate/{tc.map: Replace `no' with `tno'.
7108         * font/devdvi/generated/{texsy,textex}.map: Add `tno'.
7109         * font/devdvi/*: Regenerated.
7110         * font/devlbp/*: Add `tno'.
7111         * font/devlj4/generate/tex.map: Replace `no' with `tno'.
7112         * font/devlj4/*: Regenerated.
7113         * font/devps/generate/textmap: Replace `no' with `tno'.
7114         * font/devps/generate/symbolchars: Add `no'.
7115         * font/devps/*: Regenerated.
7117         * src/roff/troff/glyphuni.cc (glyph_to_unicode_list): Add `tno'.
7119         * tmac/cp1047.tmac, tmac/latin1.tmac: Replace `no' with `tno'.
7120         * tmac/tty-char.tmac: Add entry for `tno' and `3d'.
7122         * NEWS: Updated.
7124         * tmac/dvi.tmac: Replace most `\\' with `\E'.
7125         Add definition for `sd'.
7126         * tmac/X.tmac, tmac/ps.tmac: Replace most `\\' with `\E'.
7128         * tmac/eqnrc <dvi>: Use `integral' instead of `is' glyph.
7130 2002-12-08  Werner LEMBERG  <wl@gnu.org>
7132         * tmac/an-old.tmac (TH): Use integer value for `IN' if in nroff
7133         mode to avoid rounding errors.
7134         (an-do-tag, an-do-tag-html, RS, RE): Remove redundant `.br'.
7136         * src/roff/groff/groff.man, src/roff/nroff/nroff.man,
7137         src/roff/troff/troff.man: Improve documentation of -T.
7139 2002-12-07  Jeff Conrad  <jeff_conrad@msn.com>
7141         * src/roff/groff/pipeline.c: Don't define `const' for _WIN32.
7142         (run_pipeline) [_WIN32]: Provide working function without `fork'.
7144 2002-12-06  Werner LEMBERG  <wl@gnu.org>
7146         * font/devps/generate/freeeuro.sfd: Make dimensions of Euro.symbol
7147         glyphs compatible to Adobe's Euro fonts (scaling them down a bit).
7148         Scaling Euro.sansserif glyphs down to have the same height as
7149         digits.
7150         Removed unnecessary points; added some extrema.
7152         * font/devps/EURO, font/devps/freeeuro.afm, font/devps/freeeuro.pfa:
7153         Regenerated.
7155 2002-12-04  Werner LEMBERG  <wl@gnu.org>
7157         * font/devps/generate/freeeuro.sfd: Add glyphs `Euro.symbol.slanted'
7158         and `Euro.symbol.bold.slanted'.
7159         Improve some glyph offsets and widths.
7160         * font/devps/EURO, font/devps/freeeuro.afm, font/devps/freeeuro.pfa:
7161         Regenerated.
7162         * font/devps/generate/Makefile (freeeuro.afm freeeuro.pfa): Fix
7163         typo.
7164         * font/devps/generate/sfdtopfa.pe: Generate PFA in current
7165         direcory.
7167         * tmac/europs.tmac: Updated to new glyph indices.
7168         Use Euro.symbol for font familiy `A'.
7170         * doc/groff.texinfo: Minor improvements.
7172 2002-12-02  Werner LEMBERG  <wl@gnu.org>
7174         * font/devdvi/generate.tc.map: s/%O/%0/.
7175         * font/devdvi/*TC: Regenerated.
7177         * src/roff/troff/div.cc (init_div_requests): Sorted.
7179         * tmac/dvi.tmac: Remove `Ye'.
7180         * tmac/ec.tmac: Remove `Ye'.
7181         Add .rchar entry for `de'.
7183         * man/groff.man, man/groff_diff.man: Document register `.pe'.
7184         * doc/groff.texinfo: Document registers `.pe', `.n', and `.w'.
7185         * NEWS: Updated.
7187 2002-11-30  Werner LEMBERG  <wl@gnu.org>
7189         Add PS font for various Euro glyphs.
7191         * font/devps/generate/freeeuro.sfd: New master font file for
7192         pfaedit.
7193         * font/devps/generate/sfdtopfa.pe: New conversion script for
7194         pfaedit.
7195         * font/devps/generate/Makefile (FONTS): Add `EURO'.
7196         (EURO, freeeuro.afm, freeeuro.pfa): New rules.
7197         * font/devps/freeeuro.pfa, font/devps/freeeuro.afm: Generated from
7198         `freeeuro.sfd'.
7199         * font/devps/EURO: Generated from `freeeuro.afm'.
7200         * font/devps/download: Add `freeuro.pfa'.
7201         * font/devps/Makefile.sub (NORMALFILES): Adde `EURO' and
7202         `freeeuro.pfa'.
7204         * tmac/europs.tmac: New file.
7205         * tmac/ps.tmac: Include `europs.tmac'.
7206         * tmac/Makefile.sub (DISTFILES): Add `europs.tmac'.
7208 2002-11-29  Werner LEMBERG  <wl@gnu.org>
7210         * font/devdvi/generate/texsy.map: Remove `lh' and `rh'.
7211         * font/devdvi/S: Regenerated.
7212         * font/devhtml/R.proto: Fix `CR' and `ci'.
7213         Add `OK'.
7214         * font/devps/generate/textmap: Fix `lh', `rh', and `sq'.
7215         Remove `bs'.
7216         * font/devps/symbolmap: Regenerated.
7217         * font/devutf8/R.proto: Fix `CR' and `ci'.
7218         Add `OK'.
7219         * font/devutf8/NOTES: Updated.
7221         * src/roff/troff/uniglyph.cc (unicode_to_glyph_list): Fix `CR' and
7222         `ci'.
7223         Add `OK'.
7224         * src/roff/troff/glyphuni.cc (glyph_to_unicode_list): Ditto.
7226         * tmac/dvi.tmac: Add `lh' and `rh'.
7227         * tmac/Xps.tmac: Fix `lh' and `rh'.
7228         * tmac/X.tmac: Add `OK'.
7229         * tmac/lj4.tmac: Ditto.
7231 2002-11-24  Werner LEMBERG  <wl@gnu.org>
7233         * font/devX*/S: Regenerated.
7234         * font/devascii/R.proto, font/devcp1047/R.proto: Remove glyphs `lb',
7235         `lc', `lf', `lk', `lt', `rb', `rc', `rf', `rk', and `rt'.
7236         * font/devdvi/generate/texsy.map: Remove `or' glyph.
7237         * font/devdvi/S: Regenerated.
7238         * font/devhtml/R.proto, font/devutf8/R.proto: Add/fix glyphs
7239         `parenlefttp', `parenleftex', `parenleftbt', `parenrighttp',
7240         `parenrightex', `parenrightbt', `bracketlefttp', `bracketleftex',
7241         `bracketleftbt', `bracketrighttp', `bracketrightex',
7242         `bracketrightbt', `bracelefttp', `braceleftmid', `braceleftbt',
7243         `braceex', `braceleftex', `bracerightex', `bracerighttp',
7244         `bracerightmid', `bracerightbt', `lt', `lk', `lb', `rt', `rk',
7245         `rb', and `bv'.
7246         * src/roff/troff/glyphuni.cc, src/roff/troff/uniglyph.cc: Ditto.
7247         * font/devutf8/NOTES: Updated.
7248         * font/devlj4/generate/special.map: Add glyph `braceex'.
7249         * font/devlj4/S: Regenerated.
7251         * tmac/tty-char.tmac: Add glyphs `lf', `rf', `lc', and `rc'.
7253 2002-11-14  Werner LEMBERG  <wl@gnu.org>
7255         * src/roff/troff/uniglyph.cc (unicode_to_glyph_list): Add `va'
7256         and `vA'.
7257         Fix code for `an'.
7258         * src/roff/troff/glyphuni.cc (glyph_to_unicode_list): Ditto.
7260         * doc/texinfo.tex: New version from texinfo 4.3.
7261         * doc/groff.texinfo: Updated for texinfo 4.3.
7262         Use @tie{} where appropriate.
7263         * font/devdvi/generate/ec.map: Don't include `or' and `bv'.
7264         * font/devdvi/generate/tc.map: Remove `rn'.
7265         * font/devdvi/*TC, font/devdvi/*EC: Regenerated.
7266         * font/devhtml/R.proto, font/devutf8/R.proto: Add `vA'.
7267         Fix code for `an'.
7268         * font/devX100/*, font/devX100-12/*, font/devX75/*,
7269         font/devX75-12/*: Regenerated.
7271         * tmac/dvi.tmac: Add special fonts `SA' and `SB'.
7272         Use .char (again) for `br', `ul', `rn', `or', and `ru'.
7273         Improve definition of `an'.
7274         * tmac/ps.tmac: Use .char (again) for `br', `ul', `rn', `or', and
7275         `ru'.
7276         * tmac/lj4.tmac: Use .char (again) for `br', `ul', `rn', and `ru'.
7277         * tmac/X.tmac: Add definition for `or'.
7278         * tmac/Xps.tmac: Undo change 2002-11-05.
7279         * tmac/lbp.tmac: Add definitions for `br', `rn', `ul', and `ru'.
7281 2002-11-11  Werner LEMBERG  <wl@gnu.org>
7283         * src/roff/troff/node.cc (troff_output_file::put_char): Always
7284         call flush_tbuf.
7286 2002-11-10  Werner LEMBERG  <wl@gnu.org>
7288         Added three new requests `schar', `fschar', and `rfschar'.  `schar'
7289         defines a glyph which is searched after the check for fonts declared
7290         with `.special' (and before the check for all mounted special
7291         fonts).  `fschar' defines a glyph for a particular font which is
7292         searched after the check for fonts declared with `.fspecial' (and
7293         before the check for fonts declared with `.special').  `rfschar'
7294         removes glyphs defined with `fschar'.
7296         * src/roff/troff/token.h (char_mode): New enum.
7297         Declare do_define_character.
7298         * src/roff/troff/charinfo.h (charinfo): Replace `fallback' with
7299         `mode'.
7300         (charinfo::is_fallback): Updated.
7301         (charinfo::is_special): New method.
7302         * src/roff/troff/input.cc (do_define_character): Add and use
7303         optional second parameter used as a prefix for font-specific glyph
7304         names.
7305         (define_character, define_fallback_character): Updated.
7306         (define_special_character): New function.
7307         (init_input_requests): Add `schar'.
7308         (charinfo::charinfo, charinfo::set_macro): Updated.
7309         * src/roff/troff/node.cc: Include `stringclass.h'.
7310         (make_glyph_node): Handle special glyphs defined with `.schar' and
7311         `.fschar'.
7312         (define_font_special_character, remove_font_special_character): New
7313         functions.
7314         (init_node_requests): Sorted.
7315         Add `fschar' and `rfschar'.
7316         * NEWS, man/groff_diff.man, man/groff.man, doc/groff.texinfo:
7317         Document new requests.
7319         * font/devhtml/R.proto, font/devutf8/R.proto: Add `va'.
7320         * tmac/dvi.tmac: Add `va' for CW and CWI (using `.fschar').
7322 2002-11-08  Werner LEMBERG  <wl@gnu.org>
7324         Added new font `SC' (cmtex10) to devdvi.
7326         * devdvi/generate/Makefile (FONTS): Add `SC'.
7327         (SC): New rule.
7328         * devdvi/generate/textex.map: New map file for cmtex.
7329         * devdvi/SC: New.
7330         * devdvi/Makefile.sub (DEVFILES): Updated.
7331         * tmac/dvi.tmac: Add fspecial entries for SC.
7332         Add `MI', `S' and `CW' to the `special' call.  Otherwise, `SC' is
7333         found before `S' since the font position of `SC' is lower due to the
7334         gaps in DESC's `font' line.
7335         * tmac/ec.tmac: Add a `special' call.
7336         * NEWS: Updated.
7338         * font/devhtml/R.proto: Remove double entry for `ti'.
7339         * tmac/tty.tmac: Add entries for `IJ', `ij', and `bq'.
7340         * tmac/tty-char.tmac: Remove entry for `bq'.
7341         * tmac/lbp.tmac: Add entries for `lq', `rq', `fo', `fc', and `em'.
7342         * tmac/ec.tmac: Don't remove `aq' glyph.
7343         * tmac/X.tmac: Fix entry for `em'.
7344         Add entries for `fo' and `fc'.
7345         * tmac/dvi.tmac: Add entries for `em', `en', `hy', `fo', and `fc'.
7347         * doc/groff.texinfo, man/groff.man, man/groff_diff.man: Fix
7348         documentation of `special' and `fspecial' requests.
7350 2002-11-05  Werner LEMBERG  <wl@gnu.org>
7352         * font/devascii/R.proto, font/devcp1047/R.proto,
7353         font/devlatin1/R.proto: Remove entry for `.i'.
7354         * font/devdvi/generate/textt.map: Add entry for `ad'.
7355         * font/devdvi/generate/texr.map, font/devdvi/generate/texb.map,
7356         font/devdvi/generate/texi.map: Add dummy glyph name `slash@for@l'.
7357         We need this for getting kerning values to compose `/l' and `/L'.
7358         * font/devdvi: Regenerated font definition files for CM fonts.
7359         * font/devhtml/R.proto: Add entries for "'C", "'c", `IJ', and `ij'.
7360         * font/devutf8/R.proto: Ditto.
7361         Remove double entry for `ti'.
7363         * src/roff/troff/glyphuni.cc (glyph_to_unicode_list): Fix entries
7364         for (groff) ligatures, `la', and `ra'.
7365         Add "'C", "'c", `IJ', and `ij'.
7366         Remove double entry for `ti'.
7367         * src/roff/troff/uniglyph.cc (unicode_to_glyph_list): Remove all
7368         double entries.
7369         Add "'C", "'c", `IJ', and `ij'.
7370         Fix entries for (groff) ligatures, `la', and `ra'.
7372         * tmac/ps.tmac (ps-achar): New macro.
7373         Define "'c" and "'C".
7374         * tmac/tty.tmac: Add entry for `.i'.
7375         * tmac/X.tmac (X-achar): New macro.
7376         Define "'c", "'C", and `:Y'.
7377         Add entries for `IJ' and `ij'.
7378         * tmac/Xps.tmac (Xps-achar): New macro.
7379         Define "'c" and "'C".
7380         Add entries for `IJ' and `ij'.
7381         * tmac/lbp.tmac (lbp-achar): New macro.
7382         Add fallback characters for all groff ligatures and many other
7383         glyphs.
7384         * tmac/dvi.tmac: Fix definitions of `_' and `ul'.
7385         Add entries for `/l' and `/L'.
7386         Define "'c" and "'C".
7387         Add entries for `IJ' and `ij'.
7389 2002-11-02  Larry Kollar  <kollar@alltel.net>
7391         * PROBLEMS: Document how to solve Mac OS X compilation problems.
7393 2002-11-02  Werner LEMBERG  <wl@gnu.org>
7395         Adding support for composite glyphs: \[xxx yyy ...] and the
7396         `composite' request.
7398         * src/roff/troff/glyphuni.cc: New file for mapping groff glyph names
7399         to Unicode-based glyph names.
7400         * src/roff/troff/uniglyph.cc: New file for mapping Unicode-based
7401         glyph names to groff glyph names.
7402         * src/roff/troff/uniuni.cc: New file for canonically decomposing
7403         Unicode-based glyph names.
7404         * src/roff/troff/unicode.cc, src/roff/troff/unicode.h: New files
7405         for handling Unicode glyph names.
7406         * src/roff/troff/input.cc: Include unicode.h.
7407         (composite_glyph_name): New function.
7408         (token::next) <'['>: Handle Unicode glyph names and composite
7409         glyphs.
7410         (composite_dictionary): New dictionary for the `composite' request.
7411         (composite_request): Implement `composite' request.
7412         (init_input_requests): Add `composite'.
7413         Alphabetically sorted.
7414         * src/roff/troff/env.cc (tabs_save, tabs_restore): Removed (already
7415         commented out).
7416         (init_env_requests): Alphabetically sorted.
7417         Removed `tas' and `tar' (already commented out).
7418         * src/roff/troff/Makefile.sub: Updated.
7420 2002-10-31  Ruslan Ermilov  <ru@FreeBSD.org>
7422         * src/roff/nroff/nroff.man, src/roff/nroff/nroff.sh: Fix description
7423         of options.
7425 2002-10-29  Werner LEMBERG  <wl@gnu.org>
7427         Fix computation of .trunc register.  Additionally, its value (and
7428         the value of the .ne register) is now always set before entering the
7429         trap.
7431         * src/roff/troff/div.cc (diversion::need): Set `truncated_space' and
7432         `needed_space' before calling `space'.
7433         (top_level_diversion::space): Remove special code for 'sp before the
7434         first page.
7435         Call `begin_page' with the discarded space as a parameter.
7436         (top_level_diversion::begin_page): Add optional parameter to set
7437         `truncated_space'.
7438         * src/roff/troff/div.h: Updated.
7440         * doc/groff.texinfo: Improve documentation of .sp, \n[.trunc], and
7441         \n[.ne].
7443         * tmac/an-old.tmac (SH, SS, TP, IP, HP, TS): Undo change 2002-10-26.
7444         (LP): Remove superfluous call to `br'.
7445         * tmac/doc-common (doc-paragraph): Undo change 2002-10-26.
7446         * tmac/doc.tmac (Bd, Bl, doc-set-vertical-and-indent): Ditto.
7448 2002-10-26  Werner LEMBERG  <wl@gnu.org>
7450         * tmac/doc-ditroff: Remove useless switch/variable -rC.
7451         (doc-setup-header): Don't set page register `%'.
7452         * tmac/doc-nroff: Remove variable `C'.
7453         (doc-setup-page-layout): Set doc-header-space to .5i unconditionally.
7454         (doc-setup-header): Don't set page register `%'.
7455         Don't call `bp'.
7456         * tmac/doc-common (doc-header): Call `ns'.
7457         (doc-paragraph): Protect .sp with .br so that it survives traps
7458         possibly set by the user.
7459         * tmac/doc.tmac (Bd, Bl, doc-set-vertical-and-indent): Ditto.
7461         * tmac/doc*: Replace ' with . for consistency if no effect.
7463 2002-10-26  Werner LEMBERG  <wl@gnu.org>
7465         * tmac/an-old.tmac (SH, SS, TP, IP, HP, TS): Protect .sp with .br
7466         so that it survives traps possibly set by the user.
7468         * src/roff/troff/node.cc: Fix the changes from 2002-10-23.
7469         (troff_output_file::set_font): Call flush_tbuf if necessary.
7470         (troff_output_file::fill_color, troff_output_file::glyph_color): Call
7471         flush_tbuf and do_motion only if necessary.
7472         (troff_output_file::start_special,
7473         troff_output_file::put_char_width, troff_output_file::put_char,
7474         troff_output_file::draw): Updated.
7475         (word_space_node::tprint, space_node::tprint, hmotion_node::tprint,
7476         vmotion_node::tprint): Undo change 2002-10-23.
7478 2002-10-25  Werner LEMBERG  <wl@gnu.org>
7480         * tmac/www.tmac (DC): Fix case of overlapping images.
7482 2002-10-23  Werner LEMBERG  <wl@gnu.org>
7484         * src/roff/troff/node.cc (troff_output_file::fill_color,
7485         troff_output_file::glyph_color): Set current color before testing
7486         color_flag.
7487         (troff_output_file::put_char_width, troff_output_file::put_char,
7488         troff_output_file::draw): Don't call flush_tbuf and/or do_motion
7489         before glyph_color.
7490         (troff_output_file::file_color, troff_output_file::glyph_color):
7491         Call do_motion.
7492         (word_space_node::tprint, space_node::tprint, hmotion_node::tprint,
7493         vmotion_node::tprint): Move first, then call fill_color.
7495 2002-10-20  Werner LEMBERG  <wl@gnu.org>
7497         * doc/groff.texinfo, man/groff_tmac.man: Document that it is not
7498         possible to use multiple main macro packages.
7500 2002-10-19  Werner LEMBERG  <wl@gnu.org>
7502         * src/devices/grops/ps.cc (cmyk_flag): New global variable.
7503         (ps_printer::set_color): Set `cmyk_flag' for CMY and CMYK colors.
7504         (ps_printer::~ps_printer): Emit `%%Extensions: CMYK' if `cmyk_flag'
7505         is set.
7506         * font/devps/prologue.ps (Fk, Ck): Enclose definitions with a
7507         `where' construction since `cmyksetcolor' is a PS Level 2 operator.
7509 2002-10-16  Werner LEMBERG  <wl@gnu.org>
7511         * NEWS, doc/webpage.ms: Updated.
7513 2002-10-14  Werner LEMBERG  <wl@gnu.org>
7515         * src/roff/troff/node.cc (troff_output_file::put_char_width,
7516         troff_output_file::put_char, troff_output_file::fill_color,
7517         troff_output_file::glyph_color): Handle case where color pointer
7518         is null.
7520 2002-10-13  Ruslan Ermilov  <ru@FreeBSD.org>
7522         Add the new -r option to grotty.  It is similar to the -i option
7523         except it tells grotty(1) to use the `reverse video' attribute to
7524         render italic fonts.
7526         * src/devices/grotty/tty.cc (reverse_flag): New global variable.
7527         (SGR_REVERSE, SGR_NO_REVERSE): New macros.
7528         (tty_printer::make_underline, tty_printer::put_color,
7529         tty_printer::end_page): Use it.
7530         (main): Add -r switch.
7531         (usage): Updated.
7532         * src/devices/grotty/grotty.man: Document it.
7534 2002-10-11  Ruslan Ermilov  <ru@FreeBSD.org>
7536         * src/roff/troff/env.cc (hyphen_trie::read_patterns_file): Add
7537         cast to `unsigned char' to properly read patterns with 8bit
7538         characters.
7540 2002-10-08  Werner LEMBERG  <wl@gnu.org>
7542         * REVISION: Increased to 2.
7544 Copyright 2002, 2003, 2004, 2005, 2006, 2007
7545   Free Software Foundation, Inc.
7547 Copying and distribution of this file, with or without modification,
7548 are permitted in any medium without royalty provided the copyright
7549 notice and this notice are preserved.
7551 Local Variables:
7552 version-control: never
7553 coding: latin-1
7554 End: