* tmac/doc-syms (doc-str-St--susv3): New string.
[s-roff.git] / ChangeLog
blob73682f7cbd32c64772213707abfef19cbcff2502
1 2007-11-10  Michail Vidiassov  <master@iaas.msu.ru>
3         * tmac/doc-syms (doc-str-St--susv3): New string.
4         * tmac/groff_mdoc.man: Document it.
6 2007-11-08  Werner LEMBERG  <wl@gnu.org>
8         * src/preproc/preconv/preconv.cpp (emacs_to_mime): Add `utf-16be'
9         `utf-16le', `utf-16be-with-signature', `utf-16le-with-signature'.
10         (is_comment_line): Handle '\" and '\# also.
12         * src/preproc/preconv/preconv.man: Revise and make complete.
14 2007-10-25  Werner LEMBERG  <wl@gnu.org>
16         * tmac/cs.tmac: New file holding Czech strings, contributed by
17         Marcela Maslanova <mmaslano@redhat.com>.
18         * tmac/hyphen.cs, tmac/hyphenex.cs: New hyphenation pattern files
19         for Czech, taken from CTAN.
20         * LICENSES: Updated.
21         * tmac/Makefile (NORMALFILES): Add Czech stuff.
22         * doc/groff_tmac.man: Mention cs.tmac.
24 2007-10-21  Werner LEMBERG  <wl@gnu.org>
26         * src/roff/troff/input.cpp (do_ps_file): Handle `%X' in header
27         comments correctly.  Reported by Frank Jahnke
28         <jahnke@sonatabio.com>.
30 2007-10-02  Ruslan Ermilov  <ru@FreeBSD.org>
32         * tmac/doc-common, tmac/groff_doc.man: Add FreeBSD 6.2, document
33         FreeBSD 5.5 and 7.0.
35         * tmac/doc-syms: Give better names for System V releases.
37 2007-09-25  Gaius Mulley  <gaius@glam.ac.uk>
39         * doc/Makefile.in, doc/Makefile.sub (.ms.html): Add -P-V switch to
40         the production of html files.
41         (pic.html): Ditto.
42         Remove background colour switch.
43         (.SUFFIXES, clean): Handle *.xhtml files.
45         * src/devices/grohtml/grohtml.man: Document that -V option now
46         generates an HTML-4.01 validator or XHTML validator.
48         * src/devices/grohtml/html-text.cpp (html_text::end_tag,
49         html_text::start_tag): Suppress <small>, <big>, and <color> tags if
50         we are inside a <pre> block.
52         * src/devices/grohtml/post-html.cpp
53         (html_printer::handle_valid_flag): Add a parameter to indicate
54         whether it needs to generate a paragraph block.
55         (html_printer::write_navigation): Updated.
56         (html_printer::do_file_components): Generate an HTML-4.01 blue
57         validator button also.
59 2007-09-23  Axel Kielhorn  <A.Kielhorn@web.de>
61         * man/groff.man: Fix URL of CSTR 54.
63 2007-09-23  Werner LEMBERG  <wl@gnu.org>
65         * man/groff_char.man: Normalize character set names as defined
66         by IANA.  Based on a patch from Axel Kielhorn.
68         * src/preproc/refer/label.y: Undo change from 2007-09-19.
70 2007-09-19  Werner LEMBERG  <wl@gnu.org>
72         * src/roff/troff/input.cpp (interpolate_arg): Remove compiler
73         warning.
75         * src/preproc/eqn/pile.cpp (pile_box::output, matrix_box::output):
76         Remove compiler warning.
78         * src/preproc/refer/label.y: Remove compiler warning.
80         * src/preproc/pic/pic.y: Remove doubled token entries.
82 2007-09-19  Gaius Mulley  <gaius@glam.ac.uk>
84         * doc/groff.texinfo: Document new .O register and add cross
85         reference entries.
87         * NEWS: Updated.
89         * src/devices/grohtml/grohtml.man: Document new -V and -y options.
91         * src/devices/grohtml/html-table.cpp: Add support for XHTML 1.1.
92         (html_table:: emit_colspan, html_table::emit_td): New methods.
93         (html_table::emit_col):  Use html_table::emit_td.
94         (html_table::emit_table_header): Use html_table::emit_colspan if
95         dialect xhtml is specified.
96         (html_table::finish_row): Updated.
98         * src/devices/grohtml/html-table.h (html_table): Declare
99         emit_colspan, emit_td.
101         * src/devices/grohtml/html-text.cpp: Modified tags to comply with
102         xhtml if this dialect was requested.
104         * src/devices/grohtml/html-text.h (html_dialect): New enumeration.
105         (html_text): Add new variable `dialect'.
107         * src/devices/grohtml/post-html.cpp: Modify header tags to be XHTML
108         compliant.
109         (valid_flag, groff_sig, dialect): New global variables. 
110         (html_printer::handle_valid_flag, html_printer::do_math,
111         html_printer::write_html_anchor, html_printer::write_xhtml_anchor,
112         html_printer::do_math, html_printer::handle_valid_flag): New
113         methods.
114         (html_printer::emit_line, html_printer::emit_raw,
115         html_printer::do_check_center, html_printer::write_title,
116         write_rule, html_printer::writeHeadMetaStyle, generate_img_src,
117         html_printer::begin_page): Altered to be XHTML compliant.
118         (html_printer::write_header): Updated.
119         (html_printer::troff_tag): Call do_math.
120         (html_printer::insert_split_file, html_printer::do_file_components,
121         html_printer::write_navigation): Create XHTML file components if
122         necessary and also produces a groff signature if requested.
123         (~html_printer): Call writeHeadMetaStyle at appropriate places
124         depending upon html_dialect.
125         (html_printer::special): Handle new tags `html<?p>' and `math<?p>'.
126         (main): Added options -x, -V, and -y.
127         (usage): Updated.
129         * src/preproc/eqn/box.cpp: Create a distinction between
130         the MathML device and the XHTML device.
131         (do_text): Issue a newline at the end of the equation if XHTML was
132         specified.
133         (box::top_level): Prefix the output of an equation by the .MATHML
134         macro.
135         (output_string): Suppress \n if XHTML was specified.
137         * src/preproc/eqn/main.cpp (xhtml): New global flag.
138         (inline_equation): Skip leading spaces after inline equation for
139         XHTML device.
140         (main): Set `xhtml' flag if `-Tmathml:xhtml' is specified.
142         * src/preproc/eqn/eqn.h (xhtml): New external flag.
144         * src/preproc/eqn/text.cpp (entity_table): Fix typo.
146         * src/preproc/html/pre-html.cpp (html_dialect): New enumeration.
147         (dialect, eqn_flag): New global variables.
148         (html_system): Improve debugging support.
149         (alterDeviceTo): Test for -Txhtml when altering device to the image
150         device and reset to -Txhtml.
151         (addZ): Renamed to...
152         (addArg): This.
153         Introducea a general parameter.
154         (print_args): New debugging function.
155         (char_buffer::run_output_filter): Use print_args and addArg rather
156         than addZ.
157         (char_buffer::do_html, char_buffer::do_image): Add -rxhtml=1 command
158         line parameter as an argument to the html generation of text when
159         xhtml is needed.  Include -e on the command line if mathml is
160         required.
161         (scanArguments): Allow -e, -V, -y and -x options.
162         -V, -y are handled by the back end.  -e sets `eqn_flag'.
163         -x determines HTML dialect.
165         * src/roff/groff/groff.cpp (possible_command): New method
166         `clear_name'.
167         (main):  Set eflag if -e is present on command line.
168         Set is_xhtml if -Txhtml is present.
169         Pass `-x x' to the HTML pre and post processors.
170         Pass `-e' to the HTML pre processor if required.
171         Pass `-Tmathml:xhtml' to eqn if XHTML is requested.
173         * src/roff/troff/input.cpp (init_input_requests): Introduce new
174         number register `\n[.O]'.
176         * tmac/s.tmac: (LP): Use .nop for semantic sugar.
177         (cov*ab-init) reformat.
178         (@EQ): Use EQN-HTML-IMAGE and friends rather than HTML-IMAGE.
179         (CHECK-FOOTER-AND-KEEP): Define FS, FE such that they use
180         <cite></cite> for the html device rather than generate images for
181         footnotes.
183         * tmac/troffrc-end: Define EQN-HTML-IMAGE,
184         EQN-HTML-IMAGE-END, EQN-HTML-IMAGE-RIGHT,
185         EQN-HTML-IMAGE-LEFT, EQN-HTML-IMAGE-INLINE,
186         EQN-HTML-DO-IMAGE, EQN-HTML-IMAGE-END as null strings.
188         * tmac/www.tmac: (HTML<?p>): New macro.
189         (MATH<?p>): New macro.
190         (IMG, PIMG, MPIMG, HR): Use XHTML compliant syntax.
191         (www-emit-ltag): New macro.
192         (www-push-li): Updated.
193         (ULS): Ensure that tags are balanced in order by use of
194         www-emit-ltag.
195         (ULE): Likewise: Use www-emit-ltag and shut down paragraphs in
196         order.
197         (OLS, OLE, DLS, DLE): Ditto.
198         <global>: Define EQ and EN to EQN-HTML-IMAGE and EQN-HTML-IMAGE-END
199         respectively.
200         (www-li-ul, www-li-ol, www-li-dl): Updated.
201         (EQN-HTML-IMAGE, EQN-HTML-IMAGE-RIGHT, EQN-HTML-IMAGE-LEFT,
202         EQN-HTML-IMAGE-INLINE, EQN-HTML-DO-IMAGE, EQN-HTML-IMAGE-END,
203         MATHML): New macros.
205 2007-09-17  Werner LEMBERG  <wl@gnu.org>
207         * man/groff_font.man: Document `unicode' keyword.
208         * doc/groff.texinfo (DESC File Format): Synchronize with
209         groff_font.man.
211 2007-09-15  Werner LEMBERG  <wl@nu.org>
213         * man/groff.man: Document `\_'.
214         * doc/groff.texinfo: Ditto.
215         Remove references to `\@' which isn't a valid escape sequence in
216         groff.
219         * tmac/unicode.tmac: Add ` and '.
220         * tmac/html.tmac: Load unicode.tmac.
222 2007-09-14  Werner LEMBERG  <wl@gnu.org>
224         * tmac/unicode.tmac: Make `-' a pure input character by mapping it
225         to `hy'.
227         * src/roff/troff/input.cpp (init_charset_table): Handle `hy'.
229 2007-09-11  Werner LEMBERG  <wl@gnu.org>
231         * src/libs/libgroff/string.cpp (string::remove_spaces): Fix memory
232         allocation.
234         * src/preproc/tbl/table.cpp (table::allocate): Initialize
235         `blockflag' array.
237 2007-09-10  Keith Marshall  <keith.d.marshall@ntlworld.com>
239         * README.MinGW: Add warnings about use of MSYS-RXVT, and about
240         defective GnuWin32 versions of netpbm/libpng.
242 2007-07-15  Keith Marshall  <keith.d.marshall@ntlworld.com>
244         * tmac/s.tmac (cov*first-page-init): Remove invoking trap, to avoid
245         possible recursion.
247 2007-07-11  Werner LEMBERG  <wl@gnu.org>
249         * gendef.sh: Add shebang.
251 2007-07-05  Werner LEMBERG  <wl@gnu.org>
253         * tmac/papersize.tmac: Fix dimensions of executive paper format. 
254         Reported by John Rupley <rupley@u.arizona.edu>.
256 2007-07-02  Keith Marshall  <keith.d.marshall@ntlworld.com>
258         * tmac/s.tmac (cov*first-page-init): Emit error message if not in
259         top-level environment.
261 2007-06-12  Werner LEMBERG  <wl@gnu.org>
263         * src/devices/xditview/TODO, NEWS: Updated.
264         * src/devices/xditview/Makefile.sub (install_data, uninstall_sub):
265         Handle `GXditview-color'.
266         * src/devices/xditview/gxditview.man: Updated.
268         * m4/groff.m4 (GROFF_APPRESDIR_CHECK): Updated.
269         * m4/codeset.m4, m4/glibc21.m4, m4/iconv.m4, m4/lib-link.m4: Updated
270         from `gnulib' git repository.
272         * configure.ac: Updated.
273         * configure: Regenerated (using autoconf 2.61).
275         * config.guess, config.sub: Updated from `config' CVS repository.
276         * config.rpath, install-sh, mkinstalldirs: Updated from `gnulib' git
277         repository.
279 2007-06-12  Tadziu Hoffmann  <hoffmann@usm.uni-muenchen.de>
281         * src/devices/xditview/GXditview.ad: Split off color definitions
282         into...
283         * src/devices/xditview/GXditview-color.ad: This new file.
285 2007-06-08  Fabrice Ménard  <menard.fabrice@wanadoo.fr>.
287         * tmac/fr.tmac: Handle chapter system for `me'.
289 2007-06-05  Tadziu Hoffmann  <hoffmann@usm.uni-muenchen.de>
291         * src/devices/xditview/xditview.c (main): Add support for
292         accelerators.
294         * src/devices/xditview/GXditview.ad: Updated.
295         Make widget more colourful.
297 2007-05-30  Werner LEMBERG <wl@gnu.org>
299         * tmac/groff_mdoc.man: Convert `-' to `\-' where appropriate.
300         Recommend `tbl' instead of `-column' lists for more complicated
301         cases.
303 2007-05-21  Werner LEMBERG  <wl@gnu.org>
305         * src/devices/grops/ps.cpp (ps_printer::set_char): Handle subfonts
306         correctly.
308 2007-04-10  Werner LEMBERG  <wl@gnu.org>
310         In pic, make rounded boxes work with colors.  Reported by Urs Eggli
311         <Urs.Eggli@zuerich.ch>.
313         * src/preproc/pic/common.h (common_output), src/preproc/pix/output.h
314         (output): Add color parameter to `rounded_box' member function.
316         * src/preproc/pic/common.cpp (common_output::rounded_box): Use it.
318         * src/preproc/pic/object.cpp (box_object::print): Pass `color_fill'
319         to `out->rounded_box'.
321 2007-04-09  Michail Vidiassov  <master@iaas.msu.ru>
323         * font/devps/generate/textmap: Add Greek letters and some more.
325         * src/utils/afmtodit/afmtodit.tables: Change values of `Delta',
326         `Omega', and `mu' to the ones from aglfn.txt.
328 2007-04-08  Keith Marshall  <keith.d.marshall@ntlworld.com>
330         * tmac/s.tmac (SN): Define unconditionally.
331         (SN-STYLE): New string; define.
333         * NEWS, tmac/groff_ms.man, doc/groff.texinfo (SN-STYLE): Document it.
335 2007-03-22  Werner LEMBERG  <wl@gnu.org>
337         * tmac/pspic.tmac: Fix harmless numeric overflow warning.  Reported
338         by Jörg van den Hoff <j.van_den_hoff@fzd.de>.
340 2007-03-20  Werner LEMBERG  <wl@gnu.org>
342         * tmac/trace.tmac (rn): Added.
343         (nr, ds, ds1, as, as1, substring): Restore escape character while
344         executing the macro.
345         (nr): Remove dead code.
347         * src/preproc/eqn/box.cpp (box::top_level): Use \E in string
348         definitions to make them traceable.
350 2007-03-19  Werner LEMBERG  <wl@gnu.org>
352         * src/roff/troff/input.cpp (get_copy): Add third argument to control
353         whether \E shall be expanded.
354         (get_char_for_escape_name): Allow \E.
356 2007-03-15  Werner LEMBERG  <wl@gnu.org>
358         * tmac/s.tmac (MO, CH, pg*OH, pg*EH, pg*OF, pg*EF, *, [., .],
359         par*define-font-macro, \[hooko]): Use \E to make it traceable.
361         (ref*field): Add argument to control the space between previous and
362         current argument.
363         Update all callers.
364         (ref*add-N): Fix handling of opening parenthesis.  Problem reported
365         by Jörg van den Hoff <j.van_den_hoff@fzd.de>.
367 2007-03-14  Werner LEMBERG  <wl@gnu.org>
369         * tmac/trace.tmac (als): Added.
370         (de, de1, am, am1): Make traced macros aliased with .als work.
372 2007-02-25  Werner LEMBERG  <wl@gnu.org>
374         * src/devices/xditview/TODO: Add some more items.
376         * Makefile.comm (.man.n): Add @APPRESDIR@.
377         Sort entries.
379         * src/devices/xditview/gxditview.man: Document GXditview resource
380         file.
381         Other documentation enhancements based on a patch from Jörg.
383 2007-02-25  Tadziu Hoffmann  <hoffmann@usm.uni-muenchen.de>
384             Joerg van den Hoff <j.van_den_hoff@fzd.de>
386         * src/devices/xditview/GXditview.ad: Make all keys work regardless
387         of the current mouse position.
389 2007-02-20  Werner LEMBERG  <wl@gnu.org>
391         * tmac/groff_man.man: Revised to improve visual appearance.
392         Reduce use of future tense.
394         * tmac/groff_trace.man: Revosed to improve visual appearance.
396 2007-02-19  Eric S. Raymond  <esr@snark.thyrsus.com>
398         Make groff.man viewer-portable.
400         * tmac/groff.man: Eliminate use of .eo/.ec.
401         (.REQ): Surround args 2 through N with quotes.  This will enable us
402         not to rely on the shift request, which is nonportable.
403         (ExecFF): Remove.  The code is simpler without it.
405 2007-02-18  Eric S. Raymond  <esr@snark.thyrsus.com>
407         * tmac/groff_www.man: Viewer-portability fixes.
409 2007-02-16  Eric S. Raymond  <esr@snark.thyrsus.com>
411         * man/groff.man: Remove some unneeded code and a no-longer-used
412         inclusion of the www macros.
414 2007-02-12  Werner LEMBERG  <wl@gnu.org>
416         * src/preproc/tbl/table.cpp (compute_span_width): Fix use of
417         AVAILABLE_REG.
418         (table::compute_widths): Simplify.
420 2007-02-11  Werner LEMBERG  <wl@gnu.org>
422         * src/preproc/tbl/table.h: Don't include `stdbool.h'.
423         (table): Replace `bool' type with `char' for orthogonality.
424         Update all users.
426         * src/preproc/tbl/table.cpp (block_entry::do_divert): Fix usage of
427         AVAILABLE_REG and COLCOUNT_REG.
428         (table::table): Fix order call of initializers.
429         (table::~table): Deallocate `blockflag'.
431 2007-02-09  Eric S. Raymond  <esr@snark.thyrsus.com>
433         A try at the new rule for block column allocation is now enabled by
434         the new `experimental' global option: The horizontal space up to the
435         right margin which is not used by columns without text blocks is
436         evenly distributed to the columns with text blocks.
438         It doesn't work right as yet; there appears to be some error in the
439         computation of `3avail', the available line length.  The purpose of
440         this patch is (a) to make experimenting with other formulas easy,
441         and (b) leave the infrastructure for flag `experimental' in place
442         for future experiments.  Do not document any behavior associated
443         with this flag!
445         * src/preproc/tbl/table.h: Include `stdbool.h'.
446         (table): Make `flags' public.
447         Add `count_block_columns' function.
448         Add `blockflag' array.
449         Add `EXPERIMENTAL' enumeration value.
451         * src/preproc/tbl/table.cpp (AVAILABLE_REG, COLCOUNT_REG): New
452         macros.
453         (table_entry): New member `parent' so that class and subclass
454         members can set a parent field.  Update all users.
455         (block_entry::do_divert): Handle `EXPERIMENTAL' flag.
456         (block_entry::do_width): Set the parent's `blockflag'.
457         (table::allocate): Handle `blockflag'.
458         (table::count_block_columns): New function.
459         (compute_span_width): Adjust AVAILABLE_REG.
460         (table::compute_widths): Handle COLCOUNT_REG and AVAILABLE_REG.
462         * src/preproc/tbl/main.cpp (process_options): Handle `experimental'
463         option.
465 2007-02-08  Zhao, Yu (William)  <yzhao2@alcatel-lucent.com>
467         * src/devices/grodvi/dvi.cpp (draw_dvi_printer::draw) <'e'>: Set
468         line thickness.
470 2007-02-08  Werner LEMBERG  <wl@gnu.org>
472         * man/groff_out.man (offset): Make it work reliably.
474 2007-02-07  Eric S. Raymond  <esr@snark.thyrsus.com>
476         * man/groff_out.man: Simplify some font changes so \fP is less
477         likely to do something surprising.
478         
479         * man/groff_out.man: We can simplify the command macros still
480         further if we stop trying to hide structural requests inside them. 
481         Also, fix some instances of \} at start of line without a dot, and
482         make some font changes explicit in strings.
483         
484         * man/groff_out.man: Cleanup -- remove now-unneeded uses of .do and
485         .cp.
486         
487         * man/groff_out.man: Final step: Reduce x-command, get rid of eo/ec
488         calls and fix macros to do without them.  File should now be
489         viewer-portable.
490         
491         * man/groff_out.man: Fourth step: Eliminate use of eqn in favor of
492         micromotions that produce the same visual result and can be lifted
493         to XML-DocBook.
494         
495         * man/groff_out.man: Third step: Reduce Da-comand, fix a
496         call-sequence bug in the original.
497         
498         * man/groff_out.man: Second step: Reduce D-commmand and D-command+,
499         move font-change escapes to portable form.
501         * man/groff_out.man: First step in macro simplification; eliminate
502         list1..n, simplify .offset and .index_offset so they no longer
503         require groff-specific features or eqn (instead, use troff
504         micromotions for subscripting).
506 2007-02-06  Eric S. Raymond  <esr@snark.thyrsus.com>
508         * src/preproc/eqn/eqn.man: Minor corrections.
510         * tmac/an-ext.tmac: Change .UR/.UE and .MT/.ME so the start macro no
511         longer takes a second argument that is pasted to the end of the
512         generated text.  Instead, the end macro takes an argument that does
513         the same thing.
515         * man/ditroff.man, man/groff_diff.man, man/groff.man,
516         man/groff_out.man, man/groff_tmac.man, man/roff.man,
517         src/roff/groff/groff.man, src/roff/grog/grog.man,
518         tmac/groff_man.man, tmac/groff_trace.man: Update accordingly.
520         * src/roff/troff/troff.man: .SY and .YS are canned macros now,
521         so we can use them here.
522         
523 2007-02-05  Eric S. Raymond  <esr@snark.thyrsus.com>
525         * src/preproc/eqn/lex.cpp, src/preproc/eqn/eqn.man:
526         By popular demand, make ... set three lower dots again
527         and introduce a new predefined macro 'cdots' to set
528         three centered dots.
530 2007-02-05  Werner LEMBERG  <wl@gnu.org>
532         * src/preproc/eqn/eqn.man: Revised.
534         * src/preproc/eqn/text.cpp (map, special_char_boc::output): Use
535         `const'.
536         (spacing_type): Fix typo.
537         (special_to_entity): Use `const'.
538         Remove unused variable.
539         * src/preproc/eqn/other.cpp (font_box::output): Use `const'.
541 2007-02-05  Eric S. Raymond  <esr@snark.thyrsus.com>
543         * src/devices/grotty/grotty.man: \m[] and \M[] aren't portable,
544         which is a shame as the effect was cute.
546 2007-02-04  Eric S. Raymond  <esr@snark.thyrsus.com>
548         * man/groff_tmac.man, man/groff_diff.man: Portability conversion;
549         rip out over-elaborate macrology, use .EX/.EE and .UR/.UE where
550         possible, remove preamble declarations and macros that are no
551         longer needed.  Conversion checked using the protocol described in
552         tmac/TESTING-HINTS.
554 2007-02-03  Werner LEMBERG  <wl@gnu.org>
556         * tmac/an-old.tmac (LP, IP, HP): Use .ns to suppress additional
557         vertical space.
559 2007-02-03  Eric S. Raymond  <esr@snark.thyrsus.com>
561         * tmac/groff_man.man: Documented the extension macros, and 
562         added portability advice.
564         * MORE.STUFF: More-stuff entries for doclifter and pic2plot.
567         Add support for MathML output to eqn.  
569         The strategy used is very simple and relies on the fact that the box
570         models of eqn and Presentation MathML differ in only trivial ways. 
571         It leaves the grammar and existing internal object structures
572         unchanged.  A new global, `output_format', is defined as an
573         enumerated type with values {troff, mathml}.  Most of the functions
574         and methods that emit actual output acquire a top-level conditional,
575         dispatching on this global, which has one arm for troff mode and one
576         for MathML mode.  In most cases the MathML arm is drastically
577         simpler.
579         (This strategy could be easily generalized to support other output
580         formats.  TeX is a possibility that leaps to mind.)
582         The only even moderately tricky changes are in the lexer.  Some of
583         the predefined macros used constructs like `up', `down', `fwd',
584         `back', and `vcenter' that have no equivalents in MathML.  I
585         attacked this problem in these ways:
587         1. I eliminated three uses of `back' to compose characters in favor
588            of using equivalent groff specials `\(<<', `\(>>', and `\(<>'
589            that did not exist when these macros were written.  (This will be
590            a quality improvement for troff users.)
592         2. I eliminated one use of `vcenter' by using \\(md.  (Likewise...)
594         3. I then split the table of pre-definitions in three; one large
595            common table and two small troff-specific and MathML-specific
596            tables.  Use of troff-only operations (up, down, back, fwd,
597            vcenter) is now confined to the former.  The latter now uses
598            `size big' and drops out the explicit positioning operations,
599            counting on MathML processors to do them.
601         POTENTIAL TROUBLE SPOTS:
603         Here are notes for reviewers on places I'm not 100% sure I've done
604         the right thing:
606         * In the process of preparing the troff table, I translated three
607           definitions (dot_def, dotdot_def, and utilde def) that previously
608           used explicit \v escapes to use `up' and `down' instead.  I
609           modeled the new definitions on the way `vec' and `dyad' work, but
610           it's possible I got something subtle wrong.
612         * I'm not certain the MathML implementation of font_box::output() is
613           right, because I don't quite get what the switcheroo between
614           `current_roman_font' and `old_roman_font' is supposed to
615           accomplish.  It does seem to generare good MathML, though.
617         Finally, I made one purely cosmetic change in `text.cpp'; I replaced
618         with an enum some magic numbers for spacing types that I thought
619         were too ugly to live.
621         REMAINING ISSUES:
623         The entirety of eqn is translated when `-TMathML' is specified, 
624         with the following exceptions...
626         Limitations that cannot be fixed include non-support for special,
627         up/down/fwd/back, and vcenter.
629         Limitations that might be fixable include non-support for mark and
630         lineup.  I will investigate further, but if these can be implemented
631         at all it's going to be in a very complicated and nasty way.
633         The way character boxes are output means that each digit of a
634         multi-digit number gets its own <mn></mn> tag pair in the MathHTML. 
635         While this is not technically wrong for Presentation MathML, it is
636         ugly and inefficient.  Fixing this will require implementing a
637         little state machine in the `text.cpp' output method.
639         * src/preproc/eqn/box.cpp, src/preproc/eqn/delim.cpp, 
640         src/preproc/eqn/eqn.h, src/preproc/eqn/eqn.man, 
641         src/preproc/eqn/lex.cpp, src/preproc/eqn/limit.cpp,
642         src/preproc/eqn/list.cpp, src/preproc/eqn/main.cpp, 
643         src/preproc/eqn/other.cpp, src/preproc/eqn/over.cpp, 
644         src/preproc/eqn/pile.cpp, src/preproc/eqn/script.cpp,
645         src/preproc/eqn/sqrt.cpp, src/preproc/eqn/text.cpp,
646         src/preproc/eqn/eqn.man: MathML output mode.
648         * NEWS: Document it.
650 2007-02-02  Eric S. Raymond  <esr@snark.thyrsus.com>
652         * src/roff/groff/groff.man: Converted to use .SY/.OP/.YS
653         and for cross-viewer portability.  Conversion checked 
654         using the protocol described in tmac/TESTING-HINTS.
656 2007-02-02  Werner LEMBERG  <wl@gnu.org>
658         * tmac/an-ext.tmac (ME): Don't use `\:'.
660         * src/roff/grog/grog.man: Further refinements and normalizations.
662 2007-02-02  Eric S. Raymond  <esr@snark.thyrsus.com>
664         * src/roff/grog/grog.man: Converted to use .SY/.OP/.YS and for
665         cross-viewer portability.  Conversion checked using the protocol
666         described in tmac/TESTING-HINTS.
668 2007-02-01  Eric S. Raymond  <esr@thyrsus.com>
670         * tmac/TESTING-HINTS: Added.
672 2007-02-01  Eric S. Raymond  <esr@thyrsus.com>
674         Enable the support for Bell archaisms on .SC, so the `-r bell'
675         switch is no longer needed to format old AT&T papers like
676         the EQN user guide.
678         * tmac/s.tmac (.SC, .UC, .P1, .P2): Updated.
680         * tmac/groff_ms.man, doc/groff.texinfo, NEWS: Updated.
682 2007-02-01  Eric S. Raymond  <esr@thyrsus.com>
684         Add some Bell labs extensions to the -ms macros.
686         * tmac/s.tmac (.SC, .UC, .P1, .P2) [bell]: New macros.
688         * tmac/groff_ms.man, doc/groff.texinfo, NEWS: Document `-r bell'.
690 2007-01-30  Werner LEMBERG  <wl@gnu.org>
692         * tmac/an-ext.tmac (\n[EX]): Rename to \n[mX].
693         (\n[mH]): New register (set if grohtml is used).
694         (\n[SY]): Rename to \n[mS].
695         (\n[a]): Rename to \n[mA].
696         (\n[i]): Rename to \n[mI].
697         (mU): New auxiliary input trap macro.
698         (UR, UE): Replace stub with real definition.
699         (URL): Remove.
700         (MT, ME): New macros.
701         (MTO): Remove.
702         (EX, EE): Don't insert vertical space.
703         Use a register to store (and restore) the current font.
705         * man/ditroff.man, man/groff_diff.man, man/roff.man: Revised, based
706         on patches from Eric Raymond.
707         Fix URL addresses.
709 2007-01-22  Gaius Mulley  <gaius@glam.ac.uk>
711         * tmac/an-old.tmac (an-trap, HP): Make `HP' work as expected.
713 2007-01-22  Werner LEMBERG  <wl@gnu.org>
715         * tmac/an-ext.tmac: Protect against being sourced twice.
716         (URL, EE): Use always two backslashes.
717         (MTO): New macro.
719 2007-01-16  Werner LEMBERG  <wl@gnu.org>
721         * tmac/an-ext.tmac: Remove code for grodvi.
722         (SY): Fix typos.
723         Don't insert empty line.
724         (URL, TQ): Fix typos.
726 2007-01-14  Werner LEMBERG  <wl@gnu.org>
728         * tmac/an-ext.tmac: New file, containing extension macros
729         for -man.  See discussion on the groff mailing list for
730         background information.
731         * tmac/an-old.tmac: Load an-ext.tmac.
732         Decorate .ds and as with comment escapes where appropriate.
733         * tmac/Makefile.sub (NORMALFILES): Add an-ext.tmac.
735 2007-01-05  Werner LEMBERG  <wl@gnu.org>
737         * src/preproc/tbl/tbl.man: Document .T# and \n[TW].
739 2007-01-04  Gaius Mulley  <gaius@glam.ac.uk>
741         Make -me macros ready for grohtml.
743         * tmac/e.tmac: Load devtag.tmac.
744         (need_eo_h, need_eo_tl, need_tl): New registers.
745         (check_need_title, (x-html, )x-html, xp-html): New macros.
746         (@h, hl, ip, @p, sh, (b, (l, EQ, EN, TS, TE, PS, PE, GS, GE, r, i,
747         b, rb, bi, bx, (x, )x, xp): Adapt for use with grohtml.
748         (bp): Rename to @b only if output device is not html.
750 2007-01-01  Werner LEMBERG  <wl@gnu.org>
752         * man/groff_font.man: Document empty lines.
754         * src/utils/afmtodit/afmtodit.pl: Always print a header comment at
755         the very beginning of the output.
756         [!$opt_x]: Fix typo.
758         * font/devps/*: Regenerate font definition files.
760 2007-01-01  Werner LEMBERG  <wl@gnu.org>
762         * font/devps/generate/Makefile (AFMTODIT): Use -c flag.
764         * font/devps/*: Regenerate font definition files.
766 2006-12-31  Werner LEMBERG  <wl@gnu.org>
768         * Makefile.in (oldfontdir): New variable.
769         (MDEFINES): Add $(oldfontdir).
770         (uninstall_dirs): Remove `current' link.
771         Remove $(oldfontdir).
773         * Makefile.comm (oldfontsubdir): New variable.
774         (install_dev): Install files collected in $(OLDDEVFILES) into
775         $(oldfontsubdir).
776         (uninstall_dev): Remove data in $(oldfontsubdir).
777         (.man.n): Handle @OLDFONTDIR@.
779         * src/devices/grodvi/grodvi.man, src/devices/grohtml/grohtml.man,
780         src/devices/grolbp/grolbp.man, src/devices/grolj4/grolj4.man,
781         src/devices/grotty/grotty.man, src/devices/xditview/gxditview.man:
782         Document GROFF_FONT_PATH.
784         * src/devices/grops/grops.man: Document GROFF_FONT_PATH and
785         old font description files.
787         * font/devps/Makefile.sub (OLDDISTFILES, OLDDEVFILES): New
788         variables.
790         * font/devps/old/*: New directory, holding the previous version
791         of the 35 Adobe core font description files.
793         * font/devps/*: Regenerated the 35 Adobe core fonts, using the
794         Adobe-Core35_AFMs-229.tar.bz2 bundle from ftp.dante.de.
796         * NEWS: Document font update.
798 2006-12-31  Werner LEMBERG  <wl@gnu.org>
800         * font/devps/generate/Makefile (symbolsl.afm): Use $(srcdir).
802         * Makefile.comm (fonts): New (empty) target.
803         * Makefile.in (TARGETS): Add `fonts'.
805         * MANIFEST: Add `chem'.
807         * doc/groff.texinfo (Changing Fonts): Font translations with .ftr
808         can't be chained.
810 2006-12-26  Werner LEMBERG  <wl@gnu.org>
812         * src/preproc/grn/hdb.cpp: Include gprint.h later.  From NetBSD.
814 2006-12-19  Werner LEMBERG  <wl@gnu.org>
816         Add support for German.  For activation, simply use -mde or -mden
817         (for traditional and new orthgraphy, respectively) as the last
818         macro package.
820         * tmac/de.tmac, tmac/den.tmac, tmac/hyphen.det, tmac/hyphen.den,
821         tmac/hyphenex.det: New files, partly taken from CTAN.
822         * LICENSES: Updated list of hyphenation patterns.
823         * man/groff_tmac.man: Mention de.tmac and den.tmac.
824         * NEWS: Updated.
826 2006-12-11  Werner LEMBERG  <wl@gnu.org>
828         Support up to 32 macro arguments in pic (and up to 16 on EBCDIC
829         hosts).
831         * src/preproc/pic/lex.cpp (ARG1): Redefine.  Update all users.
832         (MAX_ARG): New macro.  Use it everywhere to replace hard-coded
833         limit of 9 arguments.
834         (process_body): Handle argument numbers with more than a single
835         digit.
836         (interpolate_macro_with_args): Protect against exceeding number of
837         arguments.
839         * NEWS, src/preproc/pic/pic.man, doc/pic.ms: Document it.
841 2006-12-10  Werner LEMBERG  <wl@gnu.org>
843         * Makefile.in (site.exp, docheck): Commented out.  Not working
844         currently.
845         (check): Just emit dummy message.
847 2006-12-08  Werner LEMBERG  <wl@gnu.org>
849         During installation, create soft link from <version> to `current' in
850         <datadir>/groff.
852         * Makefile.comm (install): Renamed to...
853         (do_install): This.
854         (prefix_must_exist): Removed.  Code moved to Makefile.in.
856         * Makefile.in (TARGETS): Remove `install'.
858         (install): New target which first creates the directory given by
859         --prefix, then calling `make' to do the installation, and finishing
860         with the creation of the soft link.
862 2006-11-21  Werner LEMBERG  <wl@gnu.org>
864         * doc/Makefile.sub (uninstall_sub): Fix names for info files.
866 2006-11-18  Werner LEMBERG  <wl@gnu.org>
868         * man/roff.man, doc/groff.texinfo: Improve history of roff, based on
869         information from Tom Van Vleck <thvv@multicians.org>.
871 2006-11-16  Werner LEMBERG  <wl@gnu.org>
873         * tmac/62bit.tmac: New macro package.
874         * tmac/Makefile.sub (NORMALFILES): Add it.
875         * NEWS: Document it.
877         * tmac/trace.tmac: Protect against being loaded again.
878         (nr): Always show result.
880         * doc/groff.texinfo (Input Encodings): Document latin-5.
882         * man/grof_tmac.man: Document sv, latinX, cp1047, 60bit, ec.
884 2006-11-13  Werner LEMBERG  <wl@gnu.org>
886         * doc/groff.texinfo (Page Location Traps) [.wh]: Give more details
887         on negative trap positions.
889 2006-11-10  Werner LEMBERG  <wl@gnu.org>
891         * Makefile.comm (.man.n): Handle @DATASUBDIR@.
893 2006-11-09  Werner LEMBERG  <wl@gnu.org>
895         * INSTALL: Move information about external installation from
896         INSTALL.gen into this file.
897         Updated.
899         * INSTALL.gen: Update to new version (from texinfo CVS).
901 2006-11-09  Bernd Warken
903         * INSTALL.gen: Extend the file by information on `external
904         installation'.  Reorder the installation instruction as `normal
905         installation'. 
907 2006-11-08  Werner LEMBERG  <wl@gnu.org>
909         * doc/Makefile.sub (install_data): Take care of proper paths while
910         installing info files.  Bug reported by Bernd Warken.
912 2006-11-06  Bernd Warken
914         * src/roff/grog/grog.pl: Rewrite.
915         - Call by `#! /usr/bin/env perl'.  That isn't replaced.
916         - Rename usage() to version().
917         - Use warnings.
918         - For `use strict', start all global variables with an upper case
919         character.  Use `my' for all variables.  Use several new variables.
920         - Add option `-h'.
921         - Add copyright to GPL and Emacs comment.
922         - Handle several `-m*' options.
923         - Fix handling of `-ms' and `-mm'.  Add .TL and .NH.
924         - Allow options after file names.
925         - Allow only one `-' parameter (standard input).
926         - Add option abbreviations.
927         - Expand the usage information.
928         - Add `chem'.
929         - Add single quote "'" as additional first character and allow
930         arbitrary space after the first character.
932         * src/roff/grog/grog.sh: Rewrite.
933         - Remove option `-e' of `sed'.
934         - Allow file names with space characters.
935         - Add option `-h'.
936         - Add copyright to GPL.
937         - Handle several `-m*' options.
938         - Fix handling of `-ms' and `-mm'.  Add .TL and .NH.
939         - Allow options after file names.
940         - Allow only one `-' parameter (standard input).
941         - Add option abbreviations.
942         - Expand the usage information.
943         - Add `chem'.
944         - Add single quote "'" as additional first character and allow
945         arbitrary space after the first character.
947         * src/roff/grog/Makefile.sub:
948         - Add copyright to GPL.
949         - Remove `grog:'.  Move `grog.old:' to `grog:' in order to have a
950         fair chance to choose between the shell version and the Perl
951         version of `grog'.  This is now again comparable to grog in groff
952         version 1.10.
954         * src/roff/grog/grog.man: Rewrite.
955         - Move the license to GPL.
956         - New sections: OPTIONS, DETAILS, EXAMPLES, COPYING.
957         - Take over some setup and macros from `groffer'.
958         - Add information on options.
960 2006-10-28  Werner LEMBERG  <wl@gnu.org>
962         * tmac/trace.tmac: Improve tracing of `.nr'.
963         Trace `.substring' also.
965         * NEWS: Updated.
967 2006-10-28  Bernd Warken
969         * man/roff.man, src/roff/groff/groff.man: Add `chem', fix position
970         of groff development site, fix fonts.
972         * News: Add information on `chem' and `groffer'.
974 2006-10-26  Bernd Warken
976         * Makefile.in (OTHERDIRS, NOMAKEDIRS): Add `chem' bundle.
978 2006-10-26  Werner LEMBERG  <wl@gnu.org>
980         Add `\%^' escape to handle the parameters to a macro as a string
981         argument.
983         * src/roff/troff/input.h (DOUBLE_QUOTE): New special character.
985         * src/roff/troff/input.cpp (input_iterator, input_stack,
986         macro_iterator): Add `space_follows_arg' member function.
987         (macro_iterator::add_arg): Add parameter to set the `space_follows'
988         flag.
989         (arg_list): Add member `space_follows'.
990         Update constructor and all callers.
991         (decode_args): Store discarded double quotes.
992         (interpolate_args): Handle DOUBLE_QUOTE.
993         Add `\%^' escape.
994         (get_copy, token::next, composite_glyph_name): Handle DOUBLE_QUOTE.
996         * tmac/trace.tmac: Trace .nr, .ds, .ds1, .as, .as1.
998         * docs/groff.texinfo (Parameters), man/groff.man,
999         man/groff_diff.man, NEWS: Document it.
1001 2006-10-24  Bernd Warken
1003         * Makefile.in (NOMAKEDIRS): Add groffer subdirectories.
1005 2006-10-24  Werner LEMBERG  <wl@gnu.org>
1007         * tmac/groff_trace.man: Mention problem with `\\\\'.
1009 2006-10-23  Werner LEMBERG  <wl@gnu.org>
1011         * doc/groff.texinfo (Expressions): Improve documentation of `!'.
1013         * tmac/trace.tmac (return): Don't call `substring'.
1015 2006-09-10  Werner LEMBERG  <wl@gnu.org>
1017         * src/roff/troff/input.cpp (read_size): Revert previous change
1018         w.r.t. `\s-[-...]'.
1020         * doc/groff.texinfo (Fractional Size Types): Clarify syntax of \s.
1022 2006-09-09  Werner LEMBERG  <wl@gnu.org>
1024         * src/roff/troff/input.cpp (read_size): Fix `\s[-\n[.s]]' so that it
1025         behave the same as `\s-[\n[.s]]' (this is, emit a warning and set
1026         point size to 1).  Reported by Gunnar Ritter.
1027         Also catch `\s-[-...]' and friends (causing an error).
1029 2006-09-06  Werner LEMBERG  <wl@gnu.org>
1031         * src/roff/troff/env.cpp (environment::do_break): Insert zero-width
1032         space only if there is no previous space.  This fixes a bug which
1033         caused unwanted filling of the last line in a paragraph.  Thanks to
1034         Gunnar Ritter for an analysis.
1036 2006-09-03  Werner LEMBERG  <wl@gnu.org>
1038         * src/roff/groff/groff.cpp (main): Pass -U flag to pic also.
1039         Reported by Jennifer Sayers <jenjen@isu.usyd.edu.au>.
1041 2006-09-01  Nick Stoughton  <nick@msbit.com>
1042             Werner LEMBERG  <wl@gnu.org>
1044         Add a request `pev' to print environment information (similar to
1045         `pnr' and `ptr' to print number registers and traps).
1047         * src/roff/troff/env.h (environment): Add member function print_env.
1049         * src/roff/troff/env.cpp: (environment::print_env): New function to
1050         print a given environment state.
1051         (print_env): New global function to iterate through the
1052         environments, printing each one.
1053         (init_env_requests): Register `pev'.
1055         * doc/groff.texinfo (Debugging), man/groff.man, man/groff_diff.man,
1056         NEWS: Document `pev' request.
1058 2006-09-01  Bernd Warken
1060         * src/preproc/soelim/soelim.cpp (usage): Fix option argument of
1061         `-I' to `dir'.
1063 2006-09-01  Werner LEMBERG  <wl@gnu.org>
1065         * src/preproc/pic/main.cpp (usage): Add missing options.
1067 2006-08-25  Werner LEMBERG  <wl@gnu.org>
1069         * src/preproc/soelim/soelim.man: Document how to insert `\' and ` '
1070         in file names.
1072 2006-08-19  Werner LEMBERG  <wl@gnu.org>
1074         * configure: Regenerated.
1076 2006-08-18  Keith Marshall  <keith.d.marshall@ntlworld.com>
1078         * m4/groff.m4 (GROFF_MAKEINFO): Correct `makeinfo version testing
1079         logic; it previously caused an `expr' syntax error, if no version of
1080         `makinfo' was present.  Also, remove dependency on `makeinfo' in VPATH
1081         builds, if an up to date `groff.info' is present in either `builddir'
1082         or in `srcdir'.
1084 2006-08-12  Tadziu Hoffmann  <hoffmann@usm.uni-muenchen.de>
1086         * font/devps/prologue.ps: Add BPhook.
1088         * src/devices/grops/grops.man: Document BPHook.
1089         Reorder some sections for better readability.
1091 2006-08-12  Werner LEMBERG  <wl@gnu.org>
1093         * src/include/lib.h (getlocale): New macro.
1094         (setlocale, LC_ALL, LC_CTYPE) [!HAVE_SETLOCALE]: Define, as
1095         suggested by Bruno.
1097         * src/preproc/preconv/preconv.cpp (main): Use getlocale.
1099 2006-08-11  Werner LEMBERG  <wl@gnu.org>
1101         Add new flag to .cflags to enable hyphenation without looking at
1102         hcode values.
1104         * src/roff/troff/charinfo.h (charinfo): New enumeration value
1105         `IGNORE_HCODES'.
1106         New member function `ignore_hcodes'.
1108         * src/roff/troff/node.cpp (break_char_node::add_self,
1109         node::add_char): Updated.
1111         * doc/groff.texinfo, man/groff_diff.man, NEWS: Document it.
1113 2006-08-09  Werner LEMBERG  <wl@gnu.org>
1115         Support composite Unicode characters again.  Reported by Colin.
1117         * font/devhtml/R.proto: Renamed to...
1118         * font/devhtml/R.in: This.
1120         * font/devutf8/R.proto: Renamed to...
1121         * font/devutf8/R.in: This.
1122         Add `charset' line.
1124         * font/make-Rproto: New script.
1125         * font/devhtml/R.proto, font/devutf8/R.proto: Generated.
1127 2006-07-26  Werner LEMBERG  <wl@gnu.org>
1129         * README: Fix description of CVS access.  Reported by Joachim.
1131 2006-07-11  Werner LEMBERG  <wl@gnu.org>
1133         Add a request `.fzoom' and a number register `.zoom' to magnify
1134         fonts.
1136         * src/include/font.h (font): Add member variable `zoom'.
1137         Add member functions `set_zoom' and `get_zoom'.
1138         Remove `static' attribute from `scale' member function.
1140         * src/libs/libgroff/font.cpp (font::font): Updated.
1141         (scale_round): New version with three parameters to handle zoom
1142         factor.
1143         (font::scale, font::get_width): Handle zoom factor.
1144         (font::set_zoom, font::get_zoom): New functions.
1145         (font::load): Handle `zoom' while computing `space_width'.
1147         * src/roff/troff/env.h: Declare `env_get_zoom'.
1148         (environment): Add member function `get_zoom'.
1150         * src/roff/troff/env.cpp (environment::get_zoom): New function.
1151         (init_env_requests): Initialize `.zoom' register.
1153         * src/roff/troff/node.cpp (font_info): New member functions
1154         `set_zoom' and `get_zoom'.
1155         (tfont): New member function `get_zoom'.
1156         (env_get_zoom): New function.
1157         (troff_output_file::set_font): Handle zoom factor.
1158         (font_zoom_request): New function.
1159         (init_node_requests): Initialize `fzoom' request.
1161         * docs/groff.texinfo (Changing Fonts), man/groff.man,
1162         man/groff_diff.man, NEWS: Document `fzoom' request and `.zoom'
1163         register.
1165         * src/roff/troff/TODO: Updated.
1167 2006-07-10  Werner LEMBERG  <wl@gnu.org>
1169         * doc/groff.texinfo (Drawing Requests): Improve documentation of
1170         \D'P ...'.
1172 2006-07-02  Werner LEMBERG  <wl@gnu.org>
1174         * man/groff_tmac.man: Document usage of .PSPIC within diversions.
1176 2006-07-01  Werner LEMBERG  <wl@gnu.org>
1178         * tmac/pspic.tmac: Make .PSPIC work for all devices.
1179         Print image file name for devices which don't support PS image
1180         inclusion.
1181         Handle multiple inclusions.
1182         Add lots of comments.
1184         * tmac/dvi.tmac, tmac/html.tmac, tmac/ps.tmac: Don't load
1185         pspic.tmac.
1187         * tmac/troffrc: Load pspic.tmac.
1189         * man/groff_tmac.man: Update .PSPIC documentation.
1191         * NEWS: Updated.
1193 2006-06-29  Werner LEMBERG  <wl@gnu.org>
1195         * src/roff/troff/input.cpp (interpolate_macro):
1196         s/probably/possibly/, as suggested by Keith.
1198 2006-06-28  Werner LEMBERG  <wl@gnu.org>
1200         Add support for \D'p...' to grotty.
1202         * src/devices/grotty/grotty.cpp (tty_printer::draw): Move most of
1203         its code to...
1204         (tty_printer::line): This function.
1205         (tty_printer::draw): Rewritten; just call either draw_line or
1206         draw_polygon.
1207         (tty_printer::draw_line, tty_printer::draw_polygon): New functions.
1209         * src/devices/grotty/grotty.man, NEWS: Document it.
1211 2006-06-27  Werner LEMBERG  <wl@gnu.org>
1213         * src/preproc/refer/command.h (have_bibliography): New variable
1214         declaration.
1216         * src/preproc/refer/command.cpp (bibliography_command): Set
1217         `have_bibliography'.
1219         * src/preproc/refer/refer.cpp: Initialize `have_bibliography'.
1220         (output_references): Emit warning only if `have_bibliography' is
1221         set.
1223 2006-06-15  Michail Vidiassov  <master@iaas.msu.ru>
1225         * font/devps/Makefile.sub (DISTFILES): Add freeeuro.afm.
1226         * font/devps/generate/Makefile (clean): Don't remove symbolsl.afm
1227         and zapfdr.afm.
1229 2006-06-15  Werner LEMBERG  <wl@gnu.org>
1231         * src/preproc/tbl/tbl.man: Document limitations of .TS/.TE within a
1232         macro (as suggested by Tadziu Hoffmann).
1234 2006-06-12  Werner LEMBERG  <wl@gnu.org>
1236         * src/preproc/tbl/tbl.man: Add example for use of .TS/.TE within a
1237         macro (as suggested by Tadziu Hoffmann).
1239 2006-06-05  Werner LEMBERG  <wl@gnu.org>
1241         * tmac/strip.sed: Strip `\#' also.
1243         * doc/groff.texinfo (Operators in Conditionals): Document usage of
1244         \? for string comparison.
1246 2006-06-04  Werner LEMBERG  <wl@gnu.org>
1248         * doc/groff.texinfo: Add more index entries for copy-in mode.
1249         (Changing Fonts) <.ft>: Document that a font definition file must
1250         not be called `DESC'.
1252 2006-05-31  Werner LEMBERG  <wl@gnu.org>
1254         * src/roff/troff/input.cpp (token::next) <\N>: Catch negative values
1255         here.
1257         * doc/Makefile.sub (EXAMPLEFILES): Move gnu.eps to...
1258         (PROCESSEDEXAMPLEFILES): Here.
1260 2006-05-30  Werner LEMBERG  <wl@gnu.org>
1262         * src/libs/libgroff/font.cpp (font::load): Reject fonts called
1263         `DESC'.
1264         Reduce number of false positives for `.if F ...' conditionals.
1265         Improve warning messages.
1267 2006-05-29  Werner LEMBERG  <wl@gnu.org>
1269         * tmac/Makefile.sub: Add copyright notice.
1270         (NORMALFILES): Add man.tmac and ms.tmac.
1271         (SPECIALFILES): Remove man.tmac and ms.tmac.
1272         (CLEANADD): Remove man.tmac-sed and ms.tmac-sed.
1273         (install_data, uninstall_sub): Don't handle man.tmac and ms.tmac
1274         specially.
1275         (stamp-sed): Don't handle man.tmac and ms.tmac.
1276         Remove obsolete components in sed's regexp.
1278         * doc/Makefile.sub (EXAMPLEFILES): Add gnu.eps.
1280         * Makefile.in (OTHERDIRS, NOMAKEDIRS): Add hdtbl.
1282 2006-05-28  Werner LEMBERG  <wl@gnu.org>
1284         * doc/groff.texinfo (History): Correct death circumstances of Joe
1285         Ossanna.
1287 2006-05-27  Werner LEMBERG  <wl@gnu.org>
1289         * tmac/an-old.tmac (an-do-tag): Simplify.
1291 2006-05-26  Werner LEMBERG  <wl@gnu.org>
1293         * tmac/an-old.tmac (an-do-tag): Make margin characters work.
1294         (an-header, an-p-footer): Use named environment.
1296         * src/roff/troff/env.cpp (environment::copy): Copy margin character
1297         node.
1299 2006-05-21  Werner LEMBERG  <wl@gnu.org>
1301         * tmac/trace.tmac (de1): Fix serious typo (.di -> .do) and minor
1302         omissions.
1304 2006-05-11  Keith Marshall  <keith.d.marshall@ntlworld.com>
1306         * src/roff/groff/groff.man: Remove superfluous word `intermediate'.
1308 2006-05-10  Keith Marshall  <keith.d.marshall@ntlworld.com>
1310         * src/roff/groff/groff.man: Update copyright notice.
1311         Improved wording to describe effect of `-Z' option.
1313 2006-05-06  Werner LEMBERG  <wl@gnu.org>
1315         * tmac/www.tmac: Decorate `.ds' with trailing `\"' where missing.
1316         Normalize handling of `"' in arguments.
1317         (PIMG): Remove debug message.
1318         Simplify code.
1320 2006-05-05  Werner LEMBERG  <wl@gnu.org>
1322         * src/devices/grohtml/post-html.cpp (page::add_and_encode): Don't
1323         swallow character immediately after `\[...]'.
1324         Simplify code.
1326 2006-05-02  Gaius Mulley  <gaius@glam.ac.uk>
1328         * tmac/www.tmac (PIMG): Fix the HTML device specific components.
1330 2006-05-02  Larry Kollar  <kollar@alltel.net>
1332         * tmac/www.tmac (PIMG): Really default to `-C' if the alignment
1333         option is missing.
1335 2006-04-30  Michail Vidiassov  <master@iaas.msu.ru>
1337         * src/utils/afmtodit/afmtodit.pl: New option `-c' to add font
1338         information as a comment in output.
1339         * src/utils/afmtodit/afmtodit.man, NEWS: Document it.
1341 2006-04-26  Werner LEMBERG  <wl@gnu.org>
1343         * src/devices/grohtml/post-html.cpp (html_printer::~html_printer):
1344         Handle current_paragraph only if it is non-NULL.
1346         * src/libs/libdriver/input.cpp (parse_x_command <'F'>, do_file
1347         <'F'>): Use `get_extended_arg' to behave as documented.  Reported by
1348         Bill Ward <william.a.ward.jr@erdc.usace.army.mil>.
1351         Surround the (pseudo) file name for the .pso request with `<' and
1352         `>'.
1354         * src/roff/troff/node.cpp (real_output_file, troff_output_file): Add
1355         second parameter to `really_put_filename' and `put_filename'.
1356         (troff_output_file::really_put_filename): Emit `<' and `>' around
1357         filename if second argument is set.
1358         * src/roff/troff/node.h: Updated.
1360         * src/roff/troff/input.cpp (file_iterator::file_iterator,
1361         file_iterator::set_location): Update to changes in node.cpp.
1363 2006-04-25  Tetsurou Okazaki  <okazaki@FreeBSD.org>
1365         * src/preproc/preconv/preconv.cpp (do_file): Fix conditional
1366         preprocessor expression (I18N -> HAVE_ICONV).
1367         (main): Fix handling of option `-h'.
1368         Fix conditional preprocessor expression.
1370 2006-04-04  Werner LEMBERG  <wl@gnu.org>
1372         Implement new number register `.br' which is set to 1 if a macro has
1373         been called as .foo and to 0 if called as 'bar.  This is useful for
1374         -mtrace so that requests can be reliably traced too.
1376         * src/roff/troff/input.cpp (input_iterator): Add virtual function
1377         `get_break_flag'.
1378         (macro_iterator): Add `with_break' member and `get_break_flag'
1379         function.
1380         Update constructors.
1381         (input_stack): Add function `get_break_flag'.
1382         (break_flag_reg): New number register class.
1383         (input_init_requests): Register `.br'.
1385         * src/roff/troff/TODO: Updated.
1387         * tmac/trace.tmac: s/!!sp/!!!sp/.
1388         Modify definitions of `de', `de1', `am', and `am1' to use \n[.br].
1390         * docs/groff.texinfo (Requests), man/groff.man, man/groff_diff.man,
1391         NEWS: Document it.
1393 2006-03-29  Werner LEMBERG  <wl@gnu.org>
1395         * src/devices/grops/ps.cpp: s/must not/should not/ in warning
1396         messages where appropriate.
1398 2006-03-28  Werner LEMBERG  <wl@gnu.org>
1400         * configure.ac: Call AC_PROG_EGREP.
1401         * configure: Regenerated.
1403         * Makefile.in (EGREP): New variable.
1404         (MDEFINES): Add $(EGREP).
1406         * src/roff/grog/grog.sh: Treat .TH between .TS and .TE properly
1407         (bug reported by Robert Goulding <Goulding.2@nd.edu>).
1408         Use @EGREP@.
1410         * src/roff/grog/Makefile.sub (grog, grog.old): Use $(EGREP).
1412 2006-03-27  Werner LEMBERG  <wl@gnu.org>
1414         Add two requests `.device' and `.devicem' which are equivalent to
1415         `\X' and `\Y', respectively.
1417         * src/roff/troff/input.cpp (device_request, device_macro_request):
1418         New functions.
1419         (init_input_requests): Register them.
1421         * doc/groff.texinfo (Postprocessor Access), man/groff_diff.man,
1422         man/groff.man, NEWS: Document them.
1424 2006-03-27  Gaius Mulley  <gaius@glam.ac.uk>
1426         * src/roff/troff/input.cpp (encode_char): Emit special characters
1427         for -Thtml as `\[...]'.
1428         * src/devices/grohtml/post-html.cpp (page::add_and_encode): Updated.
1430         * doc/groff.texinfo (Postprocessor Access) <\X>: Updated.
1432 2006-03-27  Werner LEMBERG  <wl@gnu.org>
1434         * tmac/Makefile.sub (NORMALFILES, SPECIALFILES): Add various missing
1435         files.
1437 2006-03-26  Werner LEMBERG  <wl@gnu.org>
1439         * doc/groff.texinfo (Writing Macros): More documentation on
1440         end-of-macro symbol of `.de'.
1441         (Diversions): Minor addition to `.di' description.
1443         * src/devices/grops/grops.man: Some clarifications regarding
1444         insertion of PostScript snippets.
1446 2006-03-25  Michail Vidiassov  <master@iaas.msu.ru>
1448         Add rules to generate `symbolsl.afm'.
1450         * font/devps/generate/zapfdr.sed,
1451         font/devps/generate/symbolsl.awk: New files.
1453         * font/devps/generate/Makefile (symbolfont, PRINTAFM): New
1454         variables.
1455         (SS, clean): Updated.
1456         (freeeuro.afm): Use $(srcdir).
1457         (symbolsl.afm): New rule.
1458         (zapfdr.afm): Use zapfdr.sed.
1460 2006-03-22  Dwight Aplevich  <aplevich@uwaterloo.ca>
1462         * src/preproc/pic/pic.y (expr <INT>): Fix code.
1464 2006-03-22  Jörgen Grahn <jgrahn@algonet.se>
1466         * tmac/sv.tmac: Add missing translations and activate support for
1467         other macro packages.
1469 2006-03-21  Francis GUDIN  <fgudin@nerim.net>
1471         * tmac/doc-syms (Dx): New macro to identify DragonFly.
1472         (doc-str-St--ieee1275-94, doc-str-St--isoC-amd1,
1473         doc-str-St--isoC-tcor1, doc-str-St--isoC-tcor2): New standard
1474         strings.
1475         (doc-operating-system-FreeBSD-5.5, doc-operating-system-FreeBSD-7.0,
1476         doc-operating-system-NetBSD-1.6.3, doc-operating-system-NetBSD-4.0
1477         doc-operating-system-DragonFly-*): New operating system strings.
1479         * tmac/groff_mdoc.man, NEWS: Document `Dx'.
1481 2006-03-21  Werner LEMBERG  <wl@gnu.org>
1483         * src/preproc/pic/pic.y (object_spec THEN): For compatibility with
1484         both DWB pic and dpic, make
1486           right;
1487           line then down;
1489         equal to
1491           right;
1492           line right then down;
1494         instead of
1496           right;
1497           line 0 then down;
1499         * doc/pic.ms: Document this.
1501 2006-03-20  Werner LEMBERG  <wl@gnu.org>
1503         * doc/pic.ms: With permission of Eric Raymond, put it under the
1504         GPL.
1506         * NEWS: Updated.
1508 2006-03-19  Werner LEMBERG  <wl@gnu.org>
1510         * src/preproc/pic/pic.y (expr <INT>): Really return integer part.
1512         * src/preproc/pic/objects.cpp (object_spec::make_line): Handle `at'
1513         attribute in combination with `with'.  Bug reported by Jennifer
1514         Sayers <jenjen@mail.usyd.edu.au>.
1516 2006-03-19  Miklos Somogyi  <msom@netspace.net.au>
1518         * doc/groff.texinfo (Manipulating Spacing): Improve documentation of
1519         `.sp'.
1521 2006-03-18  Werner LEMBERG  <wl@gnu.org>
1523         * LICENSE: Renamed to...
1524         * LICENSES: This.  Collect all licensing information in this file.
1525         * tmac/README, src/libs/snprintf/README: Removed.
1527         * src/devices/grops/grops.man: Add section how to install fonts.
1529         * src/utils/xtotroff/xtotroff.c: Add GPL.
1531 2006-03-17  Werner LEMBERG  <wl@gnu.org>
1533         * Makefile.comm (.y.cpp): Fix #line arguments in output.
1535 2006-03-13  Werner LEMBERG  <wl@gnu.org>
1537         * src/preproc/tbl/tbl.man: Mention default length of text blocks.
1539         * tmac/doc-common (Os): Add more Darwin versions.
1540         * tmac/groff_mdoc.man: Document them.
1542         * doc/groff.texinfo (Operators in Conditionals): Mention that `c'
1543         works with \N'...' also.
1544         * man/groff_diff.man: Ditto.  Remove use of future tense where
1545         possible.
1547 2006-03-12  Michail Vidiassov  <master@iaas.msu.ru>
1549         * font/devps/generate/make-zapfdr, font/devps/symbolsl.ps,
1550         font/devps/zapfdr.ps: Add `%%EndComments' line.
1552 2006-03-10  Larry Kollar  <kollar@alltel.net>
1554         * doc/groff.texinfo (Headers and footers): Document PT, HD, and BT.
1556 2006-03-10  Werner LEMBERG  <wl@gnu.org>
1558         * src/devices/grops/ps.cpp (ps_printer::do_exec, ps_printer::do_def,
1559         ps_printer::do_mdef): Overlong lines now cause a warning message,
1560         not an error.
1562 2006-03-09  Werner LEMBERG  <wl@gnu.org>
1564         * font/devps/generate/make-zapfdr: New script for generating
1565         `zapfdr.ps'.
1567 2006-03-08  Werner LEMBERG  <wl@gnu.org>
1569         * doc/groff.css (pre): Fix `background-color' value.
1571 2006-03-04  Larry Kollar  <kollar@alltel.net>
1573         * tmac/groff_ms.man: Document PT, HD, and BT.
1575 2006-03-04  Werner LEMBERG  <wl@gnu.org>
1577         * src/roff/troff/node.cpp (make_glyph_node): Improve warning message
1578         for single-letter glyph names.
1580 2006-03-02  Werner LEMBERG  <wl@gnu.org>
1582         * tmac/sv.tmac: New file; currently holding only the Swedish strings
1583         for -mm.
1584         * tmac/hyphen.sv: New hyphenation pattern file for Swedish, taken
1585         from CTAN.
1586         * tmac/README: Updated.
1588 2006-02-27  Werner LEMBERG  <wl@gnu.org>
1590         * tmac/trans.tmac (Liec, Letdate, Letns!14): Add it (for -mm).
1591         * tmac/fr.tmac: Add French translations.
1593         * tmac/composite.tmac: Add entry for `:'.
1595 2006-02-26  Werner LEMBERG  <wl@gnu.org>
1597         * doc/Makefile.sub (HTMLEXAMPLEFILESALL): New variable.
1598         (CLEANADD): Use it.
1599         (install_html, uninstall_sub): Updated.
1601 2006-02-26  Bruno Haible  <bruno@clisp.org>
1603         Introduce Unicode fonts.
1605         * font/devhtml/DESC.proto: Mark as unicode.
1606         * font/devhtml/R.proto: Remove all charset entries that are already
1607         in glyphuni.cpp.
1608         * font/devutf8/DESC.proto: Mark as unicode.
1609         * font/devutf8/R.proto: Remove all charset entries.
1610         * src/include/font.h (font): New static field `is_unicode'.
1611         Change order of fields.
1612         * src/libs/libgroff/font.cpp: Include unicode.h.
1613         (font::font): Update for changed order of fields.
1614         (font::contains, font::get_width, font::get_height, font::get_depth,
1615         font::get_italic_correction, font::get_left_italic_correction,
1616         font::get_subscript_correction, font::get_character_type,
1617         font::get_code, font::get_special_device_encoding): Handle both the
1618         explicitly enumerated glyphs and use general code for Unicode fonts.
1619         (font::load): Make the charset section optional when the font is
1620         declared unicode.
1621         (font::load_desc): Recognize the `unicode' attribute.
1622         * src/libs/libgroff/fontfile.cpp (font::is_unicode): New variable.
1624 2006-02-26  Claudio Fontana  <claudio@gnu.org>
1626         * Makefile.in: Add comment about DESTDIR.
1628         * Makefile.sub: Add DESTDIR to install and uninstall targets
1629         to support staged installations.
1630         * Makefile.comm: Likewise.
1631         * doc/Makefile.sub: Likewise.
1632         * contrib/eqn2graph/Makefile.sub: Likewise.
1633         * contrib/grap2graph/Makefile.sub: Likewise.
1634         * contrib/pic2graph/Makefile.sub: Likewise.
1635         * src/devices/xditview/Makefile.sub: Likewise.
1636         * src/preproc/eqn/Makefile.sub: Likewise.
1637         * src/roff/grog/Makefile.sub: Likewise.
1638         * src/roff/nroff/Makefile.sub: Likewise.
1639         * src/utils/afmtodit/Makefile.sub: Likewise.
1640         * src/utils/indxbib/Makefile.sub: Likewise.
1641         * tmac/Makefile.sub: Likewise.
1643 2006-02-24  Werner LEMBERG  <wl@gnu.org>
1645         * src/libs/libgroff/glyphuni.cpp (glyph_to_unicode_list): Use entry
1646         for \-.
1647         Remove commented out entries for \' and \` (there are no such glyph
1648         names).
1650         * src/libs/libgroff/uniglyph.cpp (unicode_to_glyph_list): Remove
1651         commented out entries for \' and \`.
1654         * */*: s/legal/valid/ where appropriate.
1656 2006-06-23  Werner LEMBERG  <wl@gnu.org>
1658         * font/devhtml/R.proto, font/devutf8/R.proto: Remove incorrect \'
1659         and \` entries.
1661 2006-02-22  Werner LEMBERG  <wl@gnu.org>
1663         Remove all remaining traces from the `shc' glyph.
1665         * src/libs/libgroff/glyphuni.cpp (glyph_to_unicode_list),
1666         src/libs/libgroff/uniglyph.cpp (unicode_to_glyph_list): Remove
1667         entry for `shc'.
1669         * font/devlatin1/R.proto, font/devcp1046/R.proto: Replace `shc'
1670         entry with unnamed glyph.
1672         * tmac/html/tmac: Remove `shc' entry from call to `.cflags'.
1674         * src/preproc/preconv/preconv.cpp (unicode_entity): Handle U+00AD
1675         specially.
1677 2006-02-22  Bruno Haible  <bruno@clisp.org>
1679         Concretize the `glyph' datatype.
1681         * src/include/font.h (glyph): Remove class.
1682         (glyph): Renamed from struct `glyphinfo'.
1683         (glyph_to_index): New inline function.
1684         (glyph_to_name): Make extern, not inline.
1685         (glyph_to_number): Update.
1686         (font): Use `glyph *' instead of `glyph'.
1688         * src/libs/libgroff/nametoindex.cpp (charinfo): Inherit from class
1689         `glyph'.  Make `name' field public.
1690         (character_indexer, number_to_glyph, name_to_glyph): Use `glyph *'
1691         instead of `glyph'.
1692         (glyph_to_name): Renamed from `glyph::glyph_name'.
1694         * src/roff/troff/charinfo.h (charinfo): Inherit from class `glyph'.
1695         Use `glyph *' instead of `glyph'.
1697         * src/roff/troff/input.cpp (name_to_glyph, number_to_glyph): Use
1698         `glyph *' instead of `glyph'.
1699         (glyph_to_name): Renamed from `glyph::glyph_name'.
1701         * src/libs/libgroff/font.cpp: Use `glyph *' instead of `glyph',
1702         and `glyph_to_index' instead of `glyph::glyph_index'.
1704         * src/include/printer.h (printer): Use `glyph *' instead of `glyph'.
1705         * src/libs/libdriver/printer.cpp: Likewise.
1706         * src/devices/grodvi/dvi.cpp: Likewise.
1707         * src/devices/grohtml/post-html.cpp: Likewise.
1708         * src/devices/grolbp/lbp.cpp: Likewise.
1709         * src/devices/grolj4/lj4.cpp: Likewise.
1710         * src/devices/grops/ps.cpp: Likewise.
1711         * src/devices/grotty/tty.cpp: Likewise.
1713 2006-02-22  Werner LEMBERG  <wl@gnu.org>
1715         * font/devdvi/generate/tc.map: Add `sr' glyph.
1716         * font/devdvi/*TC: Regenerated.
1718         * src/libs/libgroff/glyphuni.cpp (glyph_to_unicode_list): Use entry
1719         for `sqrt'.
1721 2006-02-21  Werner LEMBERG  <wl@gnu.org>
1723         * man/groff_char.man: Explain `***' marker.
1725 2006-02-17  Bruno Haible  <bruno@clisp.org>
1727         * src/libs/libgroff/nametoindex.cpp (character_indexer): Rename
1728         methods and fields from *_index to *_glyph.
1729         (character_indexer::named_char_glyph): Test for `charNNN' name
1730         here...
1731         (name_to_glyph): ... not here.
1733 2006-02-17  Bruno Haible  <bruno@clisp.org>
1735         * src/include/font.h (name_to_glyph): Renamed from
1736         font::name_to_index.
1737         (number_to_glyph): Renamed from font::number_to_index.
1738         (glyph_to_name): Renamed from font::index_to_name.
1739         (glyph_to_number): Renamed from font::index_to_number.
1740         * src/libs/libgroff/nametoindex.cpp: Likewise.
1741         * src/roff/troff/charinfo.h (charinfo::as_glyph): Renamed from
1742         charinfo::get_index.
1744         * src/roff/troff/input.cpp: All callers changed.
1745         * src/roff/troff/node.cpp: Likewise.
1746         * src/libs/libgroff/font.cpp: Likewise.
1747         * src/devices/grops/ps.cpp: Likewise.
1748         * src/devices/grohtml/post-html.cpp: Likewise.
1749         * src/libs/libdriver/printer.cpp: Likewise.
1751 2006-02-17  Werner LEMBERG  <wl@gnu.org>
1753         * src/include/ptable.h, src/include/itable.h
1754         (NEXT_PTABLE_SIZE_DEFINED): Use it to avoid multiple declaration
1755         of external symbol `next_ptable_size' (used by both header files).
1757 2006-02-15  Bruno Haible  <bruno@clisp.org>
1759         * src/include/font.h (glyphinfo): New class.
1760         (glyph): Change internal representation.
1761         Change constructor signature.
1762         New method glyph::glyph_number().
1763         (glyph::glyph, glyph glyph::undefined_glyph, glyph::glyph_index,
1764         glyph::operator==, glyph::operator!=): Update.
1765         (font::index_to_name, font::index_to_number): New functions.
1767         * src/include/itable.h: New file, based on src/include/ptable.h.
1769         * src/libs/libgroff/nametoindex.cpp: Include itable.h.
1770         (class charinfo): New class.
1771         (class character_indexer): Change table result type from `int' to
1772         `class charinfo'.
1773         Add table with integer key.
1774         (character_indexer::character_indexer): Update.
1775         (character_indexer::ascii_char_index): Update.
1776         (character_indexer::numbered_char_index): Use NULL as name, not a
1777         string starting with a space.
1778         (character_indexer::named_char_index): Update.
1779         (font::number_to_index, font::name_to_index): Remove no-op cast.
1780         (glyph::glyph_name): New method.
1781         * src/roff/troff/charinfo.h (class charinfo): Inherit from class
1782         glyphinfo.
1783         (NUMBERED): Remove flag bit.
1784         (charinfo::numbered, charinfo::get_index): Update.
1786         * src/roff/troff/input.cpp (charinfo::charinfo): Update.
1787         (charinfo::set_number, charinfo::get_number): Update.
1788         (glyph::glyph_name): New method.
1790 2006-02-15  Werner LEMBERG  <wl@gnu.org>
1792         * src/libs/libgroff/glyphuni.cpp (glyph_to_unicode_list): Fix
1793         entries for `>>', `<<', `*f', and `+f'.  Reported by Bruno.
1795 2006-02-13  Werner LEMBERG  <wl@gnu.org>
1797         * font/devps/prologue.ps (RE): Check `UniqueID' also, similar to
1798         dvips.
1800 2006-02-11  Werner LEMBERG  <wl@gnu.org>
1802         * src/include/font.h: s/glyph_t/glyph/.
1803         Update all callers.
1805         * src/devices/grotty/tty.cpp: s/glyph/tty_glyph/.
1806         s/output_character_t/output_character/.
1808 2006-02-11  Bruno Haible  <bruno@clisp.org>
1810         New accessor method glyph_t::glyph_name().
1812         * src/include/ptable.h (declare_ptable): Add a return value to the
1813         `define' method, and declare a `lookupassoc' method.
1814         (implement_ptable): Return the stored key in `define'.  Implement
1815         lookupassoc.
1816         * src/include/font.h (glyph_t): Add `name' field.  Add an argument
1817         to the constructor.
1818         (glyph_t::glyph_name): New method.
1820         * src/libs/libgroff/nametoindex.cpp (character_indexer): Change
1821         return type of methods and field member type to glyph_t.
1822         (character_indexer::character_indexer): Update.
1823         (character_indexer::ascii_char_index): Allocate a name for the
1824         glyph.
1825         Return a glyph_t with name.
1826         (character_indexer::numbered_char_index): Return a glyph_t without a
1827         name.
1828         (character_indexer::named_char_index): Return a glyph_t with a name.
1829         (font::number_to_index, font::name_to_index): Update.
1831         * src/roff/troff/input.cpp (charinfo::charinfo): Use the symbol as
1832         the glyph's name.
1834 2006-02-11  Bruno Haible  <bruno@clisp.org>
1836         * src/devices/grotty/tty.cpp (output_character_t): New type.
1837         (tty_printer::make_bold, tty_printer::add_char,
1838         tty_printer::put_char): Change argument type to output_character_t.
1839         (crossings): Change element type to output_character_t.
1841 2006-02-11  Bruno Haible  <bruno@clisp.org>
1843         Make the glyph data type abstract.
1845         * src/include/font.h (glyph_t): New class.
1846         (name_to_index, number_to_index): Change return type to glyph_t.
1847         (font::contains, font::get_width, font::get_height, font::get_depth,
1848         font::get_character_type, font::get_kern, font::get_skew,
1849         font::get_italic_correction, font::get_left_italic_correction,
1850         font::get_subscript_correction, font::get_code,
1851         font::get_special_device_encoding, font::add_entry,
1852         font::copy_entry, font::add_kern, font::hash_kern): Change argument
1853         type to glyph_t.
1855         * src/libs/libgroff/font.cpp (font_kern_list): Change members
1856         type and constructor argument types to glyph_t.
1857         (font::contains, font::get_width, font::get_height, font::get_depth,
1858         font::get_character_type, font::get_kern, font::get_skew,
1859         font::get_italic_correction, font::get_left_italic_correction,
1860         font::get_subscript_correction, font::get_code,
1861         font::get_special_device_encoding, font::add_entry,
1862         font::copy_entry, font::add_kern, font::hash_kern): Change argument
1863         type to glyph_t.
1864         (font::load): Use glyph_t variables.
1866         * src/libs/libgroff/nametoindex.cpp (name_to_index,
1867         number_to_index): Change return type to glyph_t.
1869         * src/roff/troff/charinfo.h (charinfo::index): Change type to
1870         glyph_t.
1871         (charinfo::get_index): Change return type to glyph_t.
1873         * src/roff/troff/env.cpp: Include font.h.
1875         * src/roff/troff/node.cpp: Include font.h before charinfo.h.
1877         * src/roff/troff/input.cpp: Include font.h before charinfo.h.
1878         (charinfo::charinfo): Update.
1879         (name_to_index, number_to_index): Change return type to glyph_t.
1881         * src/include/printer.h (printer::set_char_and_width): Change return
1882         type to glyph_t.
1884         * src/libs/libdriver/printer.cpp (printer::set_char_and_width):
1885         Change return type to glyph_t.
1887         * src/devices/grodvi/dvi.cpp (dvi_printer::set_char): Change
1888         argument type to glyph_t.
1890         * src/devices/grohtml/post-html.cpp (page::add_and_encode): Update.
1891         (html_printer::space_glyph): Renamed from space_char_index.
1892         (html_printer::add_to_sbuf, html_printer::sbuf_continuation,
1893         html_printer::overstrike, html_printer::set_char): Change argument
1894         type to glyph_t.
1895         (html_printer::set_char_and_width): Change return type to glyph_t.
1897         * src/devices/grolbp/lbp.cpp (lbp_printer::set_char): Change
1898         argument type to glyph_t.
1900         * src/devices/grolj4/lj4.cpp (lj4_printer::set_char): Change
1901         argument type to glyph_t.
1903         * src/devices/grops/ps.cpp (ps_printer::space_glyph): Renamed from
1904         space_char_index.
1905         (ps_printer::set_subencoding, ps_printer::set_char): Change argument
1906         type to glyph_t.
1908         * src/devices/grotty/tty.cpp (tty_printer::set_char): Change
1909         argument type to glyph_t.
1911 2006-02-11  Bruno Haible  <bruno@clisp.org>
1913         * src/roff/troff/input.cpp (font::name_to_index): Never return a
1914         negative value.
1916         * src/libs/libgroff/font.cpp (font::load): Remove failure tests for
1917         font::name_to_index.
1919 2006-02-10  Werner LEMBERG  <wl@gnu.org>
1921         * doc/groff.texinfo (Assigning Formats): Number registers are always
1922         interpolated.
1923         Apply some rephrasing, contributed by Michael Burt.
1925 2006-02-07  Werner LEMBERG  <wl@gnu.org>
1927         * tmac/fr.tmac <ms>: Set `HY' register.
1929 2006-02-07  Werner LEMBERG  <wl@gnu.org>
1931         Add framework for simple adaptation of the main macro packages (mm,
1932         me, ms, mom) to different locales.  In particular, add support for
1933         French.  For activation, simply use `-mfr' as the last macro
1934         package.  This feature has been contributed by Fabrice Ménard
1935         <menard.fabrice@wanadoo.fr>.
1937         * tmac/fr.tmac, tmac/trans.tmac, tmac/hyphen.fr, tmac/LOCALIZATION:
1938         New files.
1939         * tmac/README: Mention hyphen.fr.
1940         * man/groff_tmac.man: Mention fr.tmac.
1941         * NEWS: Updated.
1943 2006-01-27  Werner LEMBERG  <wl@gnu.org>
1945         * man/groff_font.man: Updated documentation of `entity_name' field.
1946         Avoid future tense.
1948 2006-01-27  Bruno Haible  <bruno@clisp.org>
1950         * font/devhtml/R.proto: Remove the entity names from the font's
1951         special_encoding_encoding column.
1952         * src/devices/grohtml/post-html.cpp (get_html_entity): New function,
1953         handling the entity names here.
1954         (get_html_translation): Use it.  Change return type to `const
1955         char *'.
1956         (page::add_and_encode): Update, removing a useless cast.
1958 2006-01-26  Werner LEMBERG  <wl@gnu.org>
1960         This change is based on a patch by Bruno Haible <bruno@clisp.org>.
1962         * src/include/device.h: Add comments.
1963         * src/include/font.h: Add comments.
1964         * src/include/unicode.h: Likewise.
1965         * src/include/ptable.h, src/libs/libgroff/ptable.cpp: Likewise.
1967 2006-01-26  Keith Marshall  <keith.d.marshall@ntlworld.com>
1969         Suppress `.st' request emission by `grn'.
1971         * src/preproc/grn/main.cpp (USE_ST_REQUEST): New macro.
1972         (conv): Use it.
1974 2006-01-22  Werner LEMBERG  <wl@gnu.org>
1976         * install-sh: New version; taken from texinfo CVS.
1978 2006-01-21  Werner LEMBERG  <wl@gnu.org>
1980         * src/preproc/preconv/preconv.cpp (main): Set program_name.  Bug
1981         reported by Alexander E. Patrakov <patrakov@ums.usu.ru>.
1983 2006-01-19  Bruno Haible  <bruno@clisp.org>
1985         Let `make -k install' install more files.
1987         * Makefile.in (MAKE_K_FLAG): New variable.  Use it everywhere where
1988         $(MAKE) and $(MDEFINES) are used.
1989         (CPROGDIRS): Remove $(XPROGDIRS).  Treat $(XPROGDIRS) like
1990         $(CPROGDIRS) everywhere.
1991         ($(DEVDIRS) $(XDEVDIRS) $(OTHERDEVDIRS) $(TTYDEVDIRS)): Don't depend
1992         on $(XPROGDIRS).
1993         ($(OTHERDIRS)): Likewise.
1996         * src/devices/grohtml/post-html.cpp (get_html_translation): Remove
1997         failure test for font::name_to_index -- it can never fail.
1999 2006-01-19  Werner LEMBERG  <wl@gnu.org>
2001         * src/devices/grops/grops.man: Fix section on creating EPS files.
2002         Don't use future time in manual.
2003         Other minor fixes.
2005 2006-01-15  Gaius Mulley  <gaius@glam.ac.uk>
2007         * tmac/www.tmac: New macro LINKSTYLE which allows users to set
2008         various typographical URL attributes for non-HTML devices.
2010         * tmac/groff_www.man: Document LINKSTYLE.
2012 2006-01-11  Werner LEMBERG  <wl@gnu.org>
2014         * configure.ac: Test for getc_unlocked (needed for localcharset).
2015         * configure, src/include/config.hin: Regenerated.
2017         * src/libs/libgroff/Makefile.sub (EXTRA_CFLAGS): Define
2018         ENABLE_RELOCATABLE.
2020         * src/libs/libgroff/relocatable.h: New dummy header file for
2021         localcharset.c.
2023         * src/libs/libgroff/localcharset.c: Updated to (unchanged) CVS
2024         gnulib version.
2026 2006-01-10  Bruno Haible  <bruno@clisp.org>
2028         Work around unportability of nl_langinfo(CODESET).
2030         * m4/glibc21.m4: New file, from gnulib.
2031         * Makefile.sub (M4MACROS): Add m4/glibc21.m4.
2032         * configure.ac: Also test for stddef.h, and invoke jm_GLIBC21.
2033         * Makefile.in (HOST, GLIBC21): New variables.
2034         (MDEFINES): Pass them to subdirectories.
2035         * src/include/relocate.h (relocatep): Define with C linkage.
2036         * src/include/localcharset.h: New file, from gnulib.
2037         * src/libs/libgroff/localcharset.c: New file, from gnulib with a
2038         modification for relocate().
2039         * src/libs/libgroff/config.charset: New file, from gnulib.
2040         * src/libs/libgroff/ref-add.sin: New file, from gnulib.
2041         * src/libs/libgroff/ref-del.sin: New file, from gnulib.
2042         * src/libs/libgroff/Makefile.sub (EXTRA_CFLAGS): Also define LIBDIR.
2043         (OBJS): Add localcharset.o.
2044         (CSRCS): Add localcharset.c.
2045         (all): Add dependencies to charset.alias, ref-add.sed, ref-del.sed.
2046         (charset.alias): New rule.
2047         (PACKAGE): New variable.
2048         (ref-add.sed, ref-del.sed): New rules.
2049         (MKINSTALLDIRS): New variable.
2050         (install_data): Depend on install_charset_data.
2051         (install_charset_data): New rule for creating or updating
2052         charset.alias.
2053         (uninstall_sub): Depend on uninstall_charset_data.
2054         (uninstall_charset_data): New rule for uninstalling or updating
2055         charset.alias.
2056         * src/preproc/preconv/preconv.cpp: Include localcharset.h instead
2057         of <langinfo.h>.
2058         (main): Initialize default_encoding from locale_charset() instead of
2059         nl_langinfo(CODESET).
2061         * aclocal.m4, configure, src/include/config.hin: Regenerated.
2063 2006-01-10  Werner LEMBERG  <wl@gnu.org>
2065         * src/preproc/preconv/preconv.cpp (conversion_iconv): Use
2066         ICONV_CONST in call to iconv.  Reported by Robert Goulding.
2068 2006-01-07  Werner LEMBERG  <wl@gnu.org>
2070         * font/devps/generate/freeeuro.sfd: Run auto-hinter with recent
2071         fontforge version.
2072         Bump font version to 001.001.
2074         * font/devps/generate/Makefile (freeeuro.afm, freeeuro.pfa):
2075         Call fontforge, not pfaedit.
2077         * font/devps/freeeuro.afm, font/devps/freeeuro.pfa: Regenerated.
2079 2006-01-05  Ruslan Ermilov  <ru@FreeBSD.org>
2081         * tmac/doc-common: Add new FreeBSD and NetBSD versions.
2082         * tmac/groff_mdoc.man: Updated.
2084 2006-01-05  Werner LEMBERG  <wl@gnu.org>
2086         * src/preproc/preconv/preconv.cpp: s/debug/debug_flag/.
2087         (raw_flag): New global variable.
2088         (do_file): Use .lf to set file name (if `raw_flag' isn't set).
2089         Don't pass BOM to `conversion_utf8'.
2090         (usage): Updated.
2091         (main): Handle `-r' command line switch to set `raw_flag'.
2092         (get_BOM): Fix encodings in `BOM_table'.
2094         * src/preproc/preconv/preconv.man: New file.  Not complete yet.
2095         * src/preproc/proconv/Makefile.sub (MAN1): New variable.
2097 2006-01-04  Werner LEMBERG  <wl@gnu.org>
2099         * src/preproc/preconv/preconv.cpp (emacs_to_mime): As suggested by
2100         Bruno, comment out most encodings to support only a small set of
2101         coding tags, thus reducing potential problems with legacy encodings
2102         and character sets in the future.
2103         Add many XEmacs coding tags (now commented out).
2104         Add `cp1047'.
2105         (check_encoding_tag): Renamed to...
2106         (check_coding_tag): This.
2107         (get_BOM): Return encoding as specified by BOM.
2108         Test for UTF32-LE too.
2109         (do_file): Don't check for coding tag if a BOM has been found.
2111 2006-01-03  Bruno Haible  <bruno@clisp.org>
2113         * m4/groff.m4: Renamed from aclocal.m4.
2114         * m4/codeset.m4: New file, from gnulib.
2115         * m4/iconv.m4: New file, from gnulib.
2116         * m4/lib-ld.m4, m4/lib-link.m4, m4/lib-prefix.m4: New files, from
2117         gnulib.
2118         * config.rpath: New file, from gnulib.
2119         * config.guess, config.sub: New files, from gnulib.
2120         * Makefile.sub (M4MACROS): New variable.
2121         (configure): Fix typo.
2122         (aclocal.m4): New rule.
2123         (stamp-h.in): Depend on aclocal.m4.
2124         * configure.ac: Invoke AM_ICONV and AM_LANGINFO_CODESET.
2125         * Makefile.in (LIBICONV): New variable.
2126         (MDEFINES): Pass it to recursive makes.
2127         * src/preproc/preconv/preconv.cpp: Use HAVE_LANGINFO_CODESET and
2128         HAVE_ICONV instead of I18N macro.
2129         * src/preproc/preconv/Makefile.sub (EXTRA_LDFLAGS): New variable.
2131         * aclocal.m4, configure, src/include/config.hin: (Re)generated.
2133 2006-01-03  Werner LEMBERG  <wl@gnu.org>
2135         * doc/Makefile.in (webpage.html): Simplify.
2136         * doc/Makefile.sub (webpage.html): Synchronize with doc/Makefile.in.
2137         * doc/webpage.ms, tmac/groff_www.man, tmac/www.tmac: Minor updates.
2139 2006-01-01  Werner LEMBERG  <wl@gnu.org>
2141         * tmac/doc-common (Os): Add some Darwin versions.
2142         * tmac/groff_mdoc.man: Document them.
2144 2006-01-01  Bruno Haible  <bruno@clisp.org>
2146         * src/preproc/preconv/preconv.cpp (emacs_to_mime): Various
2147         corrections:
2148           . Don't map ascii to latin-1.
2149           . Don't use IBMxxx encodings but cpxxx for portability.
2150           . Map cp932, cp936, cp949, cp950 to itself.
2151         (emacs2mime): Protect calls to strcasecmp.
2152         (conversion_iconv): Add missing call to iconv_close.
2153         (do_file): Emit error message in case of unsupported encoding.
2155 2005-12-31  Werner LEMBERG  <wl@gnu.org>
2157         Integrate preconv into the groff binary.  Changes based on a patch
2158         from Michail Vidiassov.
2160         * src/roff/groff/pipeline.h (MAX_COMMANDS): Increase by 1.
2162         * src/roff/groff/groff.cpp (PRECONV_INDEX): New macro.
2163         (SOELIM_INDEX): Updated.
2164         (help, synopsis): Updated.
2165         (main): Add command line options `-k' and `-K enc' to select
2166         encoding.
2167         Add support for GROFF_ENCODING environment variable.
2169         * src/roff/groff/groff.man: Updated and revised.
2172         Start with autoconf support for preconv.
2174         * configure.ac: Call AC_C_BIGENDIAN.
2175         * configure, src/include/config.hin: Regenerated.
2177 2005-12-30  Werner LEMBERG  <wl@gnu.org>
2179         New preprocessor `preconv' to convert input encodings to something
2180         groff can understand.  Not yet integrated within groff.  Proper
2181         autoconf stuff is missing too.
2183         Tomohiro Kubota has written a first draft of this program, and some
2184         ideas have been reused (while almost no code has been taken
2185         actually).
2187         * src/preproc/preconv/preconv.cpp. src/preproc/preconv/Makefile.sub:
2188         New files.
2190         * MANIFEST, Makefile.in (CCPROGDIRS), test-groff.in
2191         (GROFF_BIN_PATH): Add preconv.
2193 2005-12-12  Werner LEMBERG  <wl@gnu.org>
2195         * aclocal.m4 (GROFF_MAKEINFO): Fix regexps to be POSIX conformant.
2196         In particular, don't use `\+' since it is a GNU sed extension.
2198         * configure: Regenerated.
2200 2005-12-09  Werner LEMBERG  <wl@gnu.org>
2202         * src/libs/libgroff/make-uniuni: New script to generate uniuni.cpp. 
2204         * src/libs/libgroff/uniuni.cpp: Regenerated, using data from Unicode
2205         4.1.0.
2208         * src/utils/afmtodit/make-afmtodit-tables: New script to generate
2209         afmtodit.tables.
2211         * src/utils/afmtodit/afmtodit.tables: New file, representing Unicode
2212         4.1.0 data.
2214         * src/utils/afmtodit/afmtodit.pl (%unicode_decomposed,
2215         %AGL_to_unicode): Removed.  Replace it with a tag.
2217         * src/utils/afmtodit/Makefile.sub (afmtodit): Adjust sed expression
2218         to replace tag with actual file contents.
2220 2005-12-08  Werner LEMBERG  <wl@gnu.org>
2222         The change 2005-06-20 can indeed cause problems, so we follow the
2223         advice by using marks.
2225         * font/devps/prologue.ps (PBEGIN): Use `mark'.
2226         (PEND): Use `cleartomark'.
2228 2005-12-07  Michail Vidiassov  <master@iaas.msu.ru>
2230         * src/utils/afmtodit.pl: Fix kerning output to avoid warnings for
2231         glyphs which have kern values but aren't handled (glyph variants,
2232         for example).
2234 2005-12-02  Werner LEMBERG  <wl@gnu.org>
2236         * src/devices/grops/ps.cpp (ps_printer::get_subfont): Use correct
2237         subfont index.  Reported by Michail Vidiassov <master@iaas.msu.ru>.
2239 2005-11-28  Gaius Mulley  <gaius@glam.ac.uk>
2241         * doc/Makefile.in: Separate rule for webpage.html so that extra
2242         command line options can be passed to grohtml.
2243         * doc/groff.css: Change all margins to 0%.
2244         * doc/webpage.ms: Now use new macros ALN, LNS, and LNE so that left
2245         navigation is exploited.  Also update webpage to contain new
2246         sections on licenses, mailing lists, cvs/ftp access, groff
2247         dependencies, and bug reports.
2248         * tmac/groff_www.man: Document the new macros ALN, LNS, and LNE.
2249         * tmac/www.tmac: Implement the new macros ALN, LNS, and LNE.
2250         
2251 2005-11-25  Gaius Mulley  <gaius@glam.ac.uk>
2253         * src/devices/grohtml/post-html.cpp
2254         (html_printer::do_file_components): Add fputs calls to emit the
2255         head contents and shut down the head tag whenever a new file
2256         component is generated.
2258 2005-11-22  Gaius Mulley  <gaius@glam.ac.uk>
2260         * src/devices/grohtml/post-html.cpp (html_printer::flush_page): Add
2261         call to flush_text to flush any outstanding html tags on the
2262         paragraph stack.
2264 2005-11-18  Werner LEMBERG  <wl@gnu.org>
2266         * aclocal.m4 (GROFF_MAKEINFO): Use `groff.info' in tests.
2267         Announce makeinfo version.
2268         * configure: Regenerated.
2270 2005-11-18  Mike Frysinger <vapier@gentoo.org>
2272         * Makefile.in: Declare proper dependencies between make targets.
2274         * doc/Makefile.in: Rename groff info page to `groff.info'.
2275         * doc/Makefile.sub: Likewise.
2276         * doc/groff.texinfo: Likewise.
2278 2005-11-17  Peter O'Gorman  <mlists@thewrittenword.com>
2280         * src/utils/pfbtops/pfbtops.c, src/utils/xtotroff/xtotroff.c: Move
2281         definition of __GETOPT_PREFIX to the beginning of file to ensure
2282         that it is defined even on platforms where getopt.h is already
2283         included by other header files.
2285 2005-11-10  Gaius Mulley  <gaius@glam.ac.uk>
2287         * src/devices/grohtml/post-html.cpp (html_printer::do_heading):
2288         Reset font to NULL to ensure that a font block is recreated during
2289         the next paragraph.
2291 2005-11-04  Werner LEMBERG  <wl@gnu.org>
2293         * aclocal.m4 (GROFF_MAKEINFO): Fix sed expression.
2294         * configure: Regenerated.
2296 2005-10-27  Werner LEMBERG  <wl@gnu.org>
2298         * aclocal.m4 (GROFF_MAKEINFO): New function for checking whether
2299         makeinfo 4.8 or newer is available.
2300         * configure.ac: Call GROFF_MAKEINFO.
2301         * configure: Regenerated.
2303         * Makefile.in (MAKEINFO): Use autoconf variable.
2304         (MDEFINES): Add MAKEINFO.
2306         * doc/Makefile.in (MAKEINFO): Use autoconf variable.
2307         * doc/Makefile.sub (MAKEINFO): Remove.
2309 2005-10-26  Werner LEMBERG  <wl@gnu.org>
2311         * REVISION: Set to 3.
2313 2005-10-17  Werner LEMBERG  <wl@gnu.org>
2315         Mention $MANPAGER variable used with some `man' systems.
2317         * doc/webpage.ms, src/devices/grotty/grotty.man, NEWS: Updated.
2319 2005-09-13  Werner LEMBERG  <wl@gnu.org>
2321         * tmac/hyphenex.us: New version (`ushyphex.tex' from ftp.dante.de).
2323 2005-09-04  Werner LEMBERG  <wl@gnu.org>
2325 Version 1.19.2 released
2326 =======================
2328         * tmac/groff_ms.man, doc/groff.texinfo: Synchronize.
2330         * doc/webpage.ms: Updated.
2332         * install-sh, mkinstalldirs: New versions; taken from texinfo CVS.
2334 2005-09-04  Jörgen Grahn <jgrahn@algonet.se>
2336         * tmac/groff_ms.man: Document `PO' better.
2338 2005-09-03  Werner LEMBERG  <wl@gnu.org>
2340         * NEWS: Document grotty changes.
2342 2005-09-01  Keith Marshall  <keith.d.marshall@ntlworld.com>
2344         Backward compatibility support for `man' program.
2346         * tmac/an-old.tmac (LL): Initialize it to respect prior LL register
2347         assignment, prior `.ll' request and then package defaults, in this
2348         specified order of decreasing priority.
2350         * tmac/groff_man.man, doc/groff.texinfo (Man options): Document
2351         altered `LL' register initialization priorities.
2353 2005-08-29  Gary W. Swearingen  <garys@opusnet.com>
2355         * tmac/groff_mdoc.man: Go into more details how the `AUTHORS'
2356         section should look like.
2358 2005-08-29  Werner LEMBERG  <wl@gnu.org>
2360         * tmac/groff_mdoc.man: The month's name in a call to .Dd shouldn't
2361         be abbreviated.
2363 2005-08-27  Bernd Warken
2365         * tmac/groff_man.man: Add man(7) too SEE ALSO and more minor
2366         fixes.
2368 2005-08-11  Bernd Warken
2370         * tmac/www.tmac (URL, MTO): Handle empty \\$1 better.
2372 2005-08-09  Bernd Warken
2374         * tmac/www.tmac (URL, MTO): Use bold series if color support is
2375         deactivated.
2377 2005-08-02  Bernd Warken
2379         * doc/Makefile.sub (uninstall_sub): Use --remove, not --delete
2380         as argument to $(INSTALL_INFO).  The latter isn't portable.
2381         Remove $(HTMLEXAMPLEFILES) too.
2383         * Makefile.in (uninstall_dirs): Remove $(datadir)/doc/groff and
2384         $(datadir)/doc too.
2385         Suppress warning messages and return always true.
2387         * tmac/Makefile.sub (uninstall_sub): Remove www.tmac too.
2389 2005-07-02  Bernd Warken
2391         * src/devices/xditview/gxditview.man: Change many `.I' to `.B'.
2392         * man/groff_out.man: More markup and minor improvements.
2393         * src/roff/groff/groff.man: Minor improvements.
2395 2005-06-28  Werner LEMBERG  <wl@gnu.org>
2397         * ChangeLog: Split off older entries into...
2398         * ChangeLog.115 ChangeLog.116, ChangeLog.117, ChangeLog.118: New
2399         files.
2401 2005-06-26  Bernd Warken
2403         * src/devices/xditview/gxditview.man: More minor fixes.
2405 2005-06-24  Werner LEMBERG  <wl@gnu.org>
2407         * src/preproc/pic/troff.cpp (troff_output::set_fill,
2408         troff_output::set_color, troff_output::reset_color): Use .bcolor and
2409         .fcolor instead of \m and \M, respectively.
2411 2005-06-23  Bernd Warken
2413         * src/devices/xditview/gxditview.man: More minor fixes.
2414         * README: Formatting issues.
2415         Mention some problems with Debian.
2417 2005-06-23  Bernd Warken
2419         * src/devices/xditview/gxditview.man: Revised and improved.
2421 2005-06-22  Werner LEMBERG  <wl@gnu.org>
2423         Another round in fixing getopt problems.  Hopefully the last one!
2424         This time we use the getopt stuff from gnulib and define a prefix
2425         unconditionally so that there are no collisions with any other
2426         getopt implementations.  This is a slight waste of space in case
2427         we already use a GNU getopt implementation, but on
2428         the other hand it really simplifies life.
2430         * src/include/getopt.h: Use gnulib version.
2432         * src/include/getopt_int.h: Use gnulib version.
2434         * src/include/groff-getopt.h: Removed.  Obsolete now.
2436         * src/include/lib.h: Regarding getopt, don't handle any platform
2437         specially; just include getopt.h.
2438         (__GETOPT_PREFIX): Define (before getopt.h).
2440         * src/include/Makefile.sub (HDRS): Updated.
2442         * src/libs/libgroff/getopt1.c, src/libs/libgroff/getopt.c: Use
2443         gnulib version.
2445         * src/libs/libgroff/Makefile.sub (EXTRA_CFLAGS): Set
2446         __GETOPT_PREFIX.
2448         * src/utils/pfbtops/pfbtops.c, src/utils/xtotroff/xtotroff.c
2449         (__GETOPT_PREFIX): Define (before getopt.h).
2451 2005-06-21  Werner LEMBERG  <wl@gnu.org>
2453         * src/include/lib.h: Provide a fix for Mac OS X to not include
2454         groff-getopt.h.
2456 2005-06-20  Denis M. Wilson  <dmw@oxytropis.plus.com>
2458         * font/devps/prologue.ps (EP): Dont' use `bind'.  Reason: Using
2459         `bind' to define a procedure which contains `showpage' means that an
2460         invocation of `showpage' may execute wrongly (the exact effect
2461         depending on the interpreter).  Not usually a problem except under
2462         transformations, such as combining pages.
2463         (PEND): Don't call `clear'.  Reason: Using `clear' in the definition
2464         of /PEND means that stack underflow will occur if the stack is
2465         deliberately non-empty before document inclusion.  If included
2466         files are found to be generally badly behaved, we could replace the
2467         `clear' with `mark' in /PBEGIN and `cleartomark' in /PEND (I've
2468         never found this necessary).
2470 2005-06-20  Jörgen Grahn  <jgrahn@algonet.se>
2472         * src/preproc/soelim/soelim.cpp (do_file): Append trailing zero
2473         earlier to get correct error message.
2475 2005-06-16  Bernd Warken
2476         * src/roff/nroff/nroff.sh: Add support for iso-8859-15.
2478 2005-06-15  Werner LEMBERG  <wl@gnu.org>
2480         Another try to update getopt files.  This time we add a dummy
2481         gettext.h file to satisfy the dependency.
2483         * src/include/getopt.h, src/libs/libgroff/getopt.c,
2484         src/libs/libgroff/getopt1.c: Updated from GNU libc CVS.
2486         * src/include/getopt_int.h: New file (from GNU libc CVS).
2488         * src/include/gettext.h: Dummy file which just defines a gettext()
2489         macro.
2491         * src/include/groff-getopt.h: Updated.
2493         * src/include/Makefile.sub (HDRS): Add getopt_int.h and gettext.h.
2496         * src/libs/libdriver/input.cpp (IntArray): Remove superfluous
2497         `const' keywords in return value.
2499         * src/preproc/html/pushback.cpp (pushBackBuffer::~pushBackBuffer):
2500         Remove redundant variable `old'.
2501         (pushBackBuffer::skipToNewline): Remove redundant variable `ch'.
2503         * src/preproc/tbl/main.cpp (process_table): Remove redundant
2504         variable `c'.
2507         Fix more friend name injection problems since modern C++ compilers
2508         fail otherwise.  We simply provide (global) declarations for all
2509         functions declared as friends.  This is not really necessary but
2510         doesn't harm.
2512         * src/preproc/eqn/lex.cpp: Provide declarations for get_char,
2513         peek_char, and get_location.
2515         * src/preproc/refer/ref.h: Provide declarations for
2516         compare_reference, same_reference, same_year, same_date,
2517         same_author_last_name, and same_author_name.
2519         * src/roff/troff/div.h: Provide declarations for do_divert and
2520         page_offset.
2522         * src/roff/troff/env.h: Provide declarations for title_length,
2523         space_size, fill, no_fill, adjust, no_adjust, center, right_justify,
2524         vertical_spacing, post_vertical_spacing, line_spacing, line_length,
2525         indent, temporary_indent, do_underline, do_input_trap, set_tabs,
2526         margin_character, no_number, number_lines, leader_character,
2527         tab_character, hyphenate_request, no_hyphenate,
2528         hyphen_line_max_request, hyphenation_space_request,
2529         hyphenation_margin_request, line_width, tabs_save, tabs_restore,
2530         line_tabs_request, widow_control_request, and do_divert.
2532         * src/roff/troff/input.cpp: Provide declaration for chop_macro.
2534         * src/roff/troff/node.cpp: Provide declarations for class
2535         tfont_spec.
2536         Provide declaration for make_tfont.
2538 2005-05-29  Werner LEMBERG  <wl@gnu.org>
2540         * doc/fdl.texi: Updated to version 1.2.  Reported by Bernd Warken.
2542 2005-05-28  Werner LEMBERG  <wl@gnu.org>
2544         * src/devices/grolbp/lbp.cpp, src/devices/grolbp/lbp.h: Remove
2545         redundant semicolons.
2547         * src/preproc/eqn/Makefile.sub, src/preproc/html/Makefile.sub,
2548         src/preproc/soelim/Makefile.sub, src/preproc/tbl/Makefile.sub:
2549         Define `MLIB'.  Some compilers need this for linking with libgroff.
2551 2005-05-27  Werner LEMBERG  <wl@gnu.org>
2553         * MANIFEST, README, doc/webpage.ms: Updated.
2555 2005-05-26  Werner LEMBERG  <wl@gnu.org>
2557         * All affected files: Update postal address of FSF.
2559 2005-05-25  Keith Marshall  <keith.d.marshall@ntlworld.com>
2560             Bernd Warken
2562         * README: More fixes.
2564         * README.CVS: Removed.  Its contents is now part of the README file.
2566 2005-05-21  Werner LEMBERG  <wl@gnu.org>
2568         * README: Updated.  Based on a patch from Bernd Warken.
2570 2005-05-16  Keith Marshall  <keith.d.marshall@ntlworld.com>
2572         Miscellaneous script portability enhancements.
2574         * aclocal.m4: (GROFF_CSH_HACK): Add space in shebang prototype for
2575         generated conftest.sh script, conforming to portability
2576         recommendation in autoconf docs.
2577         * configure: Likewise, for code generated by GROFF_CSH_HACK.
2578         * contrib/eqn2graph/eqn2graph.sh: Add space in shebang, conforming
2579         to portability recommendation in autoconf docs.
2580         * contrib/grap2graph/grap2graph.sh: Likewise.
2581         * contrib/pic2graph/pic2graph.sh: Likewise.
2582         * font/devps/generate/afmname: Likewise.
2583         * src/devices/xditview/ad2c: Likewise.
2584         * src/preproc/eqn/neqn.sh: Likewise.
2585         * src/roff/grog/grog.pl: Likewise.
2586         * src/roff/grog/grog.sh: Likewise.
2587         * src/roff/nroff/nroff.sh: Likewise.
2588         * PROBLEMS: Likewise, in embedded script examples.
2590 2005-05-16  Keith Marshall  <keith.d.marshall@ntlworld.com>
2592         Improve portability of `pdfroff' shell script.
2594         * arch/misc/shdeps.sh: Add space in shebang, conforming to
2595         portability guidelines in `autoconf' docs.
2596         (PATH_SEARCH_SETUP): New substitution; emits PATH_SEPARATOR
2597         initialization code.  Used by contrib/pdfmark/pdfroff.sh's
2598         `searchpath' function.
2600 2005-05-14  Werner LEMBERG  <wl@gnu.org>
2602         * contrib/pic2graph/pic2graph.sh, contrib/graph2graph.sh,
2603         contrib/eqn2graph.sh: Add option `-trim' to `convert' which is
2604         needed for newer ImageMagick versions.
2606 2005-05-07  Werner LEMBERG  <wl@gnu.org>
2608         * src/preproc/refer/refer.man: Many small typographic fixes.
2610 2005-05-06  Jeff Conrad  <jeff_conrad@msn.com>
2612         * src/devices/grohtml/post-html.cpp (assert_state::~assert_state):
2613         Use `char *' cast for a_delete.
2615 2005-05-03  Werner LEMBERG  <wl@gnu.org>
2617         * src/libs/libgroff/maxpathname.cpp: Include stdlib.h.
2618         src/libs/libgroff/relocate.cpp: Use path_name_max everywhere.
2620 2005-05-03  Jeff Conrad  <jeff_conrad@msn.com>
2622         * src/devices/grohtml/post-html.cpp: Use casts to `char *' if using
2623         `a_delete' for `const char *'.
2625 2005-05-03  Werner LEMBERG  <wl@gnu.org>
2627         * src/devices/grohtml/post-html.cpp,
2628         src/devices/grohtml/html-table.cpp,
2629         src/devices/grohtml/html-text.cpp, src/devices/grohtml/output.cpp:
2630         Replace malloc/free with new/delete/a_delete.
2632         * src/devices/grolbp/lbp.h: Remove superfluous semicolons which
2633         are prohibited with ANSI C++.
2634         (lbpprintf, vdmprintf): Remove useless `inline' keyword (since the
2635         function has a variable number of arguments).
2637         * src/preproc/grn/main.cpp (doinput): Change return type to `int'.
2638         Simplify function and update all callers.
2640 2005-05-02  Werner LEMBERG  <wl@gnu.org>
2642         Undo getopt changes from 2005-04-30.  We don't want a dependency
2643         on gettext.
2645         * src/include/getopt_int.h: Removed.
2647         * src/include/getopt.h, src/include/groff-getopt.h,
2648         src/include/Makefile.sub, src/libs/libgroff/getopt.c,
2649         src/libs/libgroff/getopt1.c: Revert to previous version.
2652         * src/include/nonposix.h (access) [_MSC_VER]: New macro.
2654         * src/include/posix.h (F_OK): Define conditionally.
2656         * src/devices/grotty/tty.cpp (tty_printer::make_underline): Use
2657         different variable name in second `for' loop to avoid MSVC compiler
2658         problem.
2660 2005-04-30  Werner LEMBERG  <wl@gnu.org>
2662         AC_TYPE_SIGNAL from current autoconf can fail if CC=g++.
2664         * aclocal.m4 (GROFF_TYPE_SIGNAL): New function.
2665         * configure.ac: Use GROFF_TYPE_SIGNAL, not AC_TYPE_SIGNAL.
2666         * configure, src/include/config.hin: Regenerated.
2668         * PROBLEMS: Updated.
2671         Update getopt files.
2673         * src/include/getopt.h, src/libs/libgroff/getopt.c,
2674         src/libs/libgroff/getopt1.c: Updated from GNU libc CVS.
2676         * src/include/getopt_int.h: New file (from GNU libc CVS).
2678         * src/include/groff-getopt.h: Updated.
2680         * src/include/Makefile.sub (HDRS): Add getopt_int.h.
2683         * font/devutf8/NOTES: Updated.
2685 2005-04-28  Werner LEMBERG  <wl@gnu.org>
2687         Bug fix for Win32 relocatable code.  Based on a patch from Keith
2688         Marshall.
2690         * src/libs/libgroff/maxpathname.cpp (PATH_MAX): Test for `_MAX_PATH'
2691         also.
2693         * src/libs/libgroff/relocate.c (DEBUG): Define it conditionally.
2694         (searchpath) [_WIN32]: Use `_fullpath', not `realpath'.
2696 2005-04-28  Keith Marshall  <keith.d.marshall@ntlworld.com>
2698         Correct `gnu.eps' handling for build from distribution tarball, with
2699         separate source and build directories.
2701         * doc/Makefile.sub: (examples.stamp): New target; forces copy of
2702         grnexmpl.g, groff.css and gnu.eps from source to build directory;
2703         generate gnu.eps from gnu.xpm if required; touch examples.stamp.
2704         (prepare_examples): Make it depend on examples.stamp.
2705         (CLEANADD): Add examples.stamp.
2707 2005-04-27  Werner LEMBERG  <wl@gnu.org>
2709         Implement the rule
2711           position: `(' position `)'
2713         in pic.
2715         * src/preproc/pic/pic.y (position, position_not_place): Handle
2716         additional parentheses.
2718         * doc/pic.ms: Updated.
2720 2005-04-23  Larry Jones  <lawrence.jones@ugs.com>
2722         * src/utils/xtotroff/xtotroff.c (MapFont): Fix variable declaration.
2724 2005-04-18  Werner LEMBERG  <wl@gnu.org>
2726         * src/roff/groff/pipeline.c: Don't include ctype.h.
2728 2005-04-13  Werner LEMBERG  <wl@gnu.org>
2730         * src/roff/nroff/nroff.man: Document option `-M'.
2732 2005-04-13  Bruce Lilly  <blilly@erols.com>
2734         * src/roff/nroff/nroff.sh: Make the script accept option `-M'.
2736 2005-04-01  Kees Zeelenberg  <kzlg@users.sourceforge.net>
2737             Werner LEMBERG  <wl@gnu.org>
2739         Add binary relocation support for Windows platforms.
2741         * src/include/Makefile.sub (defs.h): Add `INSTALLPATH'.
2743         * src/include/relocate.h, src/libs/libgroff/relocate.cpp: New files.
2745         * src/libs/libgroff/searchpath.cpp: Handle `relocate'.
2746         (search_path::search_path, search_path::open_file_cautious): Use
2747         `relocate'.
2749         * src/libs/libgroff/Makefile.sub (OBJS, CCSRCS),
2750         src/include/Makefile.sub (HDRS): Updated.
2752 2005-04-01  Werner LEMBERG  <wl@gnu.org>
2754         * src/devices/grohtml/post-html.cpp: Don't use strdup/free but
2755         strsave/a_delete.
2757         * src/libs/libgroff/font.cpp: Replace strdup with strsave.
2759         * src/libs/libgroff/maxfilename.cpp: Don't include limits.h since
2760         lib.h already does it.
2762         * src/libs/libgroff/maxpathname.cpp: New file, defining
2763         path_name_max.
2765         * src/include/lib.h: Add prototype for path_name_max.
2767         * src/libs/libgroff/Makefile.sub (OBJS, CCSRCS): Updated.
2769         * src/include/nonposix.h (PATH_EXT): New macro.
2771 2005-03-28  Werner LEMBERG  <wl@gnu.org>
2773         Add support for double- and zero-width characters in grotty.
2775         * src/devices/grotty/tty.cpp (glyph): Add width.
2776         (tty_printer::make_underline, tty_printer::make_bold,
2777         tty_printer::add_character): Add parameter to pass character width.
2778         Update all callers.
2779         (tty_printer::end_page): Increase hpos by actual character width.
2781         * font/devutf8/R.proto: Specify zero width for non-spacing
2782         characters.
2784         * tmac/unicode.tmac: Remove definitions for non-spacing entities.
2786         * Makefile.comm (extraclean): Remove more junk files.
2788 2005-03-25  Werner LEMBERG  <wl@gnu.org>
2790         * configure.ac: Undo change from 2005-03-24.
2791         * configure: Regenerated.
2793 2005-03-24  Werner LEMBERG  <wl@gnu.org>
2795         * Makefile.in (NOMAKEDIRS): Add contrib/gdiffmk/tests.
2796         (dist): Search Makefile while descending into $(EXTRADIRS).
2798         * doc/Makefile.in (.PHONY): Add.
2799         (clean): Don't remove *.png and *.eps.
2800         Don't handle *.gif.
2801         (realclean): Remove *.png and *.eps.
2802         (extraclean): Depend on distclean.
2804         * configure.ac: Add copyright.
2805         Handle contrib/pdfmark/Makefile.
2807         * configure: Regenerated.
2809 2005-03-18  Larry Kollar  <kollar@alltel.net>
2811         Add numbered and definition lists to www.tmac.
2813         * tmac/www.tmac (www-ul-level1, www-ul-level2, www-ul-level3,
2814         www-ol-level1, www-ol-level2, www-ol-level3, www-ol-tmp): New
2815         auxiliary string registers.
2816         (www-ul-level, www-ol-level, www-dl-level, www-ol-ctr1, www-ol-ctr2,
2817         www-ol-ctr3, www-dl-shift): New auxiliary number registers.
2818         (www-level): Removed.
2819         (www-level1, www-level2, www-level3): Initialize to empty.
2820         (www-level0, www-level4, www-level5, www-level6, www-level7,
2821         www-level8, www-level9): New string registers.
2822         (www-push-li, www-pop-li): New macros.
2823         (www-push-level, www-pop-level): Renamed to...
2824         (www-push-ul-level, www-pop-ul-level): This.
2825         Updated.
2826         (www-push-ol-level, www-pop-ol-level): New macros.
2827         (ULS, ULE): Updated.
2828         (OLS, OLE, DLS, DLE): New user macros.
2829         (LI): Removed.  It is aliased to one of...
2830         (www-li-ul, www-li-ol, www-li-dl): New macros.
2832         * tmac/groff_www.man: Document new macros.
2834         * NEWS: Updated.
2836 2005-03-18  Werner LEMBERG  <wl@gnu.org>
2838         * tmac/doc-common (doc-operating-system-NetBSD-2.0.1,
2839         doc-operating-system-NetBSD-2.0.2): New strings.
2841         * tmac/groff_mdoc.man: Updated.
2843 2005-03-17  Werner LEMBERG  <wl@gnu.org>
2845         * doc/Makefile.sub (CLEANADD): Add `groff.html'.
2847 2005-03-17  Werner LEMBERG  <wl@gnu.org>
2849         * src/libs/libgroff/hypot.c: Renamed to...
2850         * src/libs/libgroff/hypot.cpp: This.  Updated to C++.
2852         * src/libs/libgroff/Makefile.sub (CCSRCS, CSRCS): Updated.
2854         * src/include/lib.h: Updated.
2856 2005-03-16  Werner LEMBERG  <wl@gnu.org>
2858         Add workaround for broken hypot() on Interix.
2860         * src/libs/libgroff/hypot.c: New wrapper file for `hypot'.
2862         * src/libs/libgroff/Makefile.sub (OBJS): Add `hypot.o'.
2863         (CSRCS): Add `hypot.c'.
2865         * src/include/lib.h: Declare `groff_hypot'.
2867         * src/preproc/grn/hgraph.cpp: Don't declare `hypot'.
2868         Use `groff_hypot'.
2870         * src/preproc/pic/pic.h: Don't declare `hypot'.
2872         * src/preproc/pic/object.cpp (hypot): Use `groff_hypot'.
2874 2005-03-15  Gaius Mulley  <gaius@glam.ac.uk>
2876         * src/devices/grohtml/post-html.cpp
2877         (html_printer::lookahead_for_tables): End .ce properly to avoid a
2878         segfault.
2880 2005-03-15  Werner LEMBERG  <wl@gnu.org>
2882         makeinfo 4.8 doesn't produce good HTML output from groff.texinfo.
2884         * doc/fixinfo.sh: New script to postprocess makeinfo's HTML output.
2886         * doc/Makefile.in (.texinfo.html): Call fixinfo.sh.
2888 2005-03-14  Werner LEMBERG  <wl@gnu.org>
2890         Add Cyrillic support to devutf8 and devhtml.
2892         * font/devutf8/R.proto, font/devhtml/R.proto: Add Cyrillic blocks.
2894         * tmac/unicode.tmac: New file.
2896         * tmac/tty.tmac: Include unicode.tmac if device is utf8.
2898         * tmac/Makefile.sub (NORMALFILES): Add unicode.tmac.
2900         * NEWS: Updated.
2902 2005-03-02  Keith Marshall  <keith.d.marshall@ntlworld.com>
2904         * src/libs/libdriver/printer.cpp (check_for_output_error): New
2905         function.  It has been introduced to catch peculiar error contexts
2906         on MS-Windows platforms.
2908 2005-02-28  Werner LEMBERG  <wl@gnu.org>
2910         * src/roff/troff/input.cpp (string_iterator::fill): Protect against
2911         null pointer.
2913         * tmac/papersize.tmac: Convert `paper' string contents to lowercase.
2915         * configure: Regenerated.
2917         * NEWS: Updated.
2919 2005-02-28  Keith Marshall  <keith.d.marshall@ntlworld.com>
2921         Integrate `pdfmark' into normal groff build system;
2922         install macro `pdfmark' packages, build and install `pdfroff',
2923         and PDF format documentation.
2925         * Makefile.comm: Add PDFDOCDIR.
2927         * Makefile.in: (MDEFINES) ALT_AWK_PROGS, ALT_GHOSTSCRIPT_PROGS,
2928         pdfdocdir, make_pdfdoc, make_install_pdfdoc: New variables.
2929         (unstall_dirs): Add pdfdocdir.
2931         * aclocal.m4: (GROFF_GHOSTSCRIPT_PREFS): New function; support
2932         `--with-alt-gs' option, set ALT_GHOSTSCRIPT_PROGS.
2933         (GROFF_GHOSTSCRIPT_PATH): Support `--with-gs' option, force use of
2934         GROFF_GHOSTSCRIPT_PREFS, set GHOSTSCRIPT.
2935         (GROFF_HTML_PROGRAMS): Force use of GROFF_GHOSTSCRIPT_PATH; tidy up.
2936         (GROFF_AWK_PREFS): New function; support `--with-alt-awk' option,
2937         set ALT_AWK_PROGS.
2938         (GROFF_AWK_PATH): New function; support `--with-awk' option, force
2939         use of GROFF_AWK_PREFS.
2940         (GROFF_PDFDOC_PROGRAMS): New function; force use of GROFF_AWK_PATH
2941         and GROFF_GHOSTSCRIPT_PATH, set make_pdfdoc and make_install_pdfdoc.
2943         * configure.ac: Add AC_PREREQ(2.59), GROFF_PDFDOC_PROGRAMS.
2944         Remove GROFF_GHOSTSCRIPT_PATH, (forced by GROFF_PDFDOC_PROGRAMS, and
2945         also by modified GROFF_HTML_PROGRAMS).
2947 2005-02-27  Gaius Mulley  <gaius@glam.ac.uk>
2949         * src/devices/grohtml/html-text.cpp (html_text::do_pre): Preserve
2950         paragraph spacing.
2951         (html_text::done_para): Unset `start_space'.
2952         (html_text::remove_para_align): Call `retrieve_para_space' for the
2953         spacing.
2955         * src/devices/grohtml/post-html.cpp (html_printer::emit_raw): Unset
2956         `seen_space'.
2957         (html_printer::do_check_center): Emit vertical space if necessary.
2959         * src/roff/troff/env.cpp (environment_switch): Preserve
2960         `seen_space', `seen_eol', and `suppress_next_eol' while switching
2961         environments.
2963         * src/roff/troff/node.cpp (suppress_node::suppress_node): Set
2964         `is_special'.
2966 2005-02-20  Werner LEMBERG  <wl@gnu.org>
2968         * src/preproc/eqn/eqn.man, NEWS: Document various extensions of
2969         eqn.
2971 2005-02-17  Werner LEMBERG  <wl@gnu.org>
2973         * doc/pic.ms, man/groff.man: Fix typos.
2975         * doc/groff.texinfo: Fix typos.
2976         (\LEmacro): Get proper mathematical spacing.
2978 2005-02-16  Werner LEMBERG  <wl@gnu.org>
2980         * aclocal.m4 (GROFF_APPRESDIR_CHECK): Improve warning message.
2981         * configure: Regenerated with autoconf 2.59b.
2983 2005-02-16  Gaius Mulley  <gaius@glam.ac.uk>
2985         * src/devices/grohtml/post-html.cpp (html_printer::is_line_start,
2986         html_printer::start_font): Fix handling of preformatted text.
2988 2005-02-15  Gaius Mulley  <gaius@glam.ac.uk>
2990         These patches modify the indentation implementation to use `<p
2991         style=margin-left: n%>'.  Many thanks to Peter and Larry for
2992         suggesting this solution.  Grohtml only uses tables for `.IP' and
2993         related tags when the first operand has a short width.
2995         Similarly, they modify all vertical space code.  By default, grohtml
2996         sets up a style sheet which uses no vertical space between `table',
2997         `pre', and `p' tags.  It forces spaces when it needs them using
2998         `style="margin-top: 1em"'.
3000         * src/devices/grohtml/html-table.cpp: Include `html-text.h'.
3001         (html_table::emit_table_header, html_table::emit_new_row):
3002         Rewritten.
3003         (html_table::set_space): New function.
3004         (html_indent::html_indent): Don't set `is_used'.
3005         (html_indent::begin): Rewritten.
3006         (html_indent::end): Remove code in function.
3008         * src/devices/grohtml/html-table.h: Updated.
3009         (html_table): Make `out' public.
3011         * src/devices/grohtml/html-text.cpp (html_text::html_text):
3012         Initialize `start_space' with FALSE.
3013         (html_text::end_tag) <P_TAG, PRE_TAG>: Updated.
3014         (html_text::issue_tag): Add argument to handle space style.
3015         (html_text::start_tag) <P_TAG, PRE_TAG>: Updated.
3016         (html_text::flush_text): Don't set `start_space'.
3017         (html_text::push_para): Don't set `p->really_issued'.
3018         (html_text::do_emittext): Updated.
3019         (html_text::do_para): Add paremeter to handle space.
3020         Update all callers.
3021         (html_text::retrieve_para_space): New function.
3023         * src/devices/grohtml/html-text.h (STYLE_VERTICAL_SPACE): New macro.
3024         (tag_definition): Remove `really_issued'.
3025         (html_text): Updated.
3027         * src/devices/grohtml/post-html.cpp (html_printer): Add variables
3028         `current_column' and `row_space'.
3029         Update constructor.
3030         (html_printer::emit_raw, html_printer::write_header,
3031         html_printer::do_indent, html_printer::do_check_center,
3032         html_printer::do_tab_ts): Handle vertical space.
3033         (html_printer:do_tab_te, html_printer::do_end_para): Call
3034         `remove_para_space'.
3035         (html_printer::do_col): Rewritten.
3036         (html_printer::flush_globs): Remove debugging code.
3037         (html_printer::is_line_start): New function.
3038         (html_printer::start_font): Use `is_line_start'.
3039         (html_printer::writeHeadMetaStyle): New function.
3040         (html_printer::do_file_components, html_printer::~html_printer):
3041         Call `writeHeadMetaStyle'.
3043         * tmac/www.tmac (www-handle-percent): New macro.
3044         (MPIMG): Handle percent values for width and height parameters.
3045         (DC): Updated.
3047         * tmac/groff_www.man: Updated.
3049 2005-02-14  Werner LEMBERG  <wl@gnu.org>
3051         * src/utils/afmtodit/afmtodit.pl: Remove an incorrect `my' from
3052         $psname and $italic_angle.
3053         Immediately restart file input loops if `split' returns an empty
3054         array.
3056 2005-02-13  Michail Vidiassov  <master@iaas.msu.ru>
3057             Werner LEMBERG  <wl@gnu.org>
3059         Update afmtodit to better support Unicode (Michail).
3060         Update afmtodit to use Perl 5 syntax (Werner).
3062         * src/utils/afmtodit/afmtodit.pl: Don't use `getopts.pl' but
3063         `Getopts::Std'.
3064         Decorate variables with `my' where necessary.
3065         Use `defined' where necessary to avoid warnings.
3066         Don't use `do' for subroutine calls.
3067         Other minor syntax updates.
3068         Check for both `uXXXX[X[X]]' and `uniXXXX'.
3069         Handle glyph variants properly.
3070         (%unicode_decomposed, %AGL_to_unicode): Don't use `u' prefix in
3071         strings.
3073         * src/utils/afmtodit/afmtodit.man: Updated.
3075 2005-02-13  Werner LEMBERG  <wl@gnu.org>
3077         Make groff.texinfo work with texinfo 4.8.
3079         * doc/groff.texinfo (@Var): Use @r and @slanted.
3080         (@defdummy, @Def*): Use @c to avoid empty lines.
3081         (\angles): Replaced with...
3082         (\Langlemacro, \Ranglemacro): New TeX macros.
3083         (@Langlemacro, @Ranglemacro): New variables defined with @set.
3084         (@angles): Use @Langlemacro and @Ranglemacro.
3085         (\LE): Replaced with...
3086         (\LEmacro): New TeX macro.
3087         (@LEmacro): New variable defined with @set.
3088         (@LE): Use @LEmacro.
3089         (@Lparenmacro, @Rparenmacro, @Lbrackmacro, @Rbrackmacro): New
3090         variables defined with @set.
3091         (@lparen, @rparen, @lbrack, @rbrack): Replaced with...
3092         (@Lparen, @Rparen, @Lbrack, @Rbrack): New macros.
3093         Update all callers.
3095         Other minor updates.
3097         * doc/texinfo.tex: Update to texinfo version 4.8.
3099         * README.CVS: Updated.
3101 2005-02-09  Alejandro López-Valencia <palopez@etb.net.co> (tiny change)
3103         * doc/groff.texinfo (ms Document Control Registers): Document `HY'
3104         and `FAM' registers.
3106 2005-02-05  Werner LEMBERG  <wl@gnu.org>
3108         * tmac/groff_mdoc.man, tmac/doc-common, tmac/doc-ditroff,
3109         tmac/doc-nroff, tmac/doc-old.tmac, tmac/doc-syms, tmac/doc.tmac:
3110         Update BSD license.
3112 2005-02-01  Werner LEMBERG  <wl@gnu.org>
3114         * src/roff/groff/groff.man: Add information about paper size.
3116 2005-01-25  Werner LEMBERG  <wl@gnu.org>
3118         * src/roff/nroff/nroff.sh: Handle `*.ISO8859-1' in locale.  From
3119         NetBSD bin/29114.
3121 2005-01-22  Ruslan Ermilov  <ru@FreeBSD.org>
3123         * tmac/doc.tmac (Sm): Improved.  It didn't work properly in many
3124         cases.
3125         (Re): Emit a warning if called without `.Rs'.
3126         (doc-finish-reference): Use parameter for decreasing
3127         `doc-reference-count'.
3128         (doc-print-reference): Pass specific count parameters to
3129         `doc-finish-reference'.
3131 2005-01-21  Werner LEMBERG  <wl@gnu.org>
3133         * src/libs/libdriver/input.cpp (delete_current_env, do_file):
3134         Reset pointers to zero after deallocation.  This fixes a crash
3135         if a driver is called with multiple input files.  Reported by
3136         Ken Chilton <ken@chiltonfamily.org>.
3138         * src/devices/grops/grops.man: Add more info on DSC.
3140 2005-01-17  Ruslan Ermilov  <ru@FreeBSD.org>
3142         * tmac/doc-common (Dd), tmac/doc-ditroff (gX, doc-setup-header):
3143         Remove dead code.
3145 2005-01-17  Werner LEMBERG  <wl@gnu.org>
3147         * src/roff/troff/div.cpp (top_level_diversion::space): Protect
3148         against division by zero.
3150 2005-01-13  Ruslan Ermilov  <ru@FreeBSD.org>
3152         * tmac/doc.tmac (Ef): Restore doc-curr-font and doc-curr-size.
3154 2004-12-19  Werner LEMBERG  <wl@gnu.org>
3156         * install-sh: New version; taken from texinfo CVS.
3158 2004-12-17  Werner LEMBERG  <wl@gnu.org>
3160         * tmac/devtag.tmac: Protect against loading twice.
3161         Protect agains compatibility mode.
3162         * tmac/www.tmac: Protect against loading twice.
3163         Load `devtag.tmac' before switching off compatibility mode.
3164         * tmac/an-old.tmac, tmac/s.tmac: Load `devtag.tmac'.
3166 2004-12-16  Mike Bianchi  <mbianchi@Foveal.com>
3168         * configure.ac: Produce `contrib/gdiffmk/tests/runtests'.
3169         * configure: Updated.
3171 2004-12-15  Thomas Klausner  <wiz@netbsd.org>
3173         * tmac/doc-syms, tmac/groff_mdoc.man: Add `libpam' library.
3175 2004-12-15  Werner LEMBERG  <wl@gnu.org>
3177         Make `test-groff' work again -- previously, wrong paths have been
3178         used.  Additionally, it can now be called from anywhere.
3180         * test-groff.in: Don't test for groff binary.  This is no longer
3181         necessary since the proper paths are determined by `configure'.
3182         (EXEEXT): Removed.  No longer used.
3183         (srcdir, builddir): Use values provided by the configure script.
3184         (XENVIRONMENT): Updated.
3186         * INSTALL: Updated.
3188 2004-12-14  Gaius Mulley  <gaius@glam.ac.uk>
3190         Make .tag and .taga work for all devices (but only grohtml actually
3191         handles them).
3193         * src/devices/grohtml/post-html.cpp: s/html-tag/devtag/.
3194         (text_glob::is_br, page::add_tag, html_printer::troff_tag,
3195         html_printer::handle_assertion): Don't use hard-coded string
3196         lengths.
3197         (html_printer::lookahead_for_table): Reset `tbl' properly if
3198         necessary.
3199         (html_printer::devtag): New function, handling `devtag'.
3200         (html_printer::special): Don't handle `html-tag'.
3202         * src/include/printer.h, src/libs/libdriver/printer.cpp
3203         (printer::devtag): New virtual function.
3205         * src/libs/libdriver/input.cpp (parse_x_command) <'X'>: Handle
3206         `devtag'.
3208         * src/roff/troff/env.cpp, src/roff/troff/mtsm.cpp,
3209         src/roff/troff/node.cpp: s/html-tag/devtag/.
3211         * src/roff/troff/input.cpp (tag, taga): Always call
3212         curenv->add_node.
3214         * tmac/an-old.tmac, tmac/s.tmac, tmac/troffrc-end: Use DEVTAG*
3215         macros instead of HTML-TAG*.
3217         * tmac/devtag.tmac: New file, defining the DEVTAG-* macros.
3219         * tmac/www.tmac: Load devtag.tmac.
3220         Replace HTML-TAG* macros with DEVTAG* macros.
3221         (HTML, HTML-NS): Changed definitions.
3222         (URL): Use HTML-NS.
3223         (HTML-TAG, HTML-TAG-NS, HTML-TAG-NEXT): Removed.
3225         * tmac/Makefile.sub (NORMALFILES): Add devtag.tmac.
3227 2004-12-10  Werner LEMBERG  <wl@gnu.org>
3229         Import Mike's `gdiffmk' package.
3231         * contrib/gdiffmk/*: New files.
3232         * Makefile.in (OTHERDIRS): Add contrib/gdiffmk.
3233         * NEWS: Updated.
3235 2004-12-08  Werner LEMBERG  <wl@gnu.org>
3237         Import Keith's `pdfmark' package.  Integration is very preliminary.
3239         * contrib/pdfmark/*: New files.
3240         * Makefile.in (OTHERDIRS): Add contrib/pdfmark.
3241         * NEWS: Updated.
3243 2004-12-07  Gaius Mulley  <gaius@glam.ac.uk>
3245         Fix a bug with title handling in HTML.
3247         * src/devices/grohtml/post-html.cpp (text_glob::is_nf,
3248         text_glob::is_fi, text_glob::is_ce): Use strlen to compute string
3249         length.
3250         (html_printer::handle_tag_within_title): New function.
3251         (html_printer::do_title): Use it.
3253         * tmac/s.tmac (TL): Don't set `need_eo_tl'.
3254         (cov*tl-au-print): Emit `.eo.tl' tag.
3256 2004-12-05  Alejandro López-Valencia  <dradul@etb.net.co>
3258         * man/groff_char.man: Minor imrovements.
3260 2004-12-04  Werner LEMBERG  <wl@gnu.org>
3262         * src/preproc/eqn/eqn.man: Revised.
3264 2004-11-25  Werner LEMBERG  <wl@gnu.org>
3266         * src/utils/xtotroff/xtotroff.c: Reformat to be similar to other
3267         groff source files.
3268         Include config.h.
3269         Include limits.h.
3270         Remove X_NOT_STDC_ENV conditional.
3271         (Version_string, program_name): New global variables.
3272         (groff_flag): Removed.
3273         (MapFont): Updated.
3274         (usage): Take a stream as argument.
3275         Use `program_name'.
3276         Update all callers.
3277         (main): Add `long_options' array for `--help' and `--version'.
3278         Make `-g' a dummy option.
3279         Handle `-v' and unknown options.
3280         Remove unused `position' variable.
3282         * src/utils/xtotroff/Makefile.sub (MAN1): Define.
3283         (XLIBS): Add LIBGROFF.
3285         * src/utils/xtotroff/xtotroff.man, src/utils/xtotroff/Makefile.in:
3286         New files.
3288         * src/devices/xditview/Dvi.c (default_font_map): Split into three
3289         parts to avoid compiler warning.
3290         (resources): Don't initialize with `default_font_map'.
3291         (ClassInitialize): Initialize first element of `resources'.
3293         * src/devices/xditview/Makefile.sub (devdir, xtotroff, DPIS, fonts):
3294         Removed.
3296         * src/utils/lkbib/lkbib.man, src/utils/lookbib/lookbib.man,
3297         src/utils/pfbtops/pfbtops.man: Revised, updated.
3299         * configure.ac: Generate src/utils/xtotroff/Makefile.
3300         * configure: Regenerated.
3302 2004-11-24  Werner LEMBERG  <wl@gnu.org>
3304         First fixes to get produce HTML.
3306         * src/devices/grohtml/post-html.cpp (generate_img_src): Add `alt'
3307         attribute.
3309         * tmac/www.tmac (IMG, PIMG, MPIMG): Add `alt' attribute.
3310         (HR, LI): Use `HTML</p>', not `HTML'.
3312         * doc/webpage.ms: Minor updates.
3314 2004-11-23  Larry Kollar  <kollar@alltel.net>
3316         Add option -S grohtml to determine the file split level.
3318         * src/devices/grohtml/post-html.cpp (split_level): New global
3319         variable.
3320         (html_header::determine_header_level): Use split_level.
3321         (main): Handle `-S' command line option.
3322         Sort options.
3324         * src/preproc/html/pre-html.cpp (scanArguments): Updated.
3326         * src/devices/grohtml/grohtml.man: Document it.
3327         Sort options.
3329         * NEWS: Document it.
3331 2004-11-23  Y T  <doarhop@hotmail.com>
3333         * tmac/s.tmac (ref*add-V, ref*add-N): New macros for handling
3334         the volume and number refer entries.
3336 2004-11-22  Werner LEMBERG  <wl@gnu.org>
3338         * src/devices/grohtml/html-table.cpp
3339         (html_table::emit_table_header): Don't emit `cols' attribute which
3340         doesn't exist in HTML 4.0 and is thus invalid.
3342         * NEWS: More minor fixes and updates.
3344 2004-11-18  Werner LEMBERG  <wl@gnu.org>
3346         * tmac/www.tmac (HTML-NS, HTML-TAG-NS, HTML-TAG-NEXT): Simplified.
3347         (HTML</p>): Minor clean-up.
3349         * tmac/groff_www.man: Updated.
3351         * src/devices/grohtml/grohtml.man: Revised and updated.
3353         * NEWS: Updated.
3355 2004-11-18  Gaius Mulley  <gaius@glam.ac.uk>
3357         * src/devices/grohtml/post-html.cpp (html_printer::do_heading):
3358         Fix space insertion.
3359         (html_printer::do_links): Fix rules generation around automatic
3360         heading links.
3362         * tmac/www.tmac (LK): Use HTML-TAG-NS.
3363         (HR): Simplify.
3364         No longer emit empty line for non-HTML devices.
3366 2004-11-17  Werner LEMBERG  <wl@gnu.org>
3368         * doc/Makefile.in (prepare_examples, webpage.html): Handle
3369         `groff.css'.
3371         * doc/Makefile.sub (EXAMPLEFILES, CLEANNOTSRCDIRADD,
3372         prepare_examples, webpage.html): Handle `groff.css'.
3374 2004-11-15  Werner LEMBERG  <wl@gnu.org>
3376         * NEWS, README, doc/webpage.ms: Updated.
3378         * tmac/www.tmac (HTML, HTML-TAG): Minor clean-ups.
3380 2004-10-30  Gaius Mulley  <gaius@glam.ac.uk>
3382         * src/include/printer.h (printer): Remove virtual function
3383         `round_width'.
3384         Update all source files.
3386         * src/devices/grohtml/post-html.cpp (html_printer): New member
3387         function `round_width'.
3389 2004-10-20  Tadziu Hoffmann  <hoffmann@usm.uni-muenchen.de>
3391         * src/preproc/tbl/table.cpp (table::do_row): Fix handling of the `d'
3392         column key letter suffix.
3394 2004-10-14  Werner LEMBERG  <wl@gnu.org>
3396         * Makefile.in (check): Depend on `site.exp' and `docheck'.
3397         (docheck): Run dejagnu's `runtest' if it exists.
3398         (site.exp): Create dejagnu configuration file.
3400         * Makefile.sub (DISTCLEANFILES): Add files related to dejagnu.
3402 2004-10-13  Werner LEMBERG  <wl@gnu.org>
3404         * src/devices/grohtml/html-text.cpp (html_text_get_alignment),
3405         src/devices/grohtml/post-html.cpp (make_val,
3406         html_printer::handle_state_assertion): Fix compiler warnings.
3408         * src/roff/troff/div.cpp: Include `stringclass.h' and `mtsm.h'.
3409         (diversion::diversion): Fix order of initializers.
3411         * src/roff/troff/div.h: Don't include `mtsm.h'.
3413         * src/roff/troff/env.cpp: Include `stringclass.h' and `mtsm.h'.
3414         (environment::environment): Fix order of initializers.
3415         (environment::make_tag, environment::construct_format_state): Fix
3416         compiler warnings.
3418         * src/roff/troff/input.cpp: Include `stringclass.h' and `mtsm.h'.
3419         (input_iterator::input_iterator, macro::macro): Fix order of
3420         initializers.
3422         * src/roff/troff/mtsm.cpp: Include only necessary header files.
3423         (state_set::add, state_set::val): Fix compiler warnings.
3425         * src/roff/troff/mtsm.h: Don't include `stringclass.h'.
3426         (bool_value_state, int_value_state, units_value_state,
3427         string_value_state): Remove comma after last element which causes
3428         an error with g++ 3.3.3.
3430         * src/roff/troff/node.cpp: Include `stringclass.h'.
3431         (hline_node::hline_node, vline_node::vline_node,
3432         space_char_hmotion_node, left_italic_corrected_node): Fix compiler
3433         warnings.
3434         (zero_width_node::zero_width_node): Fix order of initializers.
3436         * src/roff/troff/node.h: Don't include `mtsm.h'.
3437         (hmotion_node): Fix compiler warnings.
3439         * src/roff/troff/number.cpp: Include `stringclass.h' and `mtsm.h'.
3441 2004-10-12  Gaius Mulley  <gaius@glam.ac.uk>
3443         * doc/groff.css: New file.
3445         * doc/webpage.ms: Use `groff.css'.
3446         Other small fixes.
3448         * tmac/an-old.tmac (need_eo_h): New number register.
3449         (TH): Emit `.eo.tl' tag after title.
3450         (SH): Set `need_eo_h'.
3451         (an-trap): Handle `need_eo_h'.
3452         (an-do-tag): s/HTML-TAG-NS/HTML-TAG-NEXT/.
3454         * tmac/s.tmac (need_eo_h, need_eo_tl): New number registers.
3455         (TL): Always start diversion.
3456         Updated.
3457         (@AI): Always call `par@reset'.
3458         (@AB): Update code for -Thtml.
3459         (cov*tl-au-print): Handle -Thtml.
3460         (par@reset): Handle `need_eo_tl', `need_eo_h'.
3461         (@IP): Simplified.
3462         (@IT-html): Removed.
3463         (@SH): Set `need_eo_h' for -Thtml.
3464         (par@TL): s/HTML-TAG/HTMl-TAG-NS/.
3465         Set `need_eo_tl'.
3466         (@NH): s/HTML-TAG/HTMl-TAG-NS/.
3467         Set `need_eo_h' for -Thtml.
3468         (@EQ, @EN): Don't handle -Thtml specially.
3469         (par@load-init): Don't handle -Thtml specially.
3471         * tmac/www.tmac (www:paraspace): New macro.
3472         (HTML-NS, HTML-TAG-NS): Use new `tag' request.
3473         (HTML</p>, HTML-TAG-NEXT): New macros.
3474         (HnE): Emit tag `.eo.h' instead of break.
3475         (HR): s/HTML-NS/HTML/.
3476         (www-end-nowhere): End diversion only if `www-html' not set.
3477         Emit `.eo.tl' tag.
3478         (ULS, ULE): s|HTML|HTML</p>|.
3479         (LI): Call `www:paraspace'.
3480         (HEAD): New macro.
3482 2004-10-11  Gaius Mulley  <gaius@glam.ac.uk>
3484         * src/roff/troff/request.h (macro): Make `p' public.
3485         New variable `is_a_diversion'.
3486         New member function `is_diversion'.
3489         * src/devices/grohtml/html.h (simple_output): New member function
3490         `force_nl'.
3492         * src/devices/grohtml/html-table.cpp (tabs::compatible): Fix
3493         computation of `total'.
3494         (tabs::check_init): New function.
3495         (html_table::emit_table_header): Emit style data.
3496         (html_table::insert_column): Improved.
3498         * src/devices/grohtml/html-table.h: Updated.
3500         * src/devices/grohtml/html-text.cpp (html_text::html_text):
3501         Initialize `start_space' with TRUE.
3502         (html_text::end_tag, html_start_tag): Fix `P_TAG' and `PRE_TAG'
3503         cases.
3504         (html_text::flush_text): Set `start_space' flag.
3505         (html_text::uses_indent, html_text::remove_para_space,
3506         html_text::get_alignment): New functions.
3507         (html_text::push_para): Updated.
3508         (html_text::do_para): Check for empty argument.
3509         Don't set `space_emitted'.
3510         (html_text::do_space, html_text::emit_space): Updated.
3512         * src/devices/grohtml/html-text.h (tag_definition): New variable
3513         `really_issued'.
3514         (html_text): New member function `uses_indent', `remove_para_space',
3515         `get_alignment'.
3517         * src/devices/grohtml/output.cpp (simple_output::force_nl): New
3518         function.
3519         (simple_output:nl): Always emit `\n'.
3521         * src/devices/grohtml/post-html.cpp: Include `string.h'.
3522         (BASE_POINT_SIZE): Removed.
3523         (base_point_size, head_info): New global variables.
3524         (text_glob): New member functions `is_ll', `is_tl', `is_eo_tl',
3525         `is_eo_h'.
3526         (text_glob::is_nf, text_glob::is_fi): Handle `.fi 0' and `.fi 1'
3527         tags, respectively.
3528         (page::add_and_encode): Pass additional parameter for tag flag.
3529         (assert_pos): New structure.
3530         (assert_state): New class.
3531         (html_printer): Remove `indentation', `prev_indent'.
3532         Add variables `troff_indent', `device_indent', `temp_indent'.
3533         Add variables `seen_indent', `next_indent', `seen_pageoffset',
3534         `next_pageoffset', `seen_linelenght', `next_linelength',
3535         `seen_center', `next_center', `seen_space', `seen_break', `as'.
3536         Add member functions `do_check_center', `do_space', `do_head',
3537         `get_troff_indent', `restore_troff_indent', `handle_assertion',
3538         `handle_state_assertion', `do_end_para', `set_char_and_width'.
3539         Change argument to `do_fill' to `char *'.
3540         Update constructor.
3541         (html_printer::emit_raw): Call `shutdown_table'.
3542         Use new functions.
3543         (html_printer::do_center): Simplified.
3544         (html_printer::do_title): Improved.
3545         (html_printer::write_header): Emit one more newline.
3546         Use new functions.
3547         (html_printer::do_heading, html_printer::do_indent,
3548         html_printer::do_eol, html_printer::do_tab_ts,
3549         html_printer::do_tab, html_printer::do_tab0,
3550         html_printer::calc_po_in, html_printer::next_horiz_pos,
3551         html_printer::remove_courier_tabs,
3552         html_printer::insert_tab0_foreach_tab, html_printer::begin_page):
3553         Updated.
3554         (html_printer::do_linelength, html_printer::do_pageoffset,
3555         html_printer::do_indentation, html_printer::do_tempindent,
3556         html_printer::do_tab_te): Simplified.
3557         (html_printer::do_pointsize): Check whether point size is really
3558         associated a `.tl' tag.
3559         (html_printer::do_break): Rewritten.
3560         (html_printer::troff_tag): Improved.
3561         (html_printer::flush_globs): Updated.
3562         (html_printer::lookahead_for_tables): Handle `is_br'.
3563         Use new functions.
3564         (html_printer::set_char): Check `sbuf_style.f'.
3565         (html_printer::write_navigation): Use string comparison.
3566         (html_printer::~html_printer): Emit `head_info'.
3567         (html_printer::special): Rewritten.
3568         (get_str, make_val): New functions.
3569         (main): New option `s' to set the base point size.
3571         * src/preproc/html/pre-html.cpp (scanArguments): Handle option `s'.
3573 2004-10-10  Gaius Mulley  <gaius@glam.ac.uk>
3575         * src/roff/troff/node.cpp: New extern `debug_state'.
3576         Include `stringclass.h' and `mtsm.h'.
3577         Implement new classes and class members from `node.h'.
3578         (real_output_file): Make `fp' public.
3579         (troff_output_file): New variables `cur_div_level' and `tag_list'.
3580         Update constructors.
3581         (troff_output_file::really_print_line): Check whether we should push
3582         the current troff state and use the state at the start of the
3583         invocation of this diversion.
3584         (troff_output_file::add_to_tag_list): New member function.
3585         (node::add_char): Handle `glyph_comp_np'.
3587         * src/roff/troff/node.h: Include `mtsm.h'.
3588         (node): New variables `state', `push_state', `div_nest_level',
3589         `is_special'.  Update constructors, all descendants.
3590         Pass additional argument to `add_char' member function.
3591         New virtual member functions `is_tag', `debug_node',
3592         `debug_node_list'.  Update all descendants.
3593         (tag_node): New class for handling tags.
3594         (output_file): Add variable `state'.
3596 2004-10-09  Gaius Mulley  <gaius@glam.ac.uk>
3598         * src/roff/troff/mtsm.cpp, src/roff/troff/mtsm.h: New files,
3599         providing a minimal troff state machine to emit meta tags for the
3600         post-grohtml device driver.
3602         * src/roff/troff/Makefile.sub (OBJS, CCSRCS, HDRS): Handle new
3603         files.
3605 2004-10-09  Werner LEMBERG  <wl@gnu.org>
3607         * tmac/trace.tmac: Fix handling of `am' and `am1' calls.
3609 2004-10-06  Gaius Mulley  <gaius@glam.ac.uk>
3611         * src/roff/troff/column.cpp (vjustify_node::copy): Updated.
3613         * src/roff/troff/div.h: Include `mtsm.h'.
3614         (diversion): New variables `any_chars_added', `needs_push',
3615         `saved_seen_break', `saved_seen_space', `saved_seen_eol',
3616         `saved_suppress_next_eol', `modified_tag'.
3617         New virtual member function `is_diversion'.  Update all descendants.
3619         * src/roff/troff/div.cpp (diversion::diversion,
3620         macro_diversion::macro_diversion): Updated.
3621         (do_divert): Handle `seen_break', `seen_space', `seen_eol',
3622         `suppress_next_eol'.
3623         (top_level_diversion::space): Handle `curenv->seen_space'.
3624         (page_offset): Update tag handling.
3625         (space_request, blank_line, flush_output): Don't call `add_html_tag'.
3627         * src/roff/troff/env.h (environment): Make `tabs' public.
3628         Remove `ignore_next_eol', `emitted_node'.
3629         Update `output_line', `output'.
3630         New variables `seen_space', `seen_eol', `suppress_next_eol',
3631         `seen_break'.
3632         New member functions `construct_state', `make_tag',
3633         `construct_format_state, `construct_new_line_state,
3634         `dump_troff_state'.
3635         Remove `add_html_tag', `make_html_tag'.
3637         * src/roff/troff/env.cpp: New externs `suppress_push',
3638         `get_diversion_state', `global_diverted_space'.
3639         (pending_output_line): New variable `was_centered'.
3640         Update constructor and all callers.
3641         (pending_output_line::output): Call `curenv->construct_format_state'.
3642         (environment::environment, environment::copy): Updated.
3643         (environment::output): Handle `was_centered'.
3644         (environment::add_char): Handle construct and diversion state.
3645         (environment::add_node): Handle construct state.
3646         (environment::newline): Handle `was_centered'.
3647         (environment::output_line): Updated.
3648         (environment::possibly_break_line): Updated.
3649         Update tag handling.
3650         (environment::add_html_tag): Replaced with...
3651         (environment::make_tag): New function.
3652         (environment::add_html_tag_tabs, environment::make_html_tag): Removed.
3653         (environment::dump_troff_state): New debugging function.
3654         (environment::construct_state, environment::construct_format_state,
3655         environment::construct_new_line_state): New functions.
3656         (environment::do_break): Updated.
3657         Handle `global_diverted_space'.
3658         (environment::handle_tag): Update tag handling.
3659         (point_size, fill, do_break_request): Don't call `add_html_tag'.
3660         (no_fill): Don't call `add_html_tag'.
3661         Set `suppress_next_eol'.
3662         (center, right_justify, line_length, indent, temporary_indent,
3663         set_tabs):
3664         Update tag handling.
3666         * src/roff/troff/input.cpp: Don't include `stringclass.h'.
3667         (input_iterator): New variables `is_diversion', `diversion_state'.
3668         Update constructors.
3669         (input_stack): New member functions `get_div_level',
3670         `get_diversion_state', `check_end_diversion'.
3671         New variables `div_level', `diversion_state'.  Initialize them.
3672         (suppress_push, global_diverted_space): New global variables.
3673         (input_stack::finish_get, input_stack::finish_peek,
3674         input_stack::remove_boundary, input_stack::end_file,
3675         input_stack::clear, input_stack::pop_macro): Call
3676         `check_end_diversion'.
3677         (input_stack::push): Handle `div_level' and `diversion_state'.
3678         (get_diversion_state): New function.
3679         (diverted_space_node::reread): Handle `global_diverted_space'.
3680         (macro::macro): Update constructors.
3681         (macro::is_diversion): New function.
3682         (macro::operator=): Set `is_a_diversion'.
3683         (string_iterator): New member function `is_diversion'.
3684         (string_iterator::string_iterator): Update constructors.
3685         (string_iterator::fill): Set `div_nest_level'.
3686         (macro_iterator): New member function `is_diversion'.
3687         (do_if_request): Handle `suppress_push'.
3688         (tag, taga): New functions.
3689         (init_input_requests): Add `tag' and `taga' requests.
3691 2004-10-05  Gaius Mulley  <gaius@glam.ac.uk>
3693         * src/include/font.h (font): New member function
3694         `get_image_generator'.
3695         New variables `unscaled_charwidths' and `image_generator'.
3697         * src/libs/libgroff/font.cpp (font::get_width): Always return the
3698         character's unscaled width if `font::unscaled_charwidths' is set.
3699         (font::get_image_generator): New function.
3700         (font::load_desc): Check the `unscaled_charwidths' and
3701         `image_generator' keywords.
3703         * src/libs/libgroff/fontfile.cpp: Initialize
3704         `font::unscaled_charwidths' and `font::image_generator'.
3706         * font/devhtml/DESC.proto: s/html/unscaled_charwidths/.
3708         * font/devhtml/Makefile.sub (DESC): Set `image_generator' keyword.
3710         * man/groff_font.man: Document `unscaled_charwidths' and
3711         `image_generator'.
3713         * src/preproc/html/pre-html.cpp: Include `device.h'.
3714         (image_gen): New global variable.
3715         (imageList::createPage): Use `image_gen'.
3716         (main): Use `image_generator' keyword.
3718 2004-10-04  Gaius Mulley  <gaius@glam.ac.uk>
3720         * tmac/html.tmac: Handle \[sqrtex].
3722 2004-10-04  Gaius Mulley  <gaius@glam.ac.uk>
3724         * src/include/printer.h (printer): New virtual method `round_width'.
3726         * src/devices/grodvi/dvi.cpp, src/devices/grolbp/lbp.cpp,
3727         src/devices/grolj4/lj4.cpp, src/devices/grops/ps.cpp,
3728         src/devices/grotty/tty.cpp (printer::round_width): New function
3729         member.
3731         * src/devices/grohtml/post-html.cpp (printer::round_width): New
3732         function member.
3733         (html_printer::set_numbered_char): Use it.
3735 2004-10-03  Gaius Mulley  <gaius@glam.ac.uk>
3737         * aclocal.m4 (GROFF_GHOSTSCRIPT_PATH): New macro.
3739         * configure.ac: Call GROFF_GHOSTSCRIPT_PATH.
3741         * configure: Regenerated.
3743         * Makefile.in (GHOSTSCRIPT): New variable.
3744         (MDEFINES): Add GHOSTSCRIPT.
3746 2004-10-03  Werner LEMBERG  <wl@gnu.org>
3748         * INSTALL.gen: Updated (taken from texinfo CVS).
3750 2004-09-28  Werner LEMBERG  <wl@gnu.org>
3752         * NEWS: Updated.
3754 2004-09-28  Heinz-Jürgen Oertel  <hj.oertel@surfeu.de>
3756         * tmac/groff_www.man: Revised and updated.
3758 2004-09-26  Werner LEMBERG  <wl@gnu.org>
3760         Fix \$@ and \$* to handle any number of arguments.
3762         * src/roff/troff/input.h (BEGIN_QUOTE, END_QUOTE): New special
3763         characters.
3765         * src/roff/troff/input.cpp (input_iterator::internal_level):
3766         Removed.
3767         (input_stack): New member functions `increase_level' and
3768         `decrease_level'.
3769         (input_stack::get_level): Don't use `internal_level'.
3770         (get_copy, token::next): Handle BEGIN_QUOTE and END_QUOTE.
3771         (end_quote_iterator): Completely removed.
3772         (interpolate_arg): Build string for \$@ and \$* which is then
3773         pushed onto the input stack.
3775 2004-09-23  Keith Marshall  <keith.d.marshall@ntlworld.com>
3777         * tmac/groff_ms.man, doc/groff.texinfo (ms Document Control
3778         Registers): Document changes from 2004-09-19.
3780 2004-09-23  Werner LEMBERG  <wl@gnu.org>
3782         * tmac/an-old.tmac (ne): Using default scaling operator.
3784 2004-09-19  Keith Marshall  <keith.d.marshall@ntlworld.com>
3786         This change implements the following features:
3788         PORPHANS
3789           New numeric register: Defines number of lines following LP, PP,
3790           QP, IP or XP, which must be kept together, before any automatic
3791           page break.  If insufficient space remains on the current page, a
3792           page break is forced before the new paragraph begins.
3794         HORPHANS
3795           New numeric register: Sets number of lines of following paragraph
3796           which must be kept with a heading, defined by NH or SH, before any
3797           automatic page break.  If insufficient space remains on the
3798           current page, a page break is forced before the heading.
3800         GROWPS
3801           (Thanks to Joerg van den Hoff, for this idea).
3803           New numeric register: Sets the first level of heading (set with
3804           NH), which will keep the same point size as body text; e.g. if
3805           GROWPS is set to 3, .NH 3, .NH 4, ... will produce headings at the
3806           point size specified by \n[PS], but .NH 2 and .NH 1 will have
3807           progressively larger point sizes, determined by \n[PSINCR] (see
3808           below).
3810         PSINCR
3811           New numeric register: Sets the point size increment for each level
3812           of heading, (set with NH), below the threshold level set by
3813           GROWPS; e.g. if \n[PS] = 10, \n[GROWPS] = 3 and \n[PSINCR] = 2.0p,
3814           then .NH 1 will produce 14pt headings, .NH 2 will produce 12pt,
3815           and all other levels will remain at 10pt, (because \n[PS] = 10).
3817         SH
3818           Existing macro now accepts a numeric argument, to make heading
3819           size match that of NH with same argument value, when the
3820           GROWPS/PSINCR feature is enabled.
3822         SN-DOT
3823           New string, set by NH macro, replaces the existing (undocumented)
3824           use of SN, to represent the assigned section number.
3826         SN-NO-DOT
3827           New string, set by NH macro, represents the assigned section
3828           number, but omits the terminal period (periods at intermediate
3829           levels are retained).
3831         SN
3832           String set by NH macro, originally undocumented, now implemented
3833           as an alias for SN-DOT (which reproduces original behaviour).
3835         * tmac/s.tmac (PORPHANS): New register.
3836         (par*start): Use it.
3837         (HORPHANS, GROWPS, PSINCR): New registers.
3838         (SH-NO-TAG, @SH): Use them.
3839         (@NH): Improved.
3841 2004-09-19  Keith Marshall  <keith.d.marshall@ntlworld.com>
3843         * NEWS, doc/groff.texinfo (ms Display and Keeps), tmac/groff_ms.man:
3844         Document the deletion of `Ds' and `De' macros.
3846 2004-09-10  Werner LEMBERG  <wl@gnu.org>
3848         In tbl, handle \a as an interpreted leader character if in
3849         compatibility mode.
3851         * src/preproc/tbl/table.h (PREFIX, PREFIX_CHAR, LEADER,
3852         LEADER_CHAR): New macros.
3853         (compatible_flag): New declaration.
3855         * src/preproc/tbl/main.cpp (table_input): Add LEADER_1, LEADER_2,
3856         LEADER_3, and LEADER_4 to `state'.
3857         (table_input::get): Handle `\a'.
3859         * src/preproc/tbl/table.cpp (PREFIX): Removed.
3860         (LEADER_REG): New macro.
3861         (table::init_output): Define LEADER_REG string register if in
3862         compatibility mode.
3864         * src/preproc/tbl/tbl.man: Document it.
3866 2004-08-18  Werner LEMBERG  <wl@gnu.org>
3868         * tmac/doc.tmac (An): Fix error message.
3870 2004-08-06  Werner LEMBERG  <wl@gnu.org>
3872         * src/preproc/tbl/main.cpp (main): Call `fatal' not `error' if a
3873         file can't be opened.  UNIX tbl has the same behaviour.
3875 2004-08-05  Y T  <doarhop@hotmail.com>
3877         * src/preproc/grn/hdb.cpp (compatibility_flag): Add declaration.
3878         (DBRead): If in compatibility mode, take into account the text
3879         when computing figure boundaries.
3881 2004-08-05  Werner LEMBERG  <wl@gnu.org>
3883         * src/preproc/soelim/soelim.man: Improved.  Based on suggestions
3884         from Tadziu Hoffmann.
3886 2004-08-03  Werner LEMBERG  <wl@gnu.org>
3888         * doc/meref.me: Document `_M' register.
3890 2004-08-03  Martin Husemann  <martin@duskware.de>
3892         Make hpftodit work correctly on big-endian systems.
3894         * src/utils/hpftodit/hpftodit.cpp (File): New method
3895         `get_uint32(char *)'.
3896         (entry): New member `orig_value'.
3897         (read_tags): Use new method.
3898         (output_font_name, read_and_output_pcltypeface, dump_ascii):
3899         Updated.
3901 2004-08-01  Werner LEMBERG  <wl@gnu.org>
3903         * tmac/s.tmac: Undo change 2003-06-29.  The proper macro definitions
3904         are already in X11's `macros.t' file.
3906 2004-08-01  Jeff Conrad  <jeff_conrad@msn.com>
3908         * src/utils/hpftodit/hfptodit.cpp (output_font_name, dump_ascii):
3909         Fix casting bug.
3910         (read_and_output_pcltypeface): Handle strings with length <= 4.
3912 2004-07-27  Egil Kvaleberg  <egil@kvaleberg.no>
3914         * tmac/s.tmac (pg@top): Don't save `PO' register.
3915         (pg*end-col, pg*end-page): Directly use `PO' register.
3917 2004-07-27  Werner LEMBERG  <wl@gnu.org>
3919         * man/groff_tmac.man: Mention `trace' and `pic' macro packages.
3921         * src/preproc/refer/refer.cpp (output_references): Check for
3922         empty hash table.
3923         * src/preproc/refer/refer.man: Improve documentation of
3924         `bibliography' command.
3926 2004-07-26  Werner LEMBERG  <wl@gnu.org>
3928         Add requests `fcolor' and `gcolor'.
3930         * src/roff/troff/env.cpp (fill_color_change, glyph_color_change):
3931         New functions.
3932         (init_env_requests): Add `fcolor' and `gcolor'.
3934         * src/roff/troff/input.h: Export do_glyph_color and do_fill_color.
3936         * NEWS, man/groff_diff.man, man/groff.man, doc/groff.texinfo
3937         (Colors): Document new requests.
3939 2004-07-24  Werner LEMBERG  <wl@gnu.org>
3941         Add support for fractional point sizes in ms macros.  A value for
3942         PS, VS, FPS, and FVS greater than or equal to 1000 is always divided
3943         by 1000.  For example, `.nr PS 10250' sets the font size to 10.25p.
3945         * tmac/s.tmac (@AU, @AI, par@load-init, par@init, par@reset, NL,
3946         PX): Handle fractional point sizes for PS, VS, FPS, and FVS.
3948         * tmac/groff_ms.man, docs/groff.texinfo (ms Document Control
3949         Registers), NEWS: Document it.
3951 2004-07-19  Werner LEMBERG  <wl@gnu.org>
3953         * src/preproc/pic/lex.cpp (for_input): Add member `from'.
3954         Update constructor.
3955         (do_for, for_input::get, for_input::peek): Handle negative `by'.
3956         * src/preproc/pic/pic.man, doc/pic.ms, NEWS: Document it.
3958 2004-07-08  Thomas Klausner  <wiz@netbsd.org>
3960         * tmac/doc-syms (doc-str-St--p1003.1-2004): New string.
3961         * tmac/groff_mdoc.man: Updated.
3963 2004-07-05  Werner LEMBERG  <wl@gnu.org>
3965         * doc/groff.texinfo (Manipulating Hyphenation): Further improve
3966         documentation of `hcode'.
3968 2004-07-04  Sang Dae Yu  <sdyu@bh.knu.ac.kr>
3970         Improve appearance of arrows in pic.
3972         * src/preproc/pic/object.cpp (draw_arrow): Make outline of filled
3973         arrow head thin.
3974         Use two line segments for drawing non-filled arrow head.
3975         (line_object::print, spline_object::print): Shorten line length to
3976         avoid arrow sticking.
3977         (arc_object::print): Take arrow direction into account.
3979 2004-07-03  Heinz-Jürgen Oertel  <hj.oertel@surfeu.de>
3981         * tmac/groff_www.man: Update documentation of .MPIMG.
3983 2004-07-03  Werner LEMBERG  <wl@gnu.org>
3985         * tmac/an-old.tmac (RI): Always start with font `R'.
3986         (RI, IR): Properly end with font `R'.
3988 2004-07-02  Paul Eggert  <eggert@cs.ucla.edu>
3990         * man/ditroff.man, man/groff_font.man, man/groff_out.man,
3991         src/devices/grohtml/grohtml.man, src/preproc/grn/grn.man,
3992         src/preproc/pic/pic.man, tmac/groff_man.man, tmac/groff_ms.man:
3993         Don't pass more than six arguments to .R, .I, .B, etc., for
3994         compatibility with traditional troff macros.
3996 2004-07-02  Werner LEMBERG  <wl@gnu.org>
3998         * src/roff/troff/input.h: s/COMPATIBLE_SAVE/PUSH_GROFF_MODE/.
3999         s/COMPATIBLE_RESTORE/POP_GROFFCOMP_MODE/.
4000         Update all users.
4001         (PUSH_COMP_MODE): New internal character constant.
4002         Update all users.
4004         * src/roff/troff/input.cpp (get_copy): Handle PUSH_GROFF_MODE,
4005         PUSH_COMP_MODE, and POP_GROFFCOMP_MODE.
4006         (token::next, macro::append): Handle PUSH_COMP_MODE.
4007         (decode_args): Add PUSH_GROFF_MODE or PUSH_COMP_MODE before and
4008         POP_GROFFCOMP after each of the decoded arguments to make them
4009         independent from the compatibility mode status.
4010         (comp_mode): Add `COMP_ENABLE'.
4011         (do_define_string, do_define_macro): Handle COMP_ENABLE.
4012         (define_string, append_string, define_macro, define_indirect_macro,
4013         append_macro, append_indirect_macro): Handle `compatible_flag'.
4014         (chop_macro, substring_request, asciify): Handle PUSH_COMP_MODE.
4016         * man/groff_diff.man, doc/groff.texinfo: Updated.
4018 2004-07-01  Werner LEMBERG  <wl@gnu.org>
4020         * doc/groff.texinfo: Improve documentation of `hcode'.
4021         Use @documentencoding and convert document to latin-1; to do that
4022         make latin characters active and assign proper macros (within a
4023         @tex...@end tex environment).
4024         * doc/Makefile.in (.texinfo.html, groff): Use --enable-encoding.
4025         * doc/Makefile.sub (groff): Ditto.
4027 2004-06-29  Werner LEMBERG  <wl@gnu.org>
4029         Implement two new conditional operators `F <name>' and `S <name>'
4030         which check whether <name> is a valid font or style, respectively.
4032         * src/libs/libgroff/font.cpp (text_file): Add `silent' member.
4033         (text_file::text_file): Updated.
4034         (text_file::error): Don't emit message if `silent' is set.
4035         (font::load_font): Add optional third argument (which is directly
4036         passed to `load'.
4037         (font::load): Add optional second argument to check the header of
4038         a font only, without emitting warning or error messages.
4039         * src/include/font.h (font): Updated.
4041         * src/roff/troff/input.cpp (do_if_request): Implement `S' and `F'
4042         conditionals.
4043         * src/roff/troff/node.cpp (mount_font_no_translate): Add optional
4044         fourth argument to check a font without mounting.
4045         (check_font, check_style): New functions.
4046         * src/roff/troff/node.h: Updated.
4048         * man/groff_diff.man, man/groff.man, NEWS, doc/groff.texinfo:
4049         Updated.
4051 2004-06-27  Werner LEMBERG  <wl@gnu.org>
4053         Implement new string-valued register `.sty' to return the current
4054         style name.
4056         * env.cpp (environment::get_style_name_string): New function.
4057         (init_env_requests): Add `.sty' register.
4058         * env.h (environment): Updated.
4059         * node.cpp (font_info): Make `get_style_name' a friend.
4060         (get_style_name): New function.
4061         * node.h: Updated.
4063         * man/groff_diff.man, man/groff.man, NEWS, doc/groff.texinfo:
4064         Updated.
4066 2004-06-15  Werner LEMBERG  <wl@gnu.org>
4068         * src/preproc/tbl/main.cpp (process_data) <GOT_RIGHT_BRACE>: Handle
4069         `nospaces' option.
4071 2004-06-10  Colin Percival  <colin.percival@wadham.ox.ac.uk>
4073         * doc/meintro.me, doc/meref.me: Don't use \*[td], \n[dy], \*[mo],
4074         and \n[mo] to avoid dependency on current date.
4076 2004-06-08  Werner LEMBERG  <wl@gnu.org>
4078         * Makefile.sub (install_data): New target.
4080 2004-06-04  Werner LEMBERG  <wl@gnu.org>
4082         * src/libs/libxutil/Makefile.sub (EXTRA_CFLAGS): Define.
4084 2004-06-03  Werner LEMBERG  <wl@gnu.org>
4086         * src/devices/xditview/Makefile.sub (EXTRA_LDFLAGS): Fix typo and
4087         order of libraries.
4088         (install_data): Add $(srcdir).
4090         * src/utils/xtotroff/Makefile.sub (EXTRA_LDFLAGS): Fix order of
4091         libraries.
4093 2004-06-02  Werner LEMBERG  <wl@gnu.org>
4095         * aclocal.m4 (GROFF_X11): s/have_no_x/groff_no_x/.
4096         Add X11 stuff to CFLAGS, LDFLAGS, and LIBS temporarily.
4097         Add test for Xmu library.
4098         (GROFF_APPRESDIR_OPTION, GROFF_APPRESDIR_CHECK,
4099         GROFF_APPRESDIR_DEFAULT): New macros.
4101         * configure.ac: Call GROFF_APPRESDIR_OPTION, GROFF_APPRESDIR_CHECK,
4102         and GROFF_APPRESDIR_DEFAULT.
4104         * configure: Regenerated.
4106         * Makefile.in (appresdir): New variable.
4107         (MDEFINES): Add appresdir.
4109         * src/devices/xditview/Makefile.sub (EXTRA_LDFLAGS): Add -Xmu and
4110         -Xt.
4111         (install_data, uninstall_sub): New targets to handle GXditview.ad.
4113         * src/utils/indxbib/Makefiles.ub (install_data): Depend on
4114         `$(srcdir)/eign', not `eign'.
4116         * MANIFEST, INSTALL, NEWS, PROBLEMS: Updated.
4118         * man/groff_out.man, man/roff.man, src/devices/grops/grops.man,
4119         src/devices/xditview/gxditview.man, src/roff/groff/groff.man:
4120         Protect (g)xditview with `\%' to avoid hyphenation.
4121         Other minor formatting.
4123 2004-06-01  Werner LEMBERG  <wl@gnu.org>
4125         Integrate gxditview into groff's standard directory hierarchy.
4127         * src/xditview/*: Moved to ...
4128         * src/devices/xditview/*: Here.
4129         Moved DviChar.h and XFontName.h to src/include.
4130         Moved DviChar.c and XFontName.c to new directory src/libs/libxutil.
4131         Split off `xmalloc' into new file src/libs/libxutil/xmalloc.c.
4132         Moved xtotroff.c to new directory src/utils/xtotroff.
4133         Provide proper Makefile.sub files (reusing the stuff from
4134         Imakefile.in).
4135         DESC renamed to DESC.in.
4136         Removed GXDitview-ad.h, INSTALL, Imakefile.in.
4137         Converted everything from K&R to ANSI C.
4138         Decorated with const where appropriate.
4139         Cast string constants with `String' and `char *' where appropriate.
4140         Made it compile with C++ (used as a C compiler).
4141         Removed other minor compiler warnings.
4143         * src/devices/xditview/device.c: Include config.h, string.h, and
4144         defs.h.
4145         Don't declare `exit', `strtok', `strchr', and `getenv'.
4146         (FONTPATH): Remove.
4148         * src/devices/xditview/font.c: Don't declare `XParseFontName' and
4149         `XFormatFontName'.
4151         * src/devices/xditview/xditview.c: Include config.h.
4152         Include stdio.h earlier.
4153         Protect declaration of `popen' and `pclose' with
4154         NEED_DECLARATION_POPEN and NEED_DECLARATION_PCLOSE.
4155         Replace `caddr_t' with `XtPointer'.
4156         (MakePromptFunc): New typedef.
4157         (DoPrint): Use RETSIGTYPE.
4158         (promptfunction): Change type to MakePromptFunc.
4159         (MakePrompt): Use MakePromptFunc for third argument.
4160         (xmalloc): Removed.
4162         * src/devices/xditview/ad2c: Add casts to `String'.
4164         * src/include/XFontName.h (XFontNameString): Don't use array
4165         notation.
4166         Add prototypes for `XParseFontName', `XFormatFontName',
4167         `XCompareFontName', and `XCopyFontName'.
4169         * src/include/Makefile.sub (HDRS): Add `DviChar.h' and
4170         `XFontName.h'.
4172         * src/utils/xtotroff/xtotroff.c: Include getopt.h.
4173         Don't declare `XParseFontName' and `XFormatFontName'.
4174         (xmalloc): Removed.
4175         (main): Remove `optind' and `optarg'.
4177         * Makefile.in (XDEVDIRS, XPROGDIRS, XLIBDIRS): New variables
4178         (to select programs which need X).
4179         Make XDEVIDIRS depend on `FORCE'.
4180         (X_CFLAGS, X_LIBS, X_EXTRA_LIBS, X_PRE_LIBS): New variables (for
4181         X support).
4182         (MDEFINES): Updated.
4183         (LIBDIRS): Use XLIBDIRS.
4184         (CPROGDIRS): Use XPROGDIRS.
4185         (DEVDIRS): Remove font directories for gxditview.
4186         (ALLDIRS, DISTDIRS): Add XDEVDIRS.
4187         (EXTRADIRS): Remove src/xditview.
4189         * Makefile.sub (DISCLEANFILES): Updated.
4191         * Makefile.comm (LIBXUTIL): New variable.
4192         (.cpp.o, .cpp.obj): Handle EXTRA_CCFLAGS.
4193         (.c.o, .c.obj, .y.o): Handle EXTRA_CFLAGS.
4195         * Makefile.cpg, Makefile.ccpg ($PROG): Handle EXTRA_LDFLAGS.
4197         * aclocal.m4 (GROFF_X11): New function.
4199         * configure.ac: Call GROFF_X11.
4200         Don't create src/xditview/Imakefile.
4201         Don't emit notice how to build gxditview.
4203         * configure: Regenerated.
4205         * test-groff.in (GROFF_BIN_PATH, XENVIRONMENT): Updated.
4207 2004-05-28  Akihiro Sagawa  <sagawa@sohgoh.net>
4209         * Makefile.in (CPPFLAGS): Define.
4210         (MDEFINES): Add CPPFLAGS.
4212 2004-05-27  Werner LEMBERG  <wl@gnu.org>
4214         * arch/misc/Makefile.sub (shdeps.sed): Use $(srcdir).
4216 2004-05-26  Niklas Edmundsson  <nikke@acc.umu.se>
4218         Fix problems with `friend name injections'.
4220         * src/preproc/eqn/box.h (make_mark_box, make_lineup_box,
4221         make_script_box), src/roff/troff/div.h (end_diversions),
4222         src/roff/troff/env.h (title), input.cpp (process_input_stack): Undo
4223         change 2004-04-08.
4225 2004-05-25  Bernd Warken  <bwarken@mayn.de>
4227         * src/preproc/pic/pic.man, doc/pic.ms: Add example for `command'.
4229 2004-05-25  Werner LEMBERG  <wl@gnu.org>
4231         * src/libs/libgroff/cset.cpp, src/libs/libgroff/lf.cpp,
4232         src/libs/libgroff/color.cpp: Include lib.h.
4234 2004-05-25  Paul Eggert  <eggert@cs.ucla.edu>
4236         * PROBLEMS: Update documentation for problems with Sun C++ 5.0
4237         through Forte 6u1, and for how to get GNU make on Solaris.
4239 2004-05-24  Werner LEMBERG  <wl@gnu.org>
4241         * PROBLEMS: Document problems with gcc 3.4.0 on Sun.  Reported
4242         by Paul Eggert.
4244 2004-05-15  Keith Marshall  <keith.d.marshall@ntlworld.com>
4246         * arch/misc/Makefile.sub (shdeps.sed): Don't use `$<' in explicit
4247         rule.
4249 2004-05-14  Werner LEMBERG  <wl@gnu.org>
4251         * REVISION: Set to 2.
4253         * aclocal.m4 (GROFF_STDINT_H): Removed.
4254         (GROFF_INTTYPES_H): Define HAVE_CC_INTTYPES_H.
4256         * configure.ac: Updated.
4257         * configure, src/include/config.hin: Regenerated.
4259         * src/libs/libgroff/tmpname.cpp: Don't include stdint.h but
4260         inttypes.h conditionally.
4262 2004-05-13  Werner LEMBERG  <wl@gnu.org>
4264 Version 1.19.1 released
4265 =======================
4267 2004-05-10  Stephen Gildea  <http://www.gildea.com/stephen>
4269         * src/preproc/refer/label.y (same_author_last_name,
4270         same_author_name): Handle empty sort keys.
4272 2004-05-10  Werner LEMBERG  <wl@gnu.org>
4274         * NEWS, README, TODO, PROJECTS, PROBLEMS, MANIFEST, doc/webpage.ms,
4275         tmac/TODO: Updated.
4277         * tmac/doc-syms (doc-str-Lb-libposix, doc-str-Lb-libpthread,
4278         doc-str-Lb-librt): Reset font.
4279         (Lb): Rename `doc-str-Lb' to `doc-str-Lb1'.
4280         Provide `doc-str-Lb' to reset font.
4281         * tmac/groff_mdoc.man: Updated.
4283 2004-05-08  Jan Schaumann  <jschauma@netmeister.org>
4285         * src/preproc/html/pre-html.cpp (make_message): Make it work for
4286         snprintf versions which don't conform to ANSI C 99 (this is,
4287         counting the string's trailing null byte in the return value).
4289 2004-05-07  Keith Marshall  <keith.d.marshall@ntlworld.com>
4291         * src/roff/troff/node.cpp (suppress_node::tprint): Don't expect
4292         that all implementations of sprintf handle null pointers correctly.
4294 2004-05-04  Werner LEMBERG  <wl@gnu.org>
4296         * NEWS, man/groff_diff.man, man/groff.man, doc/groff.texinfo:
4297         Document `.U' register.
4299         * src/roff/troff/env.cpp (environment::mark_last_line)
4300         [WIDOW_CONTROL]: Fix scope of `p' for new C++ compilers.
4302 2004-05-04  Larry Kollar  <kollar@alltel.net>
4304         New read-only register `.U'; it returns 1 in safer mode and 0
4305         otherwise.
4307         * src/roff/troff/input.cpp (init_input_requests): Implement `.U'
4308         register.
4310 2004-05-03  Werner LEMBERG  <wl@gnu.org>
4312         * install-sh, mkinstalldirs: New versions; taken from texinfo CVS.
4314 2004-04-17  Werner LEMBERG  <wl@gnu.org>
4316         * src/include/font.h (font): Use `int' for ch_index.
4317         * src/libs/libgroff/font.cpp (font::alloc_ch_index,
4318         font::compact): Updated.
4320         * src/roff/groff/pipeline.c (run_pipeline) [_WIN32]: Fix compiler
4321         warnings.
4323         * src/roff/troff/div.cpp (begin_page), src/roff/troff/env.cpp
4324         (hyphen_word): Fix compiler warnings.
4325         * src/roff/troff/input.cpp (get_char_for_escape_name): Return
4326         `char'.
4327         Update all callers.
4328         (get_delim_number, get_line_arg): Change second argument type to
4329         `unsigned char'.
4330         (macro_header::copy, token::next, do_define_string,
4331         do_define_character, substring_request, asciify_macro,
4332         unformat_macro, read_size, non_interpreted_node::interpret,
4333         while_request, main: Fix compiler warnings.
4334         (read_color_draw_node): Initialize `col'.
4336         * src/preproc/tbl/table.cpp (horizontal_span, table_entry): Make
4337         `start_col' and `end_col' of type `int'.
4338         (vertical_rule): Make `col' of type `int'.
4340         * src/preproc/grn/hdb.cpp (DBRead): Protect call to getc with check
4341         for EOF.
4343         * src/preproc/refer/label.y (uppercase_array, lowercase_array):
4344         New arrays.
4345         (format_serial): Use them to remove dependency on ASCII.
4347         * src/devices/grops/ps.cpp (ps_printer::define_encoding): Fix
4348         compiler warning.
4349         * src/devices/grops/psrm.cpp (resource_manager::supply_resource):
4350         Ditto.
4352         * src/devices/grotty/tty.cpp (tty_font::load_tty_font): Fix
4353         compiler warnings.
4354         (glyph): Change type of `hpos' to `int'.
4356         * src/devices/lbp/lbp.cpp (strsep): Removed.  Unused.
4357         * src/devices/lbp/lbp.h (splinerel): Fix compiler warnings.
4359         * src/utils/tfmtodit.cpp (gf::load): Fix compiler warnings.
4361         * src/utils/pfbtops/pfbtops.c (get_text): Fix compiler warning.
4363 2004-04-16  Werner LEMBERG  <wl@gnu.org>
4365         * src/devices/grolbp/lbp.h, src/preproc/grn/gprint.h,
4366         src/preproc/grn/hgraph.cpp, src/preproc/grn/hpoint.cpp,
4367         src/preproc/html/pushback.cpp, src/preproc/html/pushback.h: Use
4368         `double' instead of `float' everywhere.
4369         * src/preproc/grn/main.cpp: Use `double' instead of `float'
4370         everywhere.
4371         (main): Add return value.
4372         * src/preproc/grn/hdb.cpp: Use `double' instead of `float'
4373         everywhere.
4374         Update all user functions.
4376         * src/include/search.h, src/include/ptable.h, src/include/printer.h,
4377         src/preproc/eqn/box.h, src/preproc/pic/object.h,
4378         src/preproc/refer/refer.h, src/preproc/tbl/table.h,
4379         src/preproc/tbl/table.cpp, src/roff/troff/env.h,
4380         src/roff/troff/div.h, src/roff/troff/token.h, src/roff/troff/node.h,
4381         src/roff/troff/input.cpp, src/roff/troff/request.h,
4382         src/roff/troff/node.cpp: Don't mix `struct' and `class' in forward
4383         declarations.
4385         * src/utils/indxbib/signal.c: Include stdlib.h.
4387 2004-04-14  Keith Marshall  <keith.d.marshall@ntlworld.com>
4389         * tmac/s.tmac (@init, RP): Allow initialization of the PO register
4390         before the first page.
4392 2004-04-14  Thomas Klausner  <wiz@netbsd.org>
4394         * tmac/doc-common (doc-volume-as-*): Use lowercase names.
4395         (doc-operating-system-*): Updated.
4396         * tmac/doc-syms (doc-str-St-*): Various small fixes.
4397         (doc-str-Lb-*): Add more library names.
4399 2004-04-10  Art Haas  <ahaas@airmail.net>
4401         * src/utils/hpftodit/hpuni.cpp (hp_msl_to_unicode_list): Don't
4402         use anonymous type.
4404 2004-04-09  Art Haas  <ahaas@airmail.net>
4406         * src/utils/tfmtodit.cpp (lig_chars): Don't use anonymous type.
4408 2004-04-09  Keith Marshall  <keith.d.marshall@ntlworld.com>
4410         * arch/misc/shdeps.sh: Generate better comment for sed script.
4412 2004-04-08  Art Haas  <ahaas@airmail.net>
4414         * src/libs/libgroff/glyphuni.cpp (glyph_to_unicode_list),
4415         src/libs/libgroff/uniglyph.cpp (unicode_to_glyph_list),
4416         src/libs/libgroff/uniuni.cpp (unicode_decompose_list),
4417         src/preproc/eqn/box.cpp (param_table), src/preproc/grn/hgraph.cpp
4418         (polyfill), src/preproc/grn/main.cpp (polyfill),
4419         src/preproc/refer/command.cpp (command_table),
4420         src/utils/tfmtodit.cpp (lig_table): Don't use anonymous types (which
4421         gcc 3.5 doesn't like).
4423 2004-04-08  Werner LEMBERG  <wl@gnu.org>
4425         Removing many compiler warnings.  groff should now compile with
4426         a C++ compiler used for C files also.  [Simple variable renamings
4427         to avoid shadowing aren't logged in detail.]
4429         * src/devices/grodvi/dvi.cpp: Some local variable renamings.
4430         (draw_dvi_printer::draw) ['c']: Enclose in block.
4432         * src/devices/grohtml/post-html.cpp: Some local variable renamings.
4433         (page::add_line): Fix typos.
4434         * src/devices/grohtml/html-text.cpp: Some local variable renamings.
4436         * src/devices/grolbp/lbp.cpp: Don't define _GNU_SOURCE.
4437         Some local variable renamings.
4438         * src/devices/grolbp/lbp.h: Some local variable renamings.
4440         * src/devices/grolj4/lj4.cpp, src/devices/grotty/tty.cpp: Some local
4441         variable renamings.
4443         * src/libs/libbib/index.cpp (index_search_item_iterator::get_tag):
4444         Remove redundant local variable declaration.
4445         * src/libs/libbib/map.c (mapread, unmap): Don't use K&R style.
4446         Don't use `caddr_t' but `void *'.
4447         Enclose functions with `extern "C"' for C++.
4449         * src/libs/libdriver/input.cpp (remember_filename,
4450         remember_source_filename): Use cast for string constant.
4452         * src/libs/libgroff/font.cpp, src/libs/libgroff/fontfile.cpp,
4453         src/libs/libgroff/nametoindex.cpp, src/libs/libgroff/paper.cpp,
4454         src/libs/libgroff/geometry.cpp: Some local variable renamings.
4455         * src/libs/libgroff/iftoa.c, src/libs/libgroff/itoa.c: Don't use K&R
4456         style.
4457         Enclose functions with `extern "C"' for C++.
4458         * src/libs/libgroff/quotearg.c (TRUE,FALSE): Define as macros.
4459         (needs_quoting): Return `int'.
4460         (quote_arg): Add proper casts to malloc and realloc.
4461         * src/libs/libgroff/spawnvp.c: Compile code only for MS-DOS and
4462         various MS Windows environments.
4463         (spawnvp_wrapper): Add proper cast to malloc.
4465         * src/preproc/eqn/box.h: Remove redundant declarations of
4466         `make_script_box', `make_mark_box' and `make_lineup_box'.
4467         * src/preproc/eqn/eqn.y: Remove redundant declaration of `strsave'.
4468         * src/preproc/eqn/script.cpp, src/preproc/eqn/pile.cpp: Some local
4469         variable renamings.
4471         * src/preproc/grn/hpoint.cpp: Some local variable renamings.
4472         * src/preproc/grn/hgraph.cpp: Some local variable renamings.
4473         (dx, dy): Renamed functions to...
4474         (deltax, deltay): This.
4475         * src/preproc/grn/main.cpp: Some local variable renamings.
4476         (deffont): Add `const'.
4477         (initpic, conv): Use cast for string constant.
4479         * src/preproc/html/pre-html.cpp: Some local variable renamings.
4480         (makeFileName, alterDeviceTo, addZ): Use cast for string constant.
4481         (char_buffer::run_output_filter): Second argument is unused.
4482         * src/preproc/html/pushback.cpp: Some local variable renamings.
4484         * src/preproc/pic/pic.y: Remove redundant declaration of `do_copy'.
4485         * src/preproc/pic/object.cpp: Some local variable renamings.
4487         * src/preproc/refer/label.y (lookup_label): Remove redundant
4488         declaration of local variable.
4490         * src/preproc/soelim.cpp: Remove redundant declaration of
4491         `interpret_lf_args'.
4493         * src/preproc/tbl/main.cpp: Some local variable renamings.
4495         * src/roff/groff/groff.cpp (main): Use cast for string constant.
4496         * src/roff/groff/pipeline.c: Enclose declarations of `error',
4497         `c_fatal', and `i_to_a' with `extern "C"' for C++.
4498         Don't use C++-style comments.
4500         * src/roff/troff/env.h: Remove redundant declaration of `title'.
4501         * src/roff/troff/node.h, src/roff/troff/env.cpp,
4502         src/roff/troff/div.cpp, src/roff/troff/node.cpp: Some local variable
4503         renamings.
4504         * src/roff/troff/div.h: Remove redundant declaration of
4505         `end_diversions'.
4506         * src/roff/troff/troff.h: Remove redundant declaration of
4507         `cleanup_and_exit'
4508         * src/roff/troff/input.cpp: Remove redundant declaration of
4509         `handle_first_page_transition' and `process_input_stack'.
4511         * src/utils/hpftodit.cpp: Some local variable renamings.
4513         * src/utils/indxbib/signal.c: Enclose functions with `extern "C"'
4514         for C++.
4515         Don't define RETSIGTYPE.
4516         * src/utils/indxbib/indxbib.cpp: Some local variable renamings.
4518         * src/utils/pfbtops/pfbtops.cpp: Don't use K&R style.
4519         (error): Use `const' in argument.
4520         (main): Remove redundant declaration of `optind'.
4521         Move declaration of `Version_string' to top-level.
4523         * PROBLEMS: Document difficulties compiling signal.c if a C++
4524         compiler is used for C.
4526 2004-04-07  Werner LEMBERG  <wl@gnu.org>
4528         * Makefile.sub (DISTCLEANFILES): Add `test-groff'.
4530 2004-04-06  Keith Marshall  <keith.d.marshall@ntlworld.com>
4532         Make scripts like nroff.sh and neqn.sh portable across various
4533         (Unix-like) shell implementations from Cygwin, MSYS, etc., which use
4534         non-POSIX path separators.  The idea is to extend those scripts to
4535         decide at run-time (of the script) which path separator to use.
4537         * arch/misc/Makefile.sub: New file.
4538         * arch/misc/shdeps.sh: New file, generating OS dependency fixups.
4539         This script handles @GROFF_BIN_PATH_SETUP@, replacing it with
4540         a proper definition of the variable `GROFF_RUNTIME'.
4542         * Makefile.in (SH_DEPS_SED_SCRIPT): New variable.
4543         (MDEFINES): Add SH_DEPS_SED_SCRIPT.
4544         (PROGDEPDIRS): New variable.
4545         `FORCE' it.
4546         (PROGDIRS): Add PROGDEPDIRS.
4548         * src/preproc/eqn/Makefile.sub (neqn): Call SH_DEPS_SED_SCRIPT.
4549         Don't substitute @SEP@ and @BINDIR@.
4550         * src/preproc/eqn/neqn.sh: Use @GROFF_BIN_PATH_SETUP@.
4551         (PATH): Use GROFF_RUNTIME.
4553         * src/roff/nroff/Makefile.sub (nroff): Call SH_DEPS_SED_SCRIPT.
4554         Don't substitute @SEP@ and @BINDIR@.
4555         * src/roff/nroff/nroff.sh: Use @GROFF_BIN_PATH_SETUP@.
4556         (PATH): Use GROFF_RUNTIME.
4558 2004-04-05  Keith Marshall  <keith.d.marshall@ntlworld.com>
4560         * src/roff/nroff/nroff.sh: Implement work-around for sh.exe from
4561         Cygwin which doesn't handle stderr correctly.
4563 2004-03-08  Werner LEMBERG  <wl@gnu.org>
4565         * Makefile.comm (install_dev, uninstall_dev): Protect `for' loops
4566         against empty argument.  Problem reported by <cgd@broadcom.com>.
4568 2004-03-05  Keith Marshall  <keith.d.marshall@ntlworld.com>
4570         * Makefile.in (SEP): Replaced with...
4571         (RT_SEP, SH_SEP): Separators for the target platform's native path
4572         separator and the build environment, respectively.
4573         (fontpath, tmacpath): Use RT_SEP.
4574         (MDEFINES): Updated.
4576         * doc/Makefile.sub (GROFF_BIN_PATH): Use SH_SEP.
4577         * src/preproc/eqn/Makefile.sub (neqn): Use SH_SEP.
4578         * src/roff/nroff/Makefile.sub (nroff): Use SH_SEP.
4580 2004-03-05  Werner LEMBERG  <wl@gnu.org>
4582         * font/devlj4/Makefile.sub (LJ4RES): Set to 1200.  This helps to
4583         reduce alignment problems with newer printers which use built-in
4584         TrueType fonts (instead of the older Intellifonts).  The ideal
4585         solution is to provide a second set of groff metric files, but this
4586         is extremely time-consuming to produce, given that HP's metric
4587         files are very rudimentary.
4589 2004-03-01  Werner LEMBERG  <wl@gnu.org>
4591         * src/devices/grolj4/lj4.cpp (main): Fix argument of getopt_long.
4592         s/operand/argument/ in error message.
4594 2004-03-01  Keith Marshall  <keith.d.marshall@ntlworld.com>
4596         * src/roff/groff/groff.cpp (main): Don't allow option -o if -Thtml
4597         is in use.
4599 2004-03-01  Antti Kantee  <pooka@netbsd.org>
4601         * tmac/s.tmac (XE): Fix error message.
4603 2004-02-27  Jeff Conrad  <jeff_conrad@msn.com>
4605         * src/include/nonposix.h (write, dup, dup2, close) [_MSC_VER]:
4606         New macros.
4608         * src/roff/groff/pipeline.c: Declare strcasecmp.
4609         (run_pipeline) [_WIN32]: Use function name variants which don't
4610         start with `_'.
4611         Fix stream handling.
4613 2004-02-27  Keith Marshall  <keith.d.marshall@ntlworld.com>
4615         * src/include/nonposix.h: Fix declaration of `system_shell_name'.
4616         Declare `spawnvp_wrapper' and macro definitions of spawnvp only
4617         for platforms which use the native Win32 runtime libraries.
4618         (FLUSH_INPUT_PIPE) [_UWIN]: Provide non-empty version.
4620         * src/libs/libgroff/quotearg.c (QUOTE_ARG_MALLOC_ERROR,
4621         QUOTE_ARG_REALLOC_ERROR): Fix string.
4623         * src/preproc/html/pre-html.cpp: Remove declaration of
4624         `spawnvp_wrapper'.
4625         Don't use __MINGW32__.
4626         s/DEBUG_FILE/DEBUG_FILE_DIR/.
4627         (DEBUG_TEXT, DEBUG_NAME, DEBUG_FILE) [DEBUGGING]: New macros.
4628         (OUTPUT_STREAM, PS_OUTPUT_STREAM, REGION_OUTPUT_STREAM): New macros.
4629         (char_buffer::run_output_filter) [MAY_FORK_CHILD_PROCESS]: Fix
4630         calls to `set_redirection' and `WAIT'.
4631         [MAY_SPAWN_ASYNCHRONOUS_CHILD]: Remove unused variable `i' and `j'.
4632         Fix calls to `set_redirection' and `save_and_redirect'.
4633         (char_buffer::do_html, char_buffer::do_image) [DEBUGGING]: Fix calls
4634         to `set_redirection' and `save_and_redirect'.
4635         (usage): Fix message.
4636         (makeTempFiles, main): Use `DEBUG_FILE'.
4638 2004-02-21  Werner LEMBERG  <wl@gnu.org>
4640         * src/roff/troff/troff.h (WARN_TOTAL): Fix value.
4642 2004-02-21  Keith Marshall  <keith.d.marshall@ntlworld.com>
4644         * src/libs/libgroff/quotearg.c: New file, providing proper argument
4645         quoting for MSVC's spawn* and exec* functions.
4646         * src/libs/libgroff/spawnvp.c: New file, providing a wrapper around
4647         spawnvp with proper quoting for MSVC.
4649         * src/libs/libgroff/assert.cpp (program_name),
4650         src/libs/libgroff/new.cpp (program_name): Declare as `extern "C"'.
4651         * src/libs/libgroff/Makefile.sub (OBJS, CSRCS): Updated.
4653         * src/roff/troff/input.cpp (program_name): Declare as `extern "C"'.
4655         * src/include/error.h (program_name): Declare as `extern "C"'.
4656         * src/include/nonposix.h [__MSDOS__ ...]: Handle spawnvp.
4658 2004-02-21  Jeff Conrad  <jeff_conrad@msn.com>
4660         * src/preproc/html/pre-html.cpp [__CYGWIN__ ...]: Declare
4661         spawnvp_wrapper.
4662         [MAY_SPAWN_ASYNCHRONOUS_CHILD]: Declare i and j.
4664 2004-02-20  Jeff Conrad  <jeff_conrad@msn.com>
4666         * src/roff/groff/pipeline.c (cmd) [__MSDOS__ || ...]: New global
4667         variable.
4668         (sbasename) [__MSDOS__ || ...]: New function.
4669         (system_shell_name) [__MSDOS__ || ...]: Use a different, more
4670         generic algorithm.
4671         (system_shell_dash_c, is_system_shell) [__MSDOS__ || ...]: Updated.
4672         (run_pipeline) [_WIN32]: Use _XXX variants for some macros instead
4673         of XXX.
4674         Use STDOUT_FILENO instead of hardcoded file handle.
4675         (signal_catcher) [__MSDOS__]: Moved to non-_WIN32 section.
4677 2004-02-19  Werner LEMBERG  <wl@gnu.org>
4679         * src/roff/troff/div.cpp: Include nonposix.h after troff.h to
4680         avoid warnings w.r.t. redefinition of P_tmpdir for some compilers.
4682 2004-02-18  Werner LEMBERG  <wl@gnu.org>
4684         * font/devlj4/Makefile.sub (DEVFILES): Updated to contain all
4685         new font and mapping files.
4687 2004-02-18  Jeff Conrad  <jeff_conrad@msn.com>
4688             Keith Marshall  <keith.d.marshall@ntlworld.com>
4690         * src/include/nonposix.h (FLUSH_INPUT_PIPE): New macro to empty
4691         an input pipe.  This is needed for the MSVC compiler to make troff's
4692         `-o' option work.
4694         * src/roff/troff/div.cpp: Include nonposix.h.
4695         (cleanup_and_exit): Call FLUSH_INPUT_PIPE.
4697 2004-02-17  Werner LEMBERG  <wl@gnu.org>
4699         * font/devlj4/generate/special.awk: New script.
4700         * font/devlj4/generate/Makefile (S): Use special.awk.
4701         * font/devlj4/*: Regenerated, including the following new files:
4702         Arial (AR, AB, AI, ABI), Times New Roman (TNRR, TNRB, TNRI, TNRBI),
4703         MS Symbol (SYMBOL), Wingdings (WINGDINGS).
4704         * NEWS: Document new lj4 fonts and revised hpftodit.
4706 2004-02-17  Paco Andrés Verdú  <pandres@dragonet.es>
4708         * src/devices/grolbp/lbp.h (vmdvarc): Fix formatting string.
4710 2004-01-25  Werner LEMBERG  <wl@gnu.org>
4712         * src/libs/libgroff/progname.cpp: Replaced with...
4713         * src/libs/libgroff/progname.c: New file.
4714         * src/libs/libgroff/Makefile.sub: Updated accordingly.
4716 2004-01-17  Werner LEMBERG  <wl@gnu.org>
4718         * font/devlj4/generate/Makefile (SYMBOL): Use 9nb28703.tfm.
4720 2004-01-16  Jeff Conrad  <jeff_conrad@msn.com>
4722         * font/devlj4/generate/wingdings.map,
4723         font/devlj4/generate/symbol.map: Include unnamed glyphs.
4724         Use groff glyph names where possible.
4725         * src/devices/grolj4/lj4_font.man: Minor updates.
4727 2004-01-13  Werner LEMBERG  <wl@gnu.org>
4729         * tmac/www.tmac (DC): Handle TTY devices.
4731         * doc/webpage.ms: Document viewCVS from ffii.org.
4732         * NEWS, README: Updated.
4734         * src/roff/groff/groff.man: Mention lj4_font man page.
4736         * font/devlj4/generate/Makefile (SYMBOLMAP, WINGDINGSMAP): New
4737         variables.
4738         (FONTS): Add SYMBOL and WINGDINGS.
4739         (SYMBOL, WINGDINGS): New targets.
4741 2004-01-13  Jeff Conrad  <jeff_conrad@msn.com>
4743         * src/devices/grolj4/lj4_font.man: New man page.
4744         * src/devices/grolj4/Makefile.sub (MAN5): New variable.
4745         * src/devices/grolj4.man: Mention lj4_font man page.
4747         * src/utils/hpftodit/hpftodit.cpp (read_map): Handle line comments.
4748         * src/utils/hpftodit/hpftodit.man: Document it.
4749         (CW): New macro.
4750         Remove details about fonts (which are now in lj4_font.man).
4752         * font/devlj4/generate/symbol.map,
4753         font/devlj4/generate/wingdings.map: New files.
4755 2004-01-12  Werner LEMBERG  <wl@gnu.org>
4757         * README: Mention ffii's viewcvs access.
4759 2004-01-09  Werner LEMBERG  <wl@gnu.org>
4761         * font/devlj4/generate/special.map: Map MSL 228 to U+221F.
4763 2004-01-09  Jeff Conrad  <jeff_conrad@msn.com>
4765         Revert most of the change from 2004-01-03 to better control used
4766         symbol sets.
4768         * src/utils/hpftodit/hpftodit.cpp (symbol_set): New structure.
4769         (text_symbol_sets, special_symbol_sets): New arrays.
4770         (symbol_set_table): New global variable.
4771         (read_symbol_sets): Use search order given in the text_symbol_sets
4772         and special_symbol_sets arrays.  If command line flag -a is not
4773         given, search both arrays.
4774         (output_charset): Require x_height_tag only for command line flag -i.
4776 2004-01-06  Werner LEMBERG  <wl@gnu.org>
4778         Implement string-valued registers \n[.m] and \n[.M] to return the
4779         name of the current drawing and background color, respectively.
4781         * src/roff/troff/symbol.h: Moved to...
4782         * src/include/symbol.h: Here.
4783         Small fixes to make it work outside of the `troff' directory.
4784         * src/roff/troff/symbol.cpp: Moved to...
4785         * src/libs/libgroff/symbol.cpp: Here.
4786         Small fixes to make it work outside of the `troff' directory.
4788         * src/include/Makefile.sub (HDRS), src/libs/libgroff/Makefile.sub
4789         (OBJS, CCSRCS), src/roff/troff/Makefile.sub (OBJS, CCSRCS, HDRS):
4790         Updated.
4792         * src/include/color.h: Include symbol.h.
4793         (color): Add new field `nm'.
4794         * src/libs/libgroff/color.cpp (color::color): Updated.
4796         * src/roff/troff/dictionary.cpp, src/roff/troff/div.cpp,
4797         src/roff/troff/node.cpp, src/roff/troff/number.cpp,
4798         src/roff/troff/reg.cpp: Don't include symbol.h.
4800         * src/roff/troff/env.cpp: Don't include symbol.h.
4801         (environment::get_glyph_color_string,
4802         environment_get_fill_color_string): New member functions.
4803         (init_env_requests): Handle `.m' and `.M' registers.
4804         * src/roff/troff/input.cpp: Don't include symbol.h.
4805         (default_symbol): Moved to symbol.cpp/symbol.h.
4806         (do_glyph_color, do_fill_color, define_color): Pass symbol name
4807         to color constructor.
4808         * src/roff/troff/env.h: Updated.
4810         * NEWS, man/groff_diff.man, man/groff.man, doc/groff.texinfo:
4811         Document new registers.
4813 2004-01-05  Werner LEMBERG  <wl@gnu.org>
4815         * src/roff/troff/node.cpp (space_node::get_breakpoints,
4816         space_node::nbreaks): Protect against zero `next' field.
4818 2004-01-03  Jeff Conrad  <jeff_conrad@msn.com>
4820         In hpftodit, use the symbol sets offered in the TFM.
4822         * src/utils/hpftodit/hpftodit.cpp (NO_GLYPH): New constant.
4823         (symbol_set, text_symbol_sets, special_symbol_sets,
4824         symbol_set_table): Removed.
4825         (get_printcode): Removed.
4826         (read_symbol_sets): Initialize `symbol_set' field with
4827         `NO_SYMBOL_SET'.
4828         Simplify code to just use the `kind' value.
4829         (output_charset): Improve output formatting.
4830         (dump_symbols): Simplified.
4832 2004-01-02  Werner LEMBERG  <wl@gnu.org>
4834         * font/devlj4/generate/text.map: Add more MSL numbers.
4836 2004-01-02  Jeff Conrad  <jeff_conrad@msn.com>
4838         * src/utils/hpftodit/hpftodit.cpp (is_decomposed): New macro.
4839         (text_symbol_sets): Add more symbol sets.
4840         (debug_flag): New static variable (moved from `main').
4841         (get_printcode, show_symset): New functions.
4842         (main): Remove `debug_flag'.
4843         (output_charset): Use `show_symset'.
4844         (dump_symbols):  Use `show_symset'.
4845         Print symsets for all glyphs.
4846         (read_map): Actually call `unicode_to_ucode_make' but this time
4847         correctly.
4849 2004-01-01  Werner LEMBERG  <wl@gnu.org>
4851         * font/devlj4/generate/text.map, font/devlj4/generate/special.map:
4852         Fix placement of comments.
4854 2004-01-01  Jeff Conrad  <jeff_conrad@msn.com>
4856         * src/utils/hpftodit/hpftodit.cpp (main): Read map file also if
4857         option `-d' is given.
4858         (output_charset): Improve warning messages to give more information.
4859         (dump_symbols): Make information more precise.
4860         (usage): Updated.
4861         (read_map): Don't call unicode_to_ucode_name; the glyph names must
4862         appear as-is and shouldn't be decomposed.
4864 2003-12-31  Werner LEMBERG  <wl@gnu.org>
4866         * src/utils/hpftodit/hpftodit.cpp (dump_tags): Handle posture_tag.
4867         * font/devlj4/generate/Makefile (IFLAG): Updated to new units.
4868         (FONTS): Add TrueType font families Arial and Times New Roman.
4869         (TNRR, TNRB, TNRI, TNRBI, AR, AB, AI, ABI): New targets.
4870         * font/devlj4/generate/text.map: Fix Unicode values of `fi' and
4871         `fl'.
4873 2003-12-31  Jeff Conrad  <jeff_conrad@msn.com>
4875         * test-groff.in (SEP): Quote value.
4876         * src/roff/troff/node.cpp (suppress_node::tprint): Change type of
4877         `tem' to `char*' to avoid deallocation of a pointer to a constant
4878         object which some compilers don't like.
4880 2003-12-31  Werner LEMBERG  <wl@gnu.org>
4882         * font/devlj4/generate (text.map, special.map): Rewritten to work
4883         with the new hpftodit version.
4885 2003-12-30  Jeff Conrad  <jeff_conrad@msn.com>
4887         * src/utils/hpftodit/hpftodit.cpp (output_charset): Emit HP symbol
4888         set and 8bit character code for all glyphs also.
4890 2003-12-30  Werner LEMBERG  <wl@gnu.org>
4892         * src/libs/libgroff/strcasecmp.c: Updated from gnulib.
4894 2003-12-29  Werner LEMBERG  <wl@gnu.org>
4896         More fixes for MSVC compiler.
4898         * doc/Makefile.sub (GROFF_BIN_PATH): Use $(SEP).
4900         * src/include/nonposix.h (STDIN_FILENO, STDOUT_FILENO,
4901         STDERR_FILENO) [_MSC_VER]: Define conditionally.
4902         (getpid) [_MSC_VER]: Remove.
4903         Include direct.h and process.h conditionally.
4905         * src/roff/troff/node.cpp (suppress_node::tprint): Don't use
4906         parentheses for a_delete.
4908         * src/utils/lookbib/lookbib.cpp: Include nonposix.h.
4910         * test-groff: Replaced with...
4911         * test-groff.in: This new template to handle path separator
4912         properly.
4914         * configure.ac: Check for direct.h and process.h.
4915         Generate test-groff script.
4916         * configure, src/include/config.hin: Regenerated.
4918 2003-12-28  Werner LEMBERG  <wl@gnu.org>
4920         Add integral extension glyph.
4921         Add new option `-x' to afmtodit to suppress use of built-in AGL.
4923         * font/devhtml/R.proto, font/devutf8/R.proto: Add `u23AE'.
4925         * font/devps/generate/textmap: Provide entry for `integralex' to
4926         override (old) PUA value of the AGL.
4927         * font/devps/generate/Makefile (SS): Add afmtodit option `-x'.
4928         * font/devps/*: Regenerated.
4930         * src/utils/afmtodit/afmtodit.pl: Add option `-x'.
4931         * src/utils/afmtodit/afmtodit.man, NEWS: Updated.
4933 2003-12-27  Werner LEMBERG  <wl@gnu.org>
4935         Add forgotten `coproduct' symbol (already available for DVI).
4937         * font/devhtml/R.proto, font/devps/generate/textmap,
4938         font/devps/symbolmap, font/devutf8/R.proto, man/groff_char.man,
4939         src/libs/libgroff/uniglyph.cc, src/libs/libgroff/glyphuni.cpp: Add
4940         U+2210 (\[coproduct]).
4942 2003-12-26  Jeff Conrad  <jeff_conrad@msn.com>
4944         hpftodit has been extended to handle TrueType metric files and
4945         more glyphs.  See hpftodit.man for more details.
4947         * src/utils/hpftodit/hpftodit.cpp: Include stdio.h, string.h,
4948         ctype.h, and unicode.h.
4949         s/msl/charcode/ everywhere since we now handle Unicode values also.
4950         (equal, NO, YES, MSL, SYMSET, UNICODE, UNICODE): New macros.
4951         Use it where appropriate.
4952         (MULTIPLIER): Replaced with...
4953         (multiplier): New global static variable.
4954         (scale): Updated.
4955         (tag_type): Add more TFM tags.
4956         (tag_name): New array.
4957         (ENUM_TYPE, FLOAT_TYPE): Removed.
4958         (BYTE_TYPE): New value assigned.
4959         (ASCII_TYPE, RATIONAL_TYPE): New enumeration values.
4960         (text_symbol_sets, special_symbol_sets): Extended to cover more
4961         sets.
4962         (check_type): Add return value.
4963         (check_units): Add parameters to get ppi and upem values.
4964         Handle TrueType TFM data.
4965         (output_font_name): New function.
4966         (output_charset): Add parameter to handle TFM type.
4967         Handle TrueType TFMs also.
4968         (em_fract): New macro.
4969         (dump_tags): Be much more verbose and handle more tags.
4970         (dump_ascii, dump_symbol_sets, dump_symbols): New functions.
4971         (hp_msl_to_ucode_name, unicode_to_ucode_name, is_uname): New
4972         functions.
4973         (read_map): Add parameter to handle TFM type.
4974         Handle both MSL and Unicode mappings.
4975         (main): Add two new command line options `-a' and `-q'.
4976         Updated to make use of new functions.
4977         (usage): Updated.
4979         * src/utils/hpftodit/hpuni.cpp: New file.
4981         * src/utils/hpftodit/Makefile.sub, src/utils/hpftodit/hpftodit.man:
4982         Updated.
4984 2003-12-25  Werner LEMBERG  <wl@gnu.org>
4986         * src/include/nonposix.h (read) [_MSC_VER]: Define.
4988 2003-12-24  Werner LEMBERG  <wl@gnu.org>
4990         * src/utils/afmtodit/afmtodit.man: Some reformulations as suggested
4991         by Michail Vidiassov <master@iaas.msu.ru>.
4993 2003-12-20  Werner LEMBERG  <wl@gnu.org>
4995         * font/devhtml/R.proto: Add u00{47,67}_0306, u00{53,73}_0327,
4996         and u0049_0307.
4997         Add missing latin-2 glyphs.
4998         * font/devutf8/R.proto: Add missing latin-2 glyphs.
5000         * tmac/troffrc: Load `composite.tmac' earlier.
5002         * tmac/dvi.tmac, tmac/ps.tmac, tmac/lbp.tmac: Add u00{47,67}_0306,
5003         u00{53,73}_0327, and u0049_0307.
5004         * tmac/X.tmac: Add u00{47,67}_0306.
5005         * tmac/tty-char.tmac: Use composite glyph names for readability.
5007         * NEWS: Updated.
5009         * src/include/unicode.h: Remove `extern' keywords.
5011 2003-12-20  Nilgün Belma Bugüner  <nilgun@superonline.com>
5013         * tmac/latin5.tmac: New file.
5015 2003-12-19  Werner LEMBERG  <wl@gnu.org>
5017         Add some glyphs needed for Turkish.
5019         * font/devutf8/R.proto: Add u00{47,67}_0306, u00{53,73}_0327,
5020         and u0049_0307.
5022         * tmac/composite.tmac: Add `,' as a synonym for `ac' accent.
5023         * tmac/tty-char.tmac: Add representations for u00{47,67}_0306,
5024         u00{53,73}_0327, and u0049_0307.
5026 2003-12-18  Werner LEMBERG  <wl@gnu.org>
5028         * src/devices/grops/ps.cc (ps_output::put_float): Revert change
5029         from 2001-10-04.
5030         Remove trailing zeros.
5032 2003-12-17  Werner LEMBERG  <wl@gnu.org>
5034         Make \? transparent to end-of-sentence recognition.
5036         * src/roff/troff/input.cc (non_interpreted_node): Add
5037         `ends_sentence' member function.
5039 2003-12-16  Werner LEMBERG  <wl@gnu.org>
5041         * doc/groff.texinfo: Document `dt' request correctly.
5042         Other minor typographical improvements.
5044 2003-12-10  Michail Vidiassov  <master@iaas.msu.ru>
5046         * src/utils/afmtodit/Makefile.sub (afmtodit): Fix typo.
5048 2003-12-10  Richard Stallman  <rms@gnu.org>
5050         * LICENSE: Better wording.
5052 2003-12-09  Werner LEMBERG  <wl@gnu.org>
5054         * aclocal.m4 (GROFF_BROKEN_SPOOLER_FLAGS): Set default value to 0.
5055         * configure, NEWS: Updated.
5057 2003-12-08  Werner LEMBERG  <wl@gnu.org>
5059         * FDL: Updated to version 1.2 (from www.gnu.org/copyleft).
5061 2003-12-07  Bernd Warken  <bwarken@mayn.de>
5063         * LICENSE: Updated.
5065 2003-12-07  Werner LEMBERG  <wl@gnu.org>
5067         * INSTALL: Improved.
5069 2003-12-05  Keith Marshall  <keith.d.marshall@ntlworld.com>
5071         Use path separator character of target platform for compiled-in
5072         default paths.
5074         * aclocal.m4 (GROFF_TARGET_PATH_SEPARATOR): New macro.
5075         * configure.ac: Use GROFF_TARGET_PATH_SEPARATOR.
5076         * configure: Regenerated.
5077         * Makefile.in (SEP): Use GROFF_PATH_SEPARATOR.
5079 2003-12-05  Werner LEMBERG  <wl@gnu.org>
5081         * src/include/nonposix.h (PATH_SEP_CHAR): New definition.
5082         Replace `PATH_SEP[0]' with `PATH_SEP_CHAR' everywhere.
5084 2003-12-04  Bernd Warken  <bwarken@mayn.de>
5086         * LICENSE: New file.
5088 2003-12-03  Werner LEMBERG  <wl@gnu.org>
5090         * src/utils/afmtodit/afmtodit.pl: Comment out code which handles
5091         ligatures present in AFM files since groff currently only
5092         understands some standard ligatures and nothing else.
5094 2003-12-03  Jeff Conrad  <jeff_conrad@msn.com>
5096         * src/roff/groff/groff.cpp (main): Don't run the spooler if
5097         option -v is given.
5099         * src/roff/groff/pipeline.c (run_pipeline) [_WIN32]: Fix error
5100         messages.
5101         Close stdout copy.
5102         Don't use Unix wait flags.
5104 2003-12-02  Werner LEMBERG  <wl@gnu.org>
5106         * src/roff/troff/glyphuni.cpp, src/roff/troff/unicode.cpp,
5107         src/roff/troff/unicode.h, src/roff/troff/uniglyph.cpp,
5108         src/roff/troff/uniuni.cpp: Moved to...
5109         * src/libs/libgroff/glyphuni.cpp, src/libs/libgroff/unicode.cpp,
5110         src/libs/libgroff/unicode.h, src/libs/libgroff/uniglyph.cpp,
5111         src/libs/libgroff/uniuni.cpp: Here.
5113         * src/include/Makefile.sub.old (HDRS),
5114         src/libs/libgroff/Makefile.sub (OBJS, CCSRCS),
5115         src/roff/troff/Makefile.sub (HDRS, PBJS, CCSRCS): Updated.
5117 2003-12-01  Keith Marshall  <keith.d.marshall@ntlworld.com>
5119         * src/preproc/htlp/pre-html.cpp (__tmpfile): Renamed to
5120         `DEBUG_FILE'.
5121         Updated all users.
5123 2003-12-01  Werner LEMBERG  <wl@gnu.org>
5125         * groff.texinfo: Document special behaviour of `.vs 0'.
5126         Improve documentation of `cflags' request.
5127         * NEWS: Updated.
5129 2003-11-29  Werner LEMBERG  <wl@gnu.org>
5131         * font/devlj4/generate/Makefile (CORONET): Use correct TFM.
5132         * font/devlj4/CORONET: Regenerated.
5134 2003-11-24  Werner LEMBERG  <wl@gnu.org>
5136         * src/roff/troff/env.cpp (hyphen_trie::read_patterns_file): Fix loop
5137         if processing hyphenation patterns in traditional mode.
5138         Improve error messages.
5140 2003-11-20  Werner LEMBERG  <wl@gnu.org>
5142         * src/roff/troff/node.cpp (troff_output_file::put_char_width,
5143         troff_output_file::put_char): Fix type of local variable `c'.
5145 2003-11-19  Werner LEMBERG  <wl@gnu.org>
5147         * src/roff/groff/pipeline.c (P): Removed.  Updated all function
5148         declarations.
5149         (i_to_a): Removed.  libgroff already provides this function.
5150         (run_pipeline) [_WIN32]: Don't use itoa but i_to_a.
5152 2003-11-18  Keith Marshall  <keith.d.marshall@ntlworld.com>
5154         * src/roff/groff/pipeline.c (xstrsignal): Fix usage of
5155         HAVE_DECL_SYS_LIST.
5157 2003-11-17  Werner LEMBERG  <wl@gnu.org>
5159         * COPYING: Use correct version.
5161 2003-11-11  Werner LEMBERG  <wl@gnu.org>
5163         LynxOS 4.0.0 doesn't declare vfprintf.
5165         * configure.ac: Check for vfprintf.
5166         * configure: Regenerated.
5167         * src/include/lib.h: Handle `NEED_DECLARATION_VFPRINTF'.
5168         * src/include/config.hin: Regenerated.
5170 2003-11-10  Werner LEMBERG  <wl@gnu.org>
5172         LynxOS 4.0.0 has snprintf (without declaration) but no vsnprintf.
5174         * configure.ac: Check for vsnprintf.
5175         * configure: Regenerated.
5176         * src/include/lib.h: Handle `NEED_DECLARATION_VSNPRINTF' and
5177         `HAVE_VSNPRINTF'.
5178         * src/include/config.hin: Regenerated.
5180 2003-11-09  Werner LEMBERG  <wl@gnu.org>
5182         * aclocal.m4: Updated syntax to autoconf 2.59.
5183         (GROFF_HTML_PROGRAMS): Use AC_FOREACH.
5184         Don't check for gsos2.
5185         (GROFF_SRCDIR, GROFF_BUILDDIR): Removed.  autoconf 2.59 provides
5186         working abs_top_srcdir and abs_top_builddir.
5188         * configure.ac: Updated syntax to autoconf 2.59.
5189         Don't call GROFF_SRCDIR and GROFF_BUILDDIR.
5190         Replace call to AC_DECL_SYS_SIGLIST with call to AC_CHECK_DECLS.
5191         * configure: Regenerated.
5193         * Makefile.in, doc/Makefile.in: s/@top_srcdir@/@abs_top_srcdir@/,
5194         s/@groff_top_builddir@/@abs_top_builddir@/.
5196         * src/roff/groff/pipeline.c (xstrsignal):
5197         s/SYS_SIGLIST_DECLARED/HAVE_DECL_SYS_SIGLIST/.
5199 2003-11-07  Werner LEMBERG  <wl@gnu.org>
5201         * src/devices/grodvi/dvi.cpp (draw_dvi_printer::draw) ['a']: Always
5202         make start angle smaller than end angle to circumvent a bug in tpic
5203         handling of some versions of dvipdfm (and dvipdfmx).
5205 2003-10-30  Werner LEMBERG  <wl@gnu.org>
5207         * src/devices/grops/grops.man: Improve section on creating EPS.
5209 2003-10-29  Werner LEMBERG  <wl@gnu.org>
5211         * contrib/pic2graph/pic2graph.sh: Fix typo (-P-letter ->
5212         -P-pletter).
5214 2003-10-28  Werner LEMBERG  <wl@gnu.org>
5216         * doc/groff.texinfo: Fix documentation of `.if'.
5218 2003-10-27  Michail Vidiassov  <master@iaas.msu.ru>
5220         * src/utils/afmtodit/afmtodit.pl: Handle unmapped characters of
5221         the form `uniXXXX' also.
5223 2003-10-27  Werner LEMBERG  <wl@gnu.org>
5225         * contrib/eqn2graph/eqn2graph.sh, contrib/grap2graph/grap2graph.sh,
5226         contrib/pic2graph/pic2graph.sh: Implement secure management of
5227         temporary files.
5228         Pass `-P-pletter' to groff to avoid data outside of the converted
5229         area -- some versions of `convert' (for example 5.3.8) don't check
5230         the bounding box of the image but always use a fixed image size
5231         (letter paper format).
5232         * contrib/eqn2graph/eqn2graph.man, contrib/grap2graph/grap2graph.man,
5233         contrib/pic2graph/pic2graph.man: Updated.
5235         * src/roff/groff/groff.man: Document $TMP and $TEMP.
5237 2003-10-26  Werner LEMBERG  <wl@gnu.org>
5239         * src/preproc/pic/troff.cpp (troff_output::simple_circle,
5240         troff_output::simple_ellipse, troff_output::simple_arc,
5241         troff_output::simple_line, troff_output::simple_spline,
5242         troff_output::simple_polygon): Insert a space before arguments.
5243         (troff_output::set_fill): Emit `\&' before `\D'Fg...' since the
5244         latter doesn't produce a node, so the following `.sp -1' would do
5245         the wrong thing.
5246         Don't emit `.sp -1' after \M.  This also doesn't produce a token
5247         (and we don't have to care about compatibility mode).
5248         (troff_output::set_color, troff_output::reset_color): Don't emit
5249         `.sp -1' after \M and \m.
5251         * src/roff/troff/input.cpp (old_have_input): New global variable.
5252         (input_stack::get): Handle `old_have_input'.
5253         (process_input_stack) <token::TOKEN_NEWLINE>: Call
5254         `trapping_blank_line' depending on `old_have_input', not
5255         `have_input'.
5257 2003-10-20  Keith Marshall  <keith.d.marshall@ntlworld.com>
5259         * src/libs/libgroff/tmpfile.cpp [__MSDOS__, _Win32]
5260         (WIN32_TMPDIR_ENVVAR, MSDOS_TMPDIR_ENVVAR): New macros, providing
5261         default directory names for temporary files.
5262         [__MSDOS__, _Win32] (temp_init::temp_init): Use them.
5264         * src/roff/groff/pipeline.c [__MSDOS__]: Include stdlib.h.
5265         [__MSDOS__] (run_pipeline): Honour environment variables.
5266         Don't use `tmpnam' but `tempnam' to work around messy
5267         implementation.
5269         * README.MinGW: New file.
5271 2003-10-16  Werner LEMBERG  <wl@gnu.org>
5273         * src/preproc/html/pre-html.cpp (write_upto_newline): Don't use
5274         `(*t)->next' without testing validity of `*t'.
5275         (usage): Make it more readable.
5277 2003-10-16  Keith Marshall  <keith.d.marshall@ntlworld.com>
5279         Make html device run under both MS-DOS and Win32.
5281         * src/preproc/html/pre-html.cpp (MAY_FORK_CHILD_PROCESS,
5282         MAY_SPAWN_ASYNCHRONOUS_CHILD): New macros to control whether
5283         spawn or fork+exec has to be used, and whether parent must sleep
5284         until the child process terminates.  Used in
5285         `char_buffer::run_output_filter'.
5286         (copyofstdoutfd): Removed.
5287         (char_buffer): Replace `write_file_html' and `write_file_troff'
5288         member functions with `emit_troff_output' and `run_output_filter'.
5289         (DEVICE_FORMAT, HTML_OUTPUT_FILTER, IMAGE_OUTPUT_FILTER): New
5290         macros.
5291         (replaceFd): Replaced with...
5292         (set_redirection): New auxiliary function.
5293         (waitForChild): Replaced with...
5294         (save_and_redirect): New auxiliary function for.
5296         (char_buffer::do_html, char_buffer::do_image): Simplified, using new
5297         functions.
5299 2003-10-14  Keith Marshall  <keith.d.marshall@ntlworld.com>
5301         * aclocal.m4 (GROFF_SYS_NERR): Check stdlib.h also.
5302         (GROFF_LIBC): New function.
5303         * configure.ac: Call GROFF_LIBC.
5304         Check for `kill'.
5305         * configure: Regenerated.
5307         * src/include/lib.h: Handle __MINGW32__.
5308         * src/include/nonposix.h [_MSC_VER]: Handle __MINGW32__.
5309         Add macro for `pipe'.
5310         Define P_tmpdir.
5312         * src/roff/groff/pipeline.c (run_pipeline): Handle `no_pipe'
5313         correctly.
5315         * src/utils/indxbib/signal.c (handle_fatal_signal) [!HAVE_KILL]:
5316         Implement.
5318 2003-10-12  Werner LEMBERG  <wl@gnu.org>
5320         * src/roff/groff/groff.cpp (help), src/devices/grops/ps.cpp (usage),
5321         src/roff/troff/input.cc (usage): Updated.
5323         * NEWS, doc/groff.texinfo: Updated.
5325 2003-10-12  Peter Miller  <millerp@canb.auug.org.au>
5327         * src/libs/libgroff/searchpath.cpp
5328         (search_path::open_file_cautious): New function which also handles
5329         `-' as stdin and stdout depending on the access mode.
5330         * src/include/searchpath.h (search_path): Updated.
5332         * src/devices/grops/ps.cpp (main): Handle new `-I' switch.
5333         * src/devices/grops/ps.h: Include `searchpath.h'.
5334         * src/devices/grops/psrm.cpp (resource_manager::supply_resource):
5335         Open resource file with `include_search_path.open_file_cautious'.
5336         * src/devices/grops/grops.man: Document new `-I' switch.
5338         * src/devices/grodvi/dvi.cpp (main), src/devices/grolbp/lbp.cpp
5339         (main), src/devices/grolj4/lj4.cpp (main),
5340         src/devices/grotty/tty.cpp (main): Ignore new `-I' switch.
5342         * src/preproc/soelim/soelim.cpp (include_list_length, include_list):
5343         Replaced with...
5344         (include_search_path): New global variable.
5345         (include_path_append): Removed.
5346         (main): Use `include_search_path.command_line_dir' to handle `-I'.
5347         (do_file): Simplify, using new
5348         `include_search_path.open_file_cautious'.
5350         * src/roff/groff/groff.cpp (print_commands): Accept file handle as
5351         parameter.
5352         (main): Pass arguments to `-I' to both troff and devices.
5353         Improve handling of `-V'.
5354         * src/roff/groff/groff.man: Document changes to -I and -V.
5356         * src/roff/troff/input.cpp (include_search_path): New global
5357         variable.
5358         (next_file, source, ps_bbox_request, transparent_file,
5359         process_input_file): Use new
5360         `include_search_path.open_file_cautious'.
5361         (main) Handle `-I' switch.
5362         * src/roff/troff/node.cpp (troff_output_file::really_copy_file):
5363         Use new `include_search_path.open_file_cautious'.
5364         * src/roff/troff/node.h: New extern symbol `include_search_path'.
5365         * src/roff/troff/troff.man: Document new `-I' switch.
5367 2003-09-15  Ruslan Ermilov  <ru@FreeBSD.org>
5369         Support multiple calls of .Lb in LIBRARY section.
5371         * tmac/doc-common (doc-in-library-section): New register.
5372         (doc-section-library): New string.
5373         (Sh): Set `doc-in-library-section'.
5374         (Rd): Updated.
5375         * tmac/doc-syms (Lb): Insert breaks before and after arguments
5376         if in LIBRARY section.
5377         * tmac/doc.tmac (doc-save-global-vars): Updated.
5378         * NEWS, tmac/groff_mdoc.man: Updated.
5380 2003-09-14  Ruslan Ermilov  <ru@FreeBSD.org>
5382         * tmac/doc-common (doc-default-operating-system): New variable.
5383         (Os): Use it.
5385 2003-09-08  Werner LEMBERG  <wl@gnu.org>
5387         * tmac/doc.tmac (doc-reset-reference): Handle data for `%I' also.
5389 2003-08-31  Werner LEMBERG  <wl@gnu.org>
5391         * Makefile.comm: Use `test ... ||' in favor of `if test ...; then'.
5392         (install_dev, uninstall_dev): Check whether $(DEVSCRIPTS) and
5393         $(DEVFILES) are not empty.
5394         * Makefile.in: Use `test ... ||' in favor of `if test ...; then'.
5396 2003-08-23  Stephen Gildea  <http://www.gildea.com/stephen>
5398         * src/preproc/ref/ref.cpp (reference::compute_sort_key): Always
5399         insert SORT_SEP.  With certain combinations of sort specifications,
5400         refer sorted entries in the wrong order.  In particular, entries
5401         with a missing field should be be sorted before all entries that
5402         have that field, before refer looks to the next field.
5404 2003-08-23  Werner LEMBERG  <wl@gnu.org>
5406         * src/utils/pfbtops/Makefile.sub (LINK.c): Define it so that the
5407         g++ linker is used.  Reported by Mark J. Reed
5408         <mark.reed@turner.com>.
5410 2003-08-16  Heinz-Jürgen Oertel  <hj.oertel@surfeu.de>
5412         Add key character `x' to tbl which makes tbl call a user-defined
5413         macro on a table cell.
5415         * src/preproc/tbl/table.h (entry_modifier): Add `macro'.
5416         * src/preproc/tbl/table.cpp (block_entry::do_divert): Call
5417         `set_modifier' after printing the compatibility request.
5418         (set_modifier): Print call to `m->macro' if not empty.
5419         * src/preproc/tbl/main.cpp (entry_format::debug_print): Handle
5420         `macro'.
5421         (process_format): Implement cases `x' and `X'.
5422         * src/preproc/tbl/tbl.man, NEWS: Updated.
5424 2003-08-15  Werner LEMBERG  <wl@gnu.org>
5426         * doc/groff.texinfo: Minor fixes.
5428 2003-08-09  Werner LEMBERG  <wl@gnu.org>
5430         * tmac/an-old.tmac [cR]: Fix redefinition of `bp'.
5432 2003-08-07  Werner LEMBERG  <wl@gnu.org>
5434         * doc/Makefile.sub: Not all shells expand wildcards in the `for'
5435         argument list to nothing if there is no file to match.  Use `ls' as
5436         a protection, similar to autoconf.
5438         * Makefile.comm (install_dev, uninstall_dev): Protect `for' against
5439         empty argument lists.
5441         * doc/groff.texinfo: Improve documentation how vertical spacing
5442         and line breaks interact.
5443         Other minor fixes.
5445         * tmac/www.tmac: Initialize `www-htmlimage-gap'.
5447 2003-08-03  Werner LEMBERG  <wl@gnu.org>
5449         * NEWS, src/devices/grops/grops.man: -b16 is necessary to produce
5450         EPS (using eps2eps or similar programs to compute the bounding box).
5452 2003-07-24  Werner LEMBERG  <wl@gnu.org>
5454         * doc/groff.texinfo: Use the new @/ command to avoid overlong lines.
5455         * doc/texinfo.tex: Updated from texinfo 4.6.
5456         * README.CVS: From now on we need texinfo 4.6.
5458 2003-07-23  Werner LEMBERG  <wl@gnu.org>
5460         Add requests `dei1' and `ami1' for completeness.
5462         * src/roff/troff/input.cc (calling_mode): Remove
5463         CALLING_DISABLE_COMP.
5464         (comp_mode): New enumeration.
5465         (do_define_string, define_string, define_nocomp_string,
5466         append_string, append_nocomp_string): Updated.
5467         (do_define_macro): Add third parameter.
5468         (define_macro, define_nocomp_macro, define_indirect_macro,
5469         append_macro, append_nocomp_macro, append_indirect_macro): Updated.
5470         (define_indirect_nocomp_macro, append_indirect_nocomp_macro): New
5471         functions.
5472         (ignore): Updated.
5473         (init_input_requests): Add `dei1' and `ami1'.
5475         * tmac/trace.tmac: Handle de1 and am1.
5476         (de): Improve tracing message.
5477         (am): Add missing `do'.
5478         (return): Use de1.
5480         * NEWS, man/groff_diff.man, man/groff.man, doc/groff.texinfo:
5481         Document new requests.
5483 2003-07-22  Heinz-Jürgen Oertel  <hj.oertel@surfeu.de>
5485         Add option -G to .MPIMG to insert a gap between text and the image.
5487         * tmac/www.tmac (www-finish-left-po, www-finish-right-ll,
5488         www-finish-left-ll): Updated.
5489         (www-image-just, www-image-gap, www-htmlimage-gap): New variables.
5490         (MPIMG): Make option -L and -R optional.
5491         Implement option -G.
5493 2003-07-22  Gaius Mulley  <gaius@glam.ac.uk>
5495         * src/devices/grohtml/post-html.cpp
5496         (html_printer::do_file_components): Don't use `stdout' as lvalue
5497         since it can be a macro.
5499 2003-07-22  Werner LEMBERG  <wl@gnu.org>
5501         * src/libs/libgroff/strerror.c: Include errno.h to be in sync with
5502         the corresponding test in aclocal.m4.
5504 2003-07-21  Werner LEMBERG  <wl@gnu.org>
5506         * src/preproc/html/pre-html.cpp (TRANSPARENT): Don't use colour
5507         names but RGB values directly.  Otherwise pnmtopng depends on
5508         an external file `rgb.txt' which maps colour names to values.
5510 2003-07-20  Werner LEMBERG  <wl@gnu.org>
5512         * aclocal.m4 (GROFF_SYS_ERRLIST): Include stdlib.h for MinGW.
5513         * configure, src/include/config.hin: Regenerated.
5515         * src/libs/libgroff/strerror.c: Include stdlib.h for MinGW.
5517 2003-07-19  Werner LEMBERG  <wl@gnu.org>
5519         * PROBLEMS: Add solution for UTF-8 problem with hyphens.
5521 2003-07-18  Werner LEMBERG  <wl@gnu.org>
5523         * *.man: Switch to non-compatibility mode temporarily if GNU
5524         syntax extensions are used in the particular man page.
5526         * PROBLEMS: Add solutions for SGR problems.
5528 2003-07-17  Werner LEMBERG  <wl@gnu.org>
5530         Don't ignore grotty's command line options if \X'tty: sgr ...' is
5531         used to change the drawing scheme.
5533         * src/devives/grotty/tty.cpp (bold_flag_option,
5534         underline_flag_option, italic_flag_option, reverse_flag_option,
5535         bold_underline_mode_option): New global variables.
5536         (update_options): New function.
5537         (tty_printer::special): Call update_options.
5538         (main): Don't set xxx_flag but xxx_flag_option, then call
5539         update_options.
5541 2003-07-14  Werner LEMBERG  <wl@gnu.org>
5543         Make grotty emit proper Unicode box drawing characters for -Tutf8.
5545         * src/devices/grotty/tty.cpp (START_LINE, END_LINE): New enum
5546         values.
5547         (hline_char, vline_char): New global variables.
5548         (tty_printer::tty_printer): Initialize them.
5549         (tty_printer::draw): Emit START_LINE and END_LINE flags for both
5550         horizontal and vertical lines.
5551         (crossings): New global array.
5552         (tty_printer::end_page): Use it to determine the proper crossing
5553         character for -Tutf8.
5555 2003-07-12  Werner LEMBERG  <wl@gnu.org>
5557         * doc/Makefilesub (HTMLDOCFILESALL): New macro.
5558         (HTMLDOCFILES): Revert to `pic.html'.
5559         (CLEANADD, install_html, uninstall_sub): Use HTMLDOCFILESALL.
5561 2003-07-11  Werner LEMBERG  <wl@gnu.org>
5563         * doc/pic.ms: Improve documentation of absolute coordinates.
5564         Document absolute positioning of pictures.
5566         * NEWS: Add new pic capability.
5568 2003-07-09  Hartmut Henkel  <hartmut_henkel@gmx.de>
5570         * src/libs/libgroff/geometry.cpp (check_output_arc_limits):
5571         Rewritten.
5573 2003-07-07  Werner LEMBERG  <wl@gnu.org>
5575         Implement support for dashed and dotted ellipses in pic.  Based on
5576         a patch from Hartmut Henkel <hartmut_henkel@gmx.de>.
5578         * src/preproc/pic/common.cpp (common_output::ellipse_arc,
5579         common_output::dashed_ellipse, common_output::dotted_ellipse): New
5580         functions.  Ellipse arcs are approximated with circle arcs.
5581         * src/preproc/pic/common.h (common_output): Updated.
5582         * src/preproc/pic/tex.cpp (tex_output::ellipse): Use new ellipse
5583         functions.
5584         * src/preproc/pic/troff.cpp (simple_output::ellipse): Ditto.
5586         * src/preproc/pic/TODO, src/preproc/pic/pic.man: Updated.
5588 2003-07-06  Werner LEMBERG  <wl@gnu.org>
5590         Make grotty work on platforms which have unsigned char as the
5591         default for char.  Based on a patch by Thomas Klausner
5592         <wiz@netbsd.org>.
5594         * src/devices/grotty/tty.cpp (schar): New typedef.
5595         Updated calls to declare_ptable and implement_ptable.
5596         (glyph): Use schar for back_color_idx and fore_color_idx.
5597         (tty_printer): Use schar for curr_fore_idx and curr_back_idx.
5598         (tty_printer::tty_color, tty_printer::tty_printer,
5599         tty_printer::color_to_idx, tty_printer::put_color): Updated.
5601 2003-07-06  Ruslan Ermilov  <ru@FreeBSD.org>
5603         * src/roff/nroff/nroff.sh: Add option -d for completeness.
5604         * src/roff/nroff/nroff.man: Updated.
5606 2003-07-05  Werner LEMBERG  <wl@gnu.org>
5608         * NEWS, tmac/groff_www.man: Updated.
5609         * doc/Makefile.sub: Updated.
5611 2003-07-05  Gaius Mulley  <gaius@glam.ac.uk>
5613         Implement support for multiple HTML output files.
5615         * src/preproc/html/pre-html.cpp (scanArguments): Dummy handling for
5616         -j command line option.
5618         * src/devices/grohtml/post-html.cpp (job_name, multiple_files): New
5619         global variables.
5620         (file): New fields `new_output_file', `require_links',
5621         `output_file_name'.
5622         (file::file): Updated.
5623         (files::set_file_name, files::set_links_required,
5624         files::are_links_required, files::is_new_output_file,
5625         files::file_name, files::next_file_name): New functions.
5626         (header_desc): New fields `no_of_level_one_headings',
5627         `header_filename'.
5628         (header_desc::header_desc): Updated.
5629         (header_desc::write_headings): Handle multiple files.
5630         (html_printer::write_header): Save file name in which header occurs.
5631         (html_printer::determine_header_level): Possibly split files on
5632         level one headings.
5633         (html_printer::do_links, html_printer::troff_tag): Updated.
5634         (html_printer::insert_split_file, html_printer::do_job_name,
5635         html_printer::emit_link, html_printer::write_navigation,
5636         html_printer::do_file_components): New functions.
5637         (html_printer::~html_printer): Handle multiple files.
5638         (main): Handle command line option `-j'.
5640         * src/devices/grohtml/grohtml.man: Updated.
5642         * doc/Makefile.sub (pic.html), doc/Makefile.in (pic.html): New rule
5643         which splits file.
5645         * tmac/www.tmac (JOBNAME): New macro.
5646         * tmac/s.tmac (SH-NO-TAG): New macro.
5647         (@SH): Call SH-NO-TAG.
5648         (@NH): Updated.
5650 2003-07-05  Ruslan Ermilov  <ru@FreeBSD.org>
5652         * tmac/groff_mdoc.man: Improve documentation of punctuation
5653         characters.
5655 2003-07-04  Ruslan Ermilov  <ru@FreeBSD.org>
5657         * tmac/doc.tmac (Bd): Change to doc-Li-font later.
5659 2003-07-03  Werner LEMBERG  <wl@gnu.org>
5661         * tmac/an-old.tmac [cR]: Redefine `bp' to avoid empty lines.
5663 2003-07-01  Ruslan Ermilov  <ru@FreeBSD.org>
5665         * tmac/doc.tmac (doc-do-func, doc-do-func-args): Don't print a comma
5666         after `/*' and `*/'.
5667         Fix spacing.
5668         (Fn, Fo): Reduce indentation in synopsis.
5670         * tmac/doc-common (doc-check-depth): New macro.
5671         (doc-end-macro, Sh, Ss): Use it.
5672         (Cd): Fix behaviour in synopsis.
5673         (In): Make it parsed and callable.
5674         If not in the synopsis, represent the C header file enclosed in
5675         angle brackets.
5676         (doc-str-Rv-std-suffix, doc-str-Rv-stds-suffix, doc-str-Rv-std0):
5677         Use minus, not hyphen.
5679         * tmac/groff_mdoc.man: Updated.
5681 2003-07-01  Werner LEMBERG  <wl@gnu.org>
5683         Integrated grap2graph, contributed by Eric S. Raymond.
5685         * contrib/grap2graph/{Makefile.sub, grap2graph.sh, grap2graph.man}:
5686         New files.
5687         * Makefile.in, NEWS, MANIFEST, contrib/eqn2graph.man,
5688         contrib/pic2graph.man, src/roff/groff/groff.man: Updated.
5690 2003-07-01  Colin Watson  <cjwatson@debian.org>
5692         * src/xditview/*.c: Add prototypes, fix return types, add includes.
5693         Based on work by Fumitoshi UKAI <ukai@debian.or.jp>.
5695 2003-06-31  Ruslan Ermilov  <ru@FreeBSD.org>
5697         * tmac/tty-char.tmac: Provide `lb', `rb', `lk', `rk', `lt', `rt'.
5699 2003-06-31  Werner LEMBERG  <wl@gnu.org>
5701         * doc/Makefile.sub (CLEANADD): Remove all files created by
5702         running `make groff.{pdf,dvi}'.
5704         * Makefile.sub (DISTCLEANFILES): Remove all non-source files from
5705         src/xditview also.
5707 2003-06-30  Werner LEMBERG  <wl@gnu.org>
5709         * Makefile.in (SHELL): Define as @SHELL@.
5710         (mkinstalldirs): Use $(SHELL).
5711         (MDEFINES): Add $(SHELL).
5712         * Makefile.comm (SHELL): Removed.
5714 2003-06-29  Werner LEMBERG  <wl@gnu.org>
5716         * tmac/s.tmac (De, Ds): New aliases for .DE and .DS, respectively.
5717         The X11 documentation files use them.
5718         * tmac/groff_ms.man, doc/groff.texinfo: Document them.
5720 2003-06-15  Robert Goulding  <goulding@Princeton.EDU>
5722         * tmac/e.tmac (@C): Handle .ad also.
5724 2003-06-12  Werner LEMBERG  <wl@gnu.org>
5726         * src/preproc/tbl/tbl.man: Document formatting of text blocks.
5728         * src/roff/troff/input.cc (token::next) <handle_escape_char>:
5729         Assign `n' even here.  It is possible to construct a node
5730         immediately following an escape character:
5732           .di xx
5733           \?\\\?a
5734           .br
5735           .di
5736           .xx
5738 2003-06-10  Werner LEMBERG  <wl@gnu.org>
5740         * README.WIN32: Removed.
5741         * MANIFEST: Updated.
5743 2003-06-07  Werner LEMBERG  <wl@gnu.org>
5745         * src/roff/nroff/nroff.sh: Don't emit SGR for option -u.
5747 2003-06-05  Werner LEMBERG  <wl@gnu.org>
5749         * src/preproc/pic/pic.y <sprintf_args>: Implement workaround for bug
5750         in Compaq C++ V6.5-033 for Compaq Tru64 UNIX V5.1A (Rev. 1885).
5752 2003-06-03  Werner LEMBERG  <wl@gnu.org>
5754         * src/preproc/grn/hdb.cpp (DBRead): Don't close file handle; this
5755         is done by the calling function.
5757 2003-05-22  Ruslan Ermilov  <ru@FreeBSD.org>
5759         * tmac/X.tmac: Fix definition of `em'.
5761 2003-05-22  Werner LEMBERG  <wl@gnu.org>
5763         * src/roff/troff/input.cc (return_macro_request): Fix detection of
5764         argument.
5766 2003-05-18  Werner LEMBERG  <wl@gnu.org>
5768         * tmac/doc.tmac (doc-tag-list): Force horizontal mode after tag
5769         to make items work which consist only of a tag.
5771 2003-05-17  Werner LEMBERG  <wl@gnu.org>
5773         * tmac/doc.tmac (doc-tag-list): Don't use \Z to assure that spaces
5774         aren't stretched in a tag (this can fail with unformatted boxes).
5775         Instead, insert a break and go back one line.
5777 2003-05-16  Werner LEMBERG  <wl@gnu.org>
5779         * src/roff/troff/input.cc (return_macro_request): If called with
5780         argument pop macro twice.  We need this to trace `return'.
5782         * tmac/trace.tmac: Handle `return'.
5783         Fix typos.
5785         * NEWS, man/groff_diff.man, man/groff.man, doc/groff.texinfo:
5786         Document.
5788 2003-05-15  Larry Kollar  <kollar@alltel.net>
5790         * tmac/groff_ms.man, doc/groff.texinfo: Improve documentation of
5791         registers `FPS', `FVS', and `FPD'.
5793 2003-05-15  Werner LEMBERG  <wl@gnu.org>
5795         * src/utils/pfbtops/pfbtops.c (get_text): Handle loop counter
5796         correctly.
5798 2003-05-03  Ruslan Ermilov  <ru@FreeBSD.org>
5800         * tmac/groff_mdoc.man: Slight improvements.
5802 2003-05-03  Werner LEMBERG  <wl@gnu.org>
5804         * tmac/doc-common (doc-header): Emit vertical space of 1v instead of
5805         `doc-header-space' after header line if register `cR' is set.
5807 2003-05-02  Werner LEMBERG  <wl@gnu.org>
5809         * TODO: Updated.
5811 2003-05-01  Ruslan Ermilov  <ru@FreeBSD.org>
5813         * tmac/doc-common (Nd): Use \[em].
5815 2003-05-01  Werner LEMBERG  <wl@gnu.org>
5817         * tmac/doc-ditroff, tmac/doc-nroff (doc-header-space,
5818         doc-footer-space): Initialize to 0.5i.
5819         (doc-setup-page-layout): Don't set doc-header-space and
5820         doc-footer-space.
5822 2003-04-30  Werner LEMBERG  <wl@gnu.org>
5824         * REVISION: Set to 1.
5826         * doc/pic.ms: Document possible problems with `figname'.
5828 2003-04-29  Werner LEMBERG  <wl@gnu.org>
5830 Version 1.19 released
5831 =====================
5833         * VERSION: Set to 1.19.
5834         * REVISION: Set to 0.
5835         * doc/groff.texinfo, doc/webpage.ms, NEWS: Updated.
5837         * src/devices/grohtml/post-html.cpp (html_printer::~html_printer):
5838         Define charset as `US-ASCII' in html output.
5840         * tmac/www.tmac (ULE): Add missing scaling indicator.
5842         * win32-diffs: Removed.
5844 2003-04-28  Werner LEMBERG  <wl@gnu.org>
5846         * doc/groff.texinfo: Document `dn' and `dl' registers if used with
5847         `.da' and `.boxa'.
5848         Document how to insert discardable whitespace with `.ss'.
5850 2003-04-27  Werner LEMBERG  <wl@gnu.org>
5852         * src/preproc/pic/tex.cpp (tex_output::start_picture): Make code
5853         work with plain TeX also.
5855         * src/preproc/pic/pic.man, doc/pic.ms: Fix TeX code example.
5857 2003-04-25  Gaius Mulley  <gaius@glam.ac.uk>
5859         * src/devices/grohtml/post-html.cpp (html_printer::~html_printer):
5860         Use a loose DTD.
5862 2003-04-24  Werner LEMBERG  <wl@gnu.org>
5864         * src/preproc/pic/pic.man, doc/pic.ms: Explain how to get a
5865         vbox with positive height and zero depth if in TeX mode.
5867         * NEWS: Document glyph name changes for grodvi and grolj4.
5869 2003-04-23  Werner LEMBERG  <wl@gnu.org>
5871         * src/preproc/pic/tex.cpp (tex_output::start_picture): Fix TeX code.
5872         * doc/pic.ms: Fixed.
5874 2003-04-21  Werner LEMBERG  <wl@gnu.org>
5876         HP-UX 10.20 has `snprintf' but it isn't declared.
5878         * configure.ac: Add declaration test for snprintf.
5879         * configure: Regenerated.
5880         * src/include/lib.h: Handle `NEED_DECLARATION_SNPRINTF'.
5881         * src/include/config.hin: Regenerated.
5883 2003-04-19  Werner LEMBERG  <wl@gnu.org>
5885         Add keyword `figname' to pic, specifying the name of the picture
5886         box in TeX mode.  Based on a patch from William J Poser
5887         <wjposer@unagi.cis.upenn.edu>.
5889         * src/preproc/pic/pic.y: New token `FIGNAME'.
5890         (macro_name): New rule of type <str>.
5891         (placeless_element): Handle `FIGNAME'.
5892         * src/preproc/pic/lex.cpp (lookup_keyword): Add `figname'.
5893         * src/preproc/pic/main.cpp (graphname): New global variable.
5894         (do_picture): Initialize `graphname'.
5895         * src/preproc/pic/pic.h: Updated.
5896         * src/preproc/pic/tex.cpp (tex_output::start_picture): Use
5897         `graphname'.
5898         Simplify TeX code.
5899         (tex_output::text): Beautify output.
5900         * src/preproc/pic/object.cpp (object_spec::~object_spec): Deallocate
5901         `shaded' and `outlined' unconditionally.
5902         * NEWS, src/preproc/pic/pic.man, doc/pic.ms: Updated.
5903         Minor improvements.
5905         * PROBLEMS, README.CVS: Mention that bison version 1.875b or
5906         greater is necessary.
5908 2003-04-17  Hartmut Henkel  <hartmut_henkel@gmx.de>
5910         Add option -r to soelim to avoid emission of `.lf' lines.
5911         Add option -t to produces TeX comment lines instead of `.lf' lines.
5913         * src/preproc/soelim/soelim.cpp: New global variables `raw_flag'
5914         and `tex_flag'.
5915         (usage): Updated.
5916         (main): Handle `-r' and `-t'.
5917         (set_location): Handle `raw_flag' and `tex_flag'.
5918         * src/preproc/soelim/soelim.man, NEWS: Updated.
5920 2003-04-17  Werner LEMBERG  <wl@gnu.org>
5922         * tmac/hyphenex.sh: Replaced with...
5923         * tmac/hyphenex.pl: This perl script to avoid sed compatibility
5924         nightmares.
5926         * aclocal.m4 (GROFF_HTML_PROGRAMS): Emit useful warning message
5927         if --quiet is used for the configure script.
5928         * configure: Regenerated.
5930 2003-04-16  Werner LEMBERG  <wl@gnu.org>
5932         * src/devices/grohtml/post-html.cpp (text_glob::text_glob):
5933         Add `const' to second argument.
5934         (html_printer::add_table_end): Add `const' to argument.
5935         * src/devices/grohtml/html-text.cpp (html_text::issue_tag): Add
5936         `const' to arguments.
5937         * src/devices/grohtml/html-text.h: Updated.
5939         * src/devices/grolbp/charset.h (symset): Use `unsigned char'.
5940         * src/devices/grolbp/lbp.h (lbpputc): Use `unsigned char' for
5941         argument.
5943         * src/devices/grotty/tty.cpp (tty_printer::make_rgb_string): Use
5944         cast for integer constant.
5946         * src/preproc/html/pre-html.cpp (image_device): Use `const'.
5947         (writeNbytes): Add `const' to first argument.
5948         (writeString): Add `const' to argument.
5949         (char_buffer::can_see): Add `const' to third argument.
5950         * src/preproc/html/pushback.cpp (pushBackBuffer::isString): Add
5951         `const' to argument.
5952         * src/preproc/html/pushback.h: Updated.
5954         * src/preproc/soelim/soelim.cpp (include_list): Add `const'.
5955         (include_path_append): Add `const' to argument.
5956         (do_file): Updated.
5958         * src/roff/troff/uniglyph.cpp (unicode_to_glyph_list): Use `const'
5959         for `value'.
5960         (unicode_to_glyph_init::unicode_to_glyph_init): Updated.
5961         * src/roff/troff/uniuni.cpp (unicode_decompose_list): Use `const'
5962         for `value'.
5963         (unicode_decompose_init::unicode_decompose_init): Updated.
5964         * src/roff/troff/glyphuni.cpp (glyph_to_unicode_list): Use `const'
5965         for `value'.
5966         (glyph_to_unicode_init::glyph_to_unicode_init): Updated.
5967         * src/roff/troff/input.cc (process_startup_file): Add `const' to
5968         argument.
5970         * tmac/hyphenex.sh: Make script more portable by using a here
5971         document.
5973 2003-04-15  Werner LEMBERG  <wl@gnu.org>
5975         Renamed all `*.cc' files to `*.cpp'.
5976         Updated all configuration files, makefiles, and documentation.
5978 2003-04-14  Werner LEMBERG  <wl@gnu.org>
5980         * tmac/hyphenex.sh: Slight improvements.
5982 2003-04-13  Werner LEMBERG  <wl@gnu.org>
5984         * font/devascii/R.proto, font/devcp1037/R.proto,
5985         font/devlatin1/R.proto, font/devutf8/R.proto: Fill up remaining
5986         character slots with unnamed glyphs.
5988         * tmac/an-old.tmac: Fix hyphenation value if `cR' is active.
5989         (an-first): New global variable.
5990         (an-header): Emit vertical space between multiple man pages.
5992 2003-04-11  Werner LEMBERG  <wl@gnu.org>
5994         * doc/groff.texinfo, man/groff_out.man: \S only accepts integer
5995         values.
5997 2003-04-10  Werner LEMBERG  <wl@gnu.org>
5999         * PROBLEMS: Revised.
6001 2003-04-10  Bernd Warken  <bwarken@mayn.de>
6003         * doc/webpage.ms: Improved.
6005 2003-04-09  Werner LEMBERG  <wl@gnu.org>
6007         Add register \n[.height] which returns the value of \H.
6008         Add register \n[.slant] which returns the value of \S.
6010         * src/roff/troff/env.cc (init_env_requests): Implement.
6011         * NEWS, man/groff_diff.man, man/groff.man, doc/groff.texinfo:
6012         Document.
6014 2003-04-08  Werner LEMBERG  <wl@gnu.org>
6016         * tmac/html.tmac: Move some of the data into html-end.tmac.
6017         Remove most of the character translations for eqn since html fonts
6018         now cover those characters.
6019         Load www.tmac.
6020         * tmac/html-end.tmac: New file.
6021         * tmac/troffrc: Load html.tmac not www.tmac for -Thtml.
6022         * tmac/troffrc-end: Load html-end.tmac not html.tmac for -Thtml.
6023         * tmac/Makefile.sub (NORMALFILES): Add html-end.tmac.
6025 2003-04-07  Werner LEMBERG  <wl@gnu.org>
6027         * man/groff_out.man: Document negative values of `N' if -Thtml is
6028         used.
6030 2003-04-06  Werner LEMBERG  <wl@gnu.org>
6032         * Makefile.comm (depend.temp): Check location of YTABC.
6034 2003-04-05  Maciej W. Rozycki  <macro@ds2.pg.gda.pl>
6036         * doc/Makefile.in (TROFFBIN): New variable for troff
6037         binary path.
6038         (GROFFBIN): New variable for groff binary path.
6039         (groff_bin_path): Rename to GROFF_BIN_PATH.
6040         (TROFF): Use TROFFBIN.
6041         (GROFF): Use GROFFBIN and GROFF_BIN_PATH.
6042         * doc/Makefile.sub (GROFFBIN): New variable for groff
6043         binary path.
6044         (groff_bin_path): Rename to GROFF_BIN_PATH.
6045         (GROFF): Use GROFFBIN and GROFF_BIN_PATH.
6047         * Makefile.comm (install_dev): Install scripts from DEVSCRIPTS
6048         with INSTALL_SCRIPT.
6049         (uninstall_dev): Uninstall scripts from DEVSCRIPTS.
6050         * Makefile.dev (all): Depend on DEVSCRIPTS.
6051         (install_dev): Likewise.
6052         * font/devdvi/Makefile.sub (DEVSCRIPTS): New variable to hold
6053         scripts.
6054         * font/devps/Makefile.sub (DEVSCRIPTS): Likewise.
6055         (DEVGENSCRIPTS): New variable to hold generated scripts.
6057 2003-04-05  Werner LEMBERG  <wl@gnu.org>
6059         * src/libs/libdriver/input.cc (IntArray::operator[],
6060         IntArray::get_data): Remove meaningless `const' in return value.
6062         * README.CVS: New file.
6064 2003-04-04  Werner LEMBERG  <wl@gnu.org>
6066         Check for stdint.h in C++, not in C.
6068         * aclocal.m4 (GROFF_STDINT_H): New function,
6069         * configure.ac: Check for stdint.h with GROFF_STDINT_H instead of
6070         AC_CHECK_HEADERS.
6071         * configure, src/include/config.hin: Regenerated.
6072         * src/libs/libgroff/tmpname.cc: Use HAVE_CC_STDINT_H.
6075         Fix handling of &nbsp; in grohtml.  To do this, troff emits `N'
6076         with a negative value, representing the width of the unbreakable
6077         space (only for -Thtml).  grohtml then converts this back to
6078         &nbsp; and uses the value of N as its width.
6080         * src/roff/troff/node.cc (space_char_hmotion_node::tprint,
6081         unbreakable_space_node::tprint): Emit `N-<width>'.
6082         * src/include/printer.h (printer::set_numbered_char): Make it
6083         virtual.
6084         Make members `font_table' and `nfonts' protected instead of private.
6085         * src/devices/grohtml/post-html.cc
6086         (html_printer::set_numbered_char): New member function.
6089         * src/libs/libgroff/maxfilename.cc:
6090         s/HAVE_LIMITS_H/HAVE_CC_LIMITS_H/.
6092         * src/roff/troff/node.cc (unbreakable_space_node::tprint): Don't
6093         emit word marker.
6095 2003-04-03  Sergey A. Osokin  <osa@freebsd.org.ru>
6097         * man/roff.man: Small fixes.
6099 2003-04-03  Werner LEMBERG  <wl@gnu.org>
6101         Make groff independent from locale's numeric settings.
6103         * configure.ac: Check for `setlocale'.
6104         * configure, src/include/config.hin: Regenerated.
6106         * src/include/lib.h: Handle HAVE_SETLOCALE.
6108         * src/devices/grodvi/dvi.cc (main), src/devices/grolj4/lj4.cc
6109         (main), src/devices/grops/ps.cc (main), src/preproc/grn/main.cc
6110         (main), src/preproc/pic/main.cc (main): Call `setlocale'.
6113         * doc/groff.texinfo: Change dir category to `Typesetting'.
6114         (Man font macros): Mention that there is no space between arguments
6115         of .BI and friends.
6117         * src/libs/libdriver/printer.cc, src/devices/grotty/tty.cc
6118         (*printer::change_color, *printer::change_fill_color): Add missing
6119         `const'.
6121 2003-04-02  Werner LEMBERG  <wl@gnu.org>
6123         * src/devices/grohtml/html-table.cc (html_table::emit_col,
6124         html_table::is_gap): Compute table widths after converting border
6125         positions to avoid rounding errors.
6127 2003-04-01  Werner LEMBERG  <wl@gnu.org>
6129         * src/devices/grohtml/html-text.cc (html_text::do_space): Handle
6130         `space_emitted' properly.
6132 2003-03-31  Werner LEMBERG  <wl@gnu.org>
6134         * src/devices/grohtml/html-table.cc: Fix column width calculation.
6135         (html_table::set_linelength): Don't add 1.
6136         (html_table::add_indent): Don't subtract 1.
6138         * tmac/html.tmac: Set default page offset to zero.
6140 2003-03-30  Werner LEMBERG  <wl@gnu.org>
6142         Make groff emit `&nbsp;' for `\ ' and `\~' if `-Thtml' is used.
6144         * src/roff/troff/node.cc (space_char_hmotion_node::tprint,
6145         unbreakable_space_node::tprint): New functions.
6146         (troff_output_file): Make space_char_hmotion_mode::tprint and
6147         unbreakable_space_node::tprint to friends.
6148         * src/roff/troff/node.h: Updated.
6150         * font/devhtml/R.proto: Add `&nbsp' at position 0xA0 (as defined
6151         in the HTML standard).
6153 2003-03-29  Werner LEMBERG  <wl@gnu.org>
6155         * src/roff/troff/env.cc (point_size): Fix emission of html tag.
6156         Otherwise, the following code
6158           .di xxx
6159           .ps 10
6160           a
6161           .br
6162           .di
6163           x\*[xxx]
6165         produces `x a' instead of `xa'.  This is a temporary fix, disabling
6166         font changes in diversions for -Thtml.
6168         * tmac/an-old.tmac (TH, SH): Use `HTML-TAG-NS' instead of
6169         `HTML-TAG'.
6170         (an-do-tag-html): Merge with ...
6171         (an-do-tag): This macro.
6172         Change code slightly to circumvent grohtml bug.
6173         * tmac/troffrc-end: Define dummy for HTML-TAG-NS.
6175         * src/devices/grohtml/html-table.cc (html_table::emit_col,
6176         html_table::is_gap): Round `width' properly.
6178         * tmac/html.tmac: Provide some default layout parameters for
6179         grohtml.
6181         * font/devhtml/DESC.proto: Don't use discrete values for `sizes'
6182         command.
6184 2003-03-28  Werner LEMBERG  <wl@gnu.org>
6186         src/devices/grops/ps.cc (ps_printer::do_import): Fix error message.
6188 2003-03-27  Werner LEMBERG  <wl@gnu.org>
6190         * tmac/an-old.tmac (BT): Don't call .tl if register `ps4html' is
6191         defined.
6193 2003-03-20  Werner LEMBERG  <wl@gnu.org>
6195         * src/roff/troff/env.cc (vertical_spacing): Allow zero value for
6196         `.vs'.
6197         * doc/groff.texinfo: Updated.
6199 2003-03-19  Werner LEMBERG  <wl@gnu.org>
6201         * src/roff/troff/input.cc (process_input_stack) <TOKEN_BEGIN_TRAP,
6202         TOKEN_END_TRAP>: Reset `have_input'.
6204 2003-03-18  Werner LEMBERG  <wl@gnu.org>
6206         * src/roff/groff/groff.man: Mention groff_trace man page.
6208 2003-03-16  Werner LEMBERG  <wl@gnu.org>
6210         * Makefile.in (LIBEXT): New variable to indicate the file extension
6211         of library files.  Computed heuristically from $(OBJEXT).
6212         (MDEFINES): Add $(LIBEXT).
6213         * Makefile.lib, Makefile.comm: Use it.
6215         * src/utils/pfbtops/pfbtops.c (get_text): New function.  Split
6216         overlong lines into smaller chunks.
6217         (get_binary): New function.
6218         (main): Use them.
6219         * src/utils/pfbtops/pfbtops.man: Updated.
6221 2003-03-15  Colin Watson  <cjwatson@debian.org>
6223         * src/roff/groff/groff.man: Minor syntax fix.
6225 2003-03-14  Egil Kvaleberg  <egil@kvaleberg.no>
6227         * src/devices/grops/ps.cc (ps_printer::media_set,
6228         ps_printer::~ps_printer): Handle zero paper width and length.
6230 2003-03-13  Werner LEMBERG  <wl@gnu.org>
6232         Add options -p and -l to grodvi.
6234         * src/devices/grodvi/dvi.cc: Include paper.h.
6235         (landscape_flag, user_paper_length, user_paper_width): New global
6236         variables.
6237         (dvi_printer::begin_page): Emit `papersize' special.
6238         Set color after initialization of `cur_h' and `cur_v'.
6239         (main): Add options `-l' and `-p'.
6240         * font/devdvi/Makefile.sub (DESC): Set `papersize'.
6241         * src/devices/grodvi/grodvi.man, NEWS: Updated.
6243         * src/devices/grops/psrm.cc (valid_input_table): Fixed.
6245 2003-03-12  Werner LEMBERG  <wl@gnu.org>
6247         * src/devices/grops/grops.man: Move documentation of .PSPIC to...
6248         * man/groff_tmac.man: This man page.
6249         * man/groff_font.man: Declare `paperwidth' and `paperlength' as
6250         deprecated.
6252         * tmac/X.tmac: Don't load pspic.tmac.
6254 2003-03-11  Werner LEMBERG  <wl@gnu.org>
6256         Make variable `pr' local to libdriver/input.cc.  Based on a patch
6257         by Bernd Warken <bwarken@mayn.de>.
6259         * src/include/driver.h (pr): Removed.
6261         * src/libs/libdriver/input.cc (pr): New global variable.
6262         (do_file): Deallocate `pr'.
6263         * src/libs/libdriver/printer.cc (pr): Removed.
6265         * src/devices/grodvi/dvi.cc (main), src/devices/grohtml/post-html.cc
6266         (main), src/devices/grolbp/lbp.cc (main), src/devices/grolj4/lj4.cc
6267         (main), src/devices/grops/ps.cc (main), src/devices/grotty/tty.cc
6268         (main): Don't delete `pr'.
6270 2003-03-10  Werner LEMBERG  <wl@gnu.org>
6272         * tmac/a4.tmac, tmac/composite.tmac: Use `.do'.
6273         * tmac/papersize.tmac: New file.
6274         * tmac/troffrc: Include `papersize.tmac'.
6275         * tmac/Makefile.sub (NORMALFILES): Add `papersize.tmac'.
6276         * tmac/an-old.tmac: Set LT to LL by default.
6278         * NEWS, MANIFEST, tmac/groff_man.man, man/groff_tmac.man,
6279         doc/groff.texinfo: Updated.
6281         * src/libs/libgroff/paper.cc (add_iso_paper): Fix very embarassing
6282         bug which caused all odd iso papers to have wrong dimensions.
6284         * src/devices/grops/ps.cc (user_paper_width): New global variable.
6285         (main) <'p'>: Set `user_paper_width' also.
6286         (ps_printer::media_width, ps_printer::media_height): Use values
6287         given with option `-p'.
6289 2003-03-09  Werner LEMBERG  <wl@gnu.org>
6291         * src/include/nonposix.h: Provide default for SET_BINARY.
6293         * src/devices/grodvi/dvi.cc, src/devices/grolbp/lbp.cc,
6294         src/devices/grolj4/lj4.cc, src/devices/grops/ps.cc: Call SET_BINARY
6295         unconditionally.
6297         * src/utils/pfbtops/pfbtops.c: Call SET_BINARY unconditionally.
6298         (main): Treat \r\n as \n.
6300 2003-03-08  Werner LEMBERG  <wl@gnu.org>
6302         * tmac/an-old.tmac: Use register `HY' to control hyphenation.
6303         * NEWS, tmac/groff_man.man, doc/groff.texinfo: Document it.
6305 2003-03-07  Werner LEMBERG  <wl@gnu.org>
6307         Added support to access more than 256 glyphs in Type 1 fonts.
6309         * src/devices/grops/ps.cc (subencoding): New structure.
6310         (style): Add `sub' field.
6311         Updated all users.
6312         (ps_printer): Add `subencodings' and `next_subencoding_index' fields.
6313         Add `set_subencoding', `get_subfont' and `encode_subfont' member
6314         functions.
6315         Updated all users.
6316         (ps_printer::set_char): Use `set_subencoding'.
6317         (make_subencoding_name): New function.
6318         (ps_printer::set_style): Handle case where `sty.sub' is not zero.
6319         (ps_printer::~ps_printer): Emit subencoding definitions.
6321         * src/devices/grops/psrm.cc (valid_input_table): New array to
6322         properly support EBCDIC.
6323         (white_space): Add `\f'.
6324         (ps_get_line): Change first argument to be of type `string &'.
6325         Updated all callers.
6326         This allows to get lines of arbitrary length.
6327         Use `valid_input_table'.
6328         Remove warning about non-conforming PS line length.  This seems
6329         not to be of great importance -- for example, dvips don't emit
6330         a warning either.
6331         (PS_LINE_MAX): Removed.
6332         (matches_comment): Change first argument to be of type `string &'.
6334         * src/devices/grops/grops.man, src/devices/grops/TODO: Updated.
6336         * src/utils/afmtodit/afmtodit.pl (%unicode_decomposed,
6337         %AGL_to_unicode, %default_ligatures): New hash tables.
6338         Read all map entries.
6339         Add unencoded characters.
6340         Check for default ligatures if there are no `L' entries.
6341         Print all kern entries.
6342         Print all characters in charset.
6343         * src/utils/afmtodit/afmtodit.man: Updated.
6345         * font/devps/*: Regerated all fonts.
6347         * tmac/latin[129].tmac, tmac/cp1047.tmac: Don't test for existence
6348         of characters, just use `.trin'.  Otherwise the mapping depends
6349         on the font encoding.
6350         * tmac/ps.tmac: Add `fi' and `fl'.
6351         Improve `Fi' and `Fl'.
6352         * tmac/X.tmac, tmac/lbp.tmac, tmac/tty.tmac: Improve `Fi' and `Fl'.
6353         * tmac/Xps.tmac: Fix `em'.
6355         * NEWS: Updated.
6357 2003-03-04  Werner LEMBERG  <wl@gnu.org>
6359         * src/roff/troff/input.cc (charinfo_to_node_list): Reset
6360         `have_input'.
6362 2003-03-03  Werner LEMBERG  <wl@gnu.org>
6364         * Makefile.sub (DISTCLEANFILES): Add gxditview._man.
6366         * font/devps/generate/textmap: Remove entry `similarequal'.
6367         * font/devps/symbolmap: Updated.
6369 2003-03-02  Werner LEMBERG  <wl@gnu.org>
6371         * src/libs/libgroff/font.cc (font::load): Fix error message for
6372         bad character type.
6374         * src/devices/grops/grops.man: Improve documentation of the -b
6375         flag.
6377         * tmac/tty.tmac: Load latin1.tmac for all TTY devices except
6378         `ascii' and `cp1047'.
6380 2003-03-01  Werner LEMBERG  <wl@gnu.org>
6382         Document composite glyphs and the `composite' request.
6384         * man/groff.man, man/groff_diff.man, doc/groff.texinfo: Do it.
6386 2003-02-28  Werner LEMBERG  <wl@gnu.org>
6388         * font/devdvi/generate/ec.map: Add some more Unicode entities.
6389         * font/devdvi/*EC: Updated.
6391         * tmac/composite.tmac, tmac/latin2.tmac, tmac/latin9.tmac: New files.
6392         * tmac/latin1 (latin1-tr): Undo any previous mapping.
6393         * tmac/troffrc: Load `composite.tmac'.
6394         * tmac/Makefile.sub (NORMALFILES): Updated.
6396         * doc/groff.texinfo (Input Encodings): New section.
6397         * NEWS: Updated.
6399 2003-02-27  Werner LEMBERG  <wl@gnu.org>
6401         * doc/texinfo.tex: New version 2003-02-11.06.
6403         * tmac/doc-common (Dt): Don't emit warning for unknown section.
6404         * tmac/groff_mdoc.man: Fix description of `Dt'.
6406 2003-02-26  Egil Kvaleberg  <egil@kvaleberg.no>
6408         * font/devps/prologue.ps: Fix for included Postscript that does
6409         a setpagedevice -- which is now safely ignored.
6411         * NEWS: Updated.
6413         * src/devices/grops/ps.cc: Now sets the page size in the generated
6414         document.  This is done in two ways: Via a %%-comment for gv and
6415         the like, and via a PageSize and setpagedevice for programs that
6416         understands Postscript proper, like ps2pdf.
6418         * src/devices/grops/ps.h: New broken-flag to avoid page size
6419         definition, if required.
6421         * src/devices/grops/grops.man: New broken-flag 16 mentioned.
6423         * doc/Makefile.in: Added -nosetpage flag (via @pnmtops_nosetpage@).
6424         Not really necessary due to the fix in prologue.ps, but cleaner:
6425         Such information does not belong in an .eps file.
6427         * doc/Makefile.sub: See doc/Makefile.in.
6429 2003-02-26  Ralph Corderoy  <ralph@inputplus.co.uk>
6431         * aclocal.m4 (GROFF_PNMTOPS_NOSETPAGE): Use P2 format for testing
6432         instead of P1 since the latter is broken in some versions of netpbm.
6433         * configure: Updated.
6435 2003-02-26  Larry Kollar  <kollar@alltel.net>
6437         Make man pages more customizable.
6439         * tmac/an-old.tmac (FT): New register holding footer distance from
6440         bottom.
6441         (HF): New string holding the default heading font.
6442         (TH): Handle registers `IN' and `SN' set on the command line.
6443         Use `FT'.
6444         (PT, BT): New strings to customize header and footer lines.
6445         (an-header, an-footer): Use them.
6446         (SH, SS): Use `HF'.
6447         * tmac/groff_man.man: Document changes.
6449         * doc/groff.texinfo: Document man changes.
6450         Document Ultrix extensions of man.
6452 2003-02-26  Werner LEMBERG  <wl@gnu.org>
6454         * src/roff/troff/input.cc (do_width, do_if_request): Reset
6455         `have_input' after changing back to old environment.
6457         * src/devices/grolbp/lbp.cc (lbp_printer::set_line_thickness): Move
6458         function up to be defined before first call.  This is necessary to
6459         avoid a compilation problem with Sun's WorkShop 6 C++ compiler.
6461         * src/utils/afmtodit/afmtodit.pl: Make script search for files in
6462         the default font directory also.  Based on a patch from James
6463         J. Ramsey <jjramsey_6x9eq42@yahoo.com>.
6464         * src/utils/afmtodit/Makefile.sub (afmtodit): Handle @FONTDIR@.
6465         * src/utils/afmtodit/afmtodit.man: Document it.
6467         * NEWS: Updated.
6469         * tmac/groff_man.man, doc/groff.texinfo: Many minor fixes.
6471 2003-02-25  Gaius Mulley  <gaius@glam.ac.uk>
6473         * aclocal.m4 (GROFF_HTML_PROGRAMS): Add test for pnmtops.
6474         (GROFF_PNMTOPS_NOSETPAGE): New macro.
6475         * configure.ac: Use it.
6476         * configure: Regenerated.
6477         * Makefile.in: Updated.
6479         * tmac/Makefile.sub (NORMALFILES): Remove www.tmac.
6480         (CLEANADD): Add www.tmac-sed.
6481         (pnmtops_nosetpage): Define default.
6482         (install_data): Handle www.tmac-sed and substitute
6483         @PNMTOPS_NOSETPAGE@.
6484         (stamp-sed): Add www.tmac.
6485         * tmac/www.tmac: Rewritten, based on a patch by Bernd Warken.
6486         It now breaks URLs at suitable places.
6487         (www:substring_ok): New register set by...
6488         (www:@test_substring): New macro.
6489         (www:error): New alias to www-error.
6490         (www:lenstr, www:splitstr, www:url_breaks, www:url_breaks_splitted):
6491         New macros.
6492         (URL): Use www:url_breaks.
6493         (PIMG, MPIMG): Use @PNMTOPS_NOSETPAGE@.
6494         (CDS, CDE): New macros.
6496 2003-02-25  Werner LEMBERG  <wl@gnu.org>
6498         * src/devices/grops/ps.cc (ps_printer::define_encoding): Avoid
6499         buffer overflow.
6501 2003-02-24  Werner LEMBERG  <wl@gnu.org>
6503         Contrary to the PCL5 Developer's Guide, the ascenders in TFM files
6504         can be negative also.
6506         * src/utils/hpftodit/hpftodit.cc (char_info): `ascent' must be
6507         `int16'.
6508         (read_char_table): Avoid negative ascenders.
6509         (output_charset): Add cast.
6510         * font/devlj4/*: Regenerated.
6512         Replace unnamed glyphs for DVI fonts with `uXXXX' glyph names where
6513         possible.
6515         * font/devdvi/generate/{tc,texttt,ec,texmi,texsy,textex}.map: Do it.
6516         * font/devdvi/generate/textex.map: Map glyph 23 to `u21C6' instead
6517         of `<>'.
6518         * font/devdvi/*: Regenerated.
6520         Map `la' and `ra' to U+27E8 and U+27E9.  These two characters have
6521         normal width, while the previously used characters (U+2329 and
6522         U+232A) are classified as wide due to canonical equivalence with the
6523         CJK punctuation characters U+3008 and U+3009.
6525         * font/devutf8/R.proto: Updated.
6526         * src/roff/troff/uniglyph.cc, src/roff/troff/glyphuni.cc: Ditto.
6528         * man/groff_char.man: Simplify handling of table traps by
6529         introducing `start block' and `end block' macros.
6530         (Ns, Ne, 2s, 2e, Ds, De): New macros.
6531         (DL): Make it work with Unix troff also.
6532         Fix code values of `la' and `ra'.
6534         * tmac/dvi.tmac: Define `<>' for CW and CWI.
6536 2003-02-23  Gaius Mulley  <gaius@glam.ac.uk>
6538         * src/devices/grohtml/post-html.cc (element_list::~element_list):
6539         New destructor, fixing a major memory leak.
6541 2003-02-22  Werner LEMBERG  <wl@gnu.org>
6543         * font/devhtml/R.proto, font/devutf8/R.proto: Flip `*f' and `+f'
6544         to be in conformance with Unicode 3.0 and newer.
6546         * font/devlj4/generate/text.map: Add `Eu'.
6547         * font/devlj4/generate/special.map: Flip `*e' and `+e'.
6548         * font/devlj4/S: Regenerated.
6550         * man/groff_char.man: Completely rewritten.
6552         * doc/groff.texinfo: Fix description of request and macro arguments.
6554 2003-02-20  Gaius Mulley  <gaius@glam.ac.uk>
6556         Valgrind fixes.
6558         * src/devices/grohtml/html-table.cc (html_table::~html_table):
6559         Deallocate `columns' list.
6560         * src/devices/grohtml/post-html.cc (char_block::~char_block):
6561         New destructor.
6562         (text_glob::text_glob_html, text_glob::text_glob_special,
6563         text_glob::text_glob_line, text_glob::text_glob_auto_image,
6564         text_glob::text_glob_tag): Avoid memory leaks.
6565         (text_glob::remember_table): Free memory before reassigning.
6567 2003-02-19  Werner LEMBERG  <wl@gnu.org>
6569         Add glyph `+e', greek lunate epsilon symbol, and `-h' (with the
6570         alias `hbar'), the Planck constant over two pi.
6572         * font/devdvi/generate/texmi.map: Use `*e' for position 15 and
6573         `+e' for position 34.
6574         * font/devdvi/generate/texsy.map: Replace `DI' and `HE' with
6575         `u2662' and `u2661'.
6576         * font/devdvi/{MI,S}: Regenerated.
6577         * font/devhtml/R.proto, font/devutf8/R.proto: Add `+e', `-h', `hbar'.
6578         * font/devlbp/*: Add `hbar' alias.
6579         * font/devlj4/generate/special.map: Ditto.
6580         * font/devlj4/S: Regenerated.
6581         * font/devps/generate/symbolchars: Add `+e'.
6582         * font/devps/generate/textmap: Fix PS name for `-h'.
6583         Add `hbar' alias.
6584         * font/devps/symbolmap: Regenerated.
6586         * src/devices/grops/ps.cc (transform_fill): Removed since unused.
6588         * src/roff/troff/glyphuni.cc (glyph_to_unicode_list): Add `+e',
6589         `-h', `hbar'.
6590         * src/roff/troff/uniglyph.cc (unicode_to_glyph_list): Add `+e',
6591         `-h'.
6593         * tmac/X.tmac, tmac/ps.tmac: Provide definitions for `-h' and
6594         `hbar'.
6595         * tmac/tty-char.tmac: Add `+e'.
6597 2003-02-17  Werner LEMBERG  <wl@gnu.org>
6599         Another round trying to really fix problems with `have_input'.
6601         * src/roff/troff/input.cc (input_stack::get): Handle `have_input'.
6602         (token::next) <'\n'>, <\'\n'>: Don't handle `have_input'.
6604         * src/devices/grotty/tty.cc (tty_printer::put_color): Fix color
6605         handling if both foreground and background colors are default.
6607         * doc/groff.texinfo (Debugging): Document .lf differences to
6608         AT&T troff.
6610 2003-02-16  Werner LEMBERG  <wl@gnu.org>
6612         * src/devices/grotty/tty.cc (tty_printer::make_rgb_string): Avoid
6613         null-bytes in created string.
6615         * src/roff/troff/input.cc (lookup_color, interpolate_macro,
6616         alias_macro, lookup_request): Improve warning messages.
6618         * src/roff/troff/node.cc (suppress_node::tprint): Use `strsave',
6619         not `strdup'.
6620         Free `last_image_filename'.
6622         * src/preproc/html/pre-html.cc (char_block::char_block): Initialize
6623         `buffer'.
6624         (imageList::createPage, imageList::createImage): Use `free', not
6625         `a_delete'.
6626         (imageItem::~imageItem): Free `imageName'.
6627         (addRegDef): Use `strsave', not `strdup'.
6628         (get_resolution): Free `pathp'.
6630 2003-02-15  Werner LEMBERG  <wl@gnu.org>
6632         * src/devices/grotty/tty.cc (tty_printer::tty_printer): Fix pointer
6633         to `dummy'.
6635 2003-02-14  Werner LEMBERG  <wl@gnu.org>
6637         Add memory management for colors to deallocate unnamed colors
6638         properly.
6640         * src/include/color.h (color): New members `free_list' and `next'.
6641         New member functions `new' and `delete'.
6642         Add destructor.
6643         * src/libs/libgroff/color.cc: Implement it.
6645         * src/libs/libgroff/font.cc (font::add_kern): Use integer cast
6646         for array size of new operator.
6648         * src/libs/libdriver/input.cc (IntArray::operator[]): Remove
6649         redundant comparison.
6651         * src/roff/troff/input.cc (word_space_node::reread,
6652         hmotion_node::reread): Avoid warning about unused parameter.
6653         (reset_output_registers): Remove redundant parameter.
6654         (define_color): Undo change 2003-02-12.
6656         * src/roff/troff/reg.h: Updated.
6658         * src/roff/troff/node.cc (troff_output_file::really_print_line,
6659         output_file::put_filename, real_output_file::really_put_filename,
6660         ascii_output_file::really_print_line,
6661         break_char_node::get_hyphen_list): Avoid warning about unused
6662         parameter.
6663         (suppress_node::tprint): Updated.
6665         * configure.ac: Check declaration for rand() and srand().
6666         * configure: Regenerated.
6668         * src/preproc/pic/pic.h: Declare fmod(), rand(), and srand()
6669         conditionally.
6670         * src/preproc/pic/pic.y: Remove declaration of fmod(), rand(),
6671         and srand().
6673         * src/preproc/eqn/delim.cc (delim_table): Add missing initializers
6674         to avoid compiler warnings.
6676         * src/preproc/grn/hgraph.cc (HGPrintElt): Second parameter is
6677         unused.
6679         * src/devices/grops/ps.cc (ps_printer::set_char): Last parameter
6680         is unused.
6681         * src/devices/grops/psrm.cc (skip_possible_newline): Remove first
6682         (unused) parameter.
6683         Updated all callers.
6685         * src/devices/grotty/tty.cc (tty_printer::set_char): Last parameter
6686         is unused.
6687         * src/devices/grodvi/dvi.cc (dvi_printer::set_char): Ditto.
6688         * src/devices/grolj4/lj4.cc (lj4_printer::set_char): Ditto.
6690         * src/devices/grohtml/post-html.cc (html_printer::emit_line):
6691         Parameter is unused.
6692         (html_printer::add_table_end): Define parameter conditionally.
6693         * src/devices/grohtml/output.cc (simple_output::special): Parameter
6694         is unused.
6696         * src/devices/grolbp/lbp.cc: Define _GNU_SOURCE conditionally.
6697         (lbp_printer::set_char): Last parameter is unused.
6699         * src/utils/indxbib/indxbib.cc (main): Remove redundant comparison.
6701 2003-02-13  Werner LEMBERG  <wl@gnu.org>
6703         New commands \D'Fr ...', \D'Fc ...', etc. for orthogonality.
6704         Make \D'f ...' move horizontally again for backwards compatibility.
6705         Replace it with \D'Fg ...' where appropriate to avoid dependency
6706         on horizontal resolution.
6708         * src/roff/troff/input.cc (do_get_long_name): New function.
6709         (get_long_name): Call it.
6711         (read_draw_node): Handle `\D'Fx ...' by calling ...
6712         (read_color_draw_node): New function.
6714         (read_rgb, read_cmy, read_cmyk, read_gray): New optional argument
6715         `end'.
6716         Pass it to `do_get_long_name' which is used instead of
6717         `get_long_name'.
6719         * src/libs/libdriver/input.cc (color_from_Df_command): Remove
6720         unnecessary value guard.
6721         (parse_D_command) <'f'>: Add horizontal shift.
6723         * src/preproc/grn/hgraph.cc (HGPrintElt) <POLYGON>: Use \D'Fg ...'.
6724         * src/preproc/pic/troff.cc (troff_output::set_fill): Ditto.
6725         (FILL_MAX): Removed.
6727         * NEWS, man/groff_diff.man, man/groff.man, doc/groff.texinfo:
6728         Updated.
6730 2003-02-12  Werner LEMBERG  <wl@gnu.org>
6732         * src/roff/troff/input.cc (do_name_test, do_expr_test,
6733         do_zero_width): Push `\n' if closing delimiter is missing.
6735         (token::next) <ESCAPE_NEWLINE>, <'\n'>, <\'\n'>: Reset `have_input'.
6736         <'F'>: Make \F non-transparent at the beginning of line.
6737         (process_input_stack) <token::TOKEN_CHAR, token::TOKEN_NEWLINE,
6738         token::TOKEN_REQUEST, token::TOKEN_BEGIN_TRAP>: Don't handle
6739         `have_input'.
6741         (define_color): Free color in case of reassignment.
6743         * doc/groff.texinfo (@Defesc, @DefescList, @DefescItem,
6744         @DefescListEnd): Use @Var, not @var.
6745         Fix all calls.
6747         * src/preproc/grn/hgraph.cc (HGPrintElt): Fix typo.
6749         * src/preproc/pic/object.cc (object_spec::~object_spec): Free
6750         `shaded' and `outlined' arrays.
6751         (object_spec::object_spec): Initialize `shaded' and `outlined'.
6752         (graphic_object::set_fill_color, graphic_object::set_outline_color):
6753         Use strsave.
6754         (closed_object::set_fill_color): Ditto.
6755         * src/preproc/pic/troff.cc (troff_output::set_color): Use strsave
6756         instead of strdup.
6757         (troff_output::reset_color): Use a_delete instead of free.
6758         * src/preproc/pic/main.cc (do_file): Free `out' in case of error.
6760 2003-02-11  Werner LEMBERG  <wl@gnu.org>
6762         * doc/groff.texinfo: Improve documentation of `ad'.
6763         Document that \D'f...' is dependent on the horizontal resolution.
6764         * man/groff_diff.man: Improve documentation of \D'f...'.
6766         * src/preproc/grn/hgraph.cc (HGPrintElt) <POLYGON>: Don't emit
6767         compensating \h'...' for \D'f ...' since the latter no longer moves
6768         current position.
6769         * src/preproc/pic/troff.cc (troff_output::set_fill): Ditto.
6771 2003-02-10  Werner LEMBERG  <wl@gnu.org>
6773         Improve error messages for `x F' (and `F') commands.
6775         * src/include/error.h: Add declaration for
6776         `current_source_filename'.
6777         * src/libs/libgroff/filename.cc: Add `current_source_filename'.
6778         * src/libs/libgroff/error.cc (do_error_with_file_and_line): Add
6779         parameter for source file string.
6780         Updated all callers.
6782         * src/libs/libdriver/input.cc: Add `current_source_filename'.
6783         (remember_source_filename): New function.
6784         (parse_x_command <'F'>, do_file <'F'>): Use it.
6786 2003-02-09  Werner LEMBERG  <wl@gnu.org>
6788         Make grotty not emit warnings about unknown colors more than
6789         necessary.
6791         * src/devices/grotty/tty.cc: Include `ptable.h'.
6792         (TTY_MAX_COLORS): Removed.
6793         (DEFAULT_COLOR_IDX): Defined to -1.
6794         (glyph): Change `back_color_idx' and `fore_color_idx' to `char'.
6795         (tty_printer): Change `curr_back_idx' and `curr_fore_idx' to `char'.
6796         Change `tty_colors' to be a ptable.
6797         First arg of `put_color' is now `char'.
6798         New functions `make_rgb_string' and `tty_color'.
6799         (tty_printer::tty_printer): Use `tty_color'.
6800         (tty_printer::color_to_idx): Return value is now `char'.
6801         Use `tty_color'.
6803         * src/include/color.h (color): Add `print_color' member function.
6804         * src/libs/libgroff/color.cc (color::print_color): Implement it.
6806 2003-02-08  Werner LEMBERG  <wl@gnu.org>
6808         Valgrind fixes.
6810         * src/devices/grops/ps.cc (ps_printer::define_encoding): Close
6811         encoding file.
6813         * src/include/ptable.h (PTABLE::~PTABLE, PTABLE::define): Always
6814         assume that value has been allocated with `new[]', thus use
6815         `a_delete' for deallocation.
6817         * src/libs/libdriver/input.cc (get_integer_arg,
6818         get_possibly_int_args, parse_x_command, do_file): Use `a_delete'
6819         where appropriate.
6821         * src/libs/libgroff/new.cc (delete) [!COOKIE_BUG]: Define.
6822         * src/libs/libgroff/nametoindex.cc
6823         (character_indexer::named_char_index): Use `new <type>[1]'.
6825         * src/preproc/eqn/lex.cc (init_table, do_definition): Use `new
6826         <type>[1]'.
6827         * src/preproc/eqn/text.cc (set_special_char_type): Ditto.
6828         (split_text): Use `a_delete'.
6830         * src/preproc/pic/pic.y (define_label, define_variable): Use `new
6831         <type>[1]'.
6833         * src/roff/troff/env.cc (environment::choose_breakpoint): Avoid
6834         harmless memory leak.
6835         (hyphen_trie::read_patterns_file): Initialize `buf'.
6836         * src/roff/troff/node.cc (troff_output_file::troff_output_file):
6837         Initialize `current_fill_color'and `current_glyph_color'.
6838         * src/roff/troff/glyphuni.cc
6839         (glyph_to_unicode_init::glyph_to_unicode_init): Use `new <type>[1]'.
6840         * src/roff/troff/uniuni.cc
6841         (unicode_decompose_init::unicode_decompose_init): Ditto.
6842         * src/roff/troff/uniglyph.cc
6843         (unicode_to_glyph_init::unicode_to_glyph_init): Ditto.
6845 2003-01-26  Werner LEMBERG  <wl@gnu.org>
6847         * src/utils/indxbib/indxbib.cc (main) [__EMX__]: Check with
6848         `access' before calling `unlink'.
6849         (do_file): Handle __EMX__.
6851         * src/include/nonposix.h: Handle __EMX__.
6853         * Makefile.in (SEP): New variable; set to @PATH_SEPARATOR@.
6854         (fontpath,tmacpath): Use it.
6855         (MDEFINES): Add it.
6856         Sorted alphabetically.
6858         * src/preproc/eqn/neqn.sh, src/roff/nroff/nroff.sh: Use
6859         @SEP@.
6860         * src/preproc/eqn/Makefile.sub, src/roff/nroff/Makefile.sub: Handle
6861         @SEP@.
6863 2003-01-27  Werner LEMBERG  <wl@gnu.org>
6865         * src/libs/libgroff/strcasecmp.c, src/libs/libgroff/strncasecmp.c:
6866         New files, copied from gnulib.
6867         * src/libs/libgroff/Makefile.sub (CSRCS): Add them.
6868         * configure.ac: Updated.
6869         * configure: Regenerated.
6871         * src/include/config.hin: Regenerated.
6872         * src/include/lib.h [!HAVE_STRCASECMP]: Declare `strcasecmp'.
6873         Don't define `strcasecmp' as `strcmp'.
6874         [!HAVE_STRNCASECMP]: Declare `strncasecmp'.
6875         Dont define `strncasecmp' as `strncmp'.
6877         * src/roff/groff/pipeline.c [!HAVE_STRCASECMP, !HAVE_STRNCASECMP]:
6878         Removed.
6880 2003-01-26  Werner LEMBERG  <wl@gnu.org>
6882         * src/utils/indxbib/indxbib.cc (main) [__EMX__]: Fix typo:
6883         s/unline/unlink/.
6885 2003-01-25  Werner LEMBERG  <wl@gnu.org>
6887         * doc/groff.texinfo (Ligatures and Kerning): Mention limitations.
6889 2003-01-24  Werner LEMBERG  <wl@gnu.org>
6891         Add US-english hyphenation exceptions (converted from Barbara
6892         Beeton's hyphenation exception log reports which appear irregularly
6893         in TUGBoat).
6895         * tmac/hyphen.us: Updated to latest version.
6896         * tmac/README: Updated.
6897         * tmac/hyphenex.us, tmac/hyphenex.sh: New files.
6898         * tmac/troffrc: Load `hyphenex.us'.
6899         * tmac/Makefile.sub (NORMALFILES): Add `hyphenex.us'.
6900         * doc/groff.texinfo: Updated.
6902 2003-01-23  Werner LEMBERG  <wl@gnu.org>
6904         Improve hyphenation slightly.  This is a first step in redesigning
6905         the hyphenation algorithm to make it more flexible (e.g. allowing
6906         kerns and ligatures between the hyphenation character and the
6907         following character -- while not used normally in English, other
6908         languages like German would benefit).
6910         * src/roff/troff/env.cc (environment::hyphenate_line): Use
6911         assertion instead of if-clause.
6912         Let `get_hyphen_list' return the number of involved characters in
6913         the hyphenation pattern instead of computing it directly (which
6914         often yields too small values).
6915         * src/roff/troff/node.h (*::get_hyphen_list): Add second parameter.
6916         * src/roff/troff/node.cc (*::get_hyphen_list): Handle new second
6917         parameter.
6919 2003-01-22  Werner LEMBERG  <wl@gnu.org>
6921         Fixing a bug which caused groff to hang if the hyphenation exception
6922         dictionary tried to grow.
6924         * src/roff/troff/env.cc (hyphen_trie::insert_hyphenation,
6925         hyphen_trie::read_patterns_file, do_hyphenation_patterns_file): Use
6926         pointer to dictionary.
6928 2003-01-20  Werner LEMBERG  <wl@gnu.org>
6930         * src/utils/afmtodit/afmtodit.pl: Add switch `-m' to suppress
6931         negative left italic correction.
6932         * src/utils/afmtodit/afmtodit.man: Document it.
6934         * font/devps/generate/Makefile (RFLAG): Add `-m'.
6935         * font/devps/{AB,AR,BMB,BMR,CB,CR,EURO,HB,HR,HNB,HNR,NB,NR,PB,PR,
6936         S,TB,TR,ZD,ZDR}: Regenerated with afmtodit options `-i 0 -m'.
6938         * NEWS: Updated.
6940 2003-01-16  Werner LEMBERG  <wl@gnu.org>
6942         * NEWS: Updated.
6944 2003-01-16  Jörgen Grahn  <jgrahn@algonet.se>
6946         * src/preproc/refer/refer.man: Mention REFER environment variable.
6948 2003-01-05  Werner LEMBERG  <wl@gnu.org>
6950         Similar to \[is], the square root glyph (\[sr]) and the square root
6951         extension glyph (\[radicalex]) are now text symbols.  The new
6952         mathematical versions are called \[sqrt] and \[sqrtex],
6953         respectively.
6955         * font/devX*/S: Regenerated.
6956         * font/devdvi/generate/texex.map: Rename `sr[0123]' to `sqrt[0123]'.
6957         * font/devdvi/generate/texsy.map: Rename `sr' to `sqrt'.
6958         * font/devdvi/EX, font/devdvi/S: Regenerated.
6959         * font/devhtml/R.proto, font/devutf8/R.proto: Add `sqrt'.
6960         * font/devlj4/generate/special.map: Add `sqrt'.
6961         * font/devlj4/S: Regenerated.
6962         * font/devps/generate/textmap: Add `sqrt'.
6963         * font/devps/S, font/devps/symbolmap: Regenerated.
6965         * src/preproc/eqn/sqrt.cc (SQRT_CHAR, RADICAL_EXTENSION_CHAR,
6966         SQRT_CHAIN, BAR_CHAIN): Use `sqrt*' and `sqrtex*'.
6967         * src/roff/troff/input.cc (init_charset_table): Make `sqrtex'
6968         overlap horizontally.
6970         * tmac/X.tmac, tmac/ps.tmac, tmac/lj4.tmac: Add `sqrtex'.
6971         * tmac/dvi.tmac: Add `sr', and `sqrtex'.
6972         Fix `radicalex'.
6974         * doc/groff.texinfo, man/groff_diff.man: Document that `radicalex'
6975         and `sqrtex' are overlapping glyphs.
6977 2003-01-04  Werner LEMBERG  <wl@gnu.org>
6979         * font/devdvi/generate/texsy.map: Add `is'.
6980         * font/devps/symbolmap: Regenerated.
6981         * font/devdvi/*TC, MI, S: Regenerated.
6983         * tmac/dvi.tmac: Remove `is'.
6985 2003-01-03  Werner LEMBERG  <wl@gnu.org>
6987         `is' is now a text symbol (only relevant for dvi).  The math variant
6988         can be accessed with `integral'.
6990         * font/devX*/S: Regenerated.
6991         * font/devdvi/generate/texex.map: Remove `is'.
6992         * font/devdvi/EX: Updated.
6993         * font/devhtml/R.proto, font/devutf8/R.proto: Add `integral'.
6994         * font/devlj4/generate/special.map: Ditto.
6995         * font/devlj4/S: Regenerated.
6996         * font/devps/generate/textmap: Add `integral'.
6997         * font/devps/S: Regenerated.
6999         * tmac/dvi.tmac: Define `is'.
7001         * src/roff/troff/glyphuni.cc (glyph_to_unicode_list): Add `integral'.
7003         * src/preproc/tbl/main.cc (process_format): Fix error message.
7005 2003-01-02  Werner LEMBERG  <wl@gnu.org>
7007         * font/devhtml/R.proto, font/devutf8/R.proto: Add `ne' and `nc'.
7008         * font/devps/textmap: Fix entries for `ne' and `nc'.
7009         * font/devps/symbolmap: Regenerated.
7011         * src/roff/troff/glyphuni.cc (glyph_to_unicode_list),
7012         src/roff/troff/uniglyph.cc (unicode_to_glyph_list): Add `18',
7013         `38', `58', `78', `-+', `|=', `nc', `ne'.
7015         * tmac/dvi.tmac: Add `nm', `ne', `nc'.
7016         Use `schar' for `aq'.
7017         * tmac/ps.tmac, tmac/X.tmac: Add `nc' and `ne'.
7018         * tmac/ec.tmac: Add `SC' to special fonts for `CW' and `CWI'.
7019         * tmac/tty.tmac: Add `ne'.
7021         * src/roff/troff/node.cc (make_glyph_node): Test with `get_macro'
7022         for fallback glyphs.
7024 2002-12-29  Werner LEMBERG  <wl@gnu.org>
7026         Add glyph `|='.
7028         * font/devX*/*: Regenerated.
7029         * font/devdvi/generate/ec.map: Remove `eq'.
7030         * font/devdvi/generate/texsy.map: Make `~=' the same as `~~'.
7031         Assign `|=' to position 39.
7032         * font/devdvi/*EC, S: Regenerated.
7033         * font/devhtml/R.proto, font/devutf8/R.proto: Add `|='.
7034         * font/devlj4/generate/special.map: Make `~=' the same as `~~'.
7035         Assign `|=' to position 549.
7036         * font/devps/generate/textmap, font/devps/enerate/symbolmap: Remove
7037         `equalmath'.
7038         Add `uni2243' for `|='.
7040         * tmac/ec.tmac: Add `eq'.
7041         * tmac/dvi.tmac: Add `=~'.
7042         * tmac/tty-char.tmac, tmac/ps.tmac, tmac/X.tmac, tmac/lbp.tmac: Add
7043         `|='.
7045 2002-12-21  Werner LEMBERG  <wl@gnu.org>
7047         * font/devdvi/generate/tc.map: Remove `**'.
7048         * font/devdvi/*TC: Regenerated.
7049         * font/devhtml/R.proto, font/devutf8/R.proto: Add `18', `38', `58',
7050         `78', `<<', `>>'.
7051         * font/devutf8/NOTES: Updated.
7053         * src/roff/troff/charinfo.h (charinfo): Add `setx_macro' function.
7054         Don't give default parameter to `set_macro'.
7055         * src/roff/troff/input.cc (do_define_character): Use `setx_macro'
7056         instead of `set_macro'.
7057         (charinfo::setx_macro): Implement it.
7058         (charinfo::set_macro): Don't change `mode'.
7060         * tmac/tty.tmac: Add `18', `38', `58', `78', `<<', `>>'.
7061         * tmac/ps.tmac, tmac/X.tmac: Add `<<', `>>'.
7062         * tmac/dvi.tmac: Define `!=' with `.schar'.
7064 2002-12-20  Werner LEMBERG  <wl@gnu.org>
7066         * font/devX*/S: Regenerated.
7067         * font/devdvi/generate/ec.map: Remove `pl'.
7068         * font/devdvi/generate/tc.map: Remove `mi', `14', `12', `34'.
7069         * font/devdvi/*{TC,EC}: Regenerated.
7070         * font/devhtml/R.proto: Add `-+'.
7071         Remove double entries for `rk', `lk', `lt', `rt', `rb', `lb'.
7072         * font/devlbp/*: Remove `or'.
7073         * font/devlj4/generate/special.map: Remove `or'.
7074         * font/devlj4/S: Regenerated.
7075         * font/devps/generate/textmap: Add `fiveeighths', `oneeighth',
7076         `seveneighths', `threeeighths'.
7077         Remove `plusmath'.
7078         Replace `minusplus' with `uni2213'.
7079         * font/devps/symbolmap: Regenerated.
7080         * font/devutf8/R.proto: Replace `shc' with unnamed glyph.
7081         Add `-+'.
7083         * src/roff/troff/charinfo.h (charinfo): Add `is_normal' inline
7084         function.
7085         * src/roff/troff/node.cc (troff_output_file::put_char_width):
7086         Call glyph_color and fill_color even if tcommand_flag isn't set.
7087         (make_node, node::add_char): Check not ci->is_fallback but
7088         ci->is_normal.
7090         * tmac/lj4.tmac, tmac/lbp.tmac: Define `or'.
7091         * tmac/ec.tmac: Add .rchar entry for `f/'.
7092         Don't remove `12', `14', `34'.
7093         Define `pl' to be always roman.
7094         * tmac/ps.tmac (ps-frac, ps-frac-mono): New macros.
7095         Define `18', `38', `58', `78'.
7096         * tmac/tty.tmac: Add `-+'.
7097         * tmac/dvi.tmac: Define `f/'.
7098         (dvi-frac): Use `f/'.
7099         * tmac/X.tmac (X-frac, X-frac-mono): New macros.
7100         Define `18', `38', `58', `78'.
7102 2002-12-15  Colin Watson  <cjwatson@debian.org>
7104         * contrib/pic2graph/pic2graph.sh: Add missing `;;'.
7106 2002-12-10  Werner LEMBERG  <wl@gnu.org>
7108         Add glyph `tno', a textual variant of `no'.
7110         * font/devX*/*: Regenerated.
7111         * font/{devcp1047,devlatin1,devutf8,devhtml}/R.proto: Add `tno'.
7112         * font/devdvi/generate/{tc.map: Replace `no' with `tno'.
7113         * font/devdvi/generated/{texsy,textex}.map: Add `tno'.
7114         * font/devdvi/*: Regenerated.
7115         * font/devlbp/*: Add `tno'.
7116         * font/devlj4/generate/tex.map: Replace `no' with `tno'.
7117         * font/devlj4/*: Regenerated.
7118         * font/devps/generate/textmap: Replace `no' with `tno'.
7119         * font/devps/generate/symbolchars: Add `no'.
7120         * font/devps/*: Regenerated.
7122         * src/roff/troff/glyphuni.cc (glyph_to_unicode_list): Add `tno'.
7124         * tmac/cp1047.tmac, tmac/latin1.tmac: Replace `no' with `tno'.
7125         * tmac/tty-char.tmac: Add entry for `tno' and `3d'.
7127         * NEWS: Updated.
7129         * tmac/dvi.tmac: Replace most `\\' with `\E'.
7130         Add definition for `sd'.
7131         * tmac/X.tmac, tmac/ps.tmac: Replace most `\\' with `\E'.
7133         * tmac/eqnrc <dvi>: Use `integral' instead of `is' glyph.
7135 2002-12-08  Werner LEMBERG  <wl@gnu.org>
7137         * tmac/an-old.tmac (TH): Use integer value for `IN' if in nroff
7138         mode to avoid rounding errors.
7139         (an-do-tag, an-do-tag-html, RS, RE): Remove redundant `.br'.
7141         * src/roff/groff/groff.man, src/roff/nroff/nroff.man,
7142         src/roff/troff/troff.man: Improve documentation of -T.
7144 2002-12-07  Jeff Conrad  <jeff_conrad@msn.com>
7146         * src/roff/groff/pipeline.c: Don't define `const' for _WIN32.
7147         (run_pipeline) [_WIN32]: Provide working function without `fork'.
7149 2002-12-06  Werner LEMBERG  <wl@gnu.org>
7151         * font/devps/generate/freeeuro.sfd: Make dimensions of Euro.symbol
7152         glyphs compatible to Adobe's Euro fonts (scaling them down a bit).
7153         Scaling Euro.sansserif glyphs down to have the same height as
7154         digits.
7155         Removed unnecessary points; added some extrema.
7157         * font/devps/EURO, font/devps/freeeuro.afm, font/devps/freeeuro.pfa:
7158         Regenerated.
7160 2002-12-04  Werner LEMBERG  <wl@gnu.org>
7162         * font/devps/generate/freeeuro.sfd: Add glyphs `Euro.symbol.slanted'
7163         and `Euro.symbol.bold.slanted'.
7164         Improve some glyph offsets and widths.
7165         * font/devps/EURO, font/devps/freeeuro.afm, font/devps/freeeuro.pfa:
7166         Regenerated.
7167         * font/devps/generate/Makefile (freeeuro.afm freeeuro.pfa): Fix
7168         typo.
7169         * font/devps/generate/sfdtopfa.pe: Generate PFA in current
7170         direcory.
7172         * tmac/europs.tmac: Updated to new glyph indices.
7173         Use Euro.symbol for font familiy `A'.
7175         * doc/groff.texinfo: Minor improvements.
7177 2002-12-02  Werner LEMBERG  <wl@gnu.org>
7179         * font/devdvi/generate.tc.map: s/%O/%0/.
7180         * font/devdvi/*TC: Regenerated.
7182         * src/roff/troff/div.cc (init_div_requests): Sorted.
7184         * tmac/dvi.tmac: Remove `Ye'.
7185         * tmac/ec.tmac: Remove `Ye'.
7186         Add .rchar entry for `de'.
7188         * man/groff.man, man/groff_diff.man: Document register `.pe'.
7189         * doc/groff.texinfo: Document registers `.pe', `.n', and `.w'.
7190         * NEWS: Updated.
7192 2002-11-30  Werner LEMBERG  <wl@gnu.org>
7194         Add PS font for various Euro glyphs.
7196         * font/devps/generate/freeeuro.sfd: New master font file for
7197         pfaedit.
7198         * font/devps/generate/sfdtopfa.pe: New conversion script for
7199         pfaedit.
7200         * font/devps/generate/Makefile (FONTS): Add `EURO'.
7201         (EURO, freeeuro.afm, freeeuro.pfa): New rules.
7202         * font/devps/freeeuro.pfa, font/devps/freeeuro.afm: Generated from
7203         `freeeuro.sfd'.
7204         * font/devps/EURO: Generated from `freeeuro.afm'.
7205         * font/devps/download: Add `freeuro.pfa'.
7206         * font/devps/Makefile.sub (NORMALFILES): Adde `EURO' and
7207         `freeeuro.pfa'.
7209         * tmac/europs.tmac: New file.
7210         * tmac/ps.tmac: Include `europs.tmac'.
7211         * tmac/Makefile.sub (DISTFILES): Add `europs.tmac'.
7213 2002-11-29  Werner LEMBERG  <wl@gnu.org>
7215         * font/devdvi/generate/texsy.map: Remove `lh' and `rh'.
7216         * font/devdvi/S: Regenerated.
7217         * font/devhtml/R.proto: Fix `CR' and `ci'.
7218         Add `OK'.
7219         * font/devps/generate/textmap: Fix `lh', `rh', and `sq'.
7220         Remove `bs'.
7221         * font/devps/symbolmap: Regenerated.
7222         * font/devutf8/R.proto: Fix `CR' and `ci'.
7223         Add `OK'.
7224         * font/devutf8/NOTES: Updated.
7226         * src/roff/troff/uniglyph.cc (unicode_to_glyph_list): Fix `CR' and
7227         `ci'.
7228         Add `OK'.
7229         * src/roff/troff/glyphuni.cc (glyph_to_unicode_list): Ditto.
7231         * tmac/dvi.tmac: Add `lh' and `rh'.
7232         * tmac/Xps.tmac: Fix `lh' and `rh'.
7233         * tmac/X.tmac: Add `OK'.
7234         * tmac/lj4.tmac: Ditto.
7236 2002-11-24  Werner LEMBERG  <wl@gnu.org>
7238         * font/devX*/S: Regenerated.
7239         * font/devascii/R.proto, font/devcp1047/R.proto: Remove glyphs `lb',
7240         `lc', `lf', `lk', `lt', `rb', `rc', `rf', `rk', and `rt'.
7241         * font/devdvi/generate/texsy.map: Remove `or' glyph.
7242         * font/devdvi/S: Regenerated.
7243         * font/devhtml/R.proto, font/devutf8/R.proto: Add/fix glyphs
7244         `parenlefttp', `parenleftex', `parenleftbt', `parenrighttp',
7245         `parenrightex', `parenrightbt', `bracketlefttp', `bracketleftex',
7246         `bracketleftbt', `bracketrighttp', `bracketrightex',
7247         `bracketrightbt', `bracelefttp', `braceleftmid', `braceleftbt',
7248         `braceex', `braceleftex', `bracerightex', `bracerighttp',
7249         `bracerightmid', `bracerightbt', `lt', `lk', `lb', `rt', `rk',
7250         `rb', and `bv'.
7251         * src/roff/troff/glyphuni.cc, src/roff/troff/uniglyph.cc: Ditto.
7252         * font/devutf8/NOTES: Updated.
7253         * font/devlj4/generate/special.map: Add glyph `braceex'.
7254         * font/devlj4/S: Regenerated.
7256         * tmac/tty-char.tmac: Add glyphs `lf', `rf', `lc', and `rc'.
7258 2002-11-14  Werner LEMBERG  <wl@gnu.org>
7260         * src/roff/troff/uniglyph.cc (unicode_to_glyph_list): Add `va'
7261         and `vA'.
7262         Fix code for `an'.
7263         * src/roff/troff/glyphuni.cc (glyph_to_unicode_list): Ditto.
7265         * doc/texinfo.tex: New version from texinfo 4.3.
7266         * doc/groff.texinfo: Updated for texinfo 4.3.
7267         Use @tie{} where appropriate.
7268         * font/devdvi/generate/ec.map: Don't include `or' and `bv'.
7269         * font/devdvi/generate/tc.map: Remove `rn'.
7270         * font/devdvi/*TC, font/devdvi/*EC: Regenerated.
7271         * font/devhtml/R.proto, font/devutf8/R.proto: Add `vA'.
7272         Fix code for `an'.
7273         * font/devX100/*, font/devX100-12/*, font/devX75/*,
7274         font/devX75-12/*: Regenerated.
7276         * tmac/dvi.tmac: Add special fonts `SA' and `SB'.
7277         Use .char (again) for `br', `ul', `rn', `or', and `ru'.
7278         Improve definition of `an'.
7279         * tmac/ps.tmac: Use .char (again) for `br', `ul', `rn', `or', and
7280         `ru'.
7281         * tmac/lj4.tmac: Use .char (again) for `br', `ul', `rn', and `ru'.
7282         * tmac/X.tmac: Add definition for `or'.
7283         * tmac/Xps.tmac: Undo change 2002-11-05.
7284         * tmac/lbp.tmac: Add definitions for `br', `rn', `ul', and `ru'.
7286 2002-11-11  Werner LEMBERG  <wl@gnu.org>
7288         * src/roff/troff/node.cc (troff_output_file::put_char): Always
7289         call flush_tbuf.
7291 2002-11-10  Werner LEMBERG  <wl@gnu.org>
7293         Added three new requests `schar', `fschar', and `rfschar'.  `schar'
7294         defines a glyph which is searched after the check for fonts declared
7295         with `.special' (and before the check for all mounted special
7296         fonts).  `fschar' defines a glyph for a particular font which is
7297         searched after the check for fonts declared with `.fspecial' (and
7298         before the check for fonts declared with `.special').  `rfschar'
7299         removes glyphs defined with `fschar'.
7301         * src/roff/troff/token.h (char_mode): New enum.
7302         Declare do_define_character.
7303         * src/roff/troff/charinfo.h (charinfo): Replace `fallback' with
7304         `mode'.
7305         (charinfo::is_fallback): Updated.
7306         (charinfo::is_special): New method.
7307         * src/roff/troff/input.cc (do_define_character): Add and use
7308         optional second parameter used as a prefix for font-specific glyph
7309         names.
7310         (define_character, define_fallback_character): Updated.
7311         (define_special_character): New function.
7312         (init_input_requests): Add `schar'.
7313         (charinfo::charinfo, charinfo::set_macro): Updated.
7314         * src/roff/troff/node.cc: Include `stringclass.h'.
7315         (make_glyph_node): Handle special glyphs defined with `.schar' and
7316         `.fschar'.
7317         (define_font_special_character, remove_font_special_character): New
7318         functions.
7319         (init_node_requests): Sorted.
7320         Add `fschar' and `rfschar'.
7321         * NEWS, man/groff_diff.man, man/groff.man, doc/groff.texinfo:
7322         Document new requests.
7324         * font/devhtml/R.proto, font/devutf8/R.proto: Add `va'.
7325         * tmac/dvi.tmac: Add `va' for CW and CWI (using `.fschar').
7327 2002-11-08  Werner LEMBERG  <wl@gnu.org>
7329         Added new font `SC' (cmtex10) to devdvi.
7331         * devdvi/generate/Makefile (FONTS): Add `SC'.
7332         (SC): New rule.
7333         * devdvi/generate/textex.map: New map file for cmtex.
7334         * devdvi/SC: New.
7335         * devdvi/Makefile.sub (DEVFILES): Updated.
7336         * tmac/dvi.tmac: Add fspecial entries for SC.
7337         Add `MI', `S' and `CW' to the `special' call.  Otherwise, `SC' is
7338         found before `S' since the font position of `SC' is lower due to the
7339         gaps in DESC's `font' line.
7340         * tmac/ec.tmac: Add a `special' call.
7341         * NEWS: Updated.
7343         * font/devhtml/R.proto: Remove double entry for `ti'.
7344         * tmac/tty.tmac: Add entries for `IJ', `ij', and `bq'.
7345         * tmac/tty-char.tmac: Remove entry for `bq'.
7346         * tmac/lbp.tmac: Add entries for `lq', `rq', `fo', `fc', and `em'.
7347         * tmac/ec.tmac: Don't remove `aq' glyph.
7348         * tmac/X.tmac: Fix entry for `em'.
7349         Add entries for `fo' and `fc'.
7350         * tmac/dvi.tmac: Add entries for `em', `en', `hy', `fo', and `fc'.
7352         * doc/groff.texinfo, man/groff.man, man/groff_diff.man: Fix
7353         documentation of `special' and `fspecial' requests.
7355 2002-11-05  Werner LEMBERG  <wl@gnu.org>
7357         * font/devascii/R.proto, font/devcp1047/R.proto,
7358         font/devlatin1/R.proto: Remove entry for `.i'.
7359         * font/devdvi/generate/textt.map: Add entry for `ad'.
7360         * font/devdvi/generate/texr.map, font/devdvi/generate/texb.map,
7361         font/devdvi/generate/texi.map: Add dummy glyph name `slash@for@l'.
7362         We need this for getting kerning values to compose `/l' and `/L'.
7363         * font/devdvi: Regenerated font definition files for CM fonts.
7364         * font/devhtml/R.proto: Add entries for "'C", "'c", `IJ', and `ij'.
7365         * font/devutf8/R.proto: Ditto.
7366         Remove double entry for `ti'.
7368         * src/roff/troff/glyphuni.cc (glyph_to_unicode_list): Fix entries
7369         for (groff) ligatures, `la', and `ra'.
7370         Add "'C", "'c", `IJ', and `ij'.
7371         Remove double entry for `ti'.
7372         * src/roff/troff/uniglyph.cc (unicode_to_glyph_list): Remove all
7373         double entries.
7374         Add "'C", "'c", `IJ', and `ij'.
7375         Fix entries for (groff) ligatures, `la', and `ra'.
7377         * tmac/ps.tmac (ps-achar): New macro.
7378         Define "'c" and "'C".
7379         * tmac/tty.tmac: Add entry for `.i'.
7380         * tmac/X.tmac (X-achar): New macro.
7381         Define "'c", "'C", and `:Y'.
7382         Add entries for `IJ' and `ij'.
7383         * tmac/Xps.tmac (Xps-achar): New macro.
7384         Define "'c" and "'C".
7385         Add entries for `IJ' and `ij'.
7386         * tmac/lbp.tmac (lbp-achar): New macro.
7387         Add fallback characters for all groff ligatures and many other
7388         glyphs.
7389         * tmac/dvi.tmac: Fix definitions of `_' and `ul'.
7390         Add entries for `/l' and `/L'.
7391         Define "'c" and "'C".
7392         Add entries for `IJ' and `ij'.
7394 2002-11-02  Larry Kollar  <kollar@alltel.net>
7396         * PROBLEMS: Document how to solve Mac OS X compilation problems.
7398 2002-11-02  Werner LEMBERG  <wl@gnu.org>
7400         Adding support for composite glyphs: \[xxx yyy ...] and the
7401         `composite' request.
7403         * src/roff/troff/glyphuni.cc: New file for mapping groff glyph names
7404         to Unicode-based glyph names.
7405         * src/roff/troff/uniglyph.cc: New file for mapping Unicode-based
7406         glyph names to groff glyph names.
7407         * src/roff/troff/uniuni.cc: New file for canonically decomposing
7408         Unicode-based glyph names.
7409         * src/roff/troff/unicode.cc, src/roff/troff/unicode.h: New files
7410         for handling Unicode glyph names.
7411         * src/roff/troff/input.cc: Include unicode.h.
7412         (composite_glyph_name): New function.
7413         (token::next) <'['>: Handle Unicode glyph names and composite
7414         glyphs.
7415         (composite_dictionary): New dictionary for the `composite' request.
7416         (composite_request): Implement `composite' request.
7417         (init_input_requests): Add `composite'.
7418         Alphabetically sorted.
7419         * src/roff/troff/env.cc (tabs_save, tabs_restore): Removed (already
7420         commented out).
7421         (init_env_requests): Alphabetically sorted.
7422         Removed `tas' and `tar' (already commented out).
7423         * src/roff/troff/Makefile.sub: Updated.
7425 2002-10-31  Ruslan Ermilov  <ru@FreeBSD.org>
7427         * src/roff/nroff/nroff.man, src/roff/nroff/nroff.sh: Fix description
7428         of options.
7430 2002-10-29  Werner LEMBERG  <wl@gnu.org>
7432         Fix computation of .trunc register.  Additionally, its value (and
7433         the value of the .ne register) is now always set before entering the
7434         trap.
7436         * src/roff/troff/div.cc (diversion::need): Set `truncated_space' and
7437         `needed_space' before calling `space'.
7438         (top_level_diversion::space): Remove special code for 'sp before the
7439         first page.
7440         Call `begin_page' with the discarded space as a parameter.
7441         (top_level_diversion::begin_page): Add optional parameter to set
7442         `truncated_space'.
7443         * src/roff/troff/div.h: Updated.
7445         * doc/groff.texinfo: Improve documentation of .sp, \n[.trunc], and
7446         \n[.ne].
7448         * tmac/an-old.tmac (SH, SS, TP, IP, HP, TS): Undo change 2002-10-26.
7449         (LP): Remove superfluous call to `br'.
7450         * tmac/doc-common (doc-paragraph): Undo change 2002-10-26.
7451         * tmac/doc.tmac (Bd, Bl, doc-set-vertical-and-indent): Ditto.
7453 2002-10-26  Werner LEMBERG  <wl@gnu.org>
7455         * tmac/doc-ditroff: Remove useless switch/variable -rC.
7456         (doc-setup-header): Don't set page register `%'.
7457         * tmac/doc-nroff: Remove variable `C'.
7458         (doc-setup-page-layout): Set doc-header-space to .5i unconditionally.
7459         (doc-setup-header): Don't set page register `%'.
7460         Don't call `bp'.
7461         * tmac/doc-common (doc-header): Call `ns'.
7462         (doc-paragraph): Protect .sp with .br so that it survives traps
7463         possibly set by the user.
7464         * tmac/doc.tmac (Bd, Bl, doc-set-vertical-and-indent): Ditto.
7466         * tmac/doc*: Replace ' with . for consistency if no effect.
7468 2002-10-26  Werner LEMBERG  <wl@gnu.org>
7470         * tmac/an-old.tmac (SH, SS, TP, IP, HP, TS): Protect .sp with .br
7471         so that it survives traps possibly set by the user.
7473         * src/roff/troff/node.cc: Fix the changes from 2002-10-23.
7474         (troff_output_file::set_font): Call flush_tbuf if necessary.
7475         (troff_output_file::fill_color, troff_output_file::glyph_color): Call
7476         flush_tbuf and do_motion only if necessary.
7477         (troff_output_file::start_special,
7478         troff_output_file::put_char_width, troff_output_file::put_char,
7479         troff_output_file::draw): Updated.
7480         (word_space_node::tprint, space_node::tprint, hmotion_node::tprint,
7481         vmotion_node::tprint): Undo change 2002-10-23.
7483 2002-10-25  Werner LEMBERG  <wl@gnu.org>
7485         * tmac/www.tmac (DC): Fix case of overlapping images.
7487 2002-10-23  Werner LEMBERG  <wl@gnu.org>
7489         * src/roff/troff/node.cc (troff_output_file::fill_color,
7490         troff_output_file::glyph_color): Set current color before testing
7491         color_flag.
7492         (troff_output_file::put_char_width, troff_output_file::put_char,
7493         troff_output_file::draw): Don't call flush_tbuf and/or do_motion
7494         before glyph_color.
7495         (troff_output_file::file_color, troff_output_file::glyph_color):
7496         Call do_motion.
7497         (word_space_node::tprint, space_node::tprint, hmotion_node::tprint,
7498         vmotion_node::tprint): Move first, then call fill_color.
7500 2002-10-20  Werner LEMBERG  <wl@gnu.org>
7502         * doc/groff.texinfo, man/groff_tmac.man: Document that it is not
7503         possible to use multiple main macro packages.
7505 2002-10-19  Werner LEMBERG  <wl@gnu.org>
7507         * src/devices/grops/ps.cc (cmyk_flag): New global variable.
7508         (ps_printer::set_color): Set `cmyk_flag' for CMY and CMYK colors.
7509         (ps_printer::~ps_printer): Emit `%%Extensions: CMYK' if `cmyk_flag'
7510         is set.
7511         * font/devps/prologue.ps (Fk, Ck): Enclose definitions with a
7512         `where' construction since `cmyksetcolor' is a PS Level 2 operator.
7514 2002-10-16  Werner LEMBERG  <wl@gnu.org>
7516         * NEWS, doc/webpage.ms: Updated.
7518 2002-10-14  Werner LEMBERG  <wl@gnu.org>
7520         * src/roff/troff/node.cc (troff_output_file::put_char_width,
7521         troff_output_file::put_char, troff_output_file::fill_color,
7522         troff_output_file::glyph_color): Handle case where color pointer
7523         is null.
7525 2002-10-13  Ruslan Ermilov  <ru@FreeBSD.org>
7527         Add the new -r option to grotty.  It is similar to the -i option
7528         except it tells grotty(1) to use the `reverse video' attribute to
7529         render italic fonts.
7531         * src/devices/grotty/tty.cc (reverse_flag): New global variable.
7532         (SGR_REVERSE, SGR_NO_REVERSE): New macros.
7533         (tty_printer::make_underline, tty_printer::put_color,
7534         tty_printer::end_page): Use it.
7535         (main): Add -r switch.
7536         (usage): Updated.
7537         * src/devices/grotty/grotty.man: Document it.
7539 2002-10-11  Ruslan Ermilov  <ru@FreeBSD.org>
7541         * src/roff/troff/env.cc (hyphen_trie::read_patterns_file): Add
7542         cast to `unsigned char' to properly read patterns with 8bit
7543         characters.
7545 2002-10-08  Werner LEMBERG  <wl@gnu.org>
7547         * REVISION: Increased to 2.
7549 Copyright 2002, 2003, 2004, 2005, 2006, 2007
7550   Free Software Foundation, Inc.
7552 Copying and distribution of this file, with or without modification,
7553 are permitted in any medium without royalty provided the copyright
7554 notice and this notice are preserved.
7556 Local Variables:
7557 version-control: never
7558 coding: latin-1
7559 End: