1 2004-07-27 Egil Kvaleberg <egil@kvaleberg.no>
3 * tmac/s.tmac (pg@top): Don't save PO register.
4 (pg*end-col, pg*end-page): Directly use PO register.
6 2004-07-27 Werner LEMBERG <wl@gnu.org>
8 * man/groff_tmac.man: Mention `trace' and `pic' macro packages.
10 * src/preproc/refer/refer.cpp (output_references): Check for
12 * src/preproc/refer/refer.man: Improve documentation of
13 `bibliography' command.
15 2004-07-26 Werner LEMBERG <wl@gnu.org>
17 Add requests `fcolor' and `gcolor'.
19 * src/roff/troff/env.cpp (fill_color_change, glyph_color_change):
21 (init_env_requests): Add `fcolor' and `gcolor'.
23 * src/roff/troff/input.h: Export do_glyph_color and do_fill_color.
25 * NEWS, man/groff_diff.man, man/groff.man, doc/groff.texinfo:
26 Document new requests.
28 2004-07-24 Werner LEMBERG <wl@gnu.org>
30 Add support for fractional point sizes in ms macros. A value for
31 PS, VS, FPS, and FVS greater than or equal to 1000 is always divided
32 by 1000. For example, `.nr PS 10250' sets the font size to 10.25p.
34 * tmac/s.tmac (@AU, @AI, par@load-init, par@init, par@reset, NL,
35 PX): Handle fractional point sizes for PS, VS, FPS, and FVS.
37 * tmac/groff_ms.man, docs/groff.texinfo, NEWS: Document it.
39 2004-07-19 Werner LEMBERG <wl@gnu.org>
41 * src/preproc/pic/lex.cpp (for_input): Add member `from'.
43 (do_for, for_input::get, for_input::peek): Handle negative `by'.
44 * src/preproc/pic/pic.man, doc/pic.ms, NEWS: Document it.
46 2004-07-08 Thomas Klausner <wiz@netbsd.org>
48 * tmac/doc-syms (doc-str-St--p1003.1-2004): New string.
49 * tmac/groff_mdoc.man: Updated.
51 2004-07-05 Werner LEMBERG <wl@gnu.org>
53 * doc/groff.texinfo: Further improve documentation of `hcode'.
55 2004-07-04 Sang Dae Yu <sdyu@bh.knu.ac.kr>
57 Improve appearance of arrows in pic.
59 * src/preproc/pic/object.cpp (draw_arrow): Make outline of filled
61 Use two line segments for drawing non-filled arrow head.
62 (line_object::print, spline_object::print): Shorten line length to
64 (arc_object::print): Take arrow direction into account.
66 2004-07-03 Heinz-Jürgen Oertel <hj.oertel@surfeu.de>
68 * tmac/groff_www.man: Update documentation of .MPIMG.
70 2004-07-03 Werner LEMBERG <wl@gnu.org>
72 * tmac/an-old.tmac (RI): Always start with font `R'.
73 (RI, IR): Properly end with font `R'.
75 2004-07-02 Paul Eggert <eggert@cs.ucla.edu>
77 * man/ditroff.man, man/groff_font.man, man/groff_out.man,
78 src/devices/grohtml/grohtml.man, src/preproc/grn/grn.man,
79 src/preproc/pic/pic.man, tmac/groff_man.man, tmac/groff_ms.man:
80 Don't pass more than six arguments to .R, .I, .B, etc., for
81 compatibility with traditional troff macros.
83 2004-07-02 Werner LEMBERG <wl@gnu.org>
85 * src/roff/troff/input.h: s/COMPATIBLE_SAVE/PUSH_GROFF_MODE/.
86 s/COMPATIBLE_RESTORE/POP_GROFFCOMP_MODE/.
88 (PUSH_COMP_MODE): New internal character constant.
91 * src/roff/troff/input.cpp (get_copy): Handle PUSH_GROFF_MODE,
92 PUSH_COMP_MODE, and POP_GROFFCOMP_MODE.
93 (token::next, macro::append): Handle PUSH_COMP_MODE.
94 (decode_args): Add PUSH_GROFF_MODE or PUSH_COMP_MODE before and
95 POP_GROFFCOMP after each of the decoded arguments to make them
96 independent from the compatibility mode status.
97 (comp_mode): Add `COMP_ENABLE'.
98 (do_define_string, do_define_macro): Handle COMP_ENABLE.
99 (define_string, append_string, define_macro, define_indirect_macro,
100 append_macro, append_indirect_macro): Handle `compatible_flag'.
101 (chop_macro, substring_request, asciify): Handle PUSH_COMP_MODE.
103 * man/groff_diff.man, doc/groff.texinfo: Updated.
105 2004-07-01 Werner LEMBERG <wl@gnu.org>
107 * doc/groff.texinfo: Improve documentation of `hcode'.
108 Use @documentencoding and convert document to latin-1; to do that
109 make latin characters active and assign proper macros (within a
110 @tex...@end tex environment).
111 * doc/Makefile.in (.texinfo.html, groff): Use --enable-encoding.
112 * doc/Makefile.sub (groff): Ditto.
114 2004-06-29 Werner LEMBERG <wl@gnu.org>
116 Implement two new conditional operators `F <name>' and `S <name>'
117 which check whether <name> is a valid font or style, respectively.
119 * src/libs/libgroff/font.cpp (text_file): Add `silent' member.
120 (text_file::text_file): Updated.
121 (text_file::error): Don't emit message if `silent' is set.
122 (font::load_font): Add optional third argument (which is directly
124 (font::load): Add optional second argument to check the header of
125 a font only, without emitting warning or error messages.
126 * src/include/font.h (font): Updated.
128 * src/roff/troff/input.cpp (do_if_request): Implement `S' and `F'
130 * src/roff/troff/node.cpp (mount_font_no_translate): Add optional
131 fourth argument to check a font without mounting.
132 (check_font, check_style): New functions.
133 * src/roff/troff/node.h: Updated.
135 * man/groff_diff.man, man/groff.man, NEWS, doc/groff.texinfo:
138 2004-06-27 Werner LEMBERG <wl@gnu.org>
140 Implement new string-valued register `.sty' to return the current
143 * env.cpp (environment::get_style_name_string): New function.
144 (init_env_requests): Add `.sty' register.
145 * env.h (environment): Updated.
146 * node.cpp (font_info): Make `get_style_name' a friend.
147 (get_style_name): New function.
150 * man/groff_diff.man, man/groff.man, NEWS, doc/groff.texinfo:
153 2004-06-15 Werner LEMBERG <wl@gnu.org>
155 * src/preproc/tbl/main.cpp (process_data) <GOT_RIGHT_BRACE>: Handle
158 2004-06-10 Colin Percival <colin.percival@wadham.ox.ac.uk>
160 * doc/meintro.me, doc/meref.me: Don't use \*[td], \n[dy], \*[mo],
161 and \n[mo] to avoid dependency on current date.
163 2004-06-08 Werner LEMBERG <wl@gnu.org>
165 * Makefile.sub (install_data): New target.
167 2004-06-04 Werner LEMBERG <wl@gnu.org>
169 * src/libs/libxutil/Makefile.sub (EXTRA_CFLAGS): Define.
171 2004-06-03 Werner LEMBERG <wl@gnu.org>
173 * src/devices/xditview/Makefile.sub (EXTRA_LDFLAGS): Fix typo and
175 (install_data): Add $(srcdir).
177 * src/utils/xtotroff/Makefile.sub (EXTRA_LDFLAGS): Fix order of
180 2004-06-02 Werner LEMBERG <wl@gnu.org>
182 * aclocal.m4 (GROFF_X11): s/have_no_x/groff_no_x/.
183 Add X11 stuff to CFLAGS, LDFLAGS, and LIBS temporarily.
184 Add test for Xmu library.
185 (GROFF_APPRESDIR_OPTION, GROFF_APPRESDIR_CHECK,
186 GROFF_APPRESDIR_DEFAULT): New macros.
188 * configure.ac: Call GROFF_APPRESDIR_OPTION, GROFF_APPRESDIR_CHECK,
189 and GROFF_APPRESDIR_DEFAULT.
191 * configure: Regenerated.
193 * Makefile.in (appresdir): New variable.
194 (MDEFINES): Add appresdir.
196 * src/devices/xditview/Makefile.sub (EXTRA_LDFLAGS): Add -Xmu and
198 (install_data, uninstall_sub): New targets to handle GXditview.ad.
200 * src/utils/indxbib/Makefiles.ub (install_data): Depend on
201 `$(srcdir)/eign', not `eign'.
203 * MANIFEST, INSTALL, NEWS, PROBLEMS: Updated.
205 * man/groff_out.man, man/roff.man, src/devices/grops/grops.man,
206 src/devices/xditview/gxditview.man, src/roff/groff/groff.man:
207 Protect (g)xditview with `\%' to avoid hyphenation.
208 Other minor formatting.
210 2004-06-01 Werner LEMBERG <wl@gnu.org>
212 Integrate gxditview into groff's standard directory hierarchy.
214 * src/xditview/*: Moved to ...
215 * src/devices/xditview/*: Here.
216 Moved DviChar.h and XFontName.h to src/include.
217 Moved DviChar.c and XFontName.c to new directory src/libs/libxutil.
218 Split off `xmalloc' into new file src/libs/libxutil/xmalloc.c.
219 Moved xtotroff.c to new directory src/utils/xtotroff.
220 Provide proper Makefile.sub files (reusing the stuff from
222 DESC renamed to DESC.in.
223 Removed GXDitview-ad.h, INSTALL, Imakefile.in.
224 Converted everything from K&R to ANSI C.
225 Decorated with const where appropriate.
226 Cast string constants with `String' and `char *' where appropriate.
227 Made it compile with C++ (used as a C compiler).
228 Removed other minor compiler warnings.
230 * src/devices/xditview/device.c: Include config.h, string.h, and
232 Don't declare `exit', `strtok', `strchr', and `getenv'.
235 * src/devices/xditview/font.c: Don't declare `XParseFontName' and
238 * src/devices/xditview/xditview.c: Include config.h.
239 Include stdio.h earlier.
240 Protect declaration of `popen' and `pclose' with
241 NEED_DECLARATION_POPEN and NEED_DECLARATION_PCLOSE.
242 Replace `caddr_t' with `XtPointer'.
243 (MakePromptFunc): New typedef.
244 (DoPrint): Use RETSIGTYPE.
245 (promptfunction): Change type to MakePromptFunc.
246 (MakePrompt): Use MakePromptFunc for third argument.
249 * src/devices/xditview/ad2c: Add casts to `String'.
251 * src/include/XFontName.h (XFontNameString): Don't use array
253 Add prototypes for `XParseFontName', `XFormatFontName',
254 `XCompareFontName', and `XCopyFontName'.
256 * src/include/Makefile.sub (HDRS): Add `DviChar.h' and
259 * src/utils/xtotroff/xtotroff.c: Include getopt.h.
260 Don't declare `XParseFontName' and `XFormatFontName'.
262 (main): Remove `optind' and `optarg'.
264 * Makefile.in (XDEVDIRS, XPROGDIRS, XLIBDIRS): New variables
265 (to select programs which need X).
266 Make XDEVIDIRS depend on `FORCE'.
267 (X_CFLAGS, X_LIBS, X_EXTRA_LIBS, X_PRE_LIBS): New variables (for
270 (LIBDIRS): Use XLIBDIRS.
271 (CPROGDIRS): Use XPROGDIRS.
272 (DEVDIRS): Remove font directories for gxditview.
273 (ALLDIRS, DISTDIRS): Add XDEVDIRS.
274 (EXTRADIRS): Remove src/xditview.
276 * Makefile.sub (DISCLEANFILES): Updated.
278 * Makefile.comm (LIBXUTIL): New variable.
279 (.cpp.o, .cpp.obj): Handle EXTRA_CCFLAGS.
280 (.c.o, .c.obj, .y.o): Handle EXTRA_CFLAGS.
282 * Makefile.cpg, Makefile.ccpg ($PROG): Handle EXTRA_LDFLAGS.
284 * aclocal.m4 (GROFF_X11): New function.
286 * configure.ac: Call GROFF_X11.
287 Don't create src/xditview/Imakefile.
288 Don't emit notice how to build gxditview.
290 * configure: Regenerated.
292 * test-groff.in (GROFF_BIN_PATH, XENVIRONMENT): Updated.
294 2004-05-28 Akihiro Sagawa <sagawa@sohgoh.net>
296 * Makefile.in (CPPFLAGS): Define.
297 (MDEFINES): Add CPPFLAGS.
299 2004-05-27 Werner LEMBERG <wl@gnu.org>
301 * arch/misc/Makefile.sub (shdeps.sed): Use $(srcdir).
303 2004-05-26 Niklas Edmundsson <nikke@acc.umu.se>
305 Fix problems with `friend name injections'.
307 * src/preproc/eqn/box.h (make_mark_box, make_lineup_box,
308 make_script_box), src/roff/troff/div.h (end_diversions),
309 src/roff/troff/env.h (title), input.cpp (process_input_stack): Undo
312 2004-05-25 Bernd Warken <bwarken@mayn.de>
314 * src/preproc/pic/pic.man, doc/pic.ms: Add example for `command'.
316 2004-05-25 Werner LEMBERG <wl@gnu.org>
318 * src/libs/libgroff/cset.cpp, src/libs/libgroff/lf.cpp,
319 src/libs/libgroff/color.cpp: Include lib.h.
321 2004-05-25 Paul Eggert <eggert@cs.ucla.edu>
323 * PROBLEMS: Update documentation for problems with Sun C++ 5.0
324 through Forte 6u1, and for how to get GNU make on Solaris.
326 2004-05-24 Werner LEMBERG <wl@gnu.org>
328 * PROBLEMS: Document problems with gcc 3.4.0 on Sun. Reported
331 2004-05-15 Keith Marshall <keith.d.marshall@ntlworld.com>
333 * arch/misc/Makefile.sub (shdeps.sed): Don't use `$<' in explicit
336 2005-05-14 Werner LEMBERG <wl@gnu.org>
338 * REVISION: Set to 2.
340 * aclocal.m4 (GROFF_STDINT_H): Removed.
341 (GROFF_INTTYPES_H): Define HACE_CC_INTTYPES_H.
343 * configure.ac: Updated.
344 * configure, src/include/config.hin: Regenerated.
346 * src/libs/libgroff/tmpname.cpp: Don't include stdint.h but
347 inttypes.h conditionally.
349 2003-05-13 Werner LEMBERG <wl@gnu.org>
351 Version 1.19.1 released
352 =======================
354 2004-05-10 Stephen Gildea <http://www.gildea.com/stephen>
356 * src/preproc/refer/label.y (same_author_last_name,
357 same_author_name): Handle empty sort keys.
359 2004-05-10 Werner LEMBERG <wl@gnu.org>
361 * NEWS, README, TODO, PROJECTS, PROBLEMS, MANIFEST, doc/webpage.ms,
364 * tmac/doc-syms (doc-str-Lb-libposix, doc-str-Lb-libpthread,
365 doc-str-Lb-librt): Reset font.
366 (Lb): Rename `doc-str-Lb' to `doc-str-Lb1'.
367 Provide `doc-str-Lb' to reset font.
368 * tmac/groff_mdoc.man: Updated.
370 2004-05-08 Jan Schaumann <jschauma@netmeister.org>
372 * src/preproc/html/pre-html.cpp (make_message): Make it work for
373 snprintf versions which don't conform to ANSI C 99 (this is,
374 counting the string's trailing null byte in the return value).
376 2004-05-07 Keith Marshall <keith.d.marshall@ntlworld.com>
378 * src/roff/troff/node.cpp (suppress_node::tprint): Don't expect
379 that all implementations of sprintf handle null pointers correctly.
381 2004-05-04 Werner LEMBERG <wl@gnu.org>
383 * NEWS, man/groff_diff.man, man/groff.man, doc/groff.texinfo:
384 Document `.U' register.
386 * src/roff/troff/env.cpp (environment::mark_last_line)
387 [WIDOW_CONTROL]: Fix scope of `p' for new C++ compilers.
389 2004-05-04 Larry Kollar <kollar@alltel.net>
391 New read-only register `.U'; it returns 1 in safer mode and 0
394 * src/roff/troff/input.cpp (init_input_requests): Implement `.U'
397 2004-05-03 Werner LEMBERG <wl@gnu.org>
399 * install-sh, mkinstalldirs: New versions; taken from texinfo CVS.
401 2004-04-17 Werner LEMBERG <wl@gnu.org>
403 * src/include/font.h (font): Use `int' for ch_index.
404 * src/libs/libgroff/font.cpp (font::alloc_ch_index,
405 font::compact): Updated.
407 * src/roff/groff/pipeline.c (run_pipeline) [_WIN32]: Fix compiler
410 * src/roff/troff/div.cpp (begin_page), src/roff/troff/env.cpp
411 (hyphen_word): Fix compiler warnings.
412 * src/roff/troff/input.cpp (get_char_for_escape_name): Return
415 (get_delim_number, get_line_arg): Change second argument type to
417 (macro_header::copy, token::next, do_define_string,
418 do_define_character, substring_request, asciify_macro,
419 unformat_macro, read_size, non_interpreted_node::interpret,
420 while_request, main: Fix compiler warnings.
421 (read_color_draw_node): Initialize `col'.
423 * src/preproc/tbl/table.cpp (horizontal_span, table_entry): Make
424 `start_col' and `end_col' of type `int'.
425 (vertical_rule): Make `col' of type `int'.
427 * src/preproc/grn/hdb.cpp (DBRead): Protect call to getc with check
430 * src/preproc/refer/label.y (uppercase_array, lowercase_array):
432 (format_serial): Use them to remove dependency on ASCII.
434 * src/devices/grops/ps.cpp (ps_printer::define_encoding): Fix
436 * src/devices/grops/psrm.cpp (resource_manager::supply_resource):
439 * src/devices/grotty/tty.cpp (tty_font::load_tty_font): Fix
441 (glyph): Change type of `hpos' to `int'.
443 * src/devices/lbp/lbp.cpp (strsep): Removed. Unused.
444 * src/devices/lbp/lbp.h (splinerel): Fix compiler warnings.
446 * src/utils/tfmtodit.cpp (gf::load): Fix compiler warnings.
448 * src/utils/pfbtops/pfbtops.c (get_text): Fix compiler warning.
450 2004-04-16 Werner LEMBERG <wl@gnu.org>
452 * src/devices/grolbp/lbp.h, src/preproc/grn/gprint.h,
453 src/preproc/grn/hgraph.cpp, src/preproc/grn/hpoint.cpp,
454 src/preproc/html/pushback.cpp, src/preproc/html/pushback.h: Use
455 `double' instead of `float' everywhere.
456 * src/preproc/grn/main.cpp: Use `double' instead of `float'
458 (main): Add return value.
459 * src/preproc/grn/hdb.cpp: Use `double' instead of `float'
461 Update all user functions.
463 * src/include/search.h, src/include/ptable.h, src/include/printer.h,
464 src/preproc/eqn/box.h, src/preproc/pic/object.h,
465 src/preproc/refer/refer.h, src/preproc/tbl/table.h,
466 src/preproc/tbl/table.cpp, src/roff/troff/env.h,
467 src/roff/troff/div.h, src/roff/troff/token.h, src/roff/troff/node.h,
468 src/roff/troff/input.cpp, src/roff/troff/request.h,
469 src/roff/troff/node.cpp: Don't mix `struct' and `class' in forward
472 * src/utils/indxbib/signal.c: Include stdlib.h.
474 2004-04-14 Keith Marshall <keith.d.marshall@ntlworld.com>
476 * tmac/s.tmac (@init, RP): Allow initialization of the PO register
477 before the first page.
479 2004-04-14 Thomas Klausner <wiz@netbsd.org>
481 * tmac/doc-common (doc-volume-as-*): Use lowercase names.
482 (doc-operating-system-*): Updated.
483 * tmac/doc-syms (doc-str-St-*): Various small fixes.
484 (doc-str-Lb-*): Add more library names.
486 2004-04-10 Art Haas <ahaas@airmail.net>
488 * src/utils/hpftodit/hpuni.cpp (hp_msl_to_unicode_list): Don't
491 2004-04-09 Art Haas <ahaas@airmail.net>
493 * src/utils/tfmtodit.cpp (lig_chars): Don't use anonymous type.
495 2004-04-09 Keith Marshall <keith.d.marshall@ntlworld.com>
497 * arch/misc/shdeps.sh: Generate better comment for sed script.
499 2004-04-08 Art Haas <ahaas@airmail.net>
501 * src/libs/libgroff/glyphuni.cpp (glyph_to_unicode_list),
502 src/libs/libgroff/uniglyph.cpp (unicode_to_glyph_list),
503 src/libs/libgroff/uniuni.cpp (unicode_decompose_list),
504 src/preproc/eqn/box.cpp (param_table), src/preproc/grn/hgraph.cpp
505 (polyfill), src/preproc/grn/main.cpp (polyfill),
506 src/preproc/refer/command.cpp (command_table),
507 src/utils/tfmtodit.cpp (lig_table): Don't use anonymous types (which
508 gcc 3.5 doesn't like).
510 2004-04-08 Werner LEMBERG <wl@gnu.org>
512 Removing many compiler warnings. groff should now compile with
513 a C++ compiler used for C files also. [Simple variable renamings
514 to avoid shadowing aren't logged in detail.]
516 * src/devices/grodvi/dvi.cpp: Some local variable renamings.
517 (draw_dvi_printer::draw) ['c']: Enclose in block.
519 * src/devices/grohtml/post-html.cpp: Some local variable renamings.
520 (page::add_line): Fix typos.
521 * src/devices/grohtml/html-text.cpp: Some local variable renamings.
523 * src/devices/grolbp/lbp.cpp: Don't define _GNU_SOURCE.
524 Some local variable renamings.
525 * src/devices/grolbp/lbp.h: Some local variable renamings.
527 * src/devices/grolj4/lj4.cpp, src/devices/grotty/tty.cpp: Some local
530 * src/libs/libbib/index.cpp (index_search_item_iterator::get_tag):
531 Remove redundant local variable declaration.
532 * src/libs/libbib/map.c (mapread, unmap): Don't use K&R style.
533 Don't use `caddr_t' but `void *'.
534 Enclose functions with `extern "C"' for C++.
536 * src/libs/libdriver/input.cpp (remember_filename,
537 remember_source_filename): Use cast for string constant.
539 * src/libs/libgroff/font.cpp, src/libs/libgroff/fontfile.cpp,
540 src/libs/libgroff/nametoindex.cpp, src/libs/libgroff/paper.cpp,
541 src/libs/libgroff/geometry.cpp: Some local variable renamings.
542 * src/libs/libgroff/iftoa.c, src/libs/libgroff/itoa.c: Don't use K&R
544 Enclose functions with `extern "C"' for C++.
545 * src/libs/libgroff/quotearg.c (TRUE,FALSE): Define as macros.
546 (needs_quoting): Return `int'.
547 (quote_arg): Add proper casts to malloc and realloc.
548 * src/libs/libgroff/spawnvp.c: Compile code only for MS-DOS and
549 various MS Windows environments.
550 (spawnvp_wrapper): Add proper cast to malloc.
552 * src/preproc/eqn/box.h: Remove redundant declarations of
553 `make_script_box', `make_mark_box' and `make_lineup_box'.
554 * src/preproc/eqn/eqn.y: Remove redundant declaration of `strsave'.
555 * src/preproc/eqn/script.cpp, src/preproc/eqn/pile.cpp: Some local
558 * src/preproc/grn/hpoint.cpp: Some local variable renamings.
559 * src/preproc/grn/hgraph.cpp: Some local variable renamings.
560 (dx, dy): Renamed functions to...
561 (deltax, deltay): This.
562 * src/preproc/grn/main.cpp: Some local variable renamings.
563 (deffont): Add `const'.
564 (initpic, conv): Use cast for string constant.
566 * src/preproc/html/pre-html.cpp: Some local variable renamings.
567 (makeFileName, alterDeviceTo, addZ): Use cast for string constant.
568 (char_buffer::run_output_filter): Second argument is unused.
569 * src/preproc/html/pushback.cpp: Some local variable renamings.
571 * src/preproc/pic/pic.y: Remove redundant declaration of `do_copy'.
572 * src/preproc/pic/object.cpp: Some local variable renamings.
574 * src/preproc/refer/label.y (lookup_label): Remove redundant
575 declaration of local variable.
577 * src/preproc/soelim.cpp: Remove redundant declaration of
580 * src/preproc/tbl/main.cpp: Some local variable renamings.
582 * src/roff/groff/groff.cpp (main): Use cast for string constant.
583 * src/roff/groff/pipeline.c: Enclose declarations of `error',
584 `c_fatal', and `i_to_a' with `extern "C"' for C++.
585 Don't use C++-style comments.
587 * src/roff/troff/env.h: Remove redundant declaration of `title'.
588 * src/roff/troff/node.h, src/roff/troff/env.cpp,
589 src/roff/troff/div.cpp, src/roff/troff/node.cpp: Some local variable
591 * src/roff/troff/div.h: Remove redundant declaration of
593 * src/roff/troff/troff.h: Remove redundant declaration of
595 * src/roff/troff/input.cpp: Remove redundant declaration of
596 `handle_first_page_transition' and `process_input_stack'.
598 * src/utils/hpftodit.cpp: Some local variable renamings.
600 * src/utils/indxbib/signal.c: Enclose functions with `extern "C"'
602 Don't define RETSIGTYPE.
603 * src/utils/indxbib/indxbib.cpp: Some local variable renamings.
605 * src/utils/pfbtops/pfbtops.cpp: Don't use K&R style.
606 (error): Use `const' in argument.
607 (main): Remove redundant declaration of `optind'.
608 Move declaration of `Version_string' to top-level.
610 * PROBLEMS: Document difficulties compiling signal.c if a C++
611 compiler is used for C.
613 2004-04-07 Werner LEMBERG <wl@gnu.org>
615 * Makefile.sub (DISTCLEANFILES): Add `test-groff'.
617 2004-04-06 Keith Marshall <keith.d.marshall@ntlworld.com>
619 Make scripts like nroff.sh and neqn.sh portable across various
620 (Unix-like) shell implementations from Cygwin, MSYS, etc., which use
621 non-POSIX path separators. The idea is to extend those scripts to
622 decide at run-time (of the script) which path separator to use.
624 * arch/misc/Makefile.sub: New file.
625 * arch/misc/shdeps.sh: New file, generating OS dependency fixups.
626 This script handles @GROFF_BIN_PATH_SETUP@, replacing it with
627 a proper definition of the variable `GROFF_RUNTIME'.
629 * Makefile.in (SH_DEPS_SED_SCRIPT): New variable.
630 (MDEFINES): Add SH_DEPS_SED_SCRIPT.
631 (PROGDEPDIRS): New variable.
633 (PROGDIRS): Add PROGDEPDIRS.
635 * src/preproc/eqn/Makefile.sub (neqn): Call SH_DEPS_SED_SCRIPT.
636 Don't substitute @SEP@ and @BINDIR@.
637 * src/preproc/eqn/neqn.sh: Use @GROFF_BIN_PATH_SETUP@.
638 (PATH): Use GROFF_RUNTIME.
640 * src/roff/nroff/Makefile.sub (nroff): Call SH_DEPS_SED_SCRIPT.
641 Don't substitute @SEP@ and @BINDIR@.
642 * src/roff/nroff/nroff.sh: Use @GROFF_BIN_PATH_SETUP@.
643 (PATH): Use GROFF_RUNTIME.
645 2004-04-05 Keith Marshall <keith.d.marshall@ntlworld.com>
647 * src/roff/nroff/nroff.sh: Implement work-around for sh.exe from
648 Cygwin which doesn't handle stderr correctly.
650 2004-03-08 Werner LEMBERG <wl@gnu.org>
652 * Makefile.comm (install_dev, uninstall_dev): Protect `for' loops
653 against empty argument. Problem reported by <cgd@broadcom.com>.
655 2004-03-05 Keith Marshall <keith.d.marshall@ntlworld.com>
657 * Makefile.in (SEP): Replaced with...
658 (RT_SEP, SH_SEP): Separators for the target platform's native path
659 separator and the build environment, respectively.
660 (fontpath, tmacpath): Use RT_SEP.
663 * contrib/mom/Makefile.sub (GROFF_BIN_PATH): Use SH_SEP.
664 * doc/Makefile.sub (GROFF_BIN_PATH): Use SH_SEP.
665 * src/preproc/eqn/Makefile.sub (neqn): Use SH_SEP.
666 * src/roff/nroff/Makefile.sub (nroff): Use SH_SEP.
668 2004-03-05 Werner LEMBERG <wl@gnu.org>
670 * fonts/devlj4/Makefile.sub (LJ4RES): Set to 1200. This helps to
671 reduce alignment problems with newer printers which use built-in
672 TrueType fonts (instead of the older Intellifonts). The ideal
673 solution is to provide a second set of groff metric files, but this
674 is extremely time-consuming to produce, given that HP's metric
675 files are very rudimentary.
677 2004-03-01 Werner LEMBERG <wl@gnu.org>
679 * src/devices/grolj4/lj4.cpp (main): Fix argument of getopt_long.
680 s/operand/argument/ in error message.
682 2004-03-01 Keith Marshall <keith.d.marshall@ntlworld.com>
684 * src/roff/groff/groff.cpp (main): Don't allow option -o if -Thtml
687 2004-03-01 Antti Kantee <pooka@netbsd.org>
689 * tmac/s.tmac (XE): Fix error message.
691 2004-02-27 Jeff Conrad <jeff_conrad@msn.com>
693 * src/include/nonposix.h (write, dup, dup2, close) [_MSC_VER]:
696 * src/roff/groff/pipeline.c: Declare strcasecmp.
697 (run_pipeline) [_WIN32]: Use function name variants which don't
701 2004-02-27 Keith Marshall <keith.d.marshall@ntlworld.com>
703 * src/include/nonposix.h: Fix declaration of `system_shell_name'.
704 Declare `spawnvp_wrapper' and macro definitions of spawnvp only
705 for platforms which use the native Win32 runtime libraries.
706 (FLUSH_INPUT_PIPE) [_UWIN]: Provide non-empty version.
708 * src/libs/libgroff/quotearg.c (QUOTE_ARG_MALLOC_ERROR,
709 QUOTE_ARG_REALLOC_ERROR): Fix string.
711 * src/preproc/html/pre-html.cpp: Remove declaration of
713 Don't use __MINGW32__.
714 s/DEBUG_FILE/DEBUG_FILE_DIR/.
715 (DEBUG_TEXT, DEBUG_NAME, DEBUG_FILE) [DEBUGGING]: New macros.
716 (OUTPUT_STREAM, PS_OUTPUT_STREAM, REGION_OUTPUT_STREAM): New macros.
717 (char_buffer::run_output_filter) [MAY_FORK_CHILD_PROCESS]: Fix
718 calls to `set_redirection' and `WAIT'.
719 [MAY_SPAWN_ASYNCHRONOUS_CHILD]: Remove unused variable `i' and `j'.
720 Fix calls to `set_redirection' and `save_and_redirect'.
721 (char_buffer::do_html, char_buffer::do_image) [DEBUGGING]: Fix calls
722 to `set_redirection' and `save_and_redirect'.
723 (usage): Fix message.
724 (makeTempFiles, main): Use `DEBUG_FILE'.
726 2004-02-21 Werner LEMBERG <wl@gnu.org>
728 * src/roff/troff/troff.h (WARN_TOTAL): Fix value.
730 2004-02-21 Keith Marshall <keith.d.marshall@ntlworld.com>
732 * src/libs/libgroff/quotearg.c: New file, providing proper argument
733 quoting for MSVC's spawn* and exec* functions.
734 * src/libs/libgroff/spawnvp.c: New file, providing a wrapper around
735 spawnvp with proper quoting for MSVC.
737 * src/libs/libgroff/assert.cpp (program_name),
738 src/libs/libgroff/new.cpp (program_name): Declare as `extern "C"'.
739 * src/libs/libgroff/Makefile.sub (OBJS, CSRCS): Updated.
741 * src/roff/troff/input.cpp (program_name): Declare as `extern "C"'.
743 * src/include/error.h (program_name): Declare as `extern "C"'.
744 * src/include/nonposix.h [__MSDOS__ ...]: Handle spawnvp.
746 2004-02-21 Jeff Conrad <jeff_conrad@msn.com>
748 * src/preproc/html/pre-html.cpp [__CYGWIN__ ...]: Declare
750 [MAY_SPAWN_ASYNCHRONOUS_CHILD]: Declare i and j.
752 2004-02-20 Jeff Conrad <jeff_conrad@msn.com>
754 * src/roff/groff/pipeline.c (cmd) [__MSDOS__ || ...]: New global
756 (sbasename) [__MSDOS__ || ...]: New function.
757 (system_shell_name) [__MSDOS__ || ...]: Use a different, more
759 (system_shell_dash_c, is_system_shell) [__MSDOS__ || ...]: Updated.
760 (run_pipeline) [_WIN32]: Use _XXX variants for some macros instead
762 Use STDOUT_FILENO instead of hardcoded file handle.
763 (signal_catcher) [__MSDOS__]: Moved to non-_WIN32 section.
765 2004-02-19 Werner LEMBERG <wl@gnu.org>
767 * src/roff/troff/div.cpp: Include nonposix.h after troff.h to
768 avoid warnings w.r.t. redefinition of P_tmpdir for some compilers.
770 2004-02-18 Werner LEMBERG <wl@gnu.org>
772 * font/devlj4/Makefile.sub (DEVFILES): Updated to contain all
773 new font and mapping files.
775 2004-02-18 Jeff Conrad <jeff_conrad@msn.com>
776 Keith Marshall <keith.d.marshall@ntlworld.com>
778 * src/include/nonposix.h (FLUSH_INPUT_PIPE): New macro to empty
779 an input pipe. This is needed for the MSVC compiler to make troff's
782 * src/roff/troff/div.cpp: Include nonposix.h.
783 (cleanup_and_exit): Call FLUSH_INPUT_PIPE.
785 2004-02-17 Werner LEMBERG <wl@gnu.org>
787 * font/devlj4/generate/special.awk: New script.
788 * font/devlj4/generate/Makefile (S): Use special.awk.
789 * font/devlj4/*: Regenerated, including the following new files:
790 Arial (AR, AB, AI, ABI), Times New Roman (TNRR, TNRB, TNRI, TNRBI),
791 MS Symbol (SYMBOL), Wingdings (WINGDINGS).
792 * NEWS: Document new lj4 fonts and revised hpftodit.
794 2004-02-17 Paco Andrés Verdú <pandres@dragonet.es>
796 * src/devices/grolbp/lbp.h (vmdvarc): Fix formatting string.
798 2004-01-25 Werner LEMBERG <wl@gnu.org>
800 * src/libs/libgroff/progname.cpp: Replaced with...
801 * src/libs/libgroff/progname.c: New file.
802 * src/libs/libgroff/Makefile.sub: Updated accordingly.
804 2004-01-17 Werner LEMBERG <wl@gnu.org>
806 * font/devlj4/generate/Makefile (SYMBOL): Use 9nb28703.tfm.
808 2004-01-16 Jeff Conrad <jeff_conrad@msn.com>
810 * font/devlj4/generate/wingdings.map,
811 font/devlj4/generate/symbol.map: Include unnamed glyphs.
812 Use groff glyph names where possible.
813 * src/devices/grolj4/lj4_font.man: Minor updates.
815 2004-01-13 Werner LEMBERG <wl@gnu.org>
817 * tmac/www.tmac (DC): Handle TTY devices.
819 * doc/webpage.ms: Document viewCVS from ffii.org.
820 * NEWS, README: Updated.
822 * src/roff/groff/groff.man: Mention lj4_font man page.
824 * font/devlj4/generate/Makefile (SYMBOLMAP, WINGDINGSMAP): New
826 (FONTS): Add SYMBOL and WINGDINGS.
827 (SYMBOL, WINGDINGS): New targets.
829 2004-01-13 Jeff Conrad <jeff_conrad@msn.com>
831 * src/devices/grolj4/lj4_font.man: New man page.
832 * src/devices/grolj4/Makefile.sub (MAN5): New variable.
833 * src/devices/grolj4.man: Mention lj4_font man page.
835 * src/utils/hpftodit/hpftodit.cpp (read_map): Handle line comments.
836 * src/utils/hpftodit/hpftodit.man: Document it.
838 Remove details about fonts (which are now in lj4_font.man).
840 * font/devlj4/generate/symbol.map,
841 font/devlj4/generate/wingdings.map: New files.
843 2004-01-12 Werner LEMBERG <wl@gnu.org>
845 * README: Mention ffii's viewcvs access.
847 2004-01-09 Werner LEMBERG <wl@gnu.org>
849 * font/devlj4/generate/special.map: Map MSL 228 to U+221F.
851 2004-01-09 Jeff Conrad <jeff_conrad@msn.com>
853 Revert most of the change from 2004-01-03 to better control used
856 * src/utils/hpftodit/hpftodit.cpp (symbol_set): New structure.
857 (text_symbol_sets, special_symbol_sets): New arrays.
858 (symbol_set_table): New global variable.
859 (read_symbol_sets): Use search order given in the text_symbol_sets
860 and special_symbol_sets arrays. If command line flag -a is not
861 given, search both arrays.
862 (output_charset): Require x_height_tag only for command line flag -i.
864 2004-01-06 Werner LEMBERG <wl@gnu.org>
866 Implement string-valued registers \n[.m] and \n[.M] to return the
867 name of the current drawing and background color, respectively.
869 * src/roff/troff/symbol.h: Moved to...
870 * src/include/symbol.h: Here.
871 Small fixes to make it work outside of the `troff' directory.
872 * src/roff/troff/symbol.cpp: Moved to...
873 * src/libs/libgroff/symbol.cpp: Here.
874 Small fixes to make it work outside of the `troff' directory.
876 * src/include/Makefile.sub (HDRS), src/libs/libgroff/Makefile.sub
877 (OBJS, CCSRCS), src/roff/troff/Makefile.sub (OBJS, CCSRCS, HDRS):
880 * src/include/color.h: Include symbol.h.
881 (color): Add new field `nm'.
882 * src/libs/libgroff/color.cpp (color::color): Updated.
884 * src/roff/troff/dictionary.cpp, src/roff/troff/div.cpp,
885 src/roff/troff/node.cpp, src/roff/troff/number.cpp,
886 src/roff/troff/reg.cpp: Don't include symbol.h.
888 * src/roff/troff/env.cpp: Don't include symbol.h.
889 (environment::get_glyph_color_string,
890 environment_get_fill_color_string): New member functions.
891 (init_env_requests): Handle `.m' and `.M' registers.
892 * src/roff/troff/input.cpp: Don't include symbol.h.
893 (default_symbol): Moved to symbol.cpp/symbol.h.
894 (do_glyph_color, do_fill_color, define_color): Pass symbol name
895 to color constructor.
896 * src/roff/troff/env.h: Updated.
898 * NEWS, man/groff_diff.man, man/groff.man, doc/groff.texinfo:
899 Document new registers.
901 2004-01-05 Werner LEMBERG <wl@gnu.org>
903 * src/roff/troff/node.cpp (space_node::get_breakpoints,
904 space_node::nbreaks): Protect against zero `next' field.
906 2004-01-03 Jeff Conrad <jeff_conrad@msn.com>
908 In hpftodit, use the symbol sets offered in the TFM.
910 * src/utils/hpftodit/hpftodit.cpp (NO_GLYPH): New constant.
911 (symbol_set, text_symbol_sets, special_symbol_sets,
912 symbol_set_table): Removed.
913 (get_printcode): Removed.
914 (read_symbol_sets): Initialize `symbol_set' field with
916 Simplify code to just use the `kind' value.
917 (output_charset): Improve output formatting.
918 (dump_symbols): Simplified.
920 2004-01-02 Werner LEMBERG <wl@gnu.org>
922 * font/devlj4/generate/text.map: Add more MSL numbers.
924 2004-01-02 Jeff Conrad <jeff_conrad@msn.com>
926 * src/utils/hpftodit/hpftodit.cpp (is_decomposed): New macro.
927 (text_symbol_sets): Add more symbol sets.
928 (debug_flag): New static variable (moved from `main').
929 (get_printcode, show_symset): New functions.
930 (main): Remove `debug_flag'.
931 (output_charset): Use `show_symset'.
932 (dump_symbols): Use `show_symset'.
933 Print symsets for all glyphs.
934 (read_map): Actually call `unicode_to_ucode_make' but this time
937 2004-01-01 Werner LEMBERG <wl@gnu.org>
939 * font/devlj4/generate/text.map, font/devlj4/generate/special.map:
940 Fix placement of comments.
942 2004-01-01 Jeff Conrad <jeff_conrad@msn.com>
944 * src/utils/hpftodit/hpftodit.cpp (main): Read map file also if
945 option `-d' is given.
946 (output_charset): Improve warning messages to give more information.
947 (dump_symbols): Make information more precise.
949 (read_map): Don't call unicode_to_ucode_name; the glyph names must
950 appear as-is and shouldn't be decomposed.
952 2003-12-31 Werner LEMBERG <wl@gnu.org>
954 * src/utils/hpftodit/hpftodit.cpp (dump_tags): Handle posture_tag.
955 * font/devlj4/generate/Makefile (IFLAG): Updated to new units.
956 (FONTS): Add TrueType font families Arial and Times New Roman.
957 (TNRR, TNRB, TNRI, TNRBI, AR, AB, AI, ABI): New targets.
958 * font/devlj4/generate/text.map: Fix Unicode values of `fi' and
961 2003-12-31 Jeff Conrad <jeff_conrad@msn.com>
963 * test-groff.in (SEP): Quote value.
964 * src/roff/troff/node.cpp (suppress_node::tprint): Change type of
965 `tem' to `char*' to avoid deallocation of a pointer to a constant
966 object which some compilers don't like.
968 2003-12-31 Werner LEMBERG <wl@gnu.org>
970 * font/devlj4/generate (text.map, special.map): Rewritten to work
971 with the new hpftodit version.
973 2003-12-30 Jeff Conrad <jeff_conrad@msn.com>
975 * src/utils/hpftodit/hpftodit.cpp (output_charset): Emit HP symbol
976 set and 8bit character code for all glyphs also.
978 2003-12-30 Werner LEMBERG <wl@gnu.org>
980 * src/libs/libgroff/strcasecmp.c: Updated from gnulib.
982 2003-12-29 Werner LEMBERG <wl@gnu.org>
984 More fixes for MSVC compiler.
986 * doc/Makefile.sub, contrib/mom/Makefile.sub (GROFF_BIN_PATH): Use
989 * src/include/nonposix.h (STDIN_FILENO, STDOUT_FILENO,
990 STDERR_FILENO) [_MSC_VER]: Define conditionally.
991 (getpid) [_MSC_VER]: Remove.
992 Include direct.h and process.h conditionally.
994 * src/roff/troff/node.cpp (suppress_node::tprint): Don't use
995 parentheses for a_delete.
997 * src/utils/lookbib/lookbib.cpp: Include nonposix.h.
999 * test-groff: Replaced with...
1000 * test-groff.in: This new template to handle path separator
1003 * configure.ac: Check for direct.h and process.h.
1004 Generate test-groff script.
1005 * configure, src/include/config.hin: Regenerated.
1007 2003-12-28 Werner LEMBERG <wl@gnu.org>
1009 Add integral extension glyph.
1010 Add new option `-x' to afmtodit to suppress use of built-in AGL.
1012 * font/devhtml/R.proto, font/devutf8/R.proto: Add `u23AE'.
1014 * font/devps/generate/textmap: Provide entry for `integralex' to
1015 override (old) PUA value of the AGL.
1016 * font/devps/generate/Makefile (SS): Add afmtodit option `-x'.
1017 * font/devps/*: Regenerated.
1019 * src/utils/afmtodit/afmtodit.pl: Add option `-x'.
1020 * src/utils/afmtodit/afmtodit.man, NEWS: Updated.
1022 2003-12-27 Werner LEMBERG <wl@gnu.org>
1024 Add forgotten `coproduct' symbol (already available for DVI).
1026 * font/devhtml/R.proto, font/devps/generate/textmap,
1027 font/devps/symbolmap, font/devutf8/R.proto, man/groff_char.man,
1028 src/libs/libgroff/uniglyph.cc, src/libs/libgroff/glyphuni.cpp: Add
1029 U+2210 (\[coproduct]).
1031 2003-12-26 Jeff Conrad <jeff_conrad@msn.com>
1033 hpftodit has been extended to handle TrueType metric files and
1034 more glyphs. See hpftodit.man for more details.
1036 * src/utils/hpftodit/hpftodit.cpp: Include stdio.h, string.h,
1037 ctype.h, and unicode.h.
1038 s/msl/charcode/ everywhere since we now handle Unicode values also.
1039 (equal, NO, YES, MSL, SYMSET, UNICODE, UNICODE): New macros.
1040 Use it where appropriate.
1041 (MULTIPLIER): Replaced with...
1042 (multiplier): New global static variable.
1044 (tag_type): Add more TFM tags.
1045 (tag_name): New array.
1046 (ENUM_TYPE, FLOAT_TYPE): Removed.
1047 (BYTE_TYPE): New value assigned.
1048 (ASCII_TYPE, RATIONAL_TYPE): New enumeration values.
1049 (text_symbol_sets, special_symbol_sets): Extended to cover more
1051 (check_type): Add return value.
1052 (check_units): Add parameters to get ppi and upem values.
1053 Handle TrueType TFM data.
1054 (output_font_name): New function.
1055 (output_charset): Add parameter to handle TFM type.
1056 Handle TrueType TFMs also.
1057 (em_fract): New macro.
1058 (dump_tags): Be much more verbose and handle more tags.
1059 (dump_ascii, dump_symbol_sets, dump_symbols): New functions.
1060 (hp_msl_to_ucode_name, unicode_to_ucode_name, is_uname): New
1062 (read_map): Add parameter to handle TFM type.
1063 Handle both MSL and Unicode mappings.
1064 (main): Add two new command line options `-a' and `-q'.
1065 Updated to make use of new functions.
1068 * src/utils/hpftodit/hpuni.cpp: New file.
1070 * src/utils/hpftodit/Makefile.sub, src/utils/hpftodit/hpftodit.man:
1073 2003-12-25 Werner LEMBERG <wl@gnu.org>
1075 * src/include/nonposix.h (read) [_MSC_VER]: Define.
1077 2003-12-24 Werner LEMBERG <wl@gnu.org>
1079 * src/utils/afmtodit/afmtodit.man: Some reformulations as suggested
1080 by Michail Vidiassov <master@iaas.msu.ru>.
1082 2003-12-20 Werner LEMBERG <wl@gnu.org>
1084 * font/devhtml/R.proto: Add u00{47,67}_0306, u00{53,73}_0327,
1086 Add missing latin-2 glyphs.
1087 * font/devutf8/R.proto: Add missing latin-2 glyphs.
1089 * tmac/troffrc: Load `composite.tmac' earlier.
1091 * tmac/dvi.tmac, tmac/ps.tmac, tmac/lbp.tmac: Add u00{47,67}_0306,
1092 u00{53,73}_0327, and u0049_0307.
1093 * tmac/X.tmac: Add u00{47,67}_0306.
1094 * tmac/tty-char.tmac: Use composite glyph names for readability.
1098 * src/include/unicode.h: Remove `extern' keywords.
1100 2003-12-20 Nilgün Belma Bugüner <nilgun@superonline.com>
1102 * tmac/latin5.tmac: New file.
1104 2003-12-19 Werner LEMBERG <wl@gnu.org>
1106 Add some glyphs needed for Turkish.
1108 * font/devutf8/R.proto: Add u00{47,67}_0306, u00{53,73}_0327,
1111 * tmac/composite.tmac: Add `,' as a synonym for `ac' accent.
1112 * tmac/tty-char.tmac: Add representations for u00{47,67}_0306,
1113 u00{53,73}_0327, and u0049_0307.
1115 2003-12-18 Werner LEMBERG <wl@gnu.org>
1117 * src/devices/grops/ps.cc (ps_output::put_float): Revert change
1119 Remove trailing zeros.
1121 2003-12-17 Werner LEMBERG <wl@gnu.org>
1123 Make \? transparent to end-of-sentence recognition.
1125 * src/roff/troff/input.cc (non_interpreted_node): Add
1126 `ends_sentence' member function.
1128 2003-12-16 Werner LEMBERG <wl@gnu.org>
1130 * doc/groff.texinfo: Document `dt' request correctly.
1131 Other minor typographical improvements.
1133 2003-12-10 Michail Vidiassov <master@iaas.msu.ru>
1135 * src/utils/afmtodit/Makefile.sub (afmtodit): Fix typo.
1137 2003-12-10 Richard Stallman <rms@gnu.org>
1139 * LICENSE: Better wording.
1141 2003-12-09 Werner LEMBERG <wl@gnu.org>
1143 * aclocal.m4 (GROFF_BROKEN_SPOOLER_FLAGS): Set default value to 0.
1144 * configure, NEWS: Updated.
1146 2003-12-08 Werner LEMBERG <wl@gnu.org>
1148 * FDL: Updated to version 1.2 (from www.gnu.org/copyleft).
1150 2003-12-07 Bernd Warken <bwarken@mayn.de>
1154 2003-12-07 Werner LEMBERG <wl@gnu.org>
1156 * INSTALL: Improved.
1158 2003-12-05 Keith Marshall <keith.d.marshall@ntlworld.com>
1160 Use path separator character of target platform for compiled-in
1163 * aclocal.m4 (GROFF_TARGET_PATH_SEPARATOR): New macro.
1164 * configure.ac: Use GROFF_TARGET_PATH_SEPARATOR.
1165 * configure: Regenerated.
1166 * Makefile.in (SEP): Use GROFF_PATH_SEPARATOR.
1168 2003-12-05 Werner LEMBERG <wl@gnu.org>
1170 * src/include/nonposix.h (PATH_SEP_CHAR): New definition.
1171 Replace `PATH_SEP[0]' with `PATH_SEP_CHAR' everywhere.
1173 2003-12-04 Bernd Warken <bwarken@mayn.de>
1175 * LICENSE: New file.
1177 2003-12-03 Werner LEMBERG <wl@gnu.org>
1179 * src/utils/afmtodit/afmtodit.pl: Comment out code which handles
1180 ligatures present in AFM files since groff currently only
1181 understands some standard ligatures and nothing else.
1183 2003-12-03 Jeff Conrad <jeff_conrad@msn.com>
1185 * src/roff/groff/groff.cpp (main): Don't run the spooler if
1188 * src/roff/groff/pipeline.c (run_pipeline) [_WIN32]: Fix error
1191 Don't use Unix wait flags.
1193 2003-12-02 Werner LEMBERG <wl@gnu.org>
1195 * src/roff/troff/glyphuni.cpp, src/roff/troff/unicode.cpp,
1196 src/roff/troff/unicode.h, src/roff/troff/uniglyph.cpp,
1197 src/roff/troff/uniuni.cpp: Moved to...
1198 * src/libs/libgroff/glyphuni.cpp, src/libs/libgroff/unicode.cpp,
1199 src/libs/libgroff/unicode.h, src/libs/libgroff/uniglyph.cpp,
1200 src/libs/libgroff/uniuni.cpp: Here.
1202 * src/include/Makefile.sub.old (HDRS),
1203 src/libs/libgroff/Makefile.sub (OBJS, CCSRCS),
1204 src/roff/troff/Makefile.sub (HDRS, PBJS, CCSRCS): Updated.
1206 2003-12-01 Keith Marshall <keith.d.marshall@ntlworld.com>
1208 * src/preproc/htlp/pre-html.cpp (__tmpfile): Renamed to
1212 2003-12-01 Werner LEMBERG <wl@gnu.org>
1214 * groff.texinfo: Document special behaviour of `.vs 0'.
1215 Improve documentation of `cflags' request.
1218 2003-11-29 Werner LEMBERG <wl@gnu.org>
1220 * font/devlj4/generate/Makefile (CORONET): Use correct TFM.
1221 * font/devlj4/CORONET: Regenerated.
1223 2003-11-24 Werner LEMBERG <wl@gnu.org>
1225 * src/roff/troff/env.cpp (hyphen_trie::read_patterns_file): Fix loop
1226 if processing hyphenation patterns in traditional mode.
1227 Improve error messages.
1229 2003-11-20 Werner LEMBERG <wl@gnu.org>
1231 * src/roff/troff/node.cpp (troff_output_file::put_char_width,
1232 troff_output_file::put_char): Fix type of local variable `c'.
1234 2003-11-19 Werner LEMBERG <wl@gnu.org>
1236 * src/roff/groff/pipeline.c (P): Removed. Updated all function
1238 (i_to_a): Removed. libgroff already provides this function.
1239 (run_pipeline) [_WIN32]: Don't use itoa but i_to_a.
1241 2003-11-18 Keith Marshall <keith.d.marshall@ntlworld.com>
1243 * src/roff/groff/pipeline.c (xstrsignal): Fix usage of
1246 2003-11-17 Werner LEMBERG <wl@gnu.org>
1248 * COPYING: Use correct version.
1250 2003-11-11 Werner LEMBERG <wl@gnu.org>
1252 LynxOS 4.0.0 doesn't declare vfprintf.
1254 * configure.ac: Check for vfprintf.
1255 * configure: Regenerated.
1256 * src/include/lib.h: Handle `NEED_DECLARATION_VFPRINTF'.
1257 * src/include/config.hin: Regenerated.
1259 2003-11-10 Werner LEMBERG <wl@gnu.org>
1261 LynxOS 4.0.0 has snprintf (without declaration) but no vsnprintf.
1263 * configure.ac: Check for vsnprintf.
1264 * configure: Regenerated.
1265 * src/include/lib.h: Handle `NEED_DECLARATION_VSNPRINTF' and
1267 * src/include/config.hin: Regenerated.
1269 2003-11-09 Werner LEMBERG <wl@gnu.org>
1271 * aclocal.m4: Updated syntax to autoconf 2.59.
1272 (GROFF_HTML_PROGRAMS): Use AC_FOREACH.
1273 Don't check for gsos2.
1274 (GROFF_SRCDIR, GROFF_BUILDDIR): Removed. autoconf 2.59 provides
1275 working abs_top_srcdir and abs_top_builddir.
1277 * configure.ac: Updated syntax to autoconf 2.59.
1278 Don't call GROFF_SRCDIR and GROFF_BUILDDIR.
1279 Replace call to AC_DECL_SYS_SIGLIST with call to AC_CHECK_DECLS.
1280 * configure: Regenerated.
1282 * Makefile.in, doc/Makefile.in: s/@top_srcdir@/@abs_top_srcdir@/,
1283 s/@groff_top_builddir@/@abs_top_builddir@/.
1285 * src/roff/groff/pipeline.c (xstrsignal):
1286 s/SYS_SIGLIST_DECLARED/HAVE_DECL_SYS_SIGLIST/.
1288 2003-11-07 Werner LEMBERG <wl@gnu.org>
1290 * src/devices/grodvi/dvi.cpp (draw_dvi_printer::draw) ['a']: Always
1291 make start angle smaller than end angle to circumvent a bug in tpic
1292 handling of some versions of dvipdfm (and dvipdfmx).
1294 2003-10-30 Werner LEMBERG <wl@gnu.org>
1296 * src/devices/grops/grops.man: Improve section on creating EPS.
1298 2003-10-29 Werner LEMBERG <wl@gnu.org>
1300 * contrib/pic2graph/pic2graph.sh: Fix typo (-P-letter ->
1303 2003-10-28 Werner LEMBERG <wl@gnu.org>
1305 * doc/groff.texinfo: Fix documentation of `.if'.
1307 2003-10-27 Michail Vidiassov <master@iaas.msu.ru>
1309 * src/utils/afmtodit/afmtodit.pl: Handle unmapped characters of
1310 the form `uniXXXX' also.
1312 2003-10-27 Werner LEMBERG <wl@gnu.org>
1314 * contrib/eqn2graph/eqn2graph.sh, contrib/grap2graph/grap2graph.sh,
1315 contrib/pic2graph/pic2graph.sh: Implement secure management of
1317 Pass `-P-pletter' to groff to avoid data outside of the converted
1318 area -- some versions of `convert' (for example 5.3.8) don't check
1319 the bounding box of the image but always use a fixed image size
1320 (letter paper format).
1321 * contrib/eqn2graph/eqn2graph.man, contrib/grap2graph/grap2graph.man,
1322 contrib/pic2graph/pic2graph.man: Updated.
1324 * src/roff/groff/groff.man: Document $TMP and $TEMP.
1326 2003-10-26 Werner LEMBERG <wl@gnu.org>
1328 * src/preproc/pic/troff.cpp (troff_output::simple_circle,
1329 troff_output::simple_ellipse, troff_output::simple_arc,
1330 troff_output::simple_line, troff_output::simple_spline,
1331 troff_output::simple_polygon): Insert a space before arguments.
1332 (troff_output::set_fill): Emit `\&' before `\D'Fg...' since the
1333 latter doesn't produce a node, so the following `.sp -1' would do
1335 Don't emit `.sp -1' after \M. This also doesn't produce a token
1336 (and we don't have to care about compatibility mode).
1337 (troff_output::set_color, troff_output::reset_color): Don't emit
1338 `.sp -1' after \M and \m.
1340 * src/roff/troff/input.cpp (old_have_input): New global variable.
1341 (input_stack::get): Handle `old_have_input'.
1342 (process_input_stack) <token::TOKEN_NEWLINE>: Call
1343 `trapping_blank_line' depending on `old_have_input', not
1346 2003-10-20 Keith Marshall <keith.d.marshall@ntlworld.com>
1348 * src/libs/libgroff/tmpfile.cpp [__MSDOS__, _Win32]
1349 (WIN32_TMPDIR_ENVVAR, MSDOS_TMPDIR_ENVVAR): New macros, providing
1350 default directory names for temporary files.
1351 [__MSDOS__, _Win32] (temp_init::temp_init): Use them.
1353 * src/roff/groff/pipeline.c [__MSDOS__]: Include stdlib.h.
1354 [__MSDOS__] (run_pipeline): Honour environment variables.
1355 Don't use `tmpnam' but `tempnam' to work around messy
1358 * README.MinGW: New file.
1360 2003-10-16 Werner LEMBERG <wl@gnu.org>
1362 * src/preproc/html/pre-html.cpp (write_upto_newline): Don't use
1363 `(*t)->next' without testing validity of `*t'.
1364 (usage): Make it more readable.
1366 2003-10-16 Keith Marshall <keith.d.marshall@ntlworld.com>
1368 Make html device run under both MS-DOS and Win32.
1370 * src/preproc/html/pre-html.cpp (MAY_FORK_CHILD_PROCESS,
1371 MAY_SPAWN_ASYNCHRONOUS_CHILD): New macros to control whether
1372 spawn or fork+exec has to be used, and whether parent must sleep
1373 until the child process terminates. Used in
1374 `char_buffer::run_output_filter'.
1375 (copyofstdoutfd): Removed.
1376 (char_buffer): Replace `write_file_html' and `write_file_troff'
1377 member functions with `emit_troff_output' and `run_output_filter'.
1378 (DEVICE_FORMAT, HTML_OUTPUT_FILTER, IMAGE_OUTPUT_FILTER): New
1380 (replaceFd): Replaced with...
1381 (set_redirection): New auxiliary function.
1382 (waitForChild): Replaced with...
1383 (save_and_redirect): New auxiliary function for.
1385 (char_buffer::do_html, char_buffer::do_image): Simplified, using new
1388 2003-10-14 Keith Marshall <keith.d.marshall@ntlworld.com>
1390 * aclocal.m4 (GROFF_SYS_NERR): Check stdlib.h also.
1391 (GROFF_LIBC): New function.
1392 * configure.ac: Call GROFF_LIBC.
1394 * configure: Regenerated.
1396 * src/include/lib.h: Handle __MINGW32__.
1397 * src/include/nonposix.h [_MSC_VER]: Handle __MINGW32__.
1398 Add macro for `pipe'.
1401 * src/roff/groff/pipeline.c (run_pipeline): Handle `no_pipe'
1404 * src/utils/indxbib/signal.c (handle_fatal_signal) [!HAVE_KILL]:
1407 2003-10-13 Werner LEMBERG <wl@gnu.org>
1409 Finally fix change 2003-08-26, based on ideas from Chuck Silvers
1412 * contrib/mom/Makefile.sub: Use a stamp file in the `examples'
1415 2003-10-12 Werner LEMBERG <wl@gnu.org>
1417 * src/roff/groff/groff.cpp (help), src/devices/grops/ps.cpp (usage),
1418 src/roff/troff/input.cc (usage): Updated.
1420 * NEWS, doc/groff.texinfo: Updated.
1422 2003-10-12 Peter Miller <millerp@canb.auug.org.au>
1424 * src/libs/libgroff/searchpath.cpp
1425 (search_path::open_file_cautious): New function which also handles
1426 `-' as stdin and stdout depending on the access mode.
1427 * src/include/searchpath.h (search_path): Updated.
1429 * src/devices/grops/ps.cpp (main): Handle new `-I' switch.
1430 * src/devices/grops/ps.h: Include `searchpath.h'.
1431 * src/devices/grops/psrm.cpp (resource_manager::supply_resource):
1432 Open resource file with `include_search_path.open_file_cautious'.
1433 * src/devices/grops/grops.man: Document new `-I' switch.
1435 * src/devices/grodvi/dvi.cpp (main), src/devices/grolbp/lbp.cpp
1436 (main), src/devices/grolj4/lj4.cpp (main),
1437 src/devices/grotty/tty.cpp (main): Ignore new `-I' switch.
1439 * src/preproc/soelim/soelim.cpp (include_list_length, include_list):
1441 (include_search_path): New global variable.
1442 (include_path_append): Removed.
1443 (main): Use `include_search_path.command_line_dir' to handle `-I'.
1444 (do_file): Simplify, using new
1445 `include_search_path.open_file_cautious'.
1447 * src/roff/groff/groff.cpp (print_commands): Accept file handle as
1449 (main): Pass arguments to `-I' to both troff and devices.
1450 Improve handling of `-V'.
1451 * src/roff/groff/groff.man: Document changes to -I and -V.
1453 * src/roff/troff/input.cpp (include_search_path): New global
1455 (next_file, source, ps_bbox_request, transparent_file,
1456 process_input_file): Use new
1457 `include_search_path.open_file_cautious'.
1458 (main) Handle `-I' switch.
1459 * src/roff/troff/node.cpp (troff_output_file::really_copy_file):
1460 Use new `include_search_path.open_file_cautious'.
1461 * src/roff/troff/node.h: New extern symbol `include_search_path'.
1462 * src/roff/troff/troff.man: Document new `-I' switch.
1464 2003-09-15 Ruslan Ermilov <ru@FreeBSD.org>
1466 Support multiple calls of .Lb in LIBRARY section.
1468 * tmac/doc-common (doc-in-library-section): New register.
1469 (doc-section-library): New string.
1470 (Sh): Set `doc-in-library-section'.
1472 * tmac/doc-syms (Lb): Insert breaks before and after arguments
1473 if in LIBRARY section.
1474 * tmac/doc.tmac (doc-save-global-vars): Updated.
1475 * NEWS, tmac/groff_mdoc.man: Updated.
1477 2003-09-14 Ruslan Ermilov <ru@FreeBSD.org>
1479 * tmac/doc-common (doc-default-operating-system): New variable.
1482 2003-09-08 Werner LEMBERG <wl@gnu.org>
1484 * tmac/doc.tmac (doc-reset-reference): Handle data for `%I' also.
1486 2003-08-31 Werner LEMBERG <wl@gnu.org>
1488 * contrib/mom/Makefile.sub: Fix last change to make it really work.
1489 * Makefile.comm: Use `test ... ||' in favor of `if test ...; then'.
1490 (install_dev, uninstall_dev): Check whether $(DEVSCRIPTS) and
1491 $(DEVFILES) are not empty.
1492 * Makefile.in: Use `test ... ||' in favor of `if test ...; then'.
1494 2003-08-26 Chuck Silvers <chuq@chuq.com>
1496 * contrib/mom/Makefile.sub (prepare_make_examples): Make it work
1497 with parallel runs of `make'.
1499 2003-08-23 Stephen Gildea <http://www.gildea.com/stephen>
1501 * src/preproc/ref/ref.cpp (reference::compute_sort_key): Always
1502 insert SORT_SEP. With certain combinations of sort specifications,
1503 refer sorted entries in the wrong order. In particular, entries
1504 with a missing field should be be sorted before all entries that
1505 have that field, before refer looks to the next field.
1507 2003-08-23 Werner LEMBERG <wl@gnu.org>
1509 * src/utils/pfbtops/Makefile.sub (LINK.c): Define it so that the
1510 g++ linker is used. Reported by Mark J. Reed
1511 <mark.reed@turner.com>.
1513 2003-08-16 Heinz-Jürgen Oertel <hj.oertel@surfeu.de>
1515 Add key character `x' to tbl which makes tbl call a user-defined
1516 macro on a table cell.
1518 * src/preproc/tbl/table.h (entry_modifier): Add `macro'.
1519 * src/preproc/tbl/table.cpp (block_entry::do_divert): Call
1520 `set_modifier' after printing the compatibility request.
1521 (set_modifier): Print call to `m->macro' if not empty.
1522 * src/preproc/tbl/main.cpp (entry_format::debug_print): Handle
1524 (process_format): Implement cases `x' and `X'.
1525 * src/preproc/tbl/tbl.man, NEWS: Updated.
1527 2003-08-15 Werner LEMBERG <wl@gnu.org>
1529 * doc/groff.texinfo: Minor fixes.
1531 2003-08-09 Werner LEMBERG <wl@gnu.org>
1533 * tmac/an-old.tmac [cR]: Fix redefinition of `bp'.
1535 2003-08-07 Werner LEMBERG <wl@gnu.org>
1537 * doc/Makefile.sub: Not all shells expand wildcards in the `for'
1538 argument list to nothing if there is no file to match. Use `ls' as
1539 a protection, similar to autoconf.
1541 * Makefile.comm (install_dev, uninstall_dev): Protect `for' against
1542 empty argument lists.
1544 * doc/groff.texinfo: Improve documentation how vertical spacing
1545 and line breaks interact.
1548 * tmac/www.tmac: Initialize `www-htmlimage-gap'.
1550 2003-08-03 Werner LEMBERG <wl@gnu.org>
1552 * NEWS, src/devices/grops/grops.man: -b16 is necessary to produce
1553 EPS (using eps2eps or similar programs to compute the bounding box).
1555 2003-07-24 Werner LEMBERG <wl@gnu.org>
1557 * doc/groff.texinfo: Use the new @/ command to avoid overlong lines.
1558 * doc/texinfo.tex: Updated from texinfo 4.6.
1559 * README.CVS: From now on we need texinfo 4.6.
1561 2003-07-23 Werner LEMBERG <wl@gnu.org>
1563 Add requests `dei1' and `ami1' for completeness.
1565 * src/roff/troff/input.cc (calling_mode): Remove
1566 CALLING_DISABLE_COMP.
1567 (comp_mode): New enumeration.
1568 (do_define_string, define_string, define_nocomp_string,
1569 append_string, append_nocomp_string): Updated.
1570 (do_define_macro): Add third parameter.
1571 (define_macro, define_nocomp_macro, define_indirect_macro,
1572 append_macro, append_nocomp_macro, append_indirect_macro): Updated.
1573 (define_indirect_nocomp_macro, append_indirect_nocomp_macro): New
1576 (init_input_requests): Add `dei1' and `ami1'.
1578 * tmac/trace.tmac: Handle de1 and am1.
1579 (de): Improve tracing message.
1580 (am): Add missing `do'.
1583 * NEWS, man/groff_diff.man, man/groff.man, doc/groff.texinfo:
1584 Document new requests.
1586 2003-07-22 Heinz-Jürgen Oertel <hj.oertel@surfeu.de>
1588 Add option -G to .MPIMG to insert a gap between text and the image.
1590 * tmac/www.tmac (www-finish-left-po, www-finish-right-ll,
1591 www-finish-left-ll): Updated.
1592 (www-image-just, www-image-gap, www-htmlimage-gap): New variables.
1593 (MPIMG): Make option -L and -R optional.
1594 Implement option -G.
1596 2003-07-22 Gaius Mulley <gaius@glam.ac.uk>
1598 * src/devices/grohtml/post-html.cpp
1599 (html_printer::do_file_components): Don't use `stdout' as lvalue
1600 since it can be a macro.
1602 2003-07-22 Werner LEMBERG <wl@gnu.org>
1604 * src/libs/libgroff/strerror.c: Include errno.h to be in sync with
1605 the corresponding test in aclocal.m4.
1607 2003-07-21 Werner LEMBERG <wl@gnu.org>
1609 * src/preproc/html/pre-html.cpp (TRANSPARENT): Don't use colour
1610 names but RGB values directly. Otherwise pnmtopng depends on
1611 an external file `rgb.txt' which maps colour names to values.
1613 2003-07-20 Werner LEMBERG <wl@gnu.org>
1615 * aclocal.m4 (GROFF_SYS_ERRLIST): Include stdlib.h for MinGW.
1616 * configure, src/include/config.hin: Regenerated.
1618 * src/libs/libgroff/strerror.c: Include stdlib.h for MinGW.
1620 2003-07-19 Werner LEMBERG <wl@gnu.org>
1622 * PROBLEMS: Add solution for UTF-8 problem with hyphens.
1624 2003-07-18 Werner LEMBERG <wl@gnu.org>
1626 * *.man: Switch to non-compatibility mode temporarily if GNU
1627 syntax extensions are used in the particular man page.
1629 * PROBLEMS: Add solutions for SGR problems.
1631 2003-07-17 Werner LEMBERG <wl@gnu.org>
1633 Don't ignore grotty's command line options if \X'tty: sgr ...' is
1634 used to change the drawing scheme.
1636 * src/devives/grotty/tty.cpp (bold_flag_option,
1637 underline_flag_option, italic_flag_option, reverse_flag_option,
1638 bold_underline_mode_option): New global variables.
1639 (update_options): New function.
1640 (tty_printer::special): Call update_options.
1641 (main): Don't set xxx_flag but xxx_flag_option, then call
1644 2003-07-14 Werner LEMBERG <wl@gnu.org>
1646 Make grotty emit proper Unicode box drawing characters for -Tutf8.
1648 * src/devices/grotty/tty.cpp (START_LINE, END_LINE): New enum
1650 (hline_char, vline_char): New global variables.
1651 (tty_printer::tty_printer): Initialize them.
1652 (tty_printer::draw): Emit START_LINE and END_LINE flags for both
1653 horizontal and vertical lines.
1654 (crossings): New global array.
1655 (tty_printer::end_page): Use it to determine the proper crossing
1656 character for -Tutf8.
1658 2003-07-12 Werner LEMBERG <wl@gnu.org>
1660 * doc/Makefilesub (HTMLDOCFILESALL): New macro.
1661 (HTMLDOCFILES): Revert to `pic.html'.
1662 (CLEANADD, install_html, uninstall_sub): Use HTMLDOCFILESALL.
1664 2003-07-11 Werner LEMBERG <wl@gnu.org>
1666 * doc/pic.ms: Improve documentation of absolute coordinates.
1667 Document absolute positioning of pictures.
1669 * NEWS: Add new pic capability.
1671 2003-07-09 Hartmut Henkel <hartmut_henkel@gmx.de>
1673 * src/libs/libgroff/geometry.cpp (check_output_arc_limits):
1676 2003-07-07 Werner LEMBERG <wl@gnu.org>
1678 Implement support for dashed and dotted ellipses in pic. Based on
1679 a patch from Hartmut Henkel <hartmut_henkel@gmx.de>.
1681 * src/preproc/pic/common.cpp (common_output::ellipse_arc,
1682 common_output::dashed_ellipse, common_output::dotted_ellipse): New
1683 functions. Ellipse arcs are approximated with circle arcs.
1684 * src/preproc/pic/common.h (common_output): Updated.
1685 * src/preproc/pic/tex.cpp (tex_output::ellipse): Use new ellipse
1687 * src/preproc/pic/troff.cpp (simple_output::ellipse): Ditto.
1689 * src/preproc/pic/TODO, src/preproc/pic/pic.man: Updated.
1691 2003-07-06 Werner LEMBERG <wl@gnu.org>
1693 Make grotty work on platforms which have unsigned char as the
1694 default for char. Based on a patch by Thomas Klausner
1697 * src/devices/grotty/tty.cpp (schar): New typedef.
1698 Updated calls to declare_ptable and implement_ptable.
1699 (glyph): Use schar for back_color_idx and fore_color_idx.
1700 (tty_printer): Use schar for curr_fore_idx and curr_back_idx.
1701 (tty_printer::tty_color, tty_printer::tty_printer,
1702 tty_printer::color_to_idx, tty_printer::put_color): Updated.
1704 2003-07-06 Ruslan Ermilov <ru@FreeBSD.org>
1706 * src/roff/nroff/nroff.sh: Add option -d for completeness.
1707 * src/roff/nroff/nroff.man: Updated.
1709 2003-07-05 Werner LEMBERG <wl@gnu.org>
1711 * NEWS, tmac/groff_www.man: Updated.
1712 * doc/Makefile.sub: Updated.
1714 2003-07-05 Gaius Mulley <gaius@glam.ac.uk>
1716 Implement support for multiple HTML output files.
1718 * src/preproc/html/pre-html.cpp (scanArguments): Dummy handling for
1719 -j command line option.
1721 * src/devices/grohtml/post-html.cpp (job_name, multiple_files): New
1723 (file): New fields `new_output_file', `require_links',
1725 (file::file): Updated.
1726 (files::set_file_name, files::set_links_required,
1727 files::are_links_required, files::is_new_output_file,
1728 files::file_name, files::next_file_name): New functions.
1729 (header_desc): New fields `no_of_level_one_headings',
1731 (header_desc::header_desc): Updated.
1732 (header_desc::write_headings): Handle multiple files.
1733 (html_printer::write_header): Save file name in which header occurs.
1734 (html_printer::determine_header_level): Possibly split files on
1736 (html_printer::do_links, html_printer::troff_tag): Updated.
1737 (html_printer::insert_split_file, html_printer::do_job_name,
1738 html_printer::emit_link, html_printer::write_navigation,
1739 html_printer::do_file_components): New functions.
1740 (html_printer::~html_printer): Handle multiple files.
1741 (main): Handle command line option `-j'.
1743 * src/devices/grohtml/grohtml.man: Updated.
1745 * doc/Makefile.sub (pic.html), doc/Makefile.in (pic.html): New rule
1748 * tmac/www.tmac (JOBNAME): New macro.
1749 * tmac/s.tmac (SH-NO-TAG): New macro.
1750 (@SH): Call SH-NO-TAG.
1753 2003-07-05 Ruslan Ermilov <ru@FreeBSD.org>
1755 * tmac/groff_mdoc.man: Improve documentation of punctuation
1758 2003-07-04 Ruslan Ermilov <ru@FreeBSD.org>
1760 * tmac/doc.tmac (Bd): Change to doc-Li-font later.
1762 2003-07-03 Werner LEMBERG <wl@gnu.org>
1764 * tmac/an-old.tmac [cR]: Redefine `bp' to avoid empty lines.
1766 2003-07-01 Ruslan Ermilov <ru@FreeBSD.org>
1768 * tmac/doc.tmac (doc-do-func, doc-do-func-args): Don't print a comma
1769 after `/*' and `*/'.
1771 (Fn, Fo): Reduce indentation in synopsis.
1773 * tmac/doc-common (doc-check-depth): New macro.
1774 (doc-end-macro, Sh, Ss): Use it.
1775 (Cd): Fix behaviour in synopsis.
1776 (In): Make it parsed and callable.
1777 If not in the synopsis, represent the C header file enclosed in
1779 (doc-str-Rv-std-suffix, doc-str-Rv-stds-suffix, doc-str-Rv-std0):
1780 Use minus, not hyphen.
1782 * tmc/groff_mdoc.man: Updated.
1784 2003-07-01 Werner LEMBERG <wl@gnu.org>
1786 Integrated grap2graph, contributed by Eric S. Raymond.
1788 * contrib/grap2graph/{Makefile.sub, grap2graph.sh, grap2graph.man}:
1790 * Makefile.in, NEWS, MANIFEST, contrib/eqn2graph.man,
1791 contrib/pic2graph.man, src/roff/groff/groff.man: Updated.
1793 2003-07-01 Colin Watson <cjwatson@debian.org>
1795 * src/xditview/*.c: Add prototypes, fix return types, add includes.
1796 Based on work by Fumitoshi UKAI <ukai@debian.or.jp>.
1798 2003-06-31 Ruslan Ermilov <ru@FreeBSD.org>
1800 * tmac/tty-char.tmac: Provide `lb', `rb', `lk', `rk', `lt', `rt'.
1802 2003-06-31 Werner LEMBERG <wl@gnu.org>
1804 * doc/Makefile.sub (CLEANADD): Remove all files created by
1805 running `make groff.{pdf,dvi}'.
1807 * Makefile.sub (DISTCLEANFILES): Remove all non-source files from
1810 2003-06-30 Werner LEMBERG <wl@gnu.org>
1812 * Makefile.in (SHELL): Define as @SHELL@.
1813 (mkinstalldirs): Use $(SHELL).
1814 (MDEFINES): Add $(SHELL).
1815 * Makefile.comm (SHELL): Removed.
1817 2003-06-29 Werner LEMBERG <wl@gnu.org>
1819 * tmac/s.tmac (De, Ds): New aliases for .DE and .DS, respectively.
1820 The X11 documentation files use them.
1821 * tmac/groff_ms.man, doc/groff.texinfo: Document them.
1823 2003-06-15 Robert Goulding <goulding@Princeton.EDU>
1825 * tmac/e.tmac (@C): Handle .ad also.
1827 2003-06-12 Werner LEMBERG <wl@gnu.org>
1829 * src/preproc/tbl/tbl.man: Document formatting of text blocks.
1831 * src/roff/troff/input.cc (token::next) <handle_escape_char>:
1832 Assign `n' even here. It is possible to construct a node
1833 immediately following an escape character:
1841 2003-06-10 Werner LEMBERG <wl@gnu.org>
1843 * README.WIN32: Removed.
1844 * MANIFEST: Updated.
1846 2003-06-07 Werner LEMBERG <wl@gnu.org>
1848 * src/roff/nroff/nroff.sh: Don't emit SGR for option -u.
1850 2003-06-05 Werner LEMBERG <wl@gnu.org>
1852 * src/preproc/pic/pic.y <sprintf_args>: Implement workaround for bug
1853 in Compaq C++ V6.5-033 for Compaq Tru64 UNIX V5.1A (Rev. 1885).
1855 2003-06-03 Werner LEMBERG <wl@gnu.org>
1857 * src/preproc/grn/hdb.cpp (DBRead): Don't close file handle; this
1858 is done by the calling function.
1860 2003-05-22 Ruslan Ermilov <ru@FreeBSD.org>
1862 * tmac/X.tmac: Fix definition of `em'.
1864 2003-05-22 Werner LEMBERG <wl@gnu.org>
1866 * src/roff/troff/input.cc (return_macro_request): Fix detection of
1869 2003-05-18 Werner LEMBERG <wl@gnu.org>
1871 * tmac/doc.tmac (doc-tag-list): Force horizontal mode after tag
1872 to make items work which consist only of a tag.
1874 2003-05-17 Werner LEMBERG <wl@gnu.org>
1876 * tmac/doc.tmac (doc-tag-list): Don't use \Z to assure that spaces
1877 aren't stretched in a tag (this can fail with unformatted boxes).
1878 Instead, insert a break and go back one line.
1880 2003-05-16 Werner LEMBERG <wl@gnu.org>
1882 * src/roff/troff/input.cc (return_macro_request): If called with
1883 argument pop macro twice. We need this to trace `return'.
1885 * tmac/trace.tmac: Handle `return'.
1888 * NEWS, man/groff_diff.man, man/groff.man, doc/groff.texinfo:
1891 2003-05-15 Larry Kollar <kollar@alltel.net>
1893 * tmac/groff_ms.man, doc/groff.texinfo: Improve documentation of
1894 registers `FPS', `FVS', and `FPD'.
1896 2003-05-15 Werner LEMBERG <wl@gnu.org>
1898 * src/utils/pfbtops/pfbtops.c (get_text): Handle loop counter
1901 2003-05-03 Ruslan Ermilov <ru@FreeBSD.org>
1903 * tmac/groff_mdoc.man: Slight improvements.
1905 2003-05-03 Werner LEMBERG <wl@gnu.org>
1907 * tmac/doc-common (doc-header): Emit vertical space of 1v instead of
1908 `doc-header-space' after header line if register `cR' is set.
1910 2003-05-02 Werner LEMBERG <wl@gnu.org>
1914 2003-05-01 Ruslan Ermilov <ru@FreeBSD.org>
1916 * tmac/doc-common (Nd): Use \[em].
1918 2003-05-01 Werner LEMBERG <wl@gnu.org>
1920 * tmac/doc-ditroff, tmac/doc-nroff (doc-header-space,
1921 doc-footer-space): Initialize to 0.5i.
1922 (doc-setup-page-layout): Don't set doc-header-space and
1925 2003-04-30 Werner LEMBERG <wl@gnu.org>
1927 * REVISION: Set to 1.
1929 * doc/pic.ms: Document possible problems with `figname'.
1931 2003-04-29 Werner LEMBERG <wl@gnu.org>
1933 Version 1.19 released
1934 =====================
1936 * VERSION: Set to 1.19.
1937 * REVISION: Set to 0.
1938 * doc/groff.texinfo, doc/webpage.ms, NEWS: Updated.
1940 * src/devices/grohtml/post-html.cpp (html_printer::~html_printer):
1941 Define charset as `US-ASCII' in html output.
1943 * tmac/www.tmac (ULE): Add missing scaling indicator.
1945 * win32-diffs: Removed.
1947 2003-04-28 Werner LEMBERG <wl@gnu.org>
1949 * doc/groff.texinfo: Document `dn' and `dl' registers if used with
1951 Document how to insert discardable whitespace with `.ss'.
1953 2003-04-27 Werner LEMBERG <wl@gnu.org>
1955 * src/preproc/pic/tex.cpp (tex_output::start_picture): Make code
1956 work with plain TeX also.
1958 * src/preproc/pic/pic.man, doc/pic.ms: Fix TeX code example.
1960 2003-04-25 Gaius Mulley <gaius@glam.ac.uk>
1962 * src/devices/grohtml/post-html.cpp (html_printer::~html_printer):
1965 2003-04-24 Werner LEMBERG <wl@gnu.org>
1967 * src/preproc/pic/pic.man, doc/pic.ms: Explain how to get a
1968 vbox with positive height and zero depth if in TeX mode.
1970 * NEWS: Document glyph name changes for grodvi and grolj4.
1972 2003-04-23 Werner LEMBERG <wl@gnu.org>
1974 * src/preproc/pic/tex.cpp (tex_output::start_picture): Fix TeX code.
1975 * doc/pic.ms: Fixed.
1977 2003-04-21 Werner LEMBERG <wl@gnu.org>
1979 HP-UX 10.20 has `snprintf' but it isn't declared.
1981 * configure.ac: Add declaration test for snprintf.
1982 * configure: Regenerated.
1983 * src/include/lib.h: Handle `NEED_DECLARATION_SNPRINTF'.
1984 * src/include/config.hin: Regenerated.
1986 2003-04-19 Werner LEMBERG <wl@gnu.org>
1988 Add keyword `figname' to pic, specifying the name of the picture
1989 box in TeX mode. Based on a patch from William J Poser
1990 <wjposer@unagi.cis.upenn.edu>.
1992 * src/preproc/pic/pic.y: New token `FIGNAME'.
1993 (macro_name): New rule of type <str>.
1994 (placeless_element): Handle `FIGNAME'.
1995 * src/preproc/pic/lex.cpp (lookup_keyword): Add `figname'.
1996 * src/preproc/pic/main.cpp (graphname): New global variable.
1997 (do_picture): Initialize `graphname'.
1998 * src/preproc/pic/pic.h: Updated.
1999 * src/preproc/pic/tex.cpp (tex_output::start_picture): Use
2002 (tex_output::text): Beautify output.
2003 * src/preproc/pic/object.cpp (object_spec::~object_spec): Deallocate
2004 `shaded' and `outlined' unconditionally.
2005 * NEWS, src/preproc/pic/pic.man, doc/pic.ms: Updated.
2008 * PROBLEMS, README.CVS: Mention that bison version 1.875b or
2009 greater is necessary.
2011 2003-04-17 Hartmut Henkel <hartmut_henkel@gmx.de>
2013 Add option -r to soelim to avoid emission of `.lf' lines.
2014 Add option -t to produces TeX comment lines instead of `.lf' lines.
2016 * src/preproc/soelim/soelim.cpp: New global variables `raw_flag'
2019 (main): Handle `-r' and `-t'.
2020 (set_location): Handle `raw_flag' and `tex_flag'.
2021 * src/preproc/soelim/soelim.man, NEWS: Updated.
2023 2003-04-17 Werner LEMBERG <wl@gnu.org>
2025 * tmac/hyphenex.sh: Replaced with...
2026 * tmac/hyphenex.pl: This perl script to avoid sed compatibility
2029 * aclocal.m4 (GROFF_HTML_PROGRAMS): Emit useful warning message
2030 if --quiet is used for the configure script.
2031 * configure: Regenerated.
2033 2003-04-16 Werner LEMBERG <wl@gnu.org>
2035 * src/devices/grohtml/post-html.cpp (text_glob::text_glob):
2036 Add `const' to second argument.
2037 (html_printer::add_table_end): Add `const' to argument.
2038 * src/devices/grohtml/html-text.cpp (html_text::issue_tag): Add
2039 `const' to arguments.
2040 * src/devices/grohtml/html-text.h: Updated.
2042 * src/devices/grolbp/charset.h (symset): Use `unsigned char'.
2043 * src/devices/grolbp/lbp.h (lbpputc): Use `unsigned char' for
2046 * src/devices/grotty/tty.cpp (tty_printer::make_rgb_string): Use
2047 cast for integer constant.
2049 * src/preproc/html/pre-html.cpp (image_device): Use `const'.
2050 (writeNbytes): Add `const' to first argument.
2051 (writeString): Add `const' to argument.
2052 (char_buffer::can_see): Add `const' to third argument.
2053 * src/preproc/html/pushback.cpp (pushBackBuffer::isString): Add
2054 `const' to argument.
2055 * src/preproc/html/pushback.h: Updated.
2057 * src/preproc/soelim/soelim.cpp (include_list): Add `const'.
2058 (include_path_append): Add `const' to argument.
2061 * src/roff/troff/uniglyph.cpp (unicode_to_glyph_list): Use `const'
2063 (unicode_to_glyph_init::unicode_to_glyph_init): Updated.
2064 * src/roff/troff/uniuni.cpp (unicode_decompose_list): Use `const'
2066 (unicode_decompose_init::unicode_decompose_init): Updated.
2067 * src/roff/troff/glyphuni.cpp (glyph_to_unicode_list): Use `const'
2069 (glyph_to_unicode_init::glyph_to_unicode_init): Updated.
2070 * src/roff/troff/input.cc (process_startup_file): Add `const' to
2073 * tmac/hyphenex.sh: Make script more portable by using a here
2076 2003-04-15 Werner LEMBERG <wl@gnu.org>
2078 Renamed all `*.cc' files to `*.cpp'.
2079 Updated all configuration files, makefiles, and documentation.
2081 2003-04-14 Werner LEMBERG <wl@gnu.org>
2083 * tmac/hyphenex.sh: Slight improvements.
2085 2003-04-13 Werner LEMBERG <wl@gnu.org>
2087 * font/devascii/R.proto, font/devcp1037/R.proto,
2088 font/devlatin1/R.proto, font/devutf8/R.proto: Fill up remaining
2089 character slots with unnamed glyphs.
2091 * tmac/an-old.tmac: Fix hyphenation value if `cR' is active.
2092 (an-first): New global variable.
2093 (an-header): Emit vertical space between multiple man pages.
2095 2003-04-11 Werner LEMBERG <wl@gnu.org>
2097 * doc/groff.texinfo, man/groff_out.man: \S only accepts integer
2100 2003-04-10 Werner LEMBERG <wl@gnu.org>
2102 * PROBLEMS: Revised.
2104 2003-04-10 Bernd Warken <bwarken@mayn.de>
2106 * doc/webpage.ms: Improved.
2108 2003-04-09 Werner LEMBERG <wl@gnu.org>
2110 Add register \n[.height] which returns the value of \H.
2111 Add register \n[.slant] which returns the value of \S.
2113 * src/roff/troff/env.cc (init_env_requests): Implement.
2114 * NEWS, man/groff_diff.man, man/groff.man, doc/groff.texinfo:
2117 2003-04-08 Werner LEMBERG <wl@gnu.org>
2119 * tmac/html.tmac: Move some of the data into html-end.tmac.
2120 Remove most of the character translations for eqn since html fonts
2121 now cover those characters.
2123 * tmac/html-end.tmac: New file.
2124 * tmac/troffrc: Load html.tmac not www.tmac for -Thtml.
2125 * tmac/troffrc-end: Load html-end.tmac not html.tmac for -Thtml.
2126 * tmac/Makefile.sub (NORMALFILES): Add html-end.tmac.
2128 2003-04-07 Werner LEMBERG <wl@gnu.org>
2130 * man/groff_out.man: Document negative values of `N' if -Thtml is
2133 2003-04-06 Werner LEMBERG <wl@gnu.org>
2135 * Makefile.comm (depend.temp): Check location of YTABC.
2137 2003-04-05 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
2139 * contrib/mom/Makefile.sub (GROFFBIN): New variable for groff
2141 (groff_bin_path): Rename to GROFF_BIN_PATH.
2142 (GROFF): Use GROFFBIN and GROFF_BIN_PATH.
2143 * doc/Makefile.in (TROFFBIN): New variable for troff
2145 (GROFFBIN): New variable for groff binary path.
2146 (groff_bin_path): Rename to GROFF_BIN_PATH.
2147 (TROFF): Use TROFFBIN.
2148 (GROFF): Use GROFFBIN and GROFF_BIN_PATH.
2149 * doc/Makefile.sub (GROFFBIN): New variable for groff
2151 (groff_bin_path): Rename to GROFF_BIN_PATH.
2152 (GROFF): Use GROFFBIN and GROFF_BIN_PATH.
2154 * Makefile.comm (install_dev): Install scripts from DEVSCRIPTS
2155 with INSTALL_SCRIPT.
2156 (uninstall_dev): Uninstall scripts from DEVSCRIPTS.
2157 * Makefile.dev (all): Depend on DEVSCRIPTS.
2158 (install_dev): Likewise.
2159 * font/devdvi/Makefile.sub (DEVSCRIPTS): New variable to hold
2161 * font/devps/Makefile.sub (DEVSCRIPTS): Likewise.
2162 (DEVGENSCRIPTS): New variable to hold generated scripts.
2164 2003-04-05 Werner LEMBERG <wl@gnu.org>
2166 * src/libs/libdriver/input.cc (IntArray::operator[],
2167 IntArray::get_data): Remove meaningless `const' in return value.
2169 * README.CVS: New file.
2171 2003-04-04 Werner LEMBERG <wl@gnu.org>
2173 Check for stdint.h in C++, not in C.
2175 * aclocal.m4 (GROFF_STDINT_H): New function,
2176 * configure.ac: Check for stdint.h with GROFF_STDINT_H instead of
2178 * configure, src/include/config.hin: Regenerated.
2179 * src/libs/libgroff/tmpname.cc: Use HAVE_CC_STDINT_H.
2182 Fix handling of in grohtml. To do this, troff emits `N'
2183 with a negative value, representing the width of the unbreakable
2184 space (only for -Thtml). grohtml then converts this back to
2185 and uses the value of N as its width.
2187 * src/roff/troff/node.cc (space_char_hmotion_node::tprint,
2188 unbreakable_space_node::tprint): Emit `N-<width>'.
2189 * src/include/printer.h (printer::set_numbered_char): Make it
2191 Make members `font_table' and `nfonts' protected instead of private.
2192 * src/devices/grohtml/post-html.cc
2193 (html_printer::set_numbered_char): New member function.
2196 * src/libs/libgroff/maxfilename.cc:
2197 s/HAVE_LIMITS_H/HAVE_CC_LIMITS_H/.
2199 * src/roff/troff/node.cc (unbreakable_space_node::tprint): Don't
2202 2003-04-03 Sergey A. Osokin <osa@freebsd.org.ru>
2204 * man/roff.man: Small fixes.
2206 2003-04-03 Werner LEMBERG <wl@gnu.org>
2208 Make groff independent from locale's numeric settings.
2210 * configure.ac: Check for `setlocale'.
2211 * configure, src/include/config.hin: Regenerated.
2213 * src/include/lib.h: Handle HAVE_SETLOCALE.
2215 * src/devices/grodvi/dvi.cc (main), src/devices/grolj4/lj4.cc
2216 (main), src/devices/grops/ps.cc (main), src/preproc/grn/main.cc
2217 (main), src/preproc/pic/main.cc (main): Call `setlocale'.
2220 * doc/groff.texinfo: Change dir category to `Typesetting'.
2221 (Man font macros): Mention that there is no space between arguments
2224 * src/libs/libdriver/printer.cc, src/devices/grotty/tty.cc
2225 (*printer::change_color, *printer::change_fill_color): Add missing
2228 2003-04-02 Werner LEMBERG <wl@gnu.org>
2230 * src/devices/grohtml/html-table.cc (html_table::emit_col,
2231 html_table::is_gap): Compute table widths after converting border
2232 positions to avoid rounding errors.
2234 2003-04-01 Werner LEMBERG <wl@gnu.org>
2236 * src/devices/grohtml/html-text.cc (html_text::do_space): Handle
2237 `space_emitted' properly.
2239 2003-03-31 Werner LEMBERG <wl@gnu.org>
2241 * src/devices/grohtml/html-table.cc: Fix column width calculation.
2242 (html_table::set_linelength): Don't add 1.
2243 (html_table::add_indent): Don't subtract 1.
2245 * tmac/html.tmac: Set default page offset to zero.
2247 2003-03-30 Werner LEMBERG <wl@gnu.org>
2249 Make groff emit ` ' for `\ ' and `\~' if `-Thtml' is used.
2251 * src/roff/troff/node.cc (space_char_hmotion_node::tprint,
2252 unbreakable_space_node::tprint): New functions.
2253 (troff_output_file): Make space_char_hmotion_mode::tprint and
2254 unbreakable_space_node::tprint to friends.
2255 * src/roff/troff/node.h: Updated.
2257 * font/devhtml/R.proto: Add ` ' at position 0xA0 (as defined
2258 in the HTML standard).
2260 2003-03-29 Werner LEMBERG <wl@gnu.org>
2262 * src/roff/troff/env.cc (point_size): Fix emission of html tag.
2263 Otherwise, the following code
2272 produces `x a' instead of `xa'. This is a temporary fix, disabling
2273 font changes in diversions for -Thtml.
2275 * tmac/an-old.tmac (TH, SH): Use `HTML-TAG-NS' instead of
2277 (an-do-tag-html): Merge with ...
2278 (an-do-tag): This macro.
2279 Change code slightly to circumvent grohtml bug.
2280 * tmac/troffrc-end: Define dummy for HTML-TAG-NS.
2282 * src/devices/grohtml/html-table.cc (html_table::emit_col,
2283 html_table::is_gap): Round `width' properly.
2285 * tmac/html.tmac: Provide some default layout parameters for
2288 * font/devhtml/DESC.proto: Don't use discrete values for `sizes'
2291 2003-03-28 Werner LEMBERG <wl@gnu.org>
2293 src/devices/grops/ps.cc (ps_printer::do_import): Fix error message.
2295 2003-03-27 Werner LEMBERG <wl@gnu.org>
2297 * tmac/an-old.tmac (BT): Don't call .tl if register `ps4html' is
2300 2003-03-20 Werner LEMBERG <wl@gnu.org>
2302 * src/roff/troff/env.cc (vertical_spacing): Allow zero value for
2304 * doc/groff.texinfo: Updated.
2306 2003-03-19 Werner LEMBERG <wl@gnu.org>
2308 * src/roff/troff/input.cc (process_input_stack) <TOKEN_BEGIN_TRAP,
2309 TOKEN_END_TRAP>: Reset `have_input'.
2311 2003-03-18 Werner LEMBERG <wl@gnu.org>
2313 * src/roff/groff/groff.man: Mention groff_trace man page.
2315 2003-03-16 Werner LEMBERG <wl@gnu.org>
2317 * Makefile.in (LIBEXT): New variable to indicate the file extension
2318 of library files. Computed heuristically from $(OBJEXT).
2319 (MDEFINES): Add $(LIBEXT).
2320 * Makefile.lib, Makefile.comm: Use it.
2322 * src/utils/pfbtops/pfbtops.c (get_text): New function. Split
2323 overlong lines into smaller chunks.
2324 (get_binary): New function.
2326 * src/utils/pfbtops/pfbtops.man: Updated.
2328 2003-03-15 Colin Watson <cjwatson@debian.org>
2330 * src/roff/groff/groff.man: Minor syntax fix.
2332 2003-03-14 Egil Kvaleberg <egil@kvaleberg.no>
2334 * src/devices/grops/ps.cc (ps_printer::media_set,
2335 ps_printer::~ps_printer): Handle zero paper width and length.
2337 2003-03-13 Werner LEMBERG <wl@gnu.org>
2339 Add options -p and -l to grodvi.
2341 * src/devices/grodvi/dvi.cc: Include paper.h.
2342 (landscape_flag, user_paper_length, user_paper_width): New global
2344 (dvi_printer::begin_page): Emit `papersize' special.
2345 Set color after initialization of `cur_h' and `cur_v'.
2346 (main): Add options `-l' and `-p'.
2347 * font/devdvi/Makefile.sub (DESC): Set `papersize'.
2348 * src/devices/grodvi/grodvi.man, NEWS: Updated.
2350 * src/devices/grops/psrm.cc (valid_input_table): Fixed.
2352 2003-03-12 Werner LEMBERG <wl@gnu.org>
2354 * src/devices/grops/grops.man: Move documentation of .PSPIC to...
2355 * man/groff_tmac.man: This man page.
2356 * man/groff_font.man: Declare `paperwidth' and `paperlength' as
2359 * tmac/X.tmac: Don't load pspic.tmac.
2361 2003-03-11 Werner LEMBERG <wl@gnu.org>
2363 Make variable `pr' local to libdriver/input.cc. Based on a patch
2364 by Bernd Warken <bwarken@mayn.de>.
2366 * src/include/driver.h (pr): Removed.
2368 * src/libs/libdriver/input.cc (pr): New global variable.
2369 (do_file): Deallocate `pr'.
2370 * src/libs/libdriver/printer.cc (pr): Removed.
2372 * src/devices/grodvi/dvi.cc (main), src/devices/grohtml/post-html.cc
2373 (main), src/devices/grolbp/lbp.cc (main), src/devices/grolj4/lj4.cc
2374 (main), src/devices/grops/ps.cc (main), src/devices/grotty/tty.cc
2375 (main): Don't delete `pr'.
2377 2003-03-10 Werner LEMBERG <wl@gnu.org>
2379 * tmac/a4.tmac, tmac/composite.tmac: Use `.do'.
2380 * tmac/papersize.tmac: New file.
2381 * tmac/troffrc: Include `papersize.tmac'.
2382 * tmac/Makefile.sub (NORMALFILES): Add `papersize.tmac'.
2383 * tmac/an-old.tmac: Set LT to LL by default.
2385 * NEWS, MANIFEST, tmac/groff_man.man, man/groff_tmac.man,
2386 doc/groff.texinfo: Updated.
2388 * src/libs/libgroff/paper.cc (add_iso_paper): Fix very embarassing
2389 bug which caused all odd iso papers to have wrong dimensions.
2391 * src/devices/grops/ps.cc (user_paper_width): New global variable.
2392 (main) <'p'>: Set `user_paper_width' also.
2393 (ps_printer::media_width, ps_printer::media_height): Use values
2394 given with option `-p'.
2396 2003-03-09 Werner LEMBERG <wl@gnu.org>
2398 * src/include/nonposix.h: Provide default for SET_BINARY.
2400 * src/devices/grodvi/dvi.cc, src/devices/grolbp/lbp.cc,
2401 src/devices/grolj4/lj4.cc, src/devices/grops/ps.cc: Call SET_BINARY
2404 * src/utils/pfbtops/pfbtops.c: Call SET_BINARY unconditionally.
2405 (main): Treat \r\n as \n.
2407 2003-03-08 Werner LEMBERG <wl@gnu.org>
2409 * tmac/an-old.tmac: Use register `HY' to control hyphenation.
2410 * NEWS, tmac/groff_man.man, doc/groff.texinfo: Document it.
2412 2003-03-07 Werner LEMBERG <wl@gnu.org>
2414 Added support to access more than 256 glyphs in Type 1 fonts.
2416 * src/devices/grops/ps.cc (subencoding): New structure.
2417 (style): Add `sub' field.
2419 (ps_printer): Add `subencodings' and `next_subencoding_index' fields.
2420 Add `set_subencoding', `get_subfont' and `encode_subfont' member
2423 (ps_printer::set_char): Use `set_subencoding'.
2424 (make_subencoding_name): New function.
2425 (ps_printer::set_style): Handle case where `sty.sub' is not zero.
2426 (ps_printer::~ps_printer): Emit subencoding definitions.
2428 * src/devices/grops/psrm.cc (valid_input_table): New array to
2429 properly support EBCDIC.
2430 (white_space): Add `\f'.
2431 (ps_get_line): Change first argument to be of type `string &'.
2432 Updated all callers.
2433 This allows to get lines of arbitrary length.
2434 Use `valid_input_table'.
2435 Remove warning about non-conforming PS line length. This seems
2436 not to be of great importance -- for example, dvips don't emit
2438 (PS_LINE_MAX): Removed.
2439 (matches_comment): Change first argument to be of type `string &'.
2441 * src/devices/grops/grops.man, src/devices/grops/TODO: Updated.
2443 * src/utils/afmtodit/afmtodit.pl (%unicode_decomposed,
2444 %AGL_to_unicode, %default_ligatures): New hash tables.
2445 Read all map entries.
2446 Add unencoded characters.
2447 Check for default ligatures if there are no `L' entries.
2448 Print all kern entries.
2449 Print all characters in charset.
2450 * src/utils/afmtodit/afmtodit.man: Updated.
2452 * font/devps/*: Regerated all fonts.
2454 * tmac/latin[129].tmac, tmac/cp1047.tmac: Don't test for existence
2455 of characters, just use `.trin'. Otherwise the mapping depends
2456 on the font encoding.
2457 * tmac/ps.tmac: Add `fi' and `fl'.
2458 Improve `Fi' and `Fl'.
2459 * tmac/X.tmac, tmac/lbp.tmac, tmac/tty.tmac: Improve `Fi' and `Fl'.
2460 * tmac/Xps.tmac: Fix `em'.
2464 2003-03-04 Werner LEMBERG <wl@gnu.org>
2466 * src/roff/troff/input.cc (charinfo_to_node_list): Reset
2469 2003-03-03 Werner LEMBERG <wl@gnu.org>
2471 * Makefile.sub (DISTCLEANFILES): Add gxditview._man.
2473 * font/devps/generate/textmap: Remove entry `similarequal'.
2474 * font/devps/symbolmap: Updated.
2476 2003-03-02 Werner LEMBERG <wl@gnu.org>
2478 * src/libs/libgroff/font.cc (font::load): Fix error message for
2481 * src/devices/grops/grops.man: Improve documentation of the -b
2484 * tmac/tty.tmac: Load latin1.tmac for all TTY devices except
2485 `ascii' and `cp1047'.
2487 2003-03-01 Werner LEMBERG <wl@gnu.org>
2489 Document composite glyphs and the `composite' request.
2491 * man/groff.man, man/groff_diff.man, doc/groff.texinfo: Do it.
2493 2003-02-28 Werner LEMBERG <wl@gnu.org>
2495 * font/devdvi/generate/ec.map: Add some more Unicode entities.
2496 * font/devdvi/*EC: Updated.
2498 * tmac/composite.tmac, tmac/latin2.tmac, tmac/latin9.tmac: New files.
2499 * tmac/latin1 (latin1-tr): Undo any previous mapping.
2500 * tmac/troffrc: Load `composite.tmac'.
2501 * tmac/Makefile.sub (NORMALFILES): Updated.
2503 * doc/groff.texinfo (Input Encodings): New section.
2506 2003-02-27 Werner LEMBERG <wl@gnu.org>
2508 * doc/texinfo.tex: New version 2003-02-11.06.
2510 * tmac/doc-common (Dt): Don't emit warning for unknown section.
2511 * tmac/groff_mdoc.man: Fix description of `Dt'.
2513 2003-02-26 Egil Kvaleberg <egil@kvaleberg.no>
2515 * font/devps/prologue.ps: Fix for included Postscript that does
2516 a setpagedevice -- which is now safely ignored.
2520 * src/devices/grops/ps.cc: Now sets the page size in the generated
2521 document. This is done in two ways: Via a %%-comment for gv and
2522 the like, and via a PageSize and setpagedevice for programs that
2523 understands Postscript proper, like ps2pdf.
2525 * src/devices/grops/ps.h: New broken-flag to avoid page size
2526 definition, if required.
2528 * src/devices/grops/grops.man: New broken-flag 16 mentioned.
2530 * doc/Makefile.in: Added -nosetpage flag (via @pnmtops_nosetpage@).
2531 Not really necessary due to the fix in prologue.ps, but cleaner:
2532 Such information does not belong in an .eps file.
2534 * doc/Makefile.sub: See doc/Makefile.in.
2536 2003-02-26 Ralph Corderoy <ralph@inputplus.co.uk>
2538 * aclocal.m4 (GROFF_PNMTOPS_NOSETPAGE): Use P2 format for testing
2539 instead of P1 since the latter is broken in some versions of netpbm.
2540 * configure: Updated.
2542 2003-02-26 Larry Kollar <kollar@alltel.net>
2544 Make man pages more customizable.
2546 * tmac/an-old.tmac (FT): New register holding footer distance from
2548 (HF): New string holding the default heading font.
2549 (TH): Handle registers `IN' and `SN' set on the command line.
2551 (PT, BT): New strings to customize header and footer lines.
2552 (an-header, an-footer): Use them.
2554 * tmac/groff_man.man: Document changes.
2556 * doc/groff.texinfo: Document man changes.
2557 Document Ultrix extensions of man.
2559 2003-02-26 Werner LEMBERG <wl@gnu.org>
2561 * src/roff/troff/input.cc (do_width, do_if_request): Reset
2562 `have_input' after changing back to old environment.
2564 * src/devices/grolbp/lbp.cc (lbp_printer::set_line_thickness): Move
2565 function up to be defined before first call. This is necessary to
2566 avoid a compilation problem with Sun's WorkShop 6 C++ compiler.
2568 * src/utils/afmtodit/afmtodit.pl: Make script search for files in
2569 the default font directory also. Based on a patch from James
2570 J. Ramsey <jjramsey_6x9eq42@yahoo.com>.
2571 * src/utils/afmtodit/Makefile.sub (afmtodit): Handle @FONTDIR@.
2572 * src/utils/afmtodit/afmtodit.man: Document it.
2576 * tmac/groff_man.man, doc/groff.texinfo: Many minor fixes.
2578 2003-02-25 Gaius Mulley <gaius@glam.ac.uk>
2580 * aclocal.m4 (GROFF_HTML_PROGRAMS): Add test for pnmtops.
2581 (GROFF_PNMTOPS_NOSETPAGE): New macro.
2582 * configure.ac: Use it.
2583 * configure: Regenerated.
2584 * Makefile.in: Updated.
2586 * tmac/Makefile.sub (NORMALFILES): Remove www.tmac.
2587 (CLEANADD): Add www.tmac-sed.
2588 (pnmtops_nosetpage): Define default.
2589 (install_data): Handle www.tmac-sed and substitute
2590 @PNMTOPS_NOSETPAGE@.
2591 (stamp-sed): Add www.tmac.
2592 * tmac/www.tmac: Rewritten, based on a patch by Bernd Warken.
2593 It now breaks URLs at suitable places.
2594 (www:substring_ok): New register set by...
2595 (www:@test_substring): New macro.
2596 (www:error): New alias to www-error.
2597 (www:lenstr, www:splitstr, www:url_breaks, www:url_breaks_splitted):
2599 (URL): Use www:url_breaks.
2600 (PIMG, MPIMG): Use @PNMTOPS_NOSETPAGE@.
2601 (CDS, CDE): New macros.
2603 2003-02-25 Werner LEMBERG <wl@gnu.org>
2605 * src/devices/grops/ps.cc (ps_printer::define_encoding): Avoid
2608 2003-02-24 Werner LEMBERG <wl@gnu.org>
2610 Contrary to the PCL5 Developer's Guide, the ascenders in TFM files
2611 can be negative also.
2613 * src/utils/hpftodit/hpftodit.cc (char_info): `ascent' must be
2615 (read_char_table): Avoid negative ascenders.
2616 (output_charset): Add cast.
2617 * font/devlj4/*: Regenerated.
2619 Replace unnamed glyphs for DVI fonts with `uXXXX' glyph names where
2622 * font/devdvi/generate/{tc,texttt,ec,texmi,texsy,textex}.map: Do it.
2623 * font/devdvi/generate/textex.map: Map glyph 23 to `u21C6' instead
2625 * font/devdvi/*: Regenerated.
2627 Map `la' and `ra' to U+27E8 and U+27E9. These two characters have
2628 normal width, while the previously used characters (U+2329 and
2629 U+232A) are classified as wide due to canonical equivalence with the
2630 CJK punctuation characters U+3008 and U+3009.
2632 * font/devutf8/R.proto: Updated.
2633 * src/roff/troff/uniglyph.cc, src/roff/troff/glyphuni.cc: Ditto.
2635 * man/groff_char.man: Simplify handling of table traps by
2636 introducing `start block' and `end block' macros.
2637 (Ns, Ne, 2s, 2e, Ds, De): New macros.
2638 (DL): Make it work with Unix troff also.
2639 Fix code values of `la' and `ra'.
2641 * tmac/dvi.tmac: Define `<>' for CW and CWI.
2643 2003-02-23 Gaius Mulley <gaius@glam.ac.uk>
2645 * src/devices/grohtml/post-html.cc (element_list::~element_list):
2646 New destructor, fixing a major memory leak.
2648 2003-02-22 Werner LEMBERG <wl@gnu.org>
2650 * font/devhtml/R.proto, font/devutf8/R.proto: Flip `*f' and `+f'
2651 to be in conformance with Unicode 3.0 and newer.
2653 * font/devlj4/generate/text.map: Add `Eu'.
2654 * font/devlj4/generate/special.map: Flip `*e' and `+e'.
2655 * font/devlj4/S: Regenerated.
2657 * man/groff_char.man: Completely rewritten.
2659 * doc/groff.texinfo: Fix description of request and macro arguments.
2661 2003-02-20 Gaius Mulley <gaius@glam.ac.uk>
2665 * src/devices/grohtml/html-table.cc (html_table::~html_table):
2666 Deallocate `columns' list.
2667 * src/devices/grohtml/post-html.cc (char_block::~char_block):
2669 (text_glob::text_glob_html, text_glob::text_glob_special,
2670 text_glob::text_glob_line, text_glob::text_glob_auto_image,
2671 text_glob::text_glob_tag): Avoid memory leaks.
2672 (text_glob::remember_table): Free memory before reassigning.
2674 2003-02-19 Werner LEMBERG <wl@gnu.org>
2676 Add glyph `+e', greek lunate epsilon symbol, and `-h' (with the
2677 alias `hbar'), the Planck constant over two pi.
2679 * font/devdvi/generate/texmi.map: Use `*e' for position 15 and
2680 `+e' for position 34.
2681 * font/devdvi/generate/texsy.map: Replace `DI' and `HE' with
2682 `u2662' and `u2661'.
2683 * font/devdvi/{MI,S}: Regenerated.
2684 * font/devhtml/R.proto, font/devutf8/R.proto: Add `+e', `-h', `hbar'.
2685 * font/devlbp/*: Add `hbar' alias.
2686 * font/devlj4/generate/special.map: Ditto.
2687 * font/devlj4/S: Regenerated.
2688 * font/devps/generate/symbolchars: Add `+e'.
2689 * font/devps/generate/textmap: Fix PS name for `-h'.
2691 * font/devps/symbolmap: Regenerated.
2693 * src/devices/grops/ps.cc (transform_fill): Removed since unused.
2695 * src/roff/troff/glyphuni.cc (glyph_to_unicode_list): Add `+e',
2697 * src/roff/troff/uniglyph.cc (unicode_to_glyph_list): Add `+e',
2700 * tmac/X.tmac, tmac/ps.tmac: Provide definitions for `-h' and
2702 * tmac/tty-char.tmac: Add `+e'.
2704 2003-02-17 Werner LEMBERG <wl@gnu.org>
2706 Another round trying to really fix problems with `have_input'.
2708 * src/roff/troff/input.cc (input_stack::get): Handle `have_input'.
2709 (token::next) <'\n'>, <\'\n'>: Don't handle `have_input'.
2711 * src/devices/grotty/tty.cc (tty_printer::put_color): Fix color
2712 handling if both foreground and background colors are default.
2714 * doc/groff.texinfo (Debugging): Document .lf differences to
2717 2003-02-16 Werner LEMBERG <wl@gnu.org>
2719 * src/devices/grotty/tty.cc (tty_printer::make_rgb_string): Avoid
2720 null-bytes in created string.
2722 * src/roff/troff/input.cc (lookup_color, interpolate_macro,
2723 alias_macro, lookup_request): Improve warning messages.
2725 * src/roff/troff/node.cc (suppress_node::tprint): Use `strsave',
2727 Free `last_image_filename'.
2729 * src/preproc/html/pre-html.cc (char_block::char_block): Initialize
2731 (imageList::createPage, imageList::createImage): Use `free', not
2733 (imageItem::~imageItem): Free `imageName'.
2734 (addRegDef): Use `strsave', not `strdup'.
2735 (get_resolution): Free `pathp'.
2737 2003-02-15 Werner LEMBERG <wl@gnu.org>
2739 * src/devices/grotty/tty.cc (tty_printer::tty_printer): Fix pointer
2742 2003-02-14 Werner LEMBERG <wl@gnu.org>
2744 Add memory management for colors to deallocate unnamed colors
2747 * src/include/color.h (color): New members `free_list' and `next'.
2748 New member functions `new' and `delete'.
2750 * src/libs/libgroff/color.cc: Implement it.
2752 * src/libs/libgroff/font.cc (font::add_kern): Use integer cast
2753 for array size of new operator.
2755 * src/libs/libdriver/input.cc (IntArray::operator[]): Remove
2756 redundant comparison.
2758 * src/roff/troff/input.cc (word_space_node::reread,
2759 hmotion_node::reread): Avoid warning about unused parameter.
2760 (reset_output_registers): Remove redundant parameter.
2761 (define_color): Undo change 2003-02-12.
2763 * src/roff/troff/reg.h: Updated.
2765 * src/roff/troff/node.cc (troff_output_file::really_print_line,
2766 output_file::put_filename, real_output_file::really_put_filename,
2767 ascii_output_file::really_print_line,
2768 break_char_node::get_hyphen_list): Avoid warning about unused
2770 (suppress_node::tprint): Updated.
2772 * configure.ac: Check declaration for rand() and srand().
2773 * configure: Regenerated.
2775 * src/preproc/pic/pic.h: Declare fmod(), rand(), and srand()
2777 * src/preproc/pic/pic.y: Remove declaration of fmod(), rand(),
2780 * src/preproc/eqn/delim.cc (delim_table): Add missing initializers
2781 to avoid compiler warnings.
2783 * src/preproc/grn/hgraph.cc (HGPrintElt): Second parameter is
2786 * src/devices/grops/ps.cc (ps_printer::set_char): Last parameter
2788 * src/devices/grops/psrm.cc (skip_possible_newline): Remove first
2790 Updated all callers.
2792 * src/devices/grotty/tty.cc (tty_printer::set_char): Last parameter
2794 * src/devices/grodvi/dvi.cc (dvi_printer::set_char): Ditto.
2795 * src/devices/grolj4/lj4.cc (lj4_printer::set_char): Ditto.
2797 * src/devices/grohtml/post-html.cc (html_printer::emit_line):
2798 Parameter is unused.
2799 (html_printer::add_table_end): Define parameter conditionally.
2800 * src/devices/grohtml/output.cc (simple_output::special): Parameter
2803 * src/devices/grolbp/lbp.cc: Define _GNU_SOURCE conditionally.
2804 (lbp_printer::set_char): Last parameter is unused.
2806 * src/utils/indxbib/indxbib.cc (main): Remove redundant comparison.
2808 2003-02-13 Werner LEMBERG <wl@gnu.org>
2810 New commands \D'Fr ...', \D'Fc ...', etc. for orthogonality.
2811 Make \D'f ...' move horizontally again for backwards compatibility.
2812 Replace it with \D'Fg ...' where appropriate to avoid dependency
2813 on horizontal resolution.
2815 * src/roff/troff/input.cc (do_get_long_name): New function.
2816 (get_long_name): Call it.
2818 (read_draw_node): Handle `\D'Fx ...' by calling ...
2819 (read_color_draw_node): New function.
2821 (read_rgb, read_cmy, read_cmyk, read_gray): New optional argument
2823 Pass it to `do_get_long_name' which is used instead of
2826 * src/libs/libdriver/input.cc (color_from_Df_command): Remove
2827 unnecessary value guard.
2828 (parse_D_command) <'f'>: Add horizontal shift.
2830 * src/preproc/grn/hgraph.cc (HGPrintElt) <POLYGON>: Use \D'Fg ...'.
2831 * src/preproc/pic/troff.cc (troff_output::set_fill): Ditto.
2832 (FILL_MAX): Removed.
2834 * NEWS, man/groff_diff.man, man/groff.man, doc/groff.texinfo:
2837 2003-02-12 Werner LEMBERG <wl@gnu.org>
2839 * src/roff/troff/input.cc (do_name_test, do_expr_test,
2840 do_zero_width): Push `\n' if closing delimiter is missing.
2842 (token::next) <ESCAPE_NEWLINE>, <'\n'>, <\'\n'>: Reset `have_input'.
2843 <'F'>: Make \F non-transparent at the beginning of line.
2844 (process_input_stack) <token::TOKEN_CHAR, token::TOKEN_NEWLINE,
2845 token::TOKEN_REQUEST, token::TOKEN_BEGIN_TRAP>: Don't handle
2848 (define_color): Free color in case of reassignment.
2850 * doc/groff.texinfo (@Defesc, @DefescList, @DefescItem,
2851 @DefescListEnd): Use @Var, not @var.
2854 * src/preproc/grn/hgraph.cc (HGPrintElt): Fix typo.
2856 * src/preproc/pic/object.cc (object_spec::~object_spec): Free
2857 `shaded' and `outlined' arrays.
2858 (object_spec::object_spec): Initialize `shaded' and `outlined'.
2859 (graphic_object::set_fill_color, graphic_object::set_outline_color):
2861 (closed_object::set_fill_color): Ditto.
2862 * src/preproc/pic/troff.cc (troff_output::set_color): Use strsave
2864 (troff_output::reset_color): Use a_delete instead of free.
2865 * src/preproc/pic/main.cc (do_file): Free `out' in case of error.
2867 2003-02-11 Werner LEMBERG <wl@gnu.org>
2869 * doc/groff.texinfo: Improve documentation of `ad'.
2870 Document that \D'f...' is dependent on the horizontal resolution.
2871 * man/groff_diff.man: Improve documentation of \D'f...'.
2873 * src/preproc/grn/hgraph.cc (HGPrintElt) <POLYGON>: Don't emit
2874 compensating \h'...' for \D'f ...' since the latter no longer moves
2876 * src/preproc/pic/troff.cc (troff_output::set_fill): Ditto.
2878 2003-02-10 Werner LEMBERG <wl@gnu.org>
2880 Improve error messages for `x F' (and `F') commands.
2882 * src/include/error.h: Add declaration for
2883 `current_source_filename'.
2884 * src/libs/libgroff/filename.cc: Add `current_source_filename'.
2885 * src/libs/libgroff/error.cc (do_error_with_file_and_line): Add
2886 parameter for source file string.
2887 Updated all callers.
2889 * src/libs/libdriver/input.cc: Add `current_source_filename'.
2890 (remember_source_filename): New function.
2891 (parse_x_command <'F'>, do_file <'F'>): Use it.
2893 2003-02-09 Werner LEMBERG <wl@gnu.org>
2895 Make grotty not emit warnings about unknown colors more than
2898 * src/devices/grotty/tty.cc: Include `ptable.h'.
2899 (TTY_MAX_COLORS): Removed.
2900 (DEFAULT_COLOR_IDX): Defined to -1.
2901 (glyph): Change `back_color_idx' and `fore_color_idx' to `char'.
2902 (tty_printer): Change `curr_back_idx' and `curr_fore_idx' to `char'.
2903 Change `tty_colors' to be a ptable.
2904 First arg of `put_color' is now `char'.
2905 New functions `make_rgb_string' and `tty_color'.
2906 (tty_printer::tty_printer): Use `tty_color'.
2907 (tty_printer::color_to_idx): Return value is now `char'.
2910 * src/include/color.h (color): Add `print_color' member function.
2911 * src/libs/libgroff/color.cc (color::print_color): Implement it.
2913 2003-02-08 Werner LEMBERG <wl@gnu.org>
2917 * src/devices/grops/ps.cc (ps_printer::define_encoding): Close
2920 * src/include/ptable.h (PTABLE::~PTABLE, PTABLE::define): Always
2921 assume that value has been allocated with `new[]', thus use
2922 `a_delete' for deallocation.
2924 * src/libs/libdriver/input.cc (get_integer_arg,
2925 get_possibly_int_args, parse_x_command, do_file): Use `a_delete'
2928 * src/libs/libgroff/new.cc (delete) [!COOKIE_BUG]: Define.
2929 * src/libs/libgroff/nametoindex.cc
2930 (character_indexer::named_char_index): Use `new <type>[1]'.
2932 * src/preproc/eqn/lex.cc (init_table, do_definition): Use `new
2934 * src/preproc/eqn/text.cc (set_special_char_type): Ditto.
2935 (split_text): Use `a_delete'.
2937 * src/preproc/pic/pic.y (define_label, define_variable): Use `new
2940 * src/roff/troff/env.cc (environment::choose_breakpoint): Avoid
2941 harmless memory leak.
2942 (hyphen_trie::read_patterns_file): Initialize `buf'.
2943 * src/roff/troff/node.cc (troff_output_file::troff_output_file):
2944 Initialize `current_fill_color'and `current_glyph_color'.
2945 * src/roff/troff/glyphuni.cc
2946 (glyph_to_unicode_init::glyph_to_unicode_init): Use `new <type>[1]'.
2947 * src/roff/troff/uniuni.cc
2948 (unicode_decompose_init::unicode_decompose_init): Ditto.
2949 * src/roff/troff/uniglyph.cc
2950 (unicode_to_glyph_init::unicode_to_glyph_init): Ditto.
2952 2003-01-26 Werner LEMBERG <wl@gnu.org>
2954 * src/utils/indxbib/indxbib.cc (main) [__EMX__]: Check with
2955 `access' before calling `unlink'.
2956 (do_file): Handle __EMX__.
2958 * src/include/nonposix.h: Handle __EMX__.
2960 * Makefile.in (SEP): New variable; set to @PATH_SEPARATOR@.
2961 (fontpath,tmacpath): Use it.
2963 Sorted alphabetically.
2965 * src/preproc/eqn/neqn.sh, src/roff/nroff/nroff.sh: Use
2967 * src/preproc/eqn/Makefile.sub, src/roff/nroff/Makefile.sub: Handle
2970 2003-01-27 Werner LEMBERG <wl@gnu.org>
2972 * src/libs/libgroff/strcasecmp.c, src/libs/libgroff/strncasecmp.c:
2973 New files, copied from gnulib.
2974 * src/libs/libgroff/Makefile.sub (CSRCS): Add them.
2975 * configure.ac: Updated.
2976 * configure: Regenerated.
2978 * src/include/config.hin: Regenerated.
2979 * src/include/lib.h [!HAVE_STRCASECMP]: Declare `strcasecmp'.
2980 Don't define `strcasecmp' as `strcmp'.
2981 [!HAVE_STRNCASECMP]: Declare `strncasecmp'.
2982 Dont define `strncasecmp' as `strncmp'.
2984 * src/roff/groff/pipeline.c [!HAVE_STRCASECMP, !HAVE_STRNCASECMP]:
2987 2003-01-26 Werner LEMBERG <wl@gnu.org>
2989 * src/utils/indxbib/indxbib.cc (main) [__EMX__]: Fix typo:
2992 2003-01-25 Werner LEMBERG <wl@gnu.org>
2994 * doc/groff.texinfo (Ligatures and Kerning): Mention limitations.
2996 2003-01-24 Werner LEMBERG <wl@gnu.org>
2998 Add US-english hyphenation exceptions (converted from Barbara
2999 Beeton's hyphenation exception log reports which appear irregularly
3002 * tmac/hyphen.us: Updated to latest version.
3003 * tmac/README: Updated.
3004 * tmac/hyphenex.us, tmac/hyphenex.sh: New files.
3005 * tmac/troffrc: Load `hyphenex.us'.
3006 * tmac/Makefile.sub (NORMALFILES): Add `hyphenex.us'.
3007 * doc/groff.texinfo: Updated.
3009 2003-01-23 Werner LEMBERG <wl@gnu.org>
3011 Improve hyphenation slightly. This is a first step in redesigning
3012 the hyphenation algorithm to make it more flexible (e.g. allowing
3013 kerns and ligatures between the hyphenation character and the
3014 following character -- while not used normally in English, other
3015 languages like German would benefit).
3017 * src/roff/troff/env.cc (environment::hyphenate_line): Use
3018 assertion instead of if-clause.
3019 Let `get_hyphen_list' return the number of involved characters in
3020 the hyphenation pattern instead of computing it directly (which
3021 often yields too small values).
3022 * src/roff/troff/node.h (*::get_hyphen_list): Add second parameter.
3023 * src/roff/troff/node.cc (*::get_hyphen_list): Handle new second
3026 2003-01-22 Werner LEMBERG <wl@gnu.org>
3028 Fixing a bug which caused groff to hang if the hyphenation exception
3029 dictionary tried to grow.
3031 * src/roff/troff/env.cc (hyphen_trie::insert_hyphenation,
3032 hyphen_trie::read_patterns_file, do_hyphenation_patterns_file): Use
3033 pointer to dictionary.
3035 2003-01-20 Werner LEMBERG <wl@gnu.org>
3037 * src/utils/afmtodit/afmtodit.pl: Add switch `-m' to suppress
3038 negative left italic correction.
3039 * src/utils/afmtodit/afmtodit.man: Document it.
3041 * font/devps/generate/Makefile (RFLAG): Add `-m'.
3042 * font/devps/{AB,AR,BMB,BMR,CB,CR,EURO,HB,HR,HNB,HNR,NB,NR,PB,PR,
3043 S,TB,TR,ZD,ZDR}: Regenerated with afmtodit options `-i 0 -m'.
3047 2003-01-16 Werner LEMBERG <wl@gnu.org>
3051 2003-01-16 Jörgen Grahn <jgrahn@algonet.se>
3053 * src/preproc/refer/refer.man: Mention REFER environment variable.
3055 2003-01-05 Werner LEMBERG <wl@gnu.org>
3057 Similar to \[is], the square root glyph (\[sr]) and the square root
3058 extension glyph (\[radicalex]) are now text symbols. The new
3059 mathematical versions are called \[sqrt] and \[sqrtex],
3062 * font/devX*/S: Regenerated.
3063 * font/devdvi/generate/texex.map: Rename `sr[0123]' to `sqrt[0123]'.
3064 * font/devdvi/generate/texsy.map: Rename `sr' to `sqrt'.
3065 * font/devdvi/EX, font/devdvi/S: Regenerated.
3066 * font/devhtml/R.proto, font/devutf8/R.proto: Add `sqrt'.
3067 * font/devlj4/generate/special.map: Add `sqrt'.
3068 * font/devlj4/S: Regenerated.
3069 * font/devps/generate/textmap: Add `sqrt'.
3070 * font/devps/S, font/devps/symbolmap: Regenerated.
3072 * src/preproc/eqn/sqrt.cc (SQRT_CHAR, RADICAL_EXTENSION_CHAR,
3073 SQRT_CHAIN, BAR_CHAIN): Use `sqrt*' and `sqrtex*'.
3074 * src/roff/troff/input.cc (init_charset_table): Make `sqrtex'
3075 overlap horizontally.
3077 * tmac/X.tmac, tmac/ps.tmac, tmac/lj4.tmac: Add `sqrtex'.
3078 * tmac/dvi.tmac: Add `sr', and `sqrtex'.
3081 * doc/groff.texinfo, man/groff_diff.man: Document that `radicalex'
3082 and `sqrtex' are overlapping glyphs.
3084 2003-01-04 Werner LEMBERG <wl@gnu.org>
3086 * font/devdvi/generate/texsy.map: Add `is'.
3087 * font/devps/symbolmap: Regenerated.
3088 * font/devdvi/*TC, MI, S: Regenerated.
3090 * tmac/dvi.tmac: Remove `is'.
3092 2003-01-03 Werner LEMBERG <wl@gnu.org>
3094 `is' is now a text symbol (only relevant for dvi). The math variant
3095 can be accessed with `integral'.
3097 * font/devX*/S: Regenerated.
3098 * font/devdvi/generate/texex.map: Remove `is'.
3099 * font/devdvi/EX: Updated.
3100 * font/devhtml/R.proto, font/devutf8/R.proto: Add `integral'.
3101 * font/devlj4/generate/special.map: Ditto.
3102 * font/devlj4/S: Regenerated.
3103 * font/devps/generate/textmap: Add `integral'.
3104 * font/devps/S: Regenerated.
3106 * tmac/dvi.tmac: Define `is'.
3108 * src/roff/troff/glyphuni.cc (glyph_to_unicode_list): Add `integral'.
3110 * src/preproc/tbl/main.cc (process_format): Fix error message.
3112 2003-01-02 Werner LEMBERG <wl@gnu.org>
3114 * font/devhtml/R.proto, font/devutf8/R.proto: Add `ne' and `nc'.
3115 * font/devps/textmap: Fix entries for `ne' and `nc'.
3116 * font/devps/symbolmap: Regenerated.
3118 * src/roff/troff/glyphuni.cc (glyph_to_unicode_list),
3119 src/roff/troff/uniglyph.cc (unicode_to_glyph_list): Add `18',
3120 `38', `58', `78', `-+', `|=', `nc', `ne'.
3122 * tmac/dvi.tmac: Add `nm', `ne', `nc'.
3123 Use `schar' for `aq'.
3124 * tmac/ps.tmac, tmac/X.tmac: Add `nc' and `ne'.
3125 * tmac/ec.tmac: Add `SC' to special fonts for `CW' and `CWI'.
3126 * tmac/tty.tmac: Add `ne'.
3128 * src/roff/troff/node.cc (make_glyph_node): Test with `get_macro'
3129 for fallback glyphs.
3131 2002-12-29 Werner LEMBERG <wl@gnu.org>
3135 * font/devX*/*: Regenerated.
3136 * font/devdvi/generate/ec.map: Remove `eq'.
3137 * font/devdvi/generate/texsy.map: Make `~=' the same as `~~'.
3138 Assign `|=' to position 39.
3139 * font/devdvi/*EC, S: Regenerated.
3140 * font/devhtml/R.proto, font/devutf8/R.proto: Add `|='.
3141 * font/devlj4/generate/special.map: Make `~=' the same as `~~'.
3142 Assign `|=' to position 549.
3143 * font/devps/generate/textmap, font/devps/enerate/symbolmap: Remove
3145 Add `uni2243' for `|='.
3147 * tmac/ec.tmac: Add `eq'.
3148 * tmac/dvi.tmac: Add `=~'.
3149 * tmac/tty-char.tmac, tmac/ps.tmac, tmac/X.tmac, tmac/lbp.tmac: Add
3152 2002-12-21 Werner LEMBERG <wl@gnu.org>
3154 * font/devdvi/generate/tc.map: Remove `**'.
3155 * font/devdvi/*TC: Regenerated.
3156 * font/devhtml/R.proto, font/devutf8/R.proto: Add `18', `38', `58',
3158 * font/devutf8/NOTES: Updated.
3160 * src/roff/troff/charinfo.h (charinfo): Add `setx_macro' function.
3161 Don't give default parameter to `set_macro'.
3162 * src/roff/troff/input.cc (do_define_character): Use `setx_macro'
3163 instead of `set_macro'.
3164 (charinfo::setx_macro): Implement it.
3165 (charinfo::set_macro): Don't change `mode'.
3167 * tmac/tty.tmac: Add `18', `38', `58', `78', `<<', `>>'.
3168 * tmac/ps.tmac, tmac/X.tmac: Add `<<', `>>'.
3169 * tmac/dvi.tmac: Define `!=' with `.schar'.
3171 2002-12-20 Werner LEMBERG <wl@gnu.org>
3173 * font/devX*/S: Regenerated.
3174 * font/devdvi/generate/ec.map: Remove `pl'.
3175 * font/devdvi/generate/tc.map: Remove `mi', `14', `12', `34'.
3176 * font/devdvi/*{TC,EC}: Regenerated.
3177 * font/devhtml/R.proto: Add `-+'.
3178 Remove double entries for `rk', `lk', `lt', `rt', `rb', `lb'.
3179 * font/devlbp/*: Remove `or'.
3180 * font/devlj4/generate/special.map: Remove `or'.
3181 * font/devlj4/S: Regenerated.
3182 * font/devps/generate/textmap: Add `fiveeighths', `oneeighth',
3183 `seveneighths', `threeeighths'.
3185 Replace `minusplus' with `uni2213'.
3186 * font/devps/symbolmap: Regenerated.
3187 * font/devutf8/R.proto: Replace `shc' with unnamed glyph.
3190 * src/roff/troff/charinfo.h (charinfo): Add `is_normal' inline
3192 * src/roff/troff/node.cc (troff_output_file::put_char_width):
3193 Call glyph_color and fill_color even if tcommand_flag isn't set.
3194 (make_node, node::add_char): Check not ci->is_fallback but
3197 * tmac/lj4.tmac, tmac/lbp.tmac: Define `or'.
3198 * tmac/ec.tmac: Add .rchar entry for `f/'.
3199 Don't remove `12', `14', `34'.
3200 Define `pl' to be always roman.
3201 * tmac/ps.tmac (ps-frac, ps-frac-mono): New macros.
3202 Define `18', `38', `58', `78'.
3203 * tmac/tty.tmac: Add `-+'.
3204 * tmac/dvi.tmac: Define `f/'.
3205 (dvi-frac): Use `f/'.
3206 * tmac/X.tmac (X-frac, X-frac-mono): New macros.
3207 Define `18', `38', `58', `78'.
3209 2002-12-15 Colin Watson <cjwatson@debian.org>
3211 * contrib/pic2graph/pic2graph.sh: Add missing `;;'.
3213 2002-12-10 Werner LEMBERG <wl@gnu.org>
3215 Add glyph `tno', a textual variant of `no'.
3217 * font/devX*/*: Regenerated.
3218 * font/{devcp1047,devlatin1,devutf8,devhtml}/R.proto: Add `tno'.
3219 * font/devdvi/generate/{tc.map: Replace `no' with `tno'.
3220 * font/devdvi/generated/{texsy,textex}.map: Add `tno'.
3221 * font/devdvi/*: Regenerated.
3222 * font/devlbp/*: Add `tno'.
3223 * font/devlj4/generate/tex.map: Replace `no' with `tno'.
3224 * font/devlj4/*: Regenerated.
3225 * font/devps/generate/textmap: Replace `no' with `tno'.
3226 * font/devps/generate/symbolchars: Add `no'.
3227 * font/devps/*: Regenerated.
3229 * src/roff/troff/glyphuni.cc (glyph_to_unicode_list): Add `tno'.
3231 * tmac/cp1047.tmac, tmac/latin1.tmac: Replace `no' with `tno'.
3232 * tmac/tty-char.tmac: Add entry for `tno' and `3d'.
3236 * tmac/dvi.tmac: Replace most `\\' with `\E'.
3237 Add definition for `sd'.
3238 * tmac/X.tmac, tmac/ps.tmac: Replace most `\\' with `\E'.
3240 * tmac/eqnrc <dvi>: Use `integral' instead of `is' glyph.
3242 2002-12-08 Werner LEMBERG <wl@gnu.org>
3244 * tmac/an-old.tmac (TH): Use integer value for `IN' if in nroff
3245 mode to avoid rounding errors.
3246 (an-do-tag, an-do-tag-html, RS, RE): Remove redundant `.br'.
3248 * src/roff/groff/groff.man, src/roff/nroff/nroff.man,
3249 src/roff/troff/troff.man: Improve documentation of -T.
3251 2002-12-07 Jeff Conrad <jeff_conrad@msn.com>
3253 * src/roff/groff/pipeline.c: Don't define `const' for _WIN32.
3254 (run_pipeline) [_WIN32]: Provide working function without `fork'.
3256 2002-12-06 Werner LEMBERG <wl@gnu.org>
3258 * font/devps/generate/freeeuro.sfd: Make dimensions of Euro.symbol
3259 glyphs compatible to Adobe's Euro fonts (scaling them down a bit).
3260 Scaling Euro.sansserif glyphs down to have the same height as
3262 Removed unnecessary points; added some extrema.
3264 * font/devps/EURO, font/devps/freeeuro.afm, font/devps/freeeuro.pfa:
3267 2002-12-04 Werner LEMBERG <wl@gnu.org>
3269 * font/devps/generate/freeeuro.sfd: Add glyphs `Euro.symbol.slanted'
3270 and `Euro.symbol.bold.slanted'.
3271 Improve some glyph offsets and widths.
3272 * font/devps/EURO, font/devps/freeeuro.afm, font/devps/freeeuro.pfa:
3274 * font/devps/generate/Makefile (freeeuro.afm freeeuro.pfa): Fix
3276 * font/devps/generate/sfdtopfa.pe: Generate PFA in current
3279 * tmac/europs.tmac: Updated to new glyph indices.
3280 Use Euro.symbol for font familiy `A'.
3282 * doc/groff.texinfo: Minor improvements.
3284 2002-12-02 Werner LEMBERG <wl@gnu.org>
3286 * font/devdvi/generate.tc.map: s/%O/%0/.
3287 * font/devdvi/*TC: Regenerated.
3289 * src/roff/troff/div.cc (init_div_requests): Sorted.
3291 * tmac/dvi.tmac: Remove `Ye'.
3292 * tmac/ec.tmac: Remove `Ye'.
3293 Add .rchar entry for `de'.
3295 * man/groff.man, man/groff_diff.man: Document register `.pe'.
3296 * doc/groff.texinfo: Document registers `.pe', `.n', and `.w'.
3299 2002-11-30 Werner LEMBERG <wl@gnu.org>
3301 Add PS font for various Euro glyphs.
3303 * font/devps/generate/freeeuro.sfd: New master font file for
3305 * font/devps/generate/sfdtopfa.pe: New conversion script for
3307 * font/devps/generate/Makefile (FONTS): Add `EURO'.
3308 (EURO, freeeuro.afm, freeeuro.pfa): New rules.
3309 * font/devps/freeeuro.pfa, font/devps/freeeuro.afm: Generated from
3311 * font/devps/EURO: Generated from `freeeuro.afm'.
3312 * font/devps/download: Add `freeuro.pfa'.
3313 * font/devps/Makefile.sub (NORMALFILES): Adde `EURO' and
3316 * tmac/europs.tmac: New file.
3317 * tmac/ps.tmac: Include `europs.tmac'.
3318 * tmac/Makefile.sub (DISTFILES): Add `europs.tmac'.
3320 2002-11-29 Werner LEMBERG <wl@gnu.org>
3322 * font/devdvi/generate/texsy.map: Remove `lh' and `rh'.
3323 * font/devdvi/S: Regenerated.
3324 * font/devhtml/R.proto: Fix `CR' and `ci'.
3326 * font/devps/generate/textmap: Fix `lh', `rh', and `sq'.
3328 * font/devps/symbolmap: Regenerated.
3329 * font/devutf8/R.proto: Fix `CR' and `ci'.
3331 * font/devutf8/NOTES: Updated.
3333 * src/roff/troff/uniglyph.cc (unicode_to_glyph_list): Fix `CR' and
3336 * src/roff/troff/glyphuni.cc (glyph_to_unicode_list): Ditto.
3338 * tmac/dvi.tmac: Add `lh' and `rh'.
3339 * tmac/Xps.tmac: Fix `lh' and `rh'.
3340 * tmac/X.tmac: Add `OK'.
3341 * tmac/lj4.tmac: Ditto.
3343 2002-11-24 Werner LEMBERG <wl@gnu.org>
3345 * font/devX*/S: Regenerated.
3346 * font/devascii/R.proto, font/devcp1047/R.proto: Remove glyphs `lb',
3347 `lc', `lf', `lk', `lt', `rb', `rc', `rf', `rk', and `rt'.
3348 * font/devdvi/generate/texsy.map: Remove `or' glyph.
3349 * font/devdvi/S: Regenerated.
3350 * font/devhtml/R.proto, font/devutf8/R.proto: Add/fix glyphs
3351 `parenlefttp', `parenleftex', `parenleftbt', `parenrighttp',
3352 `parenrightex', `parenrightbt', `bracketlefttp', `bracketleftex',
3353 `bracketleftbt', `bracketrighttp', `bracketrightex',
3354 `bracketrightbt', `bracelefttp', `braceleftmid', `braceleftbt',
3355 `braceex', `braceleftex', `bracerightex', `bracerighttp',
3356 `bracerightmid', `bracerightbt', `lt', `lk', `lb', `rt', `rk',
3358 * src/roff/troff/glyphuni.cc, src/roff/troff/uniglyph.cc: Ditto.
3359 * font/devutf8/NOTES: Updated.
3360 * font/devlj4/generate/special.map: Add glyph `braceex'.
3361 * font/devlj4/S: Regenerated.
3363 * tmac/tty-char.tmac: Add glyphs `lf', `rf', `lc', and `rc'.
3365 2002-11-14 Werner LEMBERG <wl@gnu.org>
3367 * src/roff/troff/uniglyph.cc (unicode_to_glyph_list): Add `va'
3370 * src/roff/troff/glyphuni.cc (glyph_to_unicode_list): Ditto.
3372 * doc/texinfo.tex: New version from texinfo 4.3.
3373 * doc/groff.texinfo: Updated for texinfo 4.3.
3374 Use @tie{} where appropriate.
3375 * font/devdvi/generate/ec.map: Don't include `or' and `bv'.
3376 * font/devdvi/generate/tc.map: Remove `rn'.
3377 * font/devdvi/*TC, font/devdvi/*EC: Regenerated.
3378 * font/devhtml/R.proto, font/devutf8/R.proto: Add `vA'.
3380 * font/devX100/*, font/devX100-12/*, font/devX75/*,
3381 font/devX75-12/*: Regenerated.
3383 * tmac/dvi.tmac: Add special fonts `SA' and `SB'.
3384 Use .char (again) for `br', `ul', `rn', `or', and `ru'.
3385 Improve definition of `an'.
3386 * tmac/ps.tmac: Use .char (again) for `br', `ul', `rn', `or', and
3388 * tmac/lj4.tmac: Use .char (again) for `br', `ul', `rn', and `ru'.
3389 * tmac/X.tmac: Add definition for `or'.
3390 * tmac/Xps.tmac: Undo change 2002-11-05.
3391 * tmac/lbp.tmac: Add definitions for `br', `rn', `ul', and `ru'.
3393 2002-11-11 Werner LEMBERG <wl@gnu.org>
3395 * src/roff/troff/node.cc (troff_output_file::put_char): Always
3398 2002-11-10 Werner LEMBERG <wl@gnu.org>
3400 Added three new requests `schar', `fschar', and `rfschar'. `schar'
3401 defines a glyph which is searched after the check for fonts declared
3402 with `.special' (and before the check for all mounted special
3403 fonts). `fschar' defines a glyph for a particular font which is
3404 searched after the check for fonts declared with `.fspecial' (and
3405 before the check for fonts declared with `.special'). `rfschar'
3406 removes glyphs defined with `fschar'.
3408 * src/roff/troff/token.h (char_mode): New enum.
3409 Declare do_define_character.
3410 * src/roff/troff/charinfo.h (charinfo): Replace `fallback' with
3412 (charinfo::is_fallback): Updated.
3413 (charinfo::is_special): New method.
3414 * src/roff/troff/input.cc (do_define_character): Add and use
3415 optional second parameter used as a prefix for font-specific glyph
3417 (define_character, define_fallback_character): Updated.
3418 (define_special_character): New function.
3419 (init_input_requests): Add `schar'.
3420 (charinfo::charinfo, charinfo::set_macro): Updated.
3421 * src/roff/troff/node.cc: Include `stringclass.h'.
3422 (make_glyph_node): Handle special glyphs defined with `.schar' and
3424 (define_font_special_character, remove_font_special_character): New
3426 (init_node_requests): Sorted.
3427 Add `fschar' and `rfschar'.
3428 * NEWS, man/groff_diff.man, man/groff.man, doc/groff.texinfo:
3429 Document new requests.
3431 * font/devhtml/R.proto, font/devutf8/R.proto: Add `va'.
3432 * tmac/dvi.tmac: Add `va' for CW and CWI (using `.fschar').
3434 2002-11-08 Werner LEMBERG <wl@gnu.org>
3436 Added new font `SC' (cmtex10) to devdvi.
3438 * devdvi/generate/Makefile (FONTS): Add `SC'.
3440 * devdvi/generate/textex.map: New map file for cmtex.
3442 * devdvi/Makefile.sub (DEVFILES): Updated.
3443 * tmac/dvi.tmac: Add fspecial entries for SC.
3444 Add `MI', `S' and `CW' to the `special' call. Otherwise, `SC' is
3445 found before `S' since the font position of `SC' is lower due to the
3446 gaps in DESC's `font' line.
3447 * tmac/ec.tmac: Add a `special' call.
3450 * font/devhtml/R.proto: Remove double entry for `ti'.
3451 * tmac/tty.tmac: Add entries for `IJ', `ij', and `bq'.
3452 * tmac/tty-char.tmac: Remove entry for `bq'.
3453 * tmac/lbp.tmac: Add entries for `lq', `rq', `fo', `fc', and `em'.
3454 * tmac/ec.tmac: Don't remove `aq' glyph.
3455 * tmac/X.tmac: Fix entry for `em'.
3456 Add entries for `fo' and `fc'.
3457 * tmac/dvi.tmac: Add entries for `em', `en', `hy', `fo', and `fc'.
3459 * doc/groff.texinfo, man/groff.man, man/groff_diff.man: Fix
3460 documentation of `special' and `fspecial' requests.
3462 2002-11-05 Werner LEMBERG <wl@gnu.org>
3464 * font/devascii/R.proto, font/devcp1047/R.proto,
3465 font/devlatin1/R.proto: Remove entry for `.i'.
3466 * font/devdvi/generate/textt.map: Add entry for `ad'.
3467 * font/devdvi/generate/texr.map, font/devdvi/generate/texb.map,
3468 font/devdvi/generate/texi.map: Add dummy glyph name `slash@for@l'.
3469 We need this for getting kerning values to compose `/l' and `/L'.
3470 * font/devdvi: Regenerated font definition files for CM fonts.
3471 * font/devhtml/R.proto: Add entries for "'C", "'c", `IJ', and `ij'.
3472 * font/devutf8/R.proto: Ditto.
3473 Remove double entry for `ti'.
3475 * src/roff/troff/glyphuni.cc (glyph_to_unicode_list): Fix entries
3476 for (groff) ligatures, `la', and `ra'.
3477 Add "'C", "'c", `IJ', and `ij'.
3478 Remove double entry for `ti'.
3479 * src/roff/troff/uniglyph.cc (unicode_to_glyph_list): Remove all
3481 Add "'C", "'c", `IJ', and `ij'.
3482 Fix entries for (groff) ligatures, `la', and `ra'.
3484 * tmac/ps.tmac (ps-achar): New macro.
3485 Define "'c" and "'C".
3486 * tmac/tty.tmac: Add entry for `.i'.
3487 * tmac/X.tmac (X-achar): New macro.
3488 Define "'c", "'C", and `:Y'.
3489 Add entries for `IJ' and `ij'.
3490 * tmac/Xps.tmac (Xps-achar): New macro.
3491 Define "'c" and "'C".
3492 Add entries for `IJ' and `ij'.
3493 * tmac/lbp.tmac (lbp-achar): New macro.
3494 Add fallback characters for all groff ligatures and many other
3496 * tmac/dvi.tmac: Fix definitions of `_' and `ul'.
3497 Add entries for `/l' and `/L'.
3498 Define "'c" and "'C".
3499 Add entries for `IJ' and `ij'.
3501 2002-11-02 Larry Kollar <kollar@alltel.net>
3503 * PROBLEMS: Document how to solve Mac OS X compilation problems.
3505 2002-11-02 Werner LEMBERG <wl@gnu.org>
3507 Adding support for composite glyphs: \[xxx yyy ...] and the
3508 `composite' request.
3510 * src/roff/troff/glyphuni.cc: New file for mapping groff glyph names
3511 to Unicode-based glyph names.
3512 * src/roff/troff/uniglyph.cc: New file for mapping Unicode-based
3513 glyph names to groff glyph names.
3514 * src/roff/troff/uniuni.cc: New file for canonically decomposing
3515 Unicode-based glyph names.
3516 * src/roff/troff/unicode.cc, src/roff/troff/unicode.h: New files
3517 for handling Unicode glyph names.
3518 * src/roff/troff/input.cc: Include unicode.h.
3519 (composite_glyph_name): New function.
3520 (token::next) <'['>: Handle Unicode glyph names and composite
3522 (composite_dictionary): New dictionary for the `composite' request.
3523 (composite_request): Implement `composite' request.
3524 (init_input_requests): Add `composite'.
3525 Alphabetically sorted.
3526 * src/roff/troff/env.cc (tabs_save, tabs_restore): Removed (already
3528 (init_env_requests): Alphabetically sorted.
3529 Removed `tas' and `tar' (already commented out).
3530 * src/roff/troff/Makefile.sub: Updated.
3532 2002-10-31 Ruslan Ermilov <ru@FreeBSD.org>
3534 * src/roff/nroff/nroff.man, src/roff/nroff/nroff.sh: Fix description
3537 2002-10-29 Werner LEMBERG <wl@gnu.org>
3539 Fix computation of .trunc register. Additionally, its value (and
3540 the value of the .ne register) is now always set before entering the
3543 * src/roff/troff/div.cc (diversion::need): Set `truncated_space' and
3544 `needed_space' before calling `space'.
3545 (top_level_diversion::space): Remove special code for 'sp before the
3547 Call `begin_page' with the discarded space as a parameter.
3548 (top_level_diversion::begin_page): Add optional parameter to set
3550 * src/roff/troff/div.h: Updated.
3552 * doc/groff.texinfo: Improve documentation of .sp, \n[.trunc], and
3555 * tmac/an-old.tmac (SH, SS, TP, IP, HP, TS): Undo change 2002-10-26.
3556 (LP): Remove superfluous call to `br'.
3557 * tmac/doc-common (doc-paragraph): Undo change 2002-10-26.
3558 * tmac/doc.tmac (Bd, Bl, doc-set-vertical-and-indent): Ditto.
3560 2002-10-26 Werner LEMBERG <wl@gnu.org>
3562 * tmac/doc-ditroff: Remove useless switch/variable -rC.
3563 (doc-setup-header): Don't set page register `%'.
3564 * tmac/doc-nroff: Remove variable `C'.
3565 (doc-setup-page-layout): Set doc-header-space to .5i unconditionally.
3566 (doc-setup-header): Don't set page register `%'.
3568 * tmac/doc-common (doc-header): Call `ns'.
3569 (doc-paragraph): Protect .sp with .br so that it survives traps
3570 possibly set by the user.
3571 * tmac/doc.tmac (Bd, Bl, doc-set-vertical-and-indent): Ditto.
3573 * tmac/doc*: Replace ' with . for consistency if no effect.
3575 2002-10-26 Werner LEMBERG <wl@gnu.org>
3577 * tmac/an-old.tmac (SH, SS, TP, IP, HP, TS): Protect .sp with .br
3578 so that it survives traps possibly set by the user.
3580 * src/roff/troff/node.cc: Fix the changes from 2002-10-23.
3581 (troff_output_file::set_font): Call flush_tbuf if necessary.
3582 (troff_output_file::fill_color, troff_output_file::glyph_color): Call
3583 flush_tbuf and do_motion only if necessary.
3584 (troff_output_file::start_special,
3585 troff_output_file::put_char_width, troff_output_file::put_char,
3586 troff_output_file::draw): Updated.
3587 (word_space_node::tprint, space_node::tprint, hmotion_node::tprint,
3588 vmotion_node::tprint): Undo change 2002-10-23.
3590 2002-10-25 Werner LEMBERG <wl@gnu.org>
3592 * tmac/www.tmac (DC): Fix case of overlapping images.
3594 2002-10-23 Werner LEMBERG <wl@gnu.org>
3596 * src/roff/troff/node.cc (troff_output_file::fill_color,
3597 troff_output_file::glyph_color): Set current color before testing
3599 (troff_output_file::put_char_width, troff_output_file::put_char,
3600 troff_output_file::draw): Don't call flush_tbuf and/or do_motion
3602 (troff_output_file::file_color, troff_output_file::glyph_color):
3604 (word_space_node::tprint, space_node::tprint, hmotion_node::tprint,
3605 vmotion_node::tprint): Move first, then call fill_color.
3607 2002-10-20 Werner LEMBERG <wl@gnu.org>
3609 * doc/groff.texinfo, man/groff_tmac.man: Document that it is not
3610 possible to use multiple main macro packages.
3612 2002-10-19 Werner LEMBERG <wl@gnu.org>
3614 * src/devices/grops/ps.cc (cmyk_flag): New global variable.
3615 (ps_printer::set_color): Set `cmyk_flag' for CMY and CMYK colors.
3616 (ps_printer::~ps_printer): Emit `%%Extensions: CMYK' if `cmyk_flag'
3618 * font/devps/prologue.ps (Fk, Ck): Enclose definitions with a
3619 `where' construction since `cmyksetcolor' is a PS Level 2 operator.
3621 2002-10-16 Werner LEMBERG <wl@gnu.org>
3623 * NEWS, doc/webpage.ms: Updated.
3625 2002-10-14 Werner LEMBERG <wl@gnu.org>
3627 * src/roff/troff/node.cc (troff_output_file::put_char_width,
3628 troff_output_file::put_char, troff_output_file::fill_color,
3629 troff_output_file::glyph_color): Handle case where color pointer
3632 2002-10-13 Ruslan Ermilov <ru@FreeBSD.org>
3634 Add the new -r option to grotty. It is similar to the -i option
3635 except it tells grotty(1) to use the "reverse video" attribute to
3636 render italic fonts.
3638 * src/devices/grotty/tty.cc (reverse_flag): New global variable.
3639 (SGR_REVERSE, SGR_NO_REVERSE): New macros.
3640 (tty_printer::make_underline, tty_printer::put_color,
3641 tty_printer::end_page): Use it.
3642 (main): Add -r switch.
3644 * src/devices/grotty/grotty.man: Document it.
3646 2002-10-11 Ruslan Ermilov <ru@FreeBSD.org>
3648 * src/roff/troff/env.cc (hyphen_trie::read_patterns_file): Add
3649 cast to `unsigned char' to properly read patterns with 8bit
3652 2002-10-08 Werner LEMBERG <wl@gnu.org>
3654 * REVISION: Increased to 2.
3656 Version 1.18.1 released
3657 =======================
3659 2002-10-08 Werner LEMBERG <wl@gnu.org>
3661 * doc/webpage.ms, NEWS: Updated.
3663 2002-10-07 Werner LEMBERG <wl@gnu.org>
3665 * tmac/doc-common (Ss): Add final `.ns' (similar to `.Sh') to
3666 suppress additional whitespace after the header.
3668 * tmac/doc-ditroff, tmac/doc-nroff (Am): New string to be in sync
3671 * src/preproc/grn/grn.man, tmac/groff_mdoc.man, NEWS: Updated.
3673 2002-10-07 Ruslan Ermilov <ru@FreeBSD.org>
3675 * tmac/doc-common(doc-volume-operating-system-ateol): New flag.
3676 (Dt): Use it to improve language localization (especially Russian
3679 2002-10-07 Daniel Senderowicz <daniel@synchrods.com>
3681 * src/preproc/grn/gprint.h (BSPLINE, BEZIER): New macros.
3682 * src/preproc/grn/hdb.cc (DBGetType): Parse spline and bezier
3684 * src/preproc/grn/hgraph.cc (drawwig): Add parameter to control
3686 Call `picurve' for BSPLINE.
3687 (HGPrintElt): Handle BSPLINE.
3688 * src/preproc/grn/README: Document it.
3690 2002-10-03 Werner LEMBERG <wl@gnu.org>
3692 * src/roff/troff/node.cc (break_char_node::col): New variable.
3693 Updated constructor.
3694 (space_node::tprint, word_space_node::tprint): Call `fill_color'
3696 (space_node::space_node): Remove assertion.
3697 (break_char_node::add_self): Pass color argument to space node.
3698 * src/roff/troff/input.cc (token::add_to_node_list, token::process):
3700 * src/roff/troff/env.cc (environment::do_break,
3701 environment::add_padding): Ditto.
3703 2002-10-02 Werner LEMBERG <wl@gnu.org>
3705 Redesigning color support in troff. Colors are no longer
3706 represented as separate nodes but are now part of glyph nodes and
3707 friends. This fixes the current formatting misbehaviour due to the
3708 changes introduced on 2002-09-20. Some extra code is necessary for
3709 proper grotty support: Without adding color variables to
3710 space-related nodes, the background color would be changed too late.
3712 * src/roff/troff/node.h, src/roff/troff/node.cc:
3713 s/current_pagecolor/current_fill_color/.
3714 s/current_glyphcolor/current_glyph_color/.
3715 (glyph_color_node, fill_color_node): Removed.
3716 (node::get_glyph_color, node::get_fill_color): New virtual member
3718 (space_node::col): New variable.
3719 Updated constructors of space_node and derived classes accordingly.
3720 (hmotion_node::col): New variable.
3721 Updated constructors of hmotion_node and space_char_hmotion_node
3723 (vmotion_node::col): New variable.
3724 Updated constructor accordingly.
3725 (draw_node::gcol, draw_node::fcol): New variables.
3726 Updated constructor accordingly.
3727 (special_node::gcol, special_node::fcol): New variables.
3728 Updated constructors accordingly.
3729 (troff_output_file::put_char, troff_output_file::put_charwidth,
3730 troff_output_file::draw): Set glyph and fill color.
3731 (troff_output_file::start_special): Set glyph and fill color.
3732 Always set current font.
3733 (troff_output_file::fill_color, troff_output_file::glyph_color):
3734 Don't call `do_motion'.
3735 (glyph_node::gcol, glyph_node::fcol): New variables.
3736 Updated constructors of glyph_node and ligature_node accordingly.
3737 (glyph_node::get_glyph_color, glyph_node::get_fill_color): New
3739 (glyph_node::merge_glyph_node,
3740 kern_pair_node::add_discretionary_hyphen,
3741 node::add_discretionary_hyphen): Updated.
3742 (break_char_node::merge_self): Updated.
3743 (word_space_node::tprint, space_node::tprint, hmotion_node::tprint,
3744 vmotion_node::tprint): Handle color.
3745 (make_glyph_node, make_node, node::add_char): Updated.
3747 * src/roff/troff/env.cc (environment::space_newline,
3748 environment::space, environment::output_line, environment::do_break,
3749 environment::make_tab_node, environment::add_padding, title):
3751 (environment_switch, environment_copy): Don't add color nodes.
3753 * src/roff/troff/input.cc (do_glyph_color, do_fill_color): Return
3755 (token::next): Updated.
3756 \m and \M now are as transparent as \s.
3757 (process_input_stack, token::add_to_node_list, token::process,
3758 read_draw_node): Updated.
3759 (charinfo_to_node_list): Don't add color nodes.
3761 * doc/groff.texinfo: Updated.
3763 2002-09-27 Ruslan Ermilov <ru@FreeBSD.org>
3765 * tmac/doc-common (ds-operating-system-FreeBSD-4.*): New version
3768 2002-09-27 Colin Watson <cjwatson@debian.org>
3770 * src/roff/troff/node.cc (bracket_node::copy): Check `list' != 0.
3772 2002-09-23 Werner LEMBERG <wl@gnu.org>
3774 * src/devices/grolbp/lbp.cc: Replace `300' with `font::res' where
3776 (DEFAULT_LINEWIDTH_FACTOR): New macro.
3777 (linewidth_factor): New global variable.
3778 (lbp_printer::set_line_thickness): Fix case for size < 0, using
3780 (long_options): Add -w/--linewidth option.
3782 (main): Handle -w option to set linewidth_factor.
3783 (lbp_printer::lbp_printer): Initialize req_linethickness, not
3786 * src/devices/grolbp/grolbp.man, NEWS, doc/webpage.ms: Updated.
3788 2002-09-22 Paco Andrés Verdú <pandres@dragonet.es>
3790 Fixed a bug in the line thickness setting code.
3792 * src/devices/grolbp/lbp.cc (lbp_printer::req_linethickness): New
3794 (lbp_printer::set_line_thickness): Pass environment as second
3796 Implement it actually.
3797 (lpb_printer::set_char, lbp_printer::draw): Use `req_linethickness'
3798 and `set_line_thickness, depending on the current font size.
3800 2002-09-21 Werner LEMBERG <wl@gnu.org>
3802 Some Debian patches.
3804 * src/roff/groff/pipeline.h (MAX_COMMANDS): Increase to 12.
3805 * src/roff/troff/node.cc (bracket_node::copy): Initialize
3808 2002-09-20 Werner LEMBERG <wl@gnu.org>
3810 * configure: Regenerated with autoconf 2.54.
3812 2002-09-20 Werner LEMBERG <wl@gnu.org>
3814 * src/roff/troff/env.h (environment): Rename cur_glyph_color to
3816 Rename cur_fill_color to fill_color.
3817 * src/roff/troff/env.cc: Updated.
3819 2002-09-20 Werner LEMBERG <wl@gnu.org>
3821 * src/roff/troff/env.cc (title): Copy color status after processing
3823 * src/roff/troff/input.cc (charinfo_to_node_list): Emit glyph and
3824 fill color nodes to reset colors properly.
3826 * tmac/www.tmac (DC): Fix color handling.
3828 * src/preproc/pic/pic.man, doc/pic.ms: Document some color issues.
3829 * doc/groff.texinfo: Fixing documentation of `tl' request.
3830 * doc/webpage.ms: Updated.
3832 2002-09-19 Werner LEMBERG <wl@gnu.org>
3834 * src/roff/troff/env.cc (environent_switch, environment_copy):
3835 Emit glyph and fill color nodes to initialize colors properly.
3837 2002-09-17 Colin Watson <cjwatson@debian.org>
3839 * src/roff/troff/env.cc (environment::set_glyph_color,
3840 environment::set_fill_color): Fix typo which prevented \m[] work
3843 2002-09-17 Werner LEMBERG <wl@gnu.org>
3845 Add left and right italic correction to non-slanted PS fonts. This
3846 is an experimental feature to improve image rendering of grohtml.
3848 * font/devps/generate/Makefile (RFLAG): New variable, set to `-i 0'.
3849 ({T,H,C,P,N,BM,A,HN}{R,B}, ZD, S, ZDR): Use it.
3850 * font/devps/*: All non-slanted fonts regenerated.
3853 2002-09-16 Werner LEMBERG <wl@gnu.org>
3855 Add a site-specific font directory.
3857 * Makefile.in (localfontdir, legacyfontdir): New variables.
3858 (fontpath): Use them.
3859 (MDEFINES, uninstall_dirs): Updated.
3860 * Makefile.comm (.man.n): Add `LOCALFONTDIR' and `LEGACYFONTDIR'.
3861 Remove `FONTPATH' and `MACROPATH'.
3863 * src/roff/troff/troff.man, NEWS: Updated.
3864 * doc/groff.texinfo (Font Directories): New section.
3867 * src/devices/grodvi/grodvi.man, src/devices/grohtml/grohtml.man,
3868 src/devices/grolbp/grolbp.man, src/devices/grolj4/grolj4.man,
3869 src/preproc/grn/grn.man: Minor fixes.
3871 * src/devices/grohtml/post-html.cc (html_printer::do_tab_ts):
3872 Remove unused variable.
3874 2002-09-11 Werner LEMBERG <wl@gnu.org>
3876 * doc/groff.texinfo, man/groff_font.man: Clarify argument of \N.
3877 * man/groff_out.man: Fix documentation of 'N'.
3879 2002-09-09 Gaius Mulley <gaius@glam.ac.uk>
3881 * doc/Makefile.in (webpage.html): Depend on gnu.eps also.
3882 * src/roff/troff/env.cc (indent): Emit html tag only if break_flag is
3884 * src/devices/grohtml/post-html.cc (text_glob::is_br_ni): Removed.
3885 (text_glob::is_br, html_printer::lookahead_for_tables): Updated.
3886 (html_printer::do_tab_ts): Call `emit_table_header' with `FALSE'.
3887 * src/devices/grohtml/html-text.cc (html_text::start_tag) <P_TAG,
3888 PRE_TAG>: Call `begin' with `FALSE'.
3890 2002-09-09 Ralph Corderoy <ralph@inputplus.demon.co.uk>
3892 * src/libs/libgroff/string.cc (string::extract): Fix position of
3893 terminating null byte.
3895 2002-09-08 Werner LEMBERG <wl@gnu.org>
3897 Add global option `nospaces' to tbl so that leading and trailing
3898 spaces in data items are ignored.
3900 * src/libs/libgroff/string.cc (string::remove_spaces): New member
3901 function to remove leading and trailing spaces.
3902 * src/include/stringclass.h: Updated.
3904 * src/preproc/tbl/table.h (table): Add flag `NOSPACES'.
3906 * src/preproc/tbl/main.cc (process_options): Handle `nospaces'
3908 Fix typo in error messages.
3909 (process_data): Implement `nospaces' option.
3910 * src/preproc/tbl/tbl.man, NEWS, doc/webpage.ms: Updated.
3912 2002-09-07 Werner LEMBERG <wl@gnu.org>
3914 * src/include/config.hin: Add `HAVE_ISATTY'.
3915 * src/libs/libgroff/tmpfile.cc (xtmpfile_list): Drop `const' for
3917 * src/libs/libgroff/tmpname.cc: Include `time.h'.
3918 * src/libs/libdriver/input.cc (Char): Add `operator==' and
3919 `operator!=' for `char'.
3920 * doc/groff.texinfo: Replace @ifnottex block for top node with
3923 2002-09-06 Werner LEMBERG <wl@gnu.org>
3925 * doc/Makefile.in (.texinfo.html): Add -I switch.
3926 * doc/groff.texinfo: Add @ifnottex block for top node to make
3927 translation to HTML work.
3929 2002-09-05 Gaius Mulley <gaius@glam.ac.uk>
3931 * src/preproc/html/pre-html.cc (LETTER_LENGTH): Removed.
3932 (get_papersize, determine_vertical_offset): Removed.
3933 (char_buffer::do_image): Always specify letter size.
3935 (imageList::createPage): Use -dDEVICEHEIGHTPOINTS instead of
3938 2002-09-05 Werner LEMBERG <wl@gnu.org>
3940 * doc/groff.texinfo, tmac/groff_man.man: Improve documentation of
3941 default indentation.
3943 2002-09-04 Gaius Mulley <gaius@glam.ac.uk>
3945 * src/preproc/html/pre-html.cc (imageList::createPage): Use
3947 (generateImages): Clean up push-back buffer.
3949 2002-09-04 Ralph Corderoy <ralph@inputplus.demon.co.uk>
3951 * doc/groff.texinfo: Minor fixes.
3953 2002-08-21 Gaius Mulley <gaius@glam.ac.uk>
3955 * src/preproc/html/pre-html.cc (DEFAULT_LINE_LENGTH): New macro.
3956 (MAX_WIDTH, A4_LENGTH, A4_OFFSET, LETTER_OFFSET): Removed.
3958 (determine_vertical_offset): Use LETTER_LENGTH.
3959 (createPage): Moved to ...
3960 (imageList::createPage): This.
3961 Call gs with -dDEVICEWIDTHPOINTS to avoid cropping.
3962 (imageList::getMaxX): New function.
3963 (createImage): Moved to ...
3964 (imageList::createImage): This.
3965 (imageList::createImages): New function.
3966 (generateImages): Read `maxx' directly.
3968 (scanArguments): Don't specify `gsPaper' for `-o'.
3969 (makeTempFiles): Call `xtmpfile' with the last argument set to
3972 2002-08-24 Werner LEMBERG <wl@gnu.org>
3974 * src/include/nonposix.h (mkdir, WAIT, creat) [_MSC_VER]: Define.
3975 (WAIT, _WAIT_CHILD) [!_MSC_VER]: Define.
3976 * src/preproc/html/pre-html.cc (waitForChild): Use WAIT.
3977 * src/preproc/html/pushback.cc: Include nonposix.h.
3978 * src/roff/groff/pipeline.c: Define strcasecmp and strncasecmp
3981 2002-08-23 Werner LEMBERG <wl@gnu.org>
3983 Use $(OBJEXT) for the object file extension.
3985 * Makefile.comm (.SUFFIXES): Add .obj.
3986 (.cc.obj, .c.obj): New implicit rules.
3987 * Makefile.in (OBJEXT): New variable, initialized from autoconf.
3988 (MDEFINES): Add EXEEXT and OBJEXT.
3989 * */Makefile.sub: s/.o/.$(OBJEXT)/.
3991 2002-08-22 Werner LEMBERG <wl@gnu.org>
3993 * INSTALL: Mention texinfo 4.2 as a prerequisite.
3995 2002-08-21 Gaius Mulley <gaius@glam.ac.uk>
3997 * src/devices/grohtml/post-html.cc (colType): Make enum global to
3999 (html_printer::update_min_max, html_printer::add_table_end): New
4001 (html_printer::lookahead_for_tables): Use them.
4002 Reset page offset correctly.
4003 (html_printer::~html_printer): Add creation of creator comment up.
4005 2002-08-20 Werner LEMBERG <wl@gnu.org>
4007 * tmac/an-old.tmac (T&): New dummy macro to avoid warning.
4008 * man/groff_tmac.man: Fix typos.
4009 * man/groff_font.man: Minor reordering.
4010 * contrib/eqn2graph/eqn2graph.man (Tp): New macro.
4012 2002-08-18 Gaius Mulley <gaius@glam.ac.uk>
4014 Avoid endless loops while scanning for tables.
4016 * src/devices/grohtml/post-html.cc (list::insert): Set
4018 (html_printer::next_horiz_pos): Add `text_glob' argument; update
4020 Return immediately if that argument is NULL.
4021 (html_printer::calc_nf): Don't test if `g' is NULL.
4022 (html_printer::lookahead_for_tables): Use
4023 `glyphs.move_right_get_data'.
4024 Don't test if `g' is NULL.
4026 2002-08-18 Gaius Mulley <gaius@glam.ac.uk>
4028 A better fix, replacing fix 2002-08-15, for increasing SIZE.
4030 * src/devices/grohtml/post-html.cc (char_block): Make `buffer'
4032 (char_block::char_block): Allocate `buffer'.
4033 (char_buffer::add_string): Use it.
4035 2002-08-15 Werner LEMBERG <wl@gnu.org>
4037 * src/devices/grops/grops.man, src/devices/grolj4/grolj4.man,
4038 src/devices/grodvi/grodvi.man: Document default line thickness.
4040 2002-08-15 Gaius Mulley <gaius@glam.ac.uk>
4042 * src/devices/grohtml/post-html.cc (char_block): Increase SIZE to
4045 2002-08-14 Werner LEMBERG <wl@gnu.org>
4047 * doc/webpage.ms: Updated.
4049 2002-08-09 Werner LEMBERG <wl@gnu.org>
4051 * src/roff/troff/node.cc (node::add_char): Call `freeze_space' for
4054 2002-08-08 Aaron Campbell <aaron@monkey.org>
4056 * src/preproc/pic/object.cc (object_spec::make_move): Fix typo
4059 2002-08-08 Werner LEMBERG <wl@gnu.org>
4061 * src/roff/troff/input.cc (read_rgb, read_cmy, read_cmyk): Call
4064 Don't push back a space but a newline onto the stack.
4066 2002-08-07 Gaius Mulley <gaius@glam.ac.uk>
4068 Add fonts `CI', `CB', and `CBI' to grohtml which have been omitted
4071 * src/devices/grohtml/post-html.cc (html_printer::end_font,
4072 html_printer::start_font): Handle them.
4073 * src/devices/grohtml/html-text.cc (html_text::do_italic): Don't
4075 (html_text::do_bold): Don't reset italic and tt.
4076 (html_text::do_tt, html_text::do_pre): Don't reset bold and italic.
4077 * font/devhtml/DESC.proto: Add those fonts.
4078 * font/devhtml/Makefile.sub (PROTOFONTS): Updated.
4080 2002-08-07 Werner LEMBERG <wl@gnu.org>
4082 * MORE.STUFF: Added gpresent.
4084 * tmac/trace.tmac: Show nesting level by a corresponding amount of
4085 whitespace before printing the logging message.
4087 2002-07-31 Colin Watson <cjwatson@debian.org>
4089 * src/devices/grohtml/html-table.cc (html_table::finish_row):
4090 Initialize `n' to zero. This fixes a segfault on ARM.
4092 2002-07-30 Werner LEMBERG <wl@gnu.org>
4094 * doc/grnexmpl.me: Remove calls to .st and .sc which are undefined.
4096 2002-07-29 Werner LEMBERG <wl@gnu.org>
4098 * src/preproc/pic/pic.y (print_arg, relative_path): Add missing
4101 2002-07-28 Colin Watson <cjwatson@debian.org>
4103 * src/devices/grohtml/post-html (html_printer::troff_tag): Handle
4105 (html_printer::html_printer): Initialize `pointsize'.
4107 2002-07-26 Werner LEMBERG <wl@gnu.org>
4109 * doc/Makefile.sub (PROCESSEDEXAMPLEFILES): Remove gnu.eps and
4111 (CLEANNOTSRCDIRADD): Add gnu.eps and gnu.png.
4112 (gnu.eps): Add -rle switch to pnmtops.
4113 (distfiles): Add gnu.eps and gnu.png.
4115 2002-07-25 Petter Reinholdtsen <pere@hungry.com>
4117 * src/libs/libdriver/input.cc (Char): Add const to `operator=='.
4120 2002-07-24 Werner LEMBERG <wl@gnu.org>
4122 * doc/Makefile.in, doc/Makefile.sub (groff_bin_path): Don't use
4123 ' \+' but ' *' for sed.
4124 (GROFF): Set GROFF_COMMAND_PREFIX to empty value.
4126 2002-07-23 Werner LEMBERG <wl@gnu.org>
4128 * doc/groff.texinfo: Document `papersize' keyword.
4129 * NEWS, man/groff_font.man: Updated.
4131 2002-07-23 Colin Watson <cjwatson@debian.org>
4133 Extend papersize keyword to accept more than a single entry. The
4134 first valid will be used.
4136 * src/libs/libgroff/font.cc (font::load_desc): Implement it.
4137 (font::scan_papersize): Really skip final newline.
4138 * src/preproc/html/pre-html.cc (get_papersize): Ditto.
4140 2002-07-23 Werner LEMBERG <wl@gnu.org>
4142 * configure.ac: Test for isatty.
4143 * configure: Regenerated.
4144 * src/include/posix.h: Check HAVE_ISATTY.
4145 * src/roff/troff/input.cc [ISATTY_MISSING]: Removed.
4146 * src/utils/lookbib/lookbib.cc: Include posix.h.
4147 Don't declare isatty.
4149 2002-07-21 Werner LEMBERG <wl@gnu.org>
4151 * NEWS: Add `output' request.
4153 * REVISION: Increased to 1.
4155 Version 1.18.0 released
4156 =======================
4158 2002-07-19 Gaius Mulley <gaius@glam.ac.uk>
4160 Allow internal glyph indices > 0xFF in grohtml for input characters.
4162 * src/devices/grohtml/post-html.cc (to_unicode): Use `unsigned int'
4164 (html_printer::add_to_sbuf): Use `unsigned int' as first parameter.
4165 Updated all callers.
4166 (html_printer::sbuf_continuation, html_printer::overstrike): Ditto.
4167 (html_printer): Updated.
4169 2002-07-19 Werner LEMBERG <wl@gnu.org>
4171 * font/devhtml/R.proto: Updated to HTML 4, adding many glyphs.
4172 * font/devutf8/R.proto: Adding some missing glyphs.
4173 * font/devutf8/NOTES: Updated.
4175 * tmac/dvi.tmac: Add more composite glyphs.
4176 * tmac/html.tmac: Updated.
4178 * man/groff_char.man: Add `sum' and `product' entities.
4182 2002-07-18 Gaius Mulley <gaius@glam.ac.uk>
4184 Improved table, tab, and indenting support.
4186 * src/roff/troff/input.cc (file_iterator::suppress_newline_flag,
4187 string_iterator::suppress_newline_flag): Removed. Updated all
4188 function which have used it.
4190 * src/roff/troff/env.cc: Include `input.h'.
4191 (environment::add_node): Accept 0 as parameter.
4192 (environment::add_html_tag): Add `force' parameter.
4193 Updated all callers.
4194 (environment::add_html_tag_tabs): Ditto.
4195 For the moment, support left-aligned tabs only.
4196 (environment::make_html_tag): New function.
4197 (fill, no_fill): Set .br html tag additionally.
4198 (environment::newline): Emit `eol.ce' or `eol' tag for html.
4199 (environment::add_html_tag_eol): Removed.
4200 (tab_stops::distance_to_next_tab): Add variant for handling
4202 (environment::distance_to_next_tab): Ditto.
4203 Updated all callers.
4204 (environment::handle_tab): Handle tabs for html.
4206 * src/roff/troff/env.h: Updated.
4208 * src/roff/troff/div.cc: Updated all callers of
4209 `environment::add_html_tag'.
4211 * src/devices/grohtml/html-table.cc,
4212 src/devices/grohtml/html-table.h: New files.
4214 * src/devices/grohtml/html-text.cc (html_text): New members
4215 `blank_para' and `start_space'.
4216 (html_text::issue_tag): Don't emit TABLE_TAG.
4217 Handle indentation for PRE_TAG and P_TAG.
4218 (html_text::end_tag): Updated.
4219 (html_text::table_is_void, html_text::issue_table_begin,
4220 html_text::issue_table_end): Removed.
4221 (html_text::do_push): Simplified.
4222 [DEBUGGING]: Small fix.
4223 (html_text::push_para): Add new parameter for indentation; updated
4226 (html_text::do_indent, html_text::do_table, html_text::done_table,
4227 html_text::is_in_table): Removed.
4228 (html_text::do_pre): Handle P_TAG also.
4229 (html_text::shutdown): Handle p->indent.
4230 (html_text::check_emit_text): Simplified.
4231 (html_text::do_emittext): Reset `blank_para'.
4232 (html_text::do_para): Add new parameter for indentation; updated
4234 (html_text::remove_indent): New function.
4235 (html_text::do_space): Handle verbatim text properly.
4236 (html_text::ever_emitted_text, html_text::starts_with_space,
4237 html_text::remove_para_align): New functions.
4238 (html_text::dump_stack_element, html_text::dump_stack): Updated.
4240 * src/devices/grohtml/html_text.h (HTML_TAG): Remove TABLE_TAG.
4243 * src/devices/grohtml/post-html.cc: Include html-table.h.
4244 (INDENTATION): Removed.
4245 (text_glob): Added many `is_<foo>' functions.
4246 Added table description `tab'.
4247 Added `get_arg',`get_tab_args', `remember_table', and `get_table'
4249 (list): Add `insert' and `move_to' member functions.
4250 (page): Add `insert_tag' member function.
4251 (page::dump_page) [DEBUG_TABLES]: Improved.
4252 (html_printer): Add `table' and `max_linelength' elements.
4253 Add many `do_<foo>', `insert_<foo>', `next_horiz_pos',
4254 `lookahead_for_tables', `shutdown_table', `calc_nf', `calc_po_in',
4255 `remove_tabs', `remove_courier_tabs'.
4256 (html_printer::emit_raw): Handle indentation.
4257 (html_printer::do_center, html_printer::write_header): Updated.
4258 (html_printer::is_courier_until_eol): Check for tag.
4259 (html_printer::do_linelength): Handle max_linelength.
4260 (html_printer::do_page_offset, html_printer::do_indentation): Handle
4262 (html_printer::do_tempindent): Updated.
4263 (html_printer::do_indentedparagraph): Removed.
4264 (html_printer::do_indent): Simplified.
4265 (html_printer::do_eol): Use `ever_emitted_text'.
4266 (html_printer::do_flush, html_printer::do_links): Don't call
4268 (html_printer::do_break): Handle end_tempindent.
4269 (html_printer::troff_tag): Get argument.
4271 Handle `.tab-ts', `.tab-te', `.col', `tab', and `tab0' tags.
4272 (html_printer::flush_page): Call `lookahead_for_tables'.
4273 Don't call `done_table'.
4274 (html_printer::add_to_sbuf): Always call do_indent.
4276 * src/devices/grohtml/Makefile.sub: Updated.
4278 * tmac/an-old.tmac (TP): Don't handle html device specially.
4279 (an-do-tag-html): New function which will be used instead of
4280 `an-do-tag' if html device is used.
4282 * tmac/html.tmac: Call .po to pass default page offset to grohtml.
4284 * tmac/s.tmac (@IP): Don't handle html device specially.
4285 (@IP-html): New function which will be used instead of `@IP' if
4286 html device is used.
4288 * tmac/www.tmac (HTML-NS, HTML-TAG-NS): New auxiliary macros -- this
4289 is a hack which will eventually vanish again.
4290 (PIMG): Handle `-C' option correctly if not html.
4293 2002-07-17 Werner LEMBERG <wl@gnu.org>
4295 * src/utils/afmtodit/afmtodit.pl: Don't use `-P-' for invoking perl.
4297 2002-07-14 Eric S. Raymond <esr@thyrsus.com>
4299 * contrib/pic2graph/pic2graph.*: Use convert(1).
4300 * contrib/eqn2graph/eqn2graph.*: Minor fixes.
4302 2002-07-14 Bernd Warken <bwarken@mayn.de>
4304 * tmac/groff_trace.man: New file.
4305 * tmac/Makefile.sub: Updated.
4308 2002-07-13 Werner LEMBERG <wl@gnu.org>
4310 * src/roff/groff/groff.man: Add some cross references.
4312 2002-07-12 Werner LEMBERG <wl@gnu.org>
4314 * src/roff/troff/input.cc (substring_request): Add warnings for
4315 string indices out of range.
4317 2002-07-11 Werner LEMBERG <wl@gnu.org>
4319 * font/devdvi/generate/ec.map: Fix typo (`(l' -> `/l').
4320 * font/devdvi/*EC: Regenerated.
4322 2002-07-10 Bernd Warken <bwarken@mayn.de>
4324 * man/groff_char.man: Updated and extended.
4326 2002-07-10 Werner LEMBERG <wl@gnu.org>
4328 * src/roff/troff/input.cc (length_macro): Renamed to...
4329 (length_request): This.
4330 Move call of `tok.next()' to the very end, otherwise the register
4331 value hasn't been updated yet.
4332 (init_input_requests): Updated.
4334 2002-07-09 Werner LEMBERG <wl@gnu.org>
4336 * src/roff/troff/input.cc (substring_macro): Renamed to...
4337 (substring_request): This.
4338 (init_input_requests): Updated.
4339 * src/roff/troff/request.h: Updated.
4341 2002-07-08 Robert D. Goulding <goulding@Princeton.EDU>
4343 * src/roff/grog/grog.sh: Fix typo.
4345 2002-07-08 Werner LEMBERG <wl@gnu.org>
4347 * win32-diffs: Updated.
4349 Handle `papersize' keyword properly in DESC.
4351 * src/libs/libgroff/font.cc (font::scan_papersize): Fix argument
4353 Updated all callers.
4354 * src/libs/libgroff/paper.cc: Add four more paper formats used by
4356 * src/include/paper.h: Updated.
4358 * src/devices/grolbp/lbp.cc: Remove unnecessary semicolons.
4359 Other minor C syntax fixes.
4360 (papersize, paperlength, paperwidth): Renamed to `user_*'.
4361 (lbp_printer): Add `papersize', `paperlength', and `paperwidth'
4363 (lbp_printer::lbp_printer): Pass three arguments.
4364 Set paper dimensions properly.
4365 (make_printer, main): Updated.
4366 (handle_unknown_desc_command): Fix error messages.
4367 (main): Handle papersize keyword in DESC properly.
4369 * src/devices/grolj4/lj4.cc (paper_size): Renamed to
4371 (lbp_printer::lbp_printer): Pass an argument.
4372 Set paper_size properly.
4373 (handle_unknown_desc_command): Removed.
4374 (make_printer, main): Updated.
4375 * src/devices/grolj4/grolj4.man: Minor documentation fix.
4377 * man/groff_font.man, NEWS: Updated.
4379 2002-07-07 Werner LEMBERG <wl@gnu.org>
4381 Integrated eqn2graph, contributed by Eric S. Raymond.
4383 * contrib/eqn2graph/{Makefile.sub, eqn2graph.sh, eqn2graph.man}: New
4385 * Makefile.in, NEWS: Updated.
4387 2002-06-04 Werner LEMBERG <wl@gnu.org>
4389 Changing the substring request to make it fit better with other
4390 string manipulation functions in other programming languages:
4391 Index 0 is now the first character in the string, and index -1
4392 indicates the last character. Since this request didn't work
4393 properly anyway in the last release, it doesn't harm too much to
4396 * src/roff/troff/input.cc (substring_macro): Use loops to get
4397 the real string length (ignoring COMPATIBLE_SAVE and
4398 COMPATIBLE_RESTORE) and offsets.
4399 Implement change described above.
4401 * man/groff_char.man, tmac/doc-common (doc-header), tmac/doc.tmac
4402 (doc-do-Bd-args, doc-do-Bl-args): Changed accordingly.
4404 * NEWS, doc/groff.texinfo, man/groff_diff.man: Updated.
4406 2002-06-03 Werner LEMBERG <wl@gnu.org>
4408 Make .chop work with .de1 and friends. COMPATIBLE_SAVE and
4409 COMPATIBLE_RESTORE are completely ignored.
4411 * src/roff/troff/input.cc (char_list::set, char_list::get): New
4413 (macro): `length' field renamed to `len'.
4414 Added new field `empty_macro' (1 if macro is empty), to be used
4415 instead of checking `len'.
4416 Updated all callers.
4417 (macro::empty): Updated.
4418 (macro::length, macro::set, macro::get): New functions.
4419 (macro::append): Ignore COMPATIBLE_SAVE and COMPATIBLE_RESTORE.
4421 (chop_macro): Check and remove trailing COMPATIBLE_SAVE/
4422 COMPATIBLE_RESTORE pairs.
4423 (asciify): Ignore COMPATIBLE_SAVE and COMPATIBLE_RESTORE.
4424 * src/roff/troff/request.h: Updated.
4426 * doc/groff.texinfo: Document .chop's behaviour better.
4428 2002-06-02 Werner LEMBERG <wl@gnu.org>
4430 * doc/pic.ms: Fix documentation for the addition of positions.
4432 * tmac/doc.tmac, tmac/an-old.tmac: Need groff version 1.18.
4434 2002-06-29 Werner LEMBERG <wl@gnu.org>
4436 Implementation of string arguments of the form \*[foo arg1 arg2 ...]
4438 * src/roff/troff/input.cc (have_string_arg): New global variable.
4439 (read_mode): New enumeration.
4440 (read_escape_name): Use it. Update all calls.
4441 (read_long_escape_name): Use it. Update all calls.
4442 Set have_string_arg if appropriate.
4443 (get_char_for_escape_name): Add parameter for handling space
4445 (interpolate_string_with_args, decode_string_args): New functions.
4446 (get_copy, token::next): Call it if necessary.
4447 (interpolate_string): Fix error message.
4449 * NEWS, doc/groff.texinfo, man/groff.man, man/groff_diff.man:
4452 2002-06-24 Bernd Warken <bwarken@mayn.de>
4454 * man/groff_tmac.man: Updated and extended.
4456 2002-06-24 Werner LEMBERG <wl@gnu.org>
4458 * doc/pic.ms, src/preproc/pic/pic.man: Fix description of `:='.
4460 2002-06-23 Werner LEMBERG <wl@gnu.org>
4462 * doc/pic.ms: Improve documentation of composite block objects.
4464 2002-06-22 Werner LEMBERG <wl@gnu.org>
4466 * src/roff/troff/input.cc (init_registers): Add three registers
4467 `seconds', `minutes', and `hours' to hold the current time.
4469 * NEWS, doc/groff.texinfo, man/groff.man, man/groff_diff.man:
4472 2002-06-20 Werner LEMBERG <wl@gnu.org>
4474 Make \X accept both `\ ' and `\~', converting them to single space
4477 * src/roff/troff/token.h (token): Add TOKEN_UNSTRETCHABLE_SPACE.
4478 (token::unstretchable_space): New inline function.
4479 * src/roff/troff/input.cc (token::next, token::delimiter,
4480 token::description, token::add_to_node_list, token::process): Handle
4481 TOKEN_UNSTRETCHABLE_NODE.
4482 (encode_char): Handle tok.stretchable_space and
4483 tok.unstretchable_space.
4485 * NEWS, doc/groff.texinfo: Document it..
4487 2002-06-19 Werner LEMBERG <wl@gnu.org>
4489 * src/devices/grops/ps.cc (ps_printer::special): Fix error message.
4491 * src/devices/grotty/tty.cc (tty_printer::special): Add `sgr'
4492 keyword to enable/disable SGR output.
4493 (tty_printer::change_fill_color): New function.
4494 * NEWS, src/devices/grotty/grotty.man: Document `sgr' special.
4496 * src/roff/troff/input.cc (output_request): Add missing `tok.next()'
4499 2002-06-18 Werner LEMBERG <wl@gnu.org>
4501 Add a `color' request and a `.color' register to control usage of
4504 * src/roff/troff/input.cc (disable_color_flag): Replaced with...
4505 (color_flag): This (which is the inverse).
4506 (activate_color): New function.
4507 (main, init_input_requests): Updated.
4508 * src/roff/troff/troff.h, src/roff/troff/node.cc
4509 (troff_output_file::fill_color, troff_output_file::glyph_color):
4512 * NEWS, doc/groff.texinfo, man/groff_diff.man, man/groff.man:
4513 Document the changes.
4515 2002-06-17 Colin Watson <cjwatson@debian.org>
4517 Circumvent bug in autoconf 2.53 regarding top_builddir.
4519 * aclocal.m4 (GROFF_BUILDDIR): s/top_builddir/groff_top_builddir/.
4520 * Makefile.in, doc/Makefile.in:
4521 s/@top_builddir@/@groff_top_builddir@/.
4522 * configure: Regenerated (with autoconf 2.53).
4524 2002-06-17 Werner LEMBERG <wl@gnu.org>
4526 * src/libs/libgroff/font.cc (font::load_desc): Fix computation of
4527 `paperwidth' and `paperlength' for the `papersize' keyword.
4529 2002-06-16 P. Alejandro Lopez-Valencia <dradul@007mundo.com>
4531 * src/devices/grops/grops.man: Add info about Type 42 fonts.
4533 2002-06-15 Gaius Mulley <gaius@glam.ac.uk>
4535 * src/devices/grohtml/post-html.cc (html_printer::emit_raw,
4536 html_printer::do_linelength, html_printer::do_pageoffset,
4537 html_printer::do_indentation, html_printer::do_tempindent,
4538 html_printer::do_break, html_printer::begin_page): Clear indented
4540 * tmac/html.tmac: Disable hyphenation.
4542 2002-06-15 Werner LEMBERG <wl@gnu.org>
4544 Don't produce HTML files if utility programs are missing.
4546 * Makefile.in (make_html, make_install_html): New variables.
4547 (MDEFINES): Updated.
4549 * aclocal.m4 (GROFF_HTML_PROGRAMS): New function to test for HTML
4551 * configure.ac: Use it.
4552 * configure: Regenerated.
4554 * doc/Makefile.sub (PROCESSEDEXAMPLEFILES): Move webpage.html to...
4555 (HTMLEXAMPLESFILES): This new variable.
4556 (EXAMPLESIMAGEFILES): Renamed to...
4557 (HTMLEXAMPLEIMAGEFILES): This.
4558 (CLEANADD): Add HTMLEXAMPLEFILES.
4559 (all): Use `make_html'.
4561 (install_data): Use `make_install_html'.
4562 Move html stuff to...
4563 (install_html): This new target.
4564 (uninstall_sub): Updated.
4566 2002-06-14 Bernd Warken <bwarken@mayn.de>
4568 * src/roff/grog/Makefile.sub (grog): Renamed to...
4570 (grog): New rule to always install grog.sh as grog.
4572 2002-06-08 Bernd Warken <bwarken@mayn.de>
4574 * src/roff/grog/grog.pl: Fix typo.
4576 2002-06-07 Werner LEMBERG <wl@gnu.org>
4578 * doc/groff.texinfo: Add more info on .tr arguments.
4580 2002-06-05 Werner LEMBERG <wl@gnu.org>
4582 * NEWS, src/roff/grog/grog.man, doc/groff.texinfo: Updated.
4584 * aclocal.m4 (GROFF_MKSTEMP): Include unistd.h.
4585 * configure: Regenerated.
4587 2002-06-05 Ralph Corderoy <ralph@inputplus.demon.co.uk>
4589 * src/roff/troff/symbol.cc (table_sizes): Add more values.
4591 * src/roff/grog/grog.pl, src/roff/grog/grog.sh: Recognize mom.
4593 2002-06-04 Werner LEMBERG <wl@gnu.org>
4595 * aclocal.m4 (GROFF_PAGE): Don't use `prefix' directly since it
4596 is not initialized at the time we need it in case `--prefix' hasn't
4597 been set. Check for `ac_default_prefix' also.
4598 Test for `papersize' keyword also and generalize allowed whitespace.
4599 * configure: Regenerated.
4601 * font/devps/Makefile.sub (DESC): Use `papersize' instead of
4604 * src/libs/libgroff/Makefile.sub (version, revision): Replaced
4606 (src_version, src_revision): New variables to avoid overwriting
4607 from parent make process.
4608 (version.cc): Updated.
4610 * src/preproc/html/pre-html.cc: Include paper.h and font.h.
4611 (linebuf, linebufsize): New global variables.
4612 (sys_fatal): Use `fatal' to abort properly.
4613 (get_line): New function.
4614 (get_resolution): Use it.
4615 Improve error messages.
4616 (get_papersize): Check `papersize' also.
4618 Improve error messages.
4620 2002-06-03 Werner LEMBERG <wl@gnu.org>
4622 * Makefile.comm (CLEANNOTSRCDIRADD): New target for files which
4623 should be removed only if builddir is not srcdir.
4624 (mostlyclean): Handle `CLEANNOTSRCDIRADD'.
4625 (clean): Depend on `mostlyclean'.
4626 (distclean): Depend on `clean'.
4627 (realclean, extraclean): Depend on `distclean'.
4628 (.y.cc, .y.o): Simplified. The output files are no longer written
4629 to srcdir but to builddir.
4630 * Makefile.in (MDEFINES): Add `version' and `revision'.
4631 (uninstall_dirs): Fix order of directories.
4632 * doc/Makefile.sub (version, revision): Removed.
4633 (CLEANADD): Removed grnexmpl.g, groff, groff-*.
4634 Added `HTMLDOCFILES'.
4635 (CLEANNOTSRCDIRADD): New target for grnexmpl.h, groff, groff-*.
4636 * src/preproc/eqn/Makefile.sub, src/preproc/pic/Makefile.sub,
4637 src/preproc/refer/Makefile.sub (YTABC, YTABH): Don't use `srcdir'
4640 * doc/texinfo.tex (\authortt): New macro.
4641 (\shortcontt): Define.
4642 (\titlepage): Set \tt to \authortt while defining \authorfont.
4643 (\appendixbox): New macro.
4644 (\chapmacro, \appendixentry): Use \appendixbox to get even
4645 indentation for letters.
4646 (\summarycontents): Set \tt.
4647 (\internalpagesize): Add two arguments for real paper width and
4648 height as needed by pdfTeX.
4649 (\letterpaper, \smallbook, \afourpaper, \afivepaper, \afourlatex):
4651 (\tempdima, \tempdimb): New temporary dimensions.
4652 (\pagesizesyyy): Updated.
4654 2002-06-02 Werner LEMBERG <wl@gnu.org>
4656 Adding a new keyword `papersize' to the DESC file format (similar
4657 but not completely identical to grolbp's extension). grops now has
4658 a -p command line option to override `papersize'. Finally, grolbp
4659 has been adapted to the new syntax.
4661 * src/libs/libgroff/paper.cc, src/include/paper.h: New files. It
4662 defines and initializes the `papersizes[]' array with NUM_PAPERSIZES
4664 * src/libs/libgroff/Makefile.sub (OBJS): Add `paper.o'.
4665 (CCSRCS): Add `paper.cc'.
4667 * src/include/font.h (font): Add `papersize' element.
4668 * src/libs/libgroff/font.cc (font::unit_scale): New helper function.
4669 (font::scan_papersize): New function.
4670 (font::load_desc): Use it for handling `papersize' keyword.
4671 * src/libs/libgroff/fontfile.cc: Initialize `font::papersize'.
4673 * src/devices/grops/ps.cc: Include paper.h.
4674 (user_paper_length): New global variable.
4675 (ps_printer): Use paper length as initializer.
4676 (make_printer): Updated.
4677 (main): Handle new `-p' option.
4678 * src/devices/grops/grops.man: Updated.
4680 * src/devices/grolbp/lbp.cc: Include paper.h.
4681 s/papersizes/lbp_papersizes/.
4682 (set_papersize): Use new `papersizes' array.
4683 (handle_unknown_desc_command): Don't handle `papersize'.
4684 (main): Use `font::scan_papersize' for handling `-p' option.
4685 * src/devices/grolbp/grolbp.man: Updated.
4687 * man/groff_font.man: Document `papersize'.
4690 2002-05-30 Werner LEMBERG <wl@gnu.org>
4692 * src/devices/grops/TODO: Updated.
4693 * src/devices/grops/grops.man: More info on paper formats.
4694 * man/groff_font.man: Document `paperheight' and `paperwidth'.
4696 2002-05-29 Werner LEMBERG <wl@gnu.org>
4698 * doc/Makefile.sub (CLEANADD): Add grnexmpl.g, groff, and groff-*
4699 to list only if srcdir != currdir.
4700 (distfiles): New target.
4702 * Makefile.in (EXTRADIRS): Add font/devlj4/generate.
4703 (NOMAKEDIRS): New variable.
4706 2002-05-26 Werner LEMBERG <wl@gnu.org>
4708 Add .output request, similar to \! at top-level.
4710 * src/roff/troff/input.cc (transparent): Remove unused declaration.
4711 (output_request): New function.
4712 (init_input_requests): Add it.
4714 * NEWS, doc/groff.texinfo, man/groff_diff.man, man/groff.man:
4717 * Makefile.in (MDEFINES): Add INSTALL_INFO.
4718 (prepare_examples): Fix typo.
4719 * doc/groff.texinfo (@direntry): Fix it.
4721 2002-05-25 Werner LEMBERG <wl@gnu.org>
4723 Including the doc subdir into groff's Makefile system.
4725 * aclocal.m4 (GROFF_INSTALL_INFO): New function.
4726 * configure.ac: Use it.
4727 Generate `doc/Makefile'.
4728 * configure: Regenerated.
4730 * Makefile.in (infodir, INSTALL_INFO): New variables.
4731 (MDEFINES, uninstall_dirs): Updated.
4732 (OTHERDIRS): Add `doc'.
4733 * Makefile.comm (CLEANDIRADD): New variable.
4734 (mostlyclean): Use it.
4736 * doc/Makefile.sub, doc/Makefile.in: New files.
4737 * doc/Makefile: Removed.
4739 * NEWS, INSTALL: Updated.
4741 2002-05-24 Werner LEMBERG <wl@gnu.org>
4743 * doc/homepage.ms: Renamed to ...
4744 * doc/webpage.ms: This.
4747 2002-05-23 Werner LEMBERG <wl@gnu.org>
4749 Integrating the `mom' macro package, contributed by Peter Schaffter
4752 * contrib/mom/*: New subdirectory tree.
4753 * Makefile.in (docdir, exampledir, htmldocdir): New variables to
4754 be used for documentation files.
4755 (MDEFINES, uninstall_dirs): Use them.
4756 (OTHERDIRS): Add contrib/mom.
4757 * Makefile.comm (.man.n): Add @DOCDIR@, @EXAMPLEDIR@, and
4759 * MANIFEST, NEWS: Updated.
4761 2002-05-22 Gaius Mulley <gaius@glam.ac.uk>
4763 Change syntax of \O: \O[0] suppresses output, \O[1] enables output
4764 if at outer level; at start-up we are at outer level.
4766 * src/roff/troff/input.cc (do_suppress): Implement it.
4769 Add option -p to show progress information.
4770 pre-grohtml will now render only one page at a time, reducing the
4771 size of needed disk resources enormously.
4773 * src/preproc/html/pre-html.cc (imagePageStem): Replaced with...
4774 (imagePageName): New global variable.
4775 (psPageName, show_progress, currentPageNo): New global variables.
4776 (html_system): Close saved stderr and stdout handles.
4777 (write_end_image): Accept a parameter to control \O escape.
4778 (write_start_image): Adapted to new \O meaning.
4779 (char_buffer::write_upto_newline): Updated.
4780 (createAllPages): Replaced with...
4781 (createPage): This new function to create a single page for images.
4782 It uses `psselect' from the psutils package.
4783 (removeAllPages): Removed.
4784 (createImage): Updated.
4785 Handle progress display.
4786 (char_buffer::do_html, char_buffer::do_image) [DEBUGGING]: Removed.
4787 (scanArguments): Add option -p.
4788 (makeTempFiles): Updated to create temp files for psPageName and
4790 (removeTempFiles): Removed.
4793 * src/devices/grohtml/post-html.cc (header_desc::write_headings,
4794 html_printer::write_header): Append `\0' to `buffer'.
4795 (html_printer::do_eol): Depend on `current_paragraph->emitted_text'.
4797 * src/devices/grohtml/html-text.cc (html_text::dump_stack_element):
4798 Handle `text_emitted'.
4799 (html_text::table_is_void): Slightly rewritten.
4800 (stop): New external symbol.
4801 (html_text::do_push) [DEBUGGING]: Use it and simplify.
4802 (html_text::shutdown): Call `dump_stack'.
4803 (html_text::do_space): Rewritten.
4804 * src/devices/grohtml/grohtml.man: Document -p and the need of
4807 * tmac/www.tmac (DC, HTML-DO-IMAGE, HTML-IMAGE-END): Updated to
4809 Call \O[0] if `ps4html' is active.
4810 * tmac/s.tmac (@EQ, @EN): Handle html better.
4812 * tmac/html.tmac: Don't use black for background colour.
4814 * src/roff/troff/node.cc: Include `div.h'.
4815 (troff_output_file::really_print_line): Don't use `is_on'.
4816 (troff_output_file::word_marker, troff_output_file::flush_tbuf
4817 troff_output_file::check_charinfo,
4818 troff_output_file::put_char_width, troff_output_file::put_char,
4819 troff_output_file::determine_line_limits, troff_output_file::draw,
4820 real_output_file::begin_page, glyph_color_node::tprintf,
4821 fill_color_node::tprint, hline_node::tprint, vline_node::tprint):
4823 (troff_output_file::really_on): Call `do_motion'.
4824 (suppress_node::tprint): Use `get_page_number' instead of `%'
4826 Call `reset_output_registers' conditionally on `is_on'.
4828 * doc/groff.texinfo: Document new syntax of \O.
4829 * NEWS, man/groff_diff.man: Updated.
4831 2002-05-22 Werner LEMBERG <wl@gnu.org>
4833 * MORE.STUFF: Add info about David Frey's deroff implementation.
4836 2002-05-16 Werner LEMBERG <wl@gnu.org>
4838 Pic's `with' attribute now accepts positions.
4840 * src/preproc/pic/pic.y: Make `.', BOX, CIRCLE, ELLIPSE, ARC, LINE,
4841 ARROW, SPLINE, and `[' left-associative tokens to fix shift/reduce
4843 (object_spec): Add rule for `WITH' and `position'.
4844 (relative_path): Give `corner' the precedence of `CHOP'.
4845 * src/preproc/pic/object.h (path): New members `pos' and
4847 * src/preproc/pic/object.cc: Updated initializers of `path'.
4848 (path::follow): Handle `is_position'.
4850 * doc/pic.ms: Completely updated grammar description.
4851 Many typographical improvements.
4853 2002-05-15 Werner LEMBERG <wl@gnu.org>
4855 * src/roff/troff/env.cc(hyphen_trie::hpf_getc): Accept ^^x (char
4856 code of x in range 0-127) also.
4857 * doc/groff.texinfo, man/groff_diff.man: Updated.
4859 Added keywords `north', `south', `east', and `west' for corners
4862 * src/preproc/pic/lex.cc (lookup_keyword): Add NORTH, SOUTH, EAST,
4864 (yylex): Handle them.
4865 * src/preproc/pic/pic.y: Add tokens NORTH, SOUTH, EAST, and WEST.
4866 (corner): Handle them.
4868 2002-05-14 Werner LEMBERG <wl@gnu.org>
4870 * src/devices/grops/grops.man: Clarify handling of `download' file.
4872 2002-05-11 Werner LEMBERG <wl@gnu.org>
4874 Adding `warnscale' and `spreadwarn' requests, based on a patch from
4875 Jeffrey Friedl <jfriedl@yahoo.com>.
4877 * src/roff/troff/input.cc (spread_limit, warn_scale,
4878 warn_scaling_indicator): New global variables.
4879 (warnscale_request, spreadwarn_requests): New functions.
4880 (main): Initialize `warn_scale' and `warn_scaling_indicator'.
4881 (init_input_requests): Updated.
4882 (error_type): Add `OUTPUT_WARNING'.
4883 (do_error): Handle it.
4884 (output_warning): New warning function which shows output location.
4885 * src/roff/troff/env.h (spread_limit): New external variable.
4886 * src/roff/troff/env.cc (environment::choose_breakpoint): Use
4888 (distribute_space): Emit warning if added space is larger than
4890 (environment::possibly_break_line): Emit warning if a line can't
4891 be adjusted on both sides.
4893 * doc/groff.texinfo, man/groff_diff.man, man/groff.man: Document it.
4895 2002-05-08 Werner LEMBERG <wl@gnu.org>
4897 * src/roff/troff/node.cc (special_node::special_node): Use
4898 env_definite_font(curenv) instead of curenv->get_font(). Otherwise
4899 \X''\% crashes, for example.
4901 * doc/groff.texinfo: Document \! and \? used at top-level.
4903 2002-05-06 Werner LEMBERG <wl@gnu.org>
4905 * src/preproc/pic/pic.man: Fix some keyword syntax.
4906 Other minor typographical fixes.
4908 * src/roff/groff/groff.man: Fix typos.
4910 2002-05-04 Werner LEMBERG <wl@gnu.org>
4912 * src/roff/groff/groff.man ([ShortOpt]): Renamed to...
4913 (ShortOpt[]): This to avoid problems with refer.
4915 * doc/pic.ms: Fix typo.
4916 Fix pic grammar description.
4918 * tmac/an-old.tmac (ne): Use de1, not de.
4920 2002-05-03 Werner LEMBERG <wl@gnu.org>
4922 * doc/groff.texinfo: Finished separation of glyphs and characters.
4923 Don't use the string `Appendix' for appendix headers (both in
4924 the text and the table of contents).
4925 * man/groff_tmac.man, src/roff/troff/troff.man: Fix order of tmac
4928 Use registers LL and LT (similar to -ms) for controlling the
4929 length of title and line, respectively, in the -man and -mdoc
4932 * tmac/doc-ditroff (doc-setup-page-layout), tmac/doc-nroff
4933 (doc-setup-page-layout): Use \n[LL] and \n[LT].
4934 * tmac/an-old.tmac: Set \n[LL] and \n[LT] if not defined.
4936 (an-header, an-p-footer): Use \n[LT].
4937 * NEWS, tmac/groff_man.man, tmac/groff_mdoc.man,
4938 doc/groff.texinfo: Document it.
4940 2002-05-02 Werner LEMBERG <wl@gnu.org>
4942 * doc/fdl.texi: New file.
4943 * doc/groff.texinfo: Include it.
4944 Define and use @copying.
4945 Starting with separating glyph, symbol, and character.
4947 2002-04-27 Werner LEMBERG <wl@gnu.org>
4949 * Makefile.in (EXEEXT): Set it.
4950 * src/*/Makefile.sub (PROG): Add $(EXEEXT) for all non-script
4953 * src/include/nonposix.h: Define GS_NAME.
4954 * src/preproc/html/pre-html.cc (createAllPages): Use GS_NAME.
4956 Some preliminary changes for EMX support under OS/2.
4958 * src/preproc/pic/main.cc (main), src/roff/groff/pipeline.c: Add
4959 __EMX__ similar to __MSDOS__.
4960 * src/utils/indxbib/indxbib.cc (main) [__EMX__]: Use `unlink'.
4962 2002-04-25 Werner LEMBERG <wl@gnu.org>
4964 * doc/groff.texinfo: Integrated groff_out.man.
4967 2002-04-23 Werner LEMBERG <wl@gnu.org>
4969 * man/groff_out.man: Minor fixes.
4971 2002-04-23 Werner LEMBERG <wl@gnu.org>
4973 * doc/groff.texinfo: Moving @cindex entries after @Def* to get
4974 correct page references.
4975 Fixed many index entries.
4977 2002-04-23 Bernd Warken <bwarken@mayn.de>
4979 * man/roff.man: Enlarged.
4981 2002-04-22 Werner LEMBERG <wl@gnu.org>
4983 * doc/groff.texinfo: More examples, other fixes.
4985 2002-04-20 Werner LEMBERG <wl@gnu.org>
4987 * src/roff/troff/input.cc (pipe_output): Multiple calls to `pi'
4988 will now form a chain, e.g.
4997 This is for compatibility with plan 9's troff.
4999 * tmac/tty.tmac: Set default tab values to 0.8i to be compatible
5003 * doc/groff.texinfo: Add documentation of remaining requests and
5006 2002-04-19 Werner LEMBERG <wl@gnu.org>
5008 * doc/groff.texinfo: Add documentation of remaining escapes.
5010 * font/devdvi/generate/tc.map: Remove entry for `sr'.
5011 * font/devdvi/*TC: Regenerated.
5013 2002-04-18 Werner LEMBERG <wl@gnu.org>
5015 * src/roff/troff/input.cc (token::next): Make \H behave consistently
5016 if not in compatibility mode, i.e., increment relative to the
5018 * doc/groff.texinfo: Updated accordingly.
5020 2002-04-17 Werner LEMBERG <wl@gnu.org>
5022 * doc/groff.texinfo: Document \\, \e, \E, \., and \c.
5024 2002-04-16 Bernd Warken <bwarken@mayn.de>
5026 * src/roff/groff/groff.man: Improve documentation of -P option.
5029 2002-04-15 Werner LEMBERG <wl@gnu.org>
5031 Add new escape \F to switch font family.
5033 * src/roff/troff/input.cc (token::next): Handle \F.
5034 * src/roff/troff/env.cc (environment::set_family): Handle
5036 * NEWS, doc/groff.texinfo, man/groff_diff.man, man/groff.man:
5039 2002-04-14 Werner LEMBERG <wl@gnu.org>
5041 * tmac/doc.tmac (doc-tag-list): Use \Z to avoid stretching of
5044 2002-04-13 Werner LEMBERG <wl@gnu.org>
5046 Implement \f[] as an alternative to \fP. Change \mP and \MP to
5047 \m[] and \M[], respectively.
5049 * src/roff/troff/symbol.cc (EMPTY_SYMBOL): New global variable.
5050 (symbol::symbol): Handle NULL string and empty string differently.
5051 * src/roff/troff/symbol.h (symbol::is_empty): New inline function.
5052 * src/roff/troff/input.cc (read_escape_name, read_long_escape_name):
5053 Add optional parameter.
5054 Updated calling functions.
5055 (get_copy, do_glyph_color, do_fill_color, token::next): Use
5057 * src/roff/troff/env.cc (environment::set_font): Ditto.
5059 * src/preproc/pic/troff.cc (troff_output::set_fill,
5060 troff_output::reset_color: Updated.
5062 * tmac/www.tmac: Updated.
5064 * NEWS, man/groff_diff.man, man/groff.man, doc/groff.texinfo,
5065 doc/homepage.ms, src/devices/grotty/grotty.man, tmac/groff_www.man:
5068 * tmac/Xps.tmac: Remove some redundant code.
5070 * tmac/doc-common, tmac/doc-ditroff, tmac/doc-nroff, tmac/doc.tmac,
5071 tmac/dvi.tmac, man/roff.man, man/groff_out.man, man/groff.man,
5072 man/groff_diff.man, src/roff/groff/groff.man: Replace \f[P] with
5075 2002-04-13 Bernd Warken <bwarken@mayn.de>
5077 * src/include/printer.h, src/libs/libdriver/printer.cc
5078 (printer::change_fill_color): New member function.
5079 * src/libs/libdriver/input.cc (parse_D_command): Use it.
5081 2002-04-12 Werner LEMBERG <wl@gnu.org>
5083 * doc/groff.texinfo: Completed pass on gtroff reference.
5085 2002-04-11 Werner LEMBERG <wl@gnu.org>
5087 * doc/groff.texinfo: More fixes.
5089 2002-04-11 Bernd Warken <bwarken@mayn.de>
5091 * src/include/color.h: Decorate with `const'.
5094 * src/libs/libgroff.color.cc: Decorate with `const'.
5096 (color::color): Initialize members.
5097 * src/libs/libdriver/input.cc (parse_D_command): Handle `f'
5098 command according to the documentation.
5100 * man/groff_out.man: Updated.
5103 2002-04-11 Gaius Mulley <gaius@glam.ac.uk>
5105 * src/preproc/html/pre-html.cc (write_start_image): Remove
5107 * tmac/www.tmac (DC, HTML-DO-IMAGE): Ditto.
5109 * src/devices/grohtml/post-html.cc (page::add_and_encode): Using
5110 \C'hy' caused an assertion failure.
5112 * src/roff/troff/env.cc (environment::environment): Initialize
5114 (environment::copy): Handle `ignore_next_eol' and `emitted_node'.
5116 2002-04-10 Werner LEMBERG <wl@gnu.org>
5118 * man/groff_diff.man, man/groff.man, NEWS, doc/groff.texinfo:
5119 Document pvs request and .pvs register.
5121 2002-04-09 Werner LEMBERG <wl@gnu.org>
5123 * doc/groff.texinfo: Improve and fix documentation of diversions
5126 2002-04-08 Werner LEMBERG <wl@gnu.org>
5128 * doc/groff.texinfo: Fix documentation of drawing functions.
5131 2002-04-07 Werner LEMBERG <wl@gnu.org>
5133 * doc/groff.texinfo: Better documentation of double quotes as
5137 2002-04-06 Werner LEMBERG <wl@gnu.org>
5139 * man/groff_font.man: Document names of special characters better.
5140 * doc/groff.texinfo: Minor improvements.
5142 * tmac/lbp.tmac: Load latin1.tmac.
5143 * tmac/X.tmac, tmac/Xps.tmac: Load latin1.tmac or cp1047.tmac.
5145 * font/devX*/*: Regenerated (all chars > 0x80 removed).
5147 2002-04-05 Werner LEMBERG <wl@gnu.org>
5149 * tmac/tty.tmac: Don't use shc request.
5150 * tmac/latin1.tmac, tmac/cp1047.tmac: Translate soft hyphen to `\%'.
5153 * man/groff_diff.man: Minor fixes.
5155 * font/devlbp/*: Remove all `charXXX' entities.
5157 * src/libs/libgroff/font.cc (font::~font): Deallocate
5158 `special_device_coding'.
5159 (font::load): Use `new' for allocating `special_device_coding'.
5160 * src/libs/libgroff/nametoindex.cc (character_indexer::lookup_char):
5161 Removed unused member.
5163 2002-04-05 Werner LEMBERG <wl@gnu.org>
5165 * src/drivers/grops/psrm.cc (skip_possible_newline): New function.
5166 (resource_manager::do_begin_binary,
5167 resource_manager::do_begin_data): Use it.
5169 * doc/texinfo.tex: Updated to version 4.2.
5171 * src/roff/troff/token.h: Add TOKEN_ZERO_WIDTH_BREAK for `\:'.
5172 (token::zero_width_break): New inline function.
5173 * src/roff/troff/input.cc (token::next): Use it.
5174 (token::description): Updated.
5175 (encode_char): Ignore `\%', `\&', `\)', and `\:'.
5176 (token::add_to_node_list, token::process): Use it.
5177 * NEWS, doc/groff.texinfo: Updated.
5179 * src/preproc/eqn/over.cc (over_box::output): Fix typo.
5180 * tmac/tty.tmac: Add missing backslash.
5182 2002-04-04 Tadziu Hoffmann <hoffmann@usm.uni-muenchen.de>
5184 * src/preproc/eqn/box.cc (set_script_size, box::top_level): Use
5185 `.ps' register instead of `.s' to handle fractional point sizes.
5186 * src/preproc/eqn/limit.cc (limit_box::compute_metrics,
5187 limit_box::output): Ditto.
5188 * src/preproc/eqn/other.cc (size_box::compute_metrics,
5189 size_box::output): Ditto.
5190 * src/preproc/eqn/over.cc (over_box::compute_metrics,
5191 over_box::output): Ditto.
5192 * src/preproc/eqn/script.cc (script_box::compute_metrics,
5193 script_box::output): Ditto.
5194 * src/preproc/eqn/sqrt.cc (sqrt_box::compute_metrics,
5195 sqrt_box::output): Ditto.
5197 2002-04-03 Michael Selway <mas@ssl.co.uk>
5199 * src/drivers/grops/psrm.cc (resource_manager::do_begin_binary):
5202 2002-04-03 Werner LEMBERG <wl@gnu.org>
5204 * doc/homepage.ms: Reduce title size.
5205 * doc/groff.texinfo: Fix documentation of .t register.
5206 Fix handling of colon.
5209 * src/roff/troff/input.cc (exit_troff): Emit LAST_PAGE_EJECTOR
5210 only if page length is positive to avoid a loop.
5212 * tmac/an-old.tmac (ne): Increase page length to avoid problems with
5215 2002-04-02 P. Alejandro Lopez-Valencia <dradul@yahoo.com>
5217 * src/include/nonposix.h, src/roff/groff/pipeline.c:
5218 s/__CYGWIN32__/__CYGWIN__/.
5220 2002-03-28 Gaius Mulley <gaius@glam.ac.uk>
5222 * doc/gnu.xpm: New image contributed by Emily Mulley.
5223 * doc/Makefile (gnu.eps, gnu.png): Use pnmdepth.
5224 (homepage.html): Be dependent on gnu.eps.
5225 * doc/homepage.ms: Updated to new image.
5227 * src/devices/grohtml/post-html.cc (html_printer): New member
5229 (html_printer::flush_sbuf, html_printer::set_char): Set it.
5230 (html_printer::sbuf_continuation): Use it.
5232 2002-03-28 Werner LEMBERG <wl@gnu.org>
5234 * src/libs/libgroff/getopt.c: Updated to latest version.
5236 * tmac/README: More on hyphen.tex license.
5238 2002-03-26 Larry Kollar <kollar@alltel.net>
5240 * doc/groff.texinfo: Add documentation of most missing requests.
5242 2002-03-25 Werner LEMBERG <wl@gnu.org>
5244 Add three glyphs `t+-', `tmu', and `tdi' which are textual variants
5245 of `+-', `mu', and `di', respectively.
5247 * font/devascii/R.proto, font/devutf8/R.proto,
5248 font/devlatin1/R.proto, font/devhtml/R.proto,
5249 font/devcp1047/R.proto, font/devlpb/*: Add them.
5250 * font/devps/generate/textmap: Ditto.
5251 * font/devps/*: Regenerated.
5252 * font/devlj4/generate/text.map: Add them.
5253 * font/devlj4/*: Regenerated.
5254 * font/devdvi/generate/tc.map: Use them.
5255 * font/devdvi/generate/texsy.map: Add them.
5256 * font/devdvi/*: Regenerated.
5257 * font/devX*/*: Regenerated.
5259 * tmac/latin1.tmac, tmac/cp1047.tmac, tmac/tty.tmac,
5260 tmac/tty-char.tmac: Updated.
5262 * NEWS, man/groff_char.man: Updated.
5264 2002-03-24 Werner LEMBERG <wl@gnu.org>
5266 * tmac/dvi.tmac, tmac/X.tmac, tmac/ps.tmac, tmac/html.tmac,
5267 tmac/lj4.tmac, tmac/tty.tmac: Replace most `.char' with `.fchar'.
5268 * tmac/ec.tmac: Remove `.rchar' calls (no longer necessary since
5269 we use `.fchar' in dvi.tmac.
5270 * tmac/dvi.tmac: Improve definition of \[Fo] and \[Fc].
5271 * tmac/Xps.tmac: Simplify some char definitions.
5272 Add definition for \[f/].
5273 * man/groff_char.man: Updated for new X.tmac.
5275 * tmac/README: New file.
5277 2002-03-23 Phil Lobbes <phil@perkpartners.com>
5279 * Makefile.comm (.y.o): New rule for make on Solaris 2.5.1 -- the
5280 internal .y.o rule took precendence over the .y.cc rule, compiling
5281 the yacc files with gcc instead of g++.
5283 2002-03-23 Werner LEMBERG <wl@gnu.org>
5285 * tmac/dvi.tmac: Add replacement font for `CB'.
5287 * tmac/doc.tmac: s/request/macro/ in messages.
5288 (doc-generic-macro): Improve error message.
5289 * tmac/groff_mdoc.man: Minor improvements.
5291 2002-03-22 Werner LEMBERG <wl@gnu.org>
5293 * doc/groff.texinfo: Document possible conflict between `tr' and
5296 2002-03-21 Werner LEMBERG <wl@gnu.org>
5298 Improve handling of hyphenation patterns. It is now possible to
5299 use most of TeX's pattern files unmodified. To make the process
5300 more flexible, a new request `hpfcode' has been added which
5301 provides a character code mapping for the `hpf' request. See
5302 comment before hpf_getc() for more details.
5304 * src/roff/troff/env.cc (insert_hyphenation, hpf_getc): New
5306 (read_patterns_file): Additional parameter for exception dictionary.
5307 Extended to recognize \pattern, \hyphenation, and \endinput.
5308 (do_hyphenation_patterns_file): Updated.
5309 * src/roff/troff/env.h (hpf_code_table): New extern.
5311 * src/roff/troff/input.cc (hpf_code_table): New array.
5312 (init_hpf_code_table, hyphenation_patterns_file_code): New
5314 (hyphenation_code): Handle translation from `trin' correctly.
5315 (main, init_input_requests): Updated.
5316 (charinfo::set_translation): Handle hyphenation code also.
5318 * src/roff/troff/charinfo.h (charinfo::get_translation_input): New
5321 * src/roff/troff/env.cc (WORD_MAX): Reduced to 256 since `unsigned
5322 char' is used for offsets in hyphenation exceptions.
5324 * tmac/hyphen.us: Replace with contents of unmodified `hyphen.tex'.
5326 * NEWS, man/groff_diff.man, man/groff.man: Document it.
5328 2002-03-20 Larry Kollar <kollar@alltel.net>
5330 * doc/groff.texinfo: Add documentation for `hpfa' and `trin'
5333 2002-03-18 Werner LEMBERG <wl@gnu.org>
5335 * tmac/html.tmac: Fix serious typo.
5337 2002-03-17 Larry Kollar <kollar@alltel.net>
5339 * doc/groff.texinfo: Add documentation for `writec' request.
5341 2002-03-17 Werner LEMBERG <wl@gnu.org>
5343 Added request `hpfa' to append hyphenation patterns.
5345 * src/roff/troff/env.cc (hyphen_trie::read_patterns_file): Add
5347 (hyphenation_patterns_file): Renamed to...
5348 (do_hyphenation_patterns_file): This.
5349 (hyphenation_patterns_file, hyphenation_patterns_file_append): New
5351 (init_hyphen_requests): Updated.
5352 * NEWS, man/groff.man, man/groff_diff.man: Document it.
5354 2002-03-16 Werner LEMBERG <wl@gnu.org>
5356 Added request `writec' in analogy to `tmc'.
5358 * src/roff/troff/input.cc (write_request): Renamed to...
5359 (do_write_request): This.
5360 Added one parameter.
5361 (write_request, write_request_continue): New functions.
5362 (init_input_requests): Updated.
5363 * NEWS, man/groff.man, man/groff_diff.man: Document it.
5365 * font/devdvi/DESC.in (sizes): Allow all sizes in the range
5367 * NEWS: Document it.
5369 2002-03-15 Werner LEMBERG <wl@gnu.org>
5371 * man/groff.man: Add writem request.
5373 Add request `trin' (translate input) to make `.asciify' work
5374 correctly. This is necessary since `charXXX' entity names are no
5375 longer hardcoded in font definition files.
5377 * src/roff/troff/charinfo.h (charinfo): Add `asciify_code' and
5378 `translate_input' members.
5379 (charinfo::set_asciify_code, charinfo::get_asciify_code,
5380 charinfo::set_translation_input): New methods.
5381 (charinfo::set_translation): Add third argument.
5382 * src/roff/troff/input.cc (charinfo:set_translation): Set
5384 (do_translate): Add second argument.
5385 (translate_input): New function.
5386 (init_input_requests): Updated.
5387 * src/roff/troff/node.cc (glyph_node::asciify,
5388 composite_node::asciify): Use `get_asciify_code'.
5390 * tmac/cp1047.tmac, tmac/latin1.tmac: Use `trin'.
5392 * NEWS, man/groff.man, man/groff_diff.man: Updated.
5394 2002-03-14 Larry Kollar <kollar@alltel.net>
5396 * doc/groff.texinfo: Improve documentation of .RS and .RE.
5398 2002-03-14 Werner LEMBERG <wl@gnu.org>
5400 Add a new request `sizes' similar to the `sizes' command in DESC
5403 * src/roff/troff/env.cc (override_sizes): New function.
5404 (init_env_requests): Use it.
5405 * src/roff/troff/token.h: Export `read_string'.
5406 * NEWS, man/groff_diff.man, man/groff.man: Document it.
5408 2002-03-12 Werner LEMBERG <wl@gnu.org>
5410 * doc/groff.texinfo: More fixes for texinfo 4.1 and higher.
5412 2002-03-10 Werner LEMBERG <wl@gnu.org>
5414 * tmac/pspic.tmac: Add support for -Tdvi.
5415 * tmac/dvi.tmac: Include pspic.tmac.
5416 * src/devices/grodvi/grodvi.man: Document it.
5419 * font/devlj4/generate/Makefile: Fix URL of metric files.
5421 2002-03-09 Werner LEMBERG <wl@gnu.org>
5423 * PROBLEMS: The static constructor bug has been fixed in z/OS V1R3.
5425 2002-03-09 Larry Kollar <kollar@alltel.net>
5427 * tmac/groff_ms.man: Add documentation for RS and RE macros.
5429 2002-03-08 Werner LEMBERG <wl@gnu.org>
5431 * doc/groff.texinfo: Fixes for texinfo 4.1.
5433 2002-03-07 Werner LEMBERG <wl@gnu.org>
5435 * src/include/lib.h: Include getopt.h if groff-getopt.h can't be
5437 Handle CYGWIN properly.
5439 2002-03-07 Paco Andrés Verdú <pandres@dragonet.es>
5441 * font/devlbp/Makefile.sub (DEVFILES): Add some missing fonts.
5442 * tmac/lbp.tmac: Add some font translations.
5444 2002-03-02 Werner LEMBERG <wl@gnu.org>
5446 * font/devcp1047/R.proto, font/devlatin1/R.proto,
5447 font/devhtml/R.proto: Remove `charXXX' entries.
5448 * tmac/tty.tmac, tmac/html.tmac: Load latin1.tmac or cp1047.tmac
5451 * font/devlj4/generate/text.map: Remove `charXXX' entries.
5452 * font/devlj4/*: Regenerated all font definition files.
5453 * tmac/lj4.tmac: Load latin1.tmac.
5455 * src/utils/hpftodit/hpftodit.cc (do_file): Partially undo change
5456 from 2000-06-17: LJ4 metric files are *not* text files.
5458 * tmac/troffrc, tmac/dvi.tmac, tmac/ps.tmac: Don't use .T string
5459 register to test for EBCDIC.
5461 2002-03-01 Werner LEMBERG <wl@gnu.org>
5463 * src/utils/afmtodit/afmtodit.pl: Skip comment lines in encoding
5464 files (as grops already does).
5465 * src/utils/afmtodit/afmtodit.man: Document comment lines in map
5467 * src/devices/grops/grops.man: Document comment lines in encoding
5470 * tmac/cp1047.tmac: New file.
5471 * tmac/dvi.tmac, tmac/tty-char.tmac: Use it.
5472 * tmac/ps.tmac: Load latin1.tmac or cp1047.tmac.
5473 * tmac/Makefile.sub (NORMALFILES): Updated.
5475 * tmac/ec.tmac: Don't load latin1.tmac again.
5477 * font/devps/generate/lgreekmap, font/devps/generate/symbolchars,
5478 font/devps/generate/dingbats.map,
5479 font/devps/generate/dingbats.rmap, font/devps/text.enc,
5480 font/devps/generate/Makefile (symbolmap): Add header comment.
5481 * font/devps/generate/textmap: Ditto.
5482 Remove `charXXX' entries.
5483 * font/devps/symbolmap: Regenerated.
5484 * font/devps/*: Regenerated all font definition files.
5486 2002-02-28 Werner LEMBERG <wl@gnu.org>
5488 Add color support to grodvi (for drawing colors are currently
5489 translated to gray values).
5491 * src/devices/grodvi/dvi.cc (FILL_MAX): Removed.
5492 (dvi_printer): Add `cur_color' member.
5493 (dvi_printer::set_color): New function.
5494 (draw_dvi_printer): Remove `fill'.
5495 (draw_dvi_printer::fill_next): Pass environment as parameter.
5496 Update code for new color support translated to gray.
5497 (dvi_printer::set_char): Updated.
5498 (dvi_printer::begin_page, dvi_printer::end_page): Handle color
5499 changes crossing the page border.
5500 (dvi_printer::draw): Updated.
5501 Remove cases `f' and `F'.
5502 * tmac/dvi.tmac: Add color definitions.
5503 * NEWS, src/devices/grodvi/grodvi.man: Updated.
5505 * tmac/an-old.tmac (R): Make this a macro to emit a warning if
5508 * aclocal.m4 (GROFF_NEED_DECLARATION): Use test similar to recent
5509 versions of autoconf.
5510 * configure: Updated.
5512 * doc/homepage.ms: Use `.blm'.
5513 * tmac/www.tmac (www-depth): New auxiliary variable.
5514 (www-pop-level): Don't issue HTML tag.
5515 (ULS, ULE, LI): Use absolute indentation.
5517 * src/devices/grops/ps.cc (ps_printer::begin_page,
5518 ps_printer::end_page): Switch forth and back to default color while
5519 starting a new page.
5521 2002-02-27 Werner LEMBERG <wl@gnu.org>
5523 Add EC and TC fonts to devdvi.
5525 * src/utils/tfmtodit/tfmtodit.man: Document patching of exbase.mf.
5526 * font/devdvi/generate/cork.map: Renamed to...
5527 * font/devdvi/generate/ec.map: This.
5528 Remove entry for `aq'.
5529 * font/devdvi/generate/tc.map: New file.
5530 * font/devdvi/generate/Makefile (*EC, *TC): New creation rules for
5533 * font/devdvi/*EC, font/devdvi/*TC: New font definition files.
5534 * font/devdvi/Makefile.sub (DEVFILES): Updated.
5535 * tmac/ec.tmac: New file.
5536 * tmac/Makefile.sub (NORMALFILES): Updated.
5537 * NEWS, src/devices/grodvi/grodvi.man: Updated.
5538 * man/groff_char.man: Check `ECFONTS' register.
5540 * font/devdvi/{TR,TI,TB,TBI,HR}: Fix `name' field.
5542 2002-02-26 Werner LEMBERG <wl@gnu.org>
5544 * font/devdvi/generate/*.map: Remove all `charXXX' entries.
5545 * font/devdvi/generate/cork.map: Add 'y and 'Y.
5546 * font/devdvi/*: Updated.
5547 * tmac/dvi.tmac: Formatting.
5549 Add font `HBI' for the dvi output.
5550 Add support for font families `T' and `H'.
5552 * font/devdvi/HBI: New file.
5553 * font/devdvi/B: Renamed to ...
5554 * font/devdvi/TB: This.
5555 * font/devdvi/BI: Renamed to ...
5556 * font/devdvi/TBI: This.
5557 * font/devdvi/I: Renamed to ...
5558 * font/devdvi/TI: This.
5559 * font/devdvi/R: Renamed to ...
5560 * font/devdvi/TR: This.
5561 * font/devdvi/H: Renamed to ...
5562 * font/devdvi/HR: This.
5563 * font/devdvi/Makefile.sub (DEVFILES): Updated.
5564 * font/devdvi/generate/Makefile (HBI): New rule.
5566 (R, I, B, BI, H): Renamed to ...
5567 (TR, TI, TB, TBI, HR): This, respectively.
5569 * NEWS, src/devices/grodvi/grodvi.man: Updated.
5570 * font/devdvi/DESC.in: Don't mount R, I, B, BI, and CWI.
5571 Add `styles' and `family' keywords.
5572 * tmac/dvi.tmac: Alias `H' to `HR'.
5573 Add some fspecial requests for italic fonts.
5574 Add TR and TI as special.
5575 Add support for `_' with font CWI.
5577 * src/roff/troff/number.cc (parse_expr): Add missing `break' for
5578 operator `:'. Until now, the expression `0:1' would return 2
5581 2002-02-25 Werner LEMBERG <wl@gnu.org>
5583 * man/groff_char.man: Added some missing PS glyph names (from the
5585 * font/devps/generate/textmap, font/devps/symbolmap: Add
5588 * doc/groff.texinfo: Minor additions and fixes.
5589 * man/groff_diff.man: Remove documentation of fp request. This
5590 is already covered in the original troff manual.
5591 Updated to be consistent with other doc files.
5594 2002-02-24 Werner LEMBERG <wl@gnu.org>
5596 * aclocal.m4 (GROFF_EBCDIC): Don't include `font/devutf8' in
5598 Define new variable OTHERDEVDIRS (containing `font/devlj4
5599 font/devlbp' if not EBCDIC).
5600 * Makefile.in (TTYDEVDIRS): Always include `font/devutf8'.
5601 (OTHERDEVDIRS): New variable.
5602 (MDEFINES, DEVDIRS, ALLDIRS, DISTDIRS): Updated.
5603 * configure: Regenerated.
5605 * NEWS, src/devices/grotty/grotty.man: Updated.
5607 2002-02-23 Werner LEMBERG <wl@gnu.org>
5609 * src/roff/troff/input.cc (do_overstrike, do_bracket,
5610 get_line_arg): Honour input level.
5612 Add new symbol `mc' corresponding to U+00B5 MICRO SIGN.
5614 * font/*/*: Implement it in all font files.
5615 * font/devps/generate/textmap, font/devps/generate/symbolchars,
5616 * font/devps/symbolmap: Updated.
5617 * font/devlj4/generate/text.map: Updated.
5618 * font/devdvi/generate/CompileFonts (sizes): Add LaTeX sizes.
5619 * font/devdvi/generate/texmi.map: Updated.
5621 * font/devutf8/R.proto: Remove all `charXXX' entries.
5622 * font/devutf8/NOTES: Updated.
5624 * font/devX*/*: Regenerated with xtotroff, using fonts from XFree86
5627 * tmac/latin1.tmac, tmac/psold.tmac, tmac/tty-char.tmac: Updated.
5629 * NEWS, man/groff_char.man: Updated.
5631 2002-02-21 Phil Lobbes <phil@perkpartners.com>
5633 * src/include/lib.h [HAVE_SNPRINTF]: Include stdarg.h.
5635 2002-02-20 Ralph Corderoy <ralph@inputplus.demon.co.uk>
5637 * src/roff/grog/grog.pl: Fix computation of $refer.
5639 2002-02-19 Werner LEMBERG <wl@gnu.org>
5641 * src/include/lib.h [!HAVE_SNPRINTF]: Add declarations for
5642 `snprintf' and `vsnprintf'.
5644 * src/include/htmlindicate.h: Renamed to...
5645 * src/include/htmlhint.h: This.
5646 * src/include/Makefile.sub: Updated.
5647 * src/preproc/eqn/main.cc: Updated.
5649 2002-02-18 Werner LEMBERG <wl@gnu.org>
5651 * man/roff.man, man/groff_out.man, man/groff.man,
5652 man/groff_diff.man, man/ditroff.man, src/roff/groff/groff.man,
5653 src/roff/troff/troff.man: Updated to latest changes in www.tmac.
5655 * win32-diffs: Updated.
5657 2002-02-17 Werner LEMBERG <wl@gnu.org>
5659 * doc/Makefile (clean): Add *.eps.
5660 (MEMACROS): Removed.
5661 (TFLAG): New variable.
5664 (GROFF): Use TFLAG, FFLAG, -U, -p, -e, -t, and -ww.
5666 (.ms.html, .ms.ascii, .ms.ps, homepage.html): Simplify.
5668 * tmac/www.tmac: Use dummy diversion while resetting and disabling
5670 * tmac/e.tmac: Inserted some more `\"' to remove warnings if used
5672 * src/roff/troff/troff.man: Fix order of parameter description.
5676 2002-02-16 Gaius Mulley <gaius@glam.ac.uk>
5678 Simplify image handling for grohtml.
5681 * src/devices/grohtml/html-text.cc (DEBUGGING): Don't undefine but
5683 (html_text::dump_stack): Don't emit newline while debugging.
5684 (html_text::do_push) [DEBUGGING]: Print more info.
5685 (html_text::check_emit_text): Fix handling of <p>.
5686 * src/devices/grohtml/html.h: Updated.
5687 * src/devices/grohtml/output.cc (FPUTC, FPUTS, PUTC): New macros,
5688 replacing `fputc', `fputs', `putc'. If DEBUGGING is defined, they
5689 send its data to stderr also.
5691 (simple_output::space_or_newline) [DEBUGGING]: Removed.
5692 * src/devices/grohtml/post-html.cc (html_printer::do_links,
5693 html_printer::html_printer): Remove `DEBUGGING' conditionals.
5695 * src/include/html-strings.h (HTML_IMAGE_{CENTERED,LEFT,RIGHT,END}):
5697 * src/libs/libgroff/htmlhint.cc (is_in_graphic_start,
5698 is_inline_image): Removed.
5699 (html_begin_suppress, html_end_suppress): Don't take a parameter.
5700 (graphic_start, graphic_end): Removed.
5701 * src/include/htmlindicate.h: Updated.
5702 * src/preproc/html/pre-html.cc (DEBUG_HTML): Removed.
5703 (macroset_template): New global variable.
5704 (makeFileName): Use `macroset_template'.
5705 (write_end_image): Don't take a parameter.
5707 (write_start_image: Don't emit newline.
5708 (char_buffer::write_upto_newline): Updated.
5709 (char_buffer::skip_to_newline): Renamed to ...
5710 (char_buffer::skip_until_newline): This.
5712 (char_buffer::write_file_troff, char_buffer::write_file_html):
5714 (createAllPages, createImage) [DEBUGGING]: Handle `debug' flag.
5715 (removeAllPages): Remove `DEBUGGING' conditionals.
5716 (addRegDef, dump_args): New functions.
5717 (char_buffer::do_html, char_buffer::do_image): Handle
5718 `www-image-template' command line variable.
5719 Add more debugging code.
5720 (addps4html): Removed.
5721 (removeTempFiles) [DEBUGGING]: Handle `debug' flag.
5723 * src/preproc/eqn/main.cc: Include `ctype.h'.
5724 (suppress_html): Removed.
5726 (inline_equation): Use `html_begin_suppress' and
5727 `html_end_suppress'.
5728 * src/preproc/pic/troff.cc: Don't include `htmlindicate.h'.
5729 (troff_output::start_picture, troff_output::finish_picture):
5731 * src/preproc/tbl/main.cc: Don't include `htmlindicate.h'.
5732 (process_input_file): Updated.
5734 * src/roff/troff/div.cc (page_number): Set page number only if the
5735 `ps4html' register isn't defined.
5736 * src/roff/troff/input.cc (image_no): New external variable.
5737 (do_suppress): Use it.
5738 * src/roff/troff/node.h (suppress_node::image_id): New member.
5739 * src/roff/troff/node.cc (image_no): Remove `static' keyword.
5740 (suppress_node::suppress_node): Initialize `image_id' member.
5741 (suppress_node::same): Handle `image_id' also.
5742 (suppress_node::copy): Updated.
5743 (last_image_id): New global variable.
5744 (suppress_node::tprint): Use it.
5746 * tmac/an-old.tmac (TS, TE, EQ, EN): Use HTML-IMAGE and
5748 * tmac/pspic.mac (PSPIC): Fix html support.
5749 * tmac/s.tmac (@EQ, @EN, @TS, TE, PS, PE): Ditto.
5750 * tmac/www.tmac (www-image-template): Set up.
5751 (HTMLINDEX): Renamed to...
5753 (BODYCOLOR): Renamed to...
5755 (BACKGROUND): Renamed to...
5757 (URL): Change order of parameters for consistency.
5758 (MAILTO): Renamed to...
5760 (IMAGE, PNG-IMAGE, MARGIN-PNG-IMAGE): Renamed to...
5761 (IMG, PIMG, MPIMG): This.
5762 (HTML-H-BEGIN, HTML-H-END): Renamed to...
5764 (LINKS): Renamed to...
5766 (LINE): Renamed to...
5768 (NO-AUTO-RULE): Renamed to...
5770 (HTML-TL): Renamed to...
5772 (UL-BEGIN, UL-END): Renamed to...
5774 (DROPCAP): Renamed to...
5776 (TS, TE, EQ, EN): Provide default definitions.
5777 (www-make-unique-name): Updated.
5778 (HTML-IMAGE-INLINE): Fix typo.
5779 * tmac/groff_www.man: Updated.
5781 * doc/Makefile (homepage.html): Add option -r to grohtml.
5782 Use shortened image name.
5783 * doc/groff.texinfo: Updated info on grohtml strings and macros.
5784 * doc/homepage.ms: Updated and extended.
5786 2002-02-14 Werner LEMBERG <wl@gnu.org>
5788 Don't use `CSI 39 m' and `CSI 49 m' but `CSI 0 m'.
5790 * src/devices/grotty/tty.cc (SGR_DEFAULT_COLOR,
5791 SGR_BACK_DEFAULT_COLOR): Replaced with ...
5792 (tty_printer::put_color): Use it.
5793 (ttr_printer::end_page): Simplify.
5795 2002-02-13 Werner LEMBERG <wl@gnu.org>
5797 * tmac/groff_tmac.man: Moved to...
5798 * man/groff_tmac.man: This place.
5799 * tmac/Makefile.sub, man/Makefile.sub: Updated.
5801 2002-02-12 Werner LEMBERG <wl@gnu.org>
5803 * src/libs/libgroff/Makefile.sub (snprintf.o): Don't use
5804 $(COMPILE.c) to not include groff's assert.h.
5806 * src/drivers/grotty/tty.cc (main): Add GROFF_NO_SGR environment
5808 * NEWS, src/drivers/grotty/grotty.man: Document it.
5810 2002-02-11 Werner LEMBERG <wl@gnu.org>
5812 * src/libs/snprintf/snprintf.c: Updated to latest version
5815 * src/roff/grog/grog.pl (process): Fix handling of `.['. We now
5816 test whether there is `.]' also.
5817 Don't check for spaces after `.['.
5818 * src/roff/grog/grog.sh: Do the same.
5820 2002-02-10 Werner LEMBERG <wl@gnu.org>
5824 * src/libs/libgroff/illegal.cc: Renamed to ...
5825 * src/libs/libgroff/invalid.cc: This.
5826 (illegal_char_table): Renamed to ...
5827 (invalid_char_table): This.
5828 * src/libs/libgroff/Makefile.sub: Updated.
5829 * win32-diffs: Updated.
5831 * doc/groff.texinfo, src/devices/grops/psrm.cc (ps_get_line),
5832 src/libs/libdriver/input.cc (fatal_command, parse_color_command,
5833 parse_x_command), src/libs/libgroff/font.cc (text_file::next,
5834 font::load), src/preproc/eqn/main.cc (read_line, main),
5835 src/preproc/eqn/lex.cc (file_input::read_line),
5836 src/preproc/pic/lex.cc (file_input::read_line,
5837 simple_file_input::get, simple_file_input::peek),
5838 src/preproc/pic/main.cc (top_input::get, top_input::peek),
5839 src/preproc/pic/pic.man, src/preproc/refer/main.cc
5840 (input_stack::push_file), src/preproc/refer/refer.cc (do_file,
5841 do_bib), src/preproc/tbl/main.cc (table_input::get),
5842 src/preproc/grn/grn.man, src/preproc/grn/main.cc (interpret),
5843 src/roff/troff/input.cc (file_iterator::fill, file_iterator::peek,
5844 do_zero_width, read_request, encode_char, ps_get_line,
5845 transparent_file, get_char_for_escape_name, transparent_translate,
5846 asciify, input_char_description, read_string, set_string),
5847 src/roff/troff/env.cc (environment::add_html_tag),
5848 src/roff/troff/troff.man, tmac/e.tmac (`@(', `(f'): Do it.
5850 * src/include/lib.h: Updated.
5852 * src/preproc/eqn/eqn.cc: Removed.
5856 * src/preproc/grn/hdb.cc (DBRead): Fix fscanf() fields.
5858 2002-02-09 Werner LEMBERG <wl@gnu.org>
5860 * doc/gnu.xpm: New image.
5861 * doc/Makefile (DOCS): Add homepage.ps.
5862 Add rules for converting xpm->png and xpm->eps.
5863 Use `gnu.{xpm,eps}' as image names.
5864 * doc/homepage.ms: Updated.
5866 2002-02-09 Gaius Mulley <gaius@glam.ac.uk>
5868 * tmac/www.tmac (www-error): New macro, replacing calls to `@error'.
5869 (IMAGE): Change image position parameters to `-L', `-R', and `-C'.
5870 Remove calls to `B1' and `B2'
5871 (PNG-IMAGE): New macro for inclusion of images in PNG format.
5872 (www-left-ll-trap, www-left-po-trap, www-right-ll-trap): New
5873 auxiliary variables for MARGIN-PNG-IMAGE.
5874 (www-finish-left-po, www-finish-right-ll, www-finish-left-ll): New
5875 auxiliary macros for MARGIN-PNG-IMAGE.
5876 (MARGIN-PNG-IMAGE): New macro to put an image in PNG format into
5878 (www-heading-no): New auxiliary variable for HTML-H-{BEGIN,END}.
5879 (HTML-H-BEGIN, HTML-H-END): New macros to begin and end a heading.
5880 (DROPCAP): New macro to produce dropcap characters.
5881 (www-do-image): Renamed back to...
5882 (HTML-DO-IMAGE): This.
5883 Updated all callers.
5885 * doc/Makefile (gnubw.eps): Updated.
5886 * doc/homepage.ms: Updated.
5888 2002-02-08 Werner LEMBERG <wl@gnu.org>
5890 * doc/pic.ms: Fixed typos (\(*tx -> \*(tx).
5891 Added `linethick' to table in section `Style Variables'.
5893 2002-02-08 Gaius Mulley <gaius@glam.ac.uk>
5895 * src/libs/libdriver/input.cc (get_extended_arg): Fix conditional.
5897 2002-02-07 Werner LEMBERG <wl@gnu.org>
5899 Adding options -C (compatibility mode) and -c (grotty's old output
5902 * src/roff/nroff/nroff.sh: Implement it.
5904 * NEWS, src/roff/nroff/nroff.man: Updated.
5906 * PROBLEMS: Document bison 1.32 bug.
5908 Some fixes to make groff compile on z/OS 1.2 UNIX (was OS/390).
5910 * src/roff/troff/node.cc (make_tfont): Define it earlier.
5911 * src/roff/troff/div.h: Add prototype for `end_diversions'.
5912 * src/roff/troff/input.cc: Add prototype for `process_input_stack'.
5913 * src/roff/troff/env.h: Add prototype for `title'.
5915 Adding EBCDIC support to grotty.
5917 * src/devices/grotty/tty.cc (CSI): New macro.
5918 (SGR_*, tty_printer::put_color): Use it.
5920 2002-02-06 Werner LEMBERG <wl@gnu.org>
5922 Implementing color support in grotty. The new switch -c activates
5923 the old drawing scheme, disabling color at the same time. The new
5924 switch `-i' selects italic instead of underlining (SGR only).
5926 * src/devices/grotty/tty.cc (putstring): New define instead of
5927 `fputs'. Updated all callers.
5928 (old_drawing_scheme): New global variable.
5929 (COLOR_CHANGE): New enum value.
5930 (SGR_*): New defines containing color handling escape sequences.
5931 (TTY_MAX_COLORS, DEFAULT_COLOR_IDX): New defines.
5932 (glyph): New members `back_color_idx' and `fore_color_idx'.
5933 (glyph::order): Add COLOR_CHANGE.
5934 (tty_printer): New members `cur_fore_idx', `curr_back_idx',
5935 `is_underline', `is_bold', `cu_flag', `tty_colors'.
5936 New methods `make_underline', `make_bold', `color_to_idx',
5937 `change_color', `put_color'.
5938 (cu_flag): Moved into `tty_printer' class.
5939 (tty_printer::tty_printer): Initialize colors.
5940 (tty_printer::add_char, tty_printer::set_char, tty_printer::special,
5941 tty_printer::draw, tty_printer::end_page): Handle colors also.
5942 (main): Add options `-c' and `-i'.
5944 * NEWS, src/devices/grotty/grotty.man: Updated.
5946 * src/include/errarg.h (errarg): Add support for `unsigned int'.
5947 * src/libs/libgroff/errarg.c: Implement it.
5949 * src/include/printer.h (printer): Add `change_color' method
5950 (currently used by grotty only).
5951 * src/libs/libdriver/printer.cc: Implement it.
5952 * src/libs/libdriver/input.cc (parse_D_command, do_file): Add
5953 call to `pr->change_color'.
5955 * src/roff/troff/node.cc (troff_output_file::fill_color,
5956 troff_output_file::glyph_color): Call `do_motion'.
5958 * tmac/tty.tmac: Add color definitions.
5960 * src/roff/groff/groff.man: Minor fixes.
5962 2002-02-05 Bernd Warken <bwarken@mayn.de>
5964 * src/libs/libdriver/input.cc: Introduce `EnvInt' typedef and use
5965 it. This is a preparation for future changes.
5967 2002-02-05 Werner LEMBERG <wl@gnu.org>
5969 * src/roff/troff/input.cc (process_input_stack): Fix the case
5970 where leading spaces are followed by \f or \s; previously, an
5971 incorrect space width has been used.
5973 * doc/roff.man (quoted_char): Fix argument.
5974 (comment): Define string.
5976 2002-02-04 Larry Kollar <kollar@alltel.net>
5978 * doc/groff.texinfo: More fixes.
5980 2002-02-04 Werner LEMBERG <wl@gnu.org>
5982 * src/preproc/eqn/box.cc (output_string): Don't use \\*[...].
5983 * src/preproc/eqn/main.cc (do_file, inline_equation): Call
5984 `restore_compatibility' before `output_string' -- the LINE_STRING
5985 register now already contains proper switches from and to
5988 * man/groff_char.man: Add Euro symbol.
5989 * man/groff_diff.man: Improve documentation of `.am1' and `.as1'.
5990 * tmac/tty.tmac: Add `EUR' as replacement for `eu' and `Eu'.
5991 * doc/groff.texinfo (Defstr*): Print strings with full syntax.
5994 * doc/Makefile (.SUFFIXES, .texinfo.pdf, clean): Add support for
5996 (.texinfo.html): Add support for texinfo->html.
5998 2002-02-03 Werner LEMBERG <wl@gnu.org>
6000 Added three new requests `ds1', `as1', and `ami'. The former two
6001 are equivalent to `ds' and `as' with the difference that
6002 compatibility mode is saved on entry, switched off during string
6003 expansion, and restored on exit. The latter is the pendant to `dei'
6006 (do_define_string): Use `define_mode' and `calling mode'.
6007 Insert COMPATIBLE_SAVE and COMPATIBLE_RESTORE at the beginning and
6008 end of string, respectively.
6009 (define_string, append_string): Use `calling_mode'.
6010 (define_nocomp_string, append_nocomp_string,
6011 define_string_indirect): New functions.
6012 (init_input_requests): Updated.
6013 * NEWS, man/groff_diff.man, man/groff.man: Document it.
6015 * src/preproc/eqn/box.cc (box::top_level, box::extra_space): Use
6016 `as1' for assigning LINE_STRING (this is `10' usually). Sun's
6017 mm macro package accesses this string register directly.
6018 * src/preproc/eqn/main.cc (inline_equation): Use `as1'.
6020 * tmac/trace.tmac: Trace calls to `am' also. Make it work in
6023 2002-02-02 Larry Kollar <kollar@alltel.net>
6025 * doc/groff.texinfo, tmac/groff_ms.man: More fixes.
6027 2002-01-31 Werner LEMBERG <wl@gnu.org>
6029 * tmac/an-old.tmac (I): Use \, and \/ to improve spacing.
6031 2002-01-31 Bernd Warken <bwarken@mayn.de>
6033 * src/devices/grolbp/lbp.cc (main): Delete `pr'.
6034 * man/groff_out.man: Revised and updated.
6036 2002-01-30 Bernd Warken <bwarken@mayn.de>
6038 * src/libs/libdriver/input.cc [USE_ENV_STACK]: New macro to comment
6039 out the unused `{' and `}' commands. Undefined by default.
6040 (IntArray): Make `data' private.
6041 (IntArray::operator[], IntArray::get_data, IntArray::len): Use these
6042 new methods instead.
6043 (skip_line_D, skip_to_end_of_line): New functions.
6044 (get_D_fixed_args): Use `skip_line_D'.
6045 Changed to handle dummy odd arguments by ...
6046 (get_D_fixed_args_odd_dummy): This new function.
6047 (get_D_variable_args): Split some code into ...
6048 (get_possibly_integer_args): This new function.
6049 (send_draw): Use more `const'.
6050 (delete_current_env): New function.
6051 (position_to_end_of_args): Use `size_t'.
6053 (send_draw): Updated.
6054 (parse_D_command): Handle `c', `C', and `t' better.
6058 2002-01-29 Werner LEMBERG <wl@gnu.org>
6061 * doc/groff.texinfo: Introduce @Def...List, @Def...Item, and
6062 @Def...ListEnd which replaces @Def...x. This is necessary to get
6063 proper HTML output -- see the comment in the file for more
6067 2002-01-29 Gaius Mulley <gaius@glam.ac.uk>
6069 Fixes to make color changes of 2002-01-21 work with grohtml.
6071 * src/devices/grohtml/post-html.cc (style): Updated.
6072 (html_printer): Remove unused methods.
6073 (html_printer::do_font, html_printer::draw, html_printer::set_char,
6074 html_printer::special): Updated.
6075 * src/devices/grohtml/html-text.cc (debugStack, turnDebug,
6076 html_text::dump_stack_element, html_text::dump_stack) [DEBUGGING]:
6077 Added some debugging code.
6078 (html_text::start_tag): Updated.
6079 (html_text::do_push): New method.
6080 (html_text::push_para): Call it.
6081 Add method for handling color.
6082 (html_text::do_color): Updated.
6083 (html_text::shutdown): Handle color.
6084 * src/devices/grohtml/html-text.h (tag_definition): New member
6088 2002-01-28 Werner LEMBERG <wl@gnu.org>
6090 * tmac/ps.tmac, tmac/html.tmac: Fix compatibility mode issues.
6092 2002-01-27 Gaius Mulley <gaius@glam.ac.uk>
6094 Add two switches -a and -g to control the antialiasing bits for
6095 text and graphics, respectively.
6097 * src/devices/grohtml/post-html.cc (main): Dummy code for `-a' and
6099 * src/devices/grohtml/grohtml.man: Document them.
6100 * src/preproc/html/pre-html.cc (MIN_ALPHA_BITS, MAX_ALPHA_BITS):
6102 (textAlphaBits, graphicAlphaBits, antiAlias): New global variables.
6103 (setupAntiAlias): New function.
6104 (createAllPages): Updated.
6105 (scanArguments): Handle `-a' and `-g'.
6106 (main): Call `setupAntiAlias'.
6109 2002-01-27 Werner LEMBERG <wl@gnu.org>
6111 * doc/groff.texinfo (Def*): Call index function after deffn.
6113 * tmac/html.tmac: Call `nroff' request.
6115 2002-01-26 Larry Kollar <kollar@alltel.net>
6117 * tmac/groff_ms.man: Add some omissions.
6119 2002-01-25 Larry Kollar <kollar@alltel.net>
6121 * tmac/groff_ms.man: Typographical improvements.
6123 2002-01-25 Werner LEMBERG <wl@gnu.org>
6125 * doc/groff.texinfo: Updated version and copyright.
6126 * src/devices/grops/grops.man: Updated.
6128 * tmac/groff_tmac.man: Fix `ig' macro.
6130 * tmac/an-old.tmac (ne): Redefine `ne' request to be a no-op in
6132 Use `.ne' unconditionally everywhere.
6133 (TS): Only insert some vertical space. Doing a page break is no
6134 longer necessary due to the redefinition of the `ne' request.
6136 * src/libs/libdriver/input.cc (parse_D_command): Don't emit a
6137 warning for unknown subcommands but parse and pass them to the
6140 2002-01-24 Werner LEMBERG <wl@gnu.org>
6142 * tmac/groff_www.man, NEWS: Fix typos.
6144 2002-01-21 Werner LEMBERG <wl@gnu.org>
6146 Complete revision of color support:
6148 Adapt programs to the new libdriver/input.cc.
6150 Color spaces are no longer converted to RGB but transferred as-is
6151 in the troff intermediate output format.
6153 Handle default color gracefully. troff now supports a `default'
6154 color (which can't be changed).
6156 grops will now use the proper color space functions if available.
6160 Note that currently grohtml doesn't handle colors properly. This
6163 * src/libs/libgroff/itoa.c (UINT_DIGITS): New macro.
6164 (ui_to_a): New function.
6165 * src/include/lib.h: Updated.
6167 * src/include/color.h (color_scheme): Replace `NONE' with `DEFAULT'.
6168 (color): Simplified; removed all `double' members and methods.
6169 A new array `components' now holds the color parameters.
6170 (color::is_default, color::get_components): New methods.
6171 (color::operator==, color:operator!=): New.
6172 (Red, Green, Blue, Cyan, Magenta, Yellow, Black, Gray): New macros
6173 to make access to the `components' array more comprehensible.
6174 * src/libs/libgroff/color.cc: Implement new color support.
6175 (atoh): Small fixes.
6176 (color::read_encoding): Simplified for new troff intermediate color
6178 (default_color): New global variable.
6180 * src/roff/troff/input.cc (default_symbol): New global variable.
6181 (lookup_color): Use it.
6182 (default_black): Removed.
6183 (do_glyph_color, do_fill_color): Simplified.
6184 (define_color): Handle default color.
6186 (do_if_request): Handle default color.
6187 * src/roff/troff/env.cc (environment::environment): Initialize
6188 colors with `default_color'.
6189 * src/roff/troff/node.cc (troff_output_file::put): Add method
6191 (troff_output_file::hex): Removed.
6192 (troff_output_file::fill_color, troff_output_file::glyph_color):
6193 Updated to include/color.h and libdriver/input.cc.
6195 * src/preproc/pic/object.cc (draw_arrow): New parameter to set
6196 fill color properly (identically to the outline color). \D'f...'
6197 doesn't work any more.
6198 All function calls to it updated.
6200 * src/devices/grohtml/post-html.cc (html_printer::do_body, main):
6202 * src/devices/grohtml/html-text.cc (html_text::issue_color_begin):
6205 * src/devices/grops/ps.cc (ps_output::put_color): New method.
6206 (ps_printer::sbuf_color): Make a real member instead of pointer.
6207 (ps_printer::fill_color, ps_printer::output_color): Removed.
6208 (ps_printer::ps_printer): Updated.
6209 (ps_printer::set_char): Ditto.
6210 (ps_printer::set_color): Use various color schemes.
6211 Use `put_color' method.
6212 (ps_printer::flush_sbuf): Don't set color.
6213 (ps_printer::fill_path): Take `environment' as parameter.
6214 Simplify color handling.
6215 (ps_printer::set_line_thickness): Renamed to ...
6216 (ps_printer::set_line_thickness_and_color): This (and updated).
6217 (ps_printer::set_color): Change second parameter from `complete'
6218 to `fill' which better describes what it does.
6219 (ps_printer::draw): Call `flush_sbuf' to output graphic commands
6220 and text in the right order.
6222 Remove branches for `f' and `F'; this is handled by
6224 * src/devices/grops/ps.h: Updated.
6225 * font/devps/prologue (FL): Redefined.
6226 ({F,C}r,k,g: New color functions (with and without filling).
6228 * doc/pic.ms, src/preproc/pic/pic.man: Small fixes.
6229 * man/groff_diff.man, man/groff.man, man/groff_out.man,
6230 doc/groff.texinfo, NEWS: Updated.
6232 2002-01-20 Bernd Warken <bwarken@mayn.de>
6234 * src/libs/libdriver/input.cc: Completely rewritten. See comments
6235 in this file for what has been changed.
6237 2002-01-19 Werner LEMBERG <wl@gnu.org>
6239 * test-groff: Fix GROFF_FONT_PATH.
6240 * tmac/andoc.tmac: Add dummy macros for equation support -- eqnrc
6241 is read before .TH or .Dd is parsed.
6243 2002-01-18 Gaius Mulley <gaius@glam.ac.uk>
6245 * src/libs/libgroff/geometry.cc (check_output_arc_limits): Fix
6246 quadrant boundaries.
6248 2002-01-18 Werner LEMBERG <wl@gnu.org>
6250 * devices/grops/ps.cc: Aargh! Fix the fix of the incorrectly
6253 2002-01-17 Ruslan Ermilov <ru@FreeBSD.org>
6255 * tmac/doc.common: Initialize %I register for the %I macro to
6256 avoid (harmless) warning.
6257 * tmac/doc.tmac (Bd): There is no reason to enforce -compact
6258 when in the SYNOPSIS section.
6260 2002-01-17 Bruno Haible <haible@clisp.cons.org>
6262 * src/preproc/pic/lex.cc (get_token): Fix typo.
6264 2002-01-17 Werner LEMBERG <wl@gnu.org>
6266 * devices/grops/ps.cc: Fix incorrectly applied last patch.
6268 2002-01-17 Larry Kollar <kollar@alltel.net>
6270 * tmac/groff_ms.man: Completely rewritten.
6272 2002-01-16 Werner LEMBERG <wl@gnu.org>
6274 * tmac/an-old.tmac (TS): Force break, inserting some vertical space.
6276 2002-01-15 Gaius Mulley <gaius@glam.ac.uk>
6278 * devices/grops/ps.cc (ps_printer::fill_path): Fix handling of
6280 (ps_printer::draw): Ditto.
6282 2002-01-14 Ruslan Ermilov <ru@FreeBSD.org>
6284 * tmac/groff_mdoc.man: Minor fixes.
6286 2002-01-13 Werner LEMBERG <wl@gnu.org>
6288 * man/groff_out.man: Some fixes.
6290 2002-01-13 Gaius Mulley <gaius@glam.ac.uk>
6292 * doc/pic.ms: Fix typos.
6294 2002-01-12 Werner LEMBERG <wl@gnu.org>
6296 * doc/groff.texinfo, doc/groff.man: More on a printable backslash.
6298 2002-01-10 Werner LEMBERG <wl@gnu.org>
6300 * font/devutf8/R.proto, font/devhtml/R.prot: Add `Eu' and `eu'
6304 2002-01-09 Bernd Warken <bwarken@mayn.de>
6306 * man/groff_out.man: Revised.
6307 * man/roff.man: Minor fixes.
6308 * src/roff/troff/troff.man: Some reordering.
6310 2002-01-09 Werner LEMBERG <wl@gnu.org>
6312 * tmac/an-old.tmac: Add dummy macros for equation support.
6314 2002-01-07 Werner LEMBERG <wl@gnu.org>
6316 doc/groff.texinfo: Fix documentation of glyph searching algorithm.
6318 * tmac/an-old.tmac: Revert change 2001-12-23. This breaks too many
6320 * tmac/groff_man.man: Small improvements.
6322 2002-01-07 Bernd Warken <bwarken@mayn.de>
6324 * man/groff_diff.man: Revised.
6326 2002-01-06 Werner LEMBERG <wl@gnu.org>
6328 * tmac/www.tmac: Remove extraneous backslash.
6330 2002-01-06 Bernd Warken <bwarken@mayn.de>
6332 * man/ditroff.man, src/roff/groff/groff.man, man/groff.man: Revised.
6334 2002-01-05 Werner LEMBERG <wl@gnu.org>
6336 Integrated groffer, contributed by Bernd Warken.
6338 * contrib/groffer/*: New.
6339 * Makefile.in, NEWS: Updated.
6341 2002-01-04 Werner LEMBERG <wl@gnu.org>
6343 * doc/groff.texinfo: Added macros `@Defmpreg' and `@Defmpregx' for
6344 registers defined in macro packages.
6345 Revising the ms part.
6347 2002-01-04 Larry Kollar <kollar@alltel.net>
6349 * doc/groff.texinfo: Add documentation for ms macros.
6351 2002-01-02 Werner LEMBERG <wl@gnu.org>
6353 First step in adding PS support for the Euro symbol. `eu' is the
6354 official Euro logo, `Eu' is a font-specific glyph variant.
6356 * font/devps/text.enc: Add `Euro' at position 9.
6357 * font/devps/generate/textmap: Add `Euro' as symbol `Eu'.
6358 * font/devps/symbolmap: Regenerated.
6362 2002-01-02 Bernd Warken <bwarken@mayn.de>
6364 * man/roff.man: Revised.
6366 2002-01-01 Bernd Warken <bwarken@mayn.de>
6368 * src/roff/groff/groff.man: Completely rewritten.
6370 2001-12-31 Werner LEMBERG <wl@gnu.org>
6372 * doc/Makefile: Updated.
6374 2001-12-30 Werner LEMBERG <wl@gnu.org>
6376 * tmac/www.tmac: Make all names of internal macros/registers/strings
6377 lowercase, and prepend `www-'.
6378 Other minor changes.
6379 * src/roff/troff/troff.man: Add preprocessor string at BOF.
6381 2001-12-30 Gaius Mulley <gaius@glam.ac.uk>
6383 Implement option `-b' in grohtml to set the HTML background colour.
6385 * src/devices/grohtml/post-html.cc (default_background): New global
6387 (html_printer::html_printer): Initialize `background' to
6388 `default_background'.
6389 (main): Implement option `-b'.
6391 * src/preproc/html/pre-html.cc (scanArguments): Add dummy handling
6393 * src/devices/grohtml/grohtml.man: Updated.
6394 * doc/Makefile (.ms.html): Use `-b'.
6395 * tmac/html.tmac: Don't set background color.
6397 Add new grohtml tag `.html-tl'.
6399 * src/devices/grohtml/post-html.cc (title_desc): Add `with_h1'
6401 (title_desc::title_desc): Updated.
6402 (html_printer::troff_tag): Handle `.html-tl'.
6403 (html_printer::write_title): Use `with_h1'.
6404 * tmac/www.tmac (www-end-nowhere): New auxiliary macro.
6405 (HTML-TL): New macro.
6407 Add support for unordered lists in HTML.
6409 * tmac/www.tmac (www-level): New auxiliary register.
6410 (www-level1, www-level2, www-level3): New auxiliary strings.
6411 (www-push-level, www-pop-level): New auxiliary macros
6412 (UL-BEGIN, UL-END, LI): User macros for unordered lists.
6416 * src/preproc/html/pre-html.cc (DEFAULT_IMAGE_RES): Increase to 100.
6417 (DEFAULT_VERTICAL_OFFSET): Removed.
6418 (IMAGE_BOARDER_PIXELS): Set to 0.
6419 (A4_LENGTH, A4_OFFSET, LETTER_LENGTH, LETTER_OFFSET): New macros.
6420 (vertical_offset): Initialize with 0.
6421 (gsPaper): New global variable.
6422 (get_resolution): Scan for and return unsigned int.
6423 (get_papersize): New function to get paper length from devps/DESC.
6424 (determine_vertical_offset): New function.
6425 (createAllPages): Produce gray-level images and use proper page
6427 (createImage): Use `-quiet' option of pnmcrop.
6428 (addZ): Fix passing of `-Z'.
6429 (scanArguments): Fix handling of `-o'.
6430 (main): Call `determine_vertical_offset'.
6431 * src/devices/grohtml/post-html.cc (html_printer::draw): Comment out
6434 * src/libs/libgroff/tmpfile.cc (add_tmp_file): Fix buffer length.
6435 * src/roff/troff/node.cc (troff_output_file::check_charinfo): Handle
6436 glyph descenders properly.
6438 * doc/homepage.ms: Include `gnubw.eps'.
6439 * doc/Makefile (gnubw.eps): New rule.
6440 (homepage.html): Depend on `gnubw.eps'.
6442 2001-12-25 Werner LEMBERG <wl@gnu.org>
6444 * src/roff/troff/input.cc (default_black): Fix return value.
6446 2001-12-24 Ruslan Ermilov <ru@FreeBSD.org>
6448 * tmac/doc-common (Dt): Change output of architecture strings.
6449 Do some syntax cleanup.
6450 * tmac/groff_mdoc.man: Updated.
6452 2001-12-23 Werner LEMBERG <wl@gnu.org>
6454 Adding an `itc' request (input line trap accepting \c).
6456 * src/roff/troff/env.h (environment): New member
6457 `continued_input_trap'.
6458 Make `do_input_trap' a friend function instead of `input_trap'.
6459 * src/roff/troff/env.cc (environment::environment,
6460 environment::copy): Updated.
6461 (environment::newline): Implement it.
6462 (do_input_trap): New function.
6463 (input_trap): Call `do_input_trap'.
6464 (input_trap_continued): New function.
6465 (init_env_requests): Updated.
6466 * src/roff/troff/TODO: Updated.
6468 * tmac/an-old.tmac (SH, SS, B, I, SM, SB, TP): Use `.itc' instead of
6471 * src/preproc/grn/hdb.cc (DBRead): Really chop after 127 characters.
6473 2001-12-22 Ruslan Ermilov <ru@FreeBSD.org>
6475 * tmac/doc-common, tmac/doc-syms: Small updates.
6477 2001-12-22 Colin Watson <cjwatson@debian.org>
6479 * tmac/an-old.tmac (an-p-footer): Set title length in environment 1.
6481 2001-12-22 Bernd Warken <bwarken@mayn.de>
6483 * MANIFEST: New file.
6485 2001-12-22 Werner LEMBERG <wl@gnu.org>
6487 * src/preproc/grn/grn.man: Updated.
6489 2001-12-22 Solar Designer <solar@openwall.com>
6491 * src/preproc/grn/hdb.cc (MAXSTRING_S): New macro.
6494 2001-12-19 Werner LEMBERG <wl@gnu.org>
6496 Implement a fallback character request `.fchar'.
6498 * src/roff/troff/charinfo.h (charinfo): New flag `fallback'.
6499 (is_fallback): New inline function.
6500 * src/roff/troff/input.cc (do_define_character): New function.
6501 (define_character): Call `do_define_character'.
6502 (define_fallback_character): New function.
6503 (init_input_requests): Add `fchar'.
6504 (charinfo::charinfo): Updated.
6505 (charinfo::set_macro): New argument to set `fallback' flag.
6506 * src/roff/troff/node.cc (make_glyph_node, make_node,
6507 node::add_char): Check `fallback' flag.
6508 * NEWS, man/groff_diff.man, man/groff_man: Updated.
6510 2001-12-16 Werner LEMBERG <wl@gnu.org>
6512 * groff.texinfo: Document exact search algorithm for glyphs.
6514 2001-12-15 Werner LEMBERG <wl@gnu.org>
6516 * Makefile.cpg, Makefile.ccpg, Makefile.man: Add dummy file to
6517 the left side of $(MANPAGES) rule to make it always non-empty.
6519 2001-12-14 Werner LEMBERG <wl@gnu.org>
6521 * src/roff/troff/input.cc (default_black): Define default color
6522 `black' if not yet defined.
6524 2001-12-13 Werner LEMBERG <wl@gnu.org>
6526 Implement new string-valued register `.fn' to return the current
6527 real (internal) font name.
6529 * env.cc (environment::get_font_name_string): New function.
6530 (init_env_requests): Add `.fn' register.
6531 * env.h (environment): Updated.
6532 * node.cc (font_info): Make `get_font_name' a friend.
6533 (get_font_name): New function.
6536 * man/groff_diff.man, man/groff.man, NEWS: Updated.
6538 2001-12-12 Ralph Corderoy <ralph@inputplus.demon.co.uk>
6540 * src/preproc/eqn/main.cc (inline_equation): Fix typos.
6542 2001-12-12 Werner LEMBERG <wl@gnu.org>
6544 * tmac/groff_man.man, doc/groff.texinfo: There is no .R macro.
6546 2001-12-10 Gaius Mulley <gaius@glam.ac.uk>
6548 * man/groff_diff.man: Adding documentation for \O.
6550 2001-12-10 Werner LEMBERG <wl@gnu.org>
6552 * src/preproc/html/pre-html.cc (TROFF_COMMAND): Removed.
6553 (scanArguments): Use PROG_PREFIX for the name of the troff binary.
6555 2001-12-09 Werner LEMBERG <wl@gnu.org>
6557 * man/roff.man: Revised.
6558 * src/roff/groff/groff.man: Replace man page references with a
6559 pointer to roff.man.
6561 2001-12-09 Bernd Warken <bwarken@mayn.de>
6563 * man/roff.man: Completely rewritten.
6565 2001-12-06 Ralph Corderoy <ralph@inputplus.demon.co.uk>
6567 * src/preproc/eqn/main.cc (inline_equation): Improve error message.
6569 2001-12-05 Werner LEMBERG <wl@gnu.org>
6571 * src/roff/troff/input.cc (get_delim_file_name): Removed since no
6573 * src/devices/grohtml/post-html.cc (html_printer::html_printer): Fix
6574 order of initializers.
6577 2001-12-05 Gaius Mulley <gaius@glam.ac.uk>
6579 * doc/groff.texinfo: Fix documentation of \O.
6581 * src/devices/grohtml/html-text.cc (html_text::do_indent,
6582 html_text::do_table, html_text::do_emittext, html_text::do_para):
6583 Use `const' for first argument.
6584 (html_text::do_table): Use cast.
6585 * src/devices/grohtml/html-text.h: Updated.
6586 * src/devices/grohtml/output.cc (simple_output::put_string): Add
6587 method for `const string &s'.
6588 * src/devices/grohtml/html.h: Updated.
6589 * src/devices/grohtml/post-html.cc (MAX_STRING_LENGTH): Removed.
6590 (ANCHOR_TEMPLATE): Modified.
6591 (manufacture_headings): New global variable to handle `-h' option.
6592 (is_subsection): Removed.
6593 (char_buffer::add_string): Add `const' to first argument.
6594 Protect against invalid string argument.
6595 Add method for `const string &s'.
6596 (text_glob): Completely redesigned.
6597 (page): Use `const' for strings and remove string length variable.
6598 (page::add_html): Removed.
6599 (page::add_end_encode): New member function.
6600 (to_unicode): Moved upwards.
6601 (title_desc, header_desc): Updated.
6602 (header_desc::write_headings): Updated to new ANCHOR_TEMPLATE
6604 (html_printer::is_bold, html_printer::make_bold): New member
6606 (html_printer::end_of_line): Updated.
6607 (generate_img_src, html_printer::do_auto_image,
6608 html_printer::do_title, html_printer::write_header,
6609 html_printer::determine_header_level, html_printer::do_heading,
6610 html_printer::do_linelength, html_printer::do_pageoffset,
6611 html_printer::do_indentation, html_printer::do_tempindent,
6612 html_printer::do_indentedparagraph, html_printer::do_break,
6613 html_printer::flush_sbuf, get_html_translation,
6614 html_printer::begin_page, html_printer::special): Rewritten to get
6615 rid of static string length limit.
6616 (html_printer::troff_tag): Added `.no-auto-rule'.
6617 (html_printer::flush_globs): Small fix.
6618 (html_printer::determine_space): Don't compute `space_width'.
6619 (html_printer::translate_to_html): Renamed to ...
6620 (html_printer::emit_html): This (with updates).
6621 (html_printer::write_header): Implement `-h' option.
6622 (html_printer::draw): Remove commented-out code. Handle `F'
6624 (html_printer::add_char_to_sbuf): Removed.
6625 (html_printer::add_to_sbuf): Rewritten.
6626 (html_printer::sbuf_continuation): Fixed.
6627 (html_printer::seen_backwards_escape, reverse,
6628 html_printer::remove_last_char_from_sbuf): Removed.
6629 (char_translate_to_html, str_translate_to_html): Removed.
6630 (html_printer::overstrike): New function member.
6631 (html_printer::set_char): Use it.
6632 (html_printer::do_body): New function member.
6633 (html_printer::~html_printer): Use it.
6634 (main): Handle `-h' option.
6636 * src/devices/grohtml/grohtml.man: Document -h switch.
6638 * src/preproc/html/pre-html.cc: Include searchpath.h
6639 Replace `POSTSCRIPTRES' macro with `postscriptRes' variable.
6640 (get_resolution): New function.
6641 (checkImageDir): Use `0777' permissions in mkdir()
6642 (write_start_image): Rewritten to use `\O[5...]'.
6643 (createImage, generateImages): Updated.
6644 (main): Handle `F' and `h' options.
6645 Use `get_resolution'.
6647 * src/roff/troff/input.cc (begin, end, image): Removed.
6648 (do_suppress): Take parameter.
6649 Handle modified syntax of `\O'.
6650 (token::next): Updated.
6651 (init_markup_requests): Removed.
6654 * src/roff/troff/div.h: Add declaration for begin_page().
6656 * tmac/color-html.tmac: Removed. Contents moved to...
6657 * tmac/html.tmac: Here. Set background color.
6658 * tmac/color.tmac: Removed. Contents moved to...
6659 * tmac/ps.tmac: Here.
6660 * tmac/www.tmac: Remove the title command when generating images
6662 (NO_AUTO_RULE): New macro.
6663 (HTML_DO_IMAGE): Use revised `\O' escapes.
6664 * tmac/Makefile.sub, tmac/groff_www.man, tmac/troffrc: Updated.
6666 2001-12-02 Werner LEMBERG <wl@gnu.org>
6668 * tmac/groff_mdoc.man: Fix typo.
6670 2001-12-01 Colin Watson <cjwatson@debian.org>
6672 * man/roff.man: Fix typo.
6674 2001-11-29 Werner LEMBERG <wl@gnu.org>
6676 * src/libs/libbib/map.c, src/utils/pfbtops/pfbtops.c: Include
6679 * src/roff/troff/input.cc (read_draw_node): Emit error message if
6680 more than one argument to \D'f ...'.
6682 * tmac/Makefile.sub (NORMALFILES): Add lbp.tmac.
6684 2001-11-28 Werner LEMBERG <wl@gnu.org>
6686 * tmac/an-old.tmac, tmac/doc.tmac: Assure that the macro package is
6689 * tmac/groff_man.man: Minor cosmetic fix.
6691 2001-11-27 Werner LEMBERG <wl@gnu.org>
6693 * src/roff/groff/groff.man, tmac/groff_tmac.man,
6694 tmac/groff_www.man: s/mwww/www/.
6696 2001-11-26 Werner LEMBERG <wl@gnu.org>
6698 * aclocal.m4 (GROFF_MKSTEMP): Implement test using C++ linkage.
6699 * configure: Regenerated.
6700 * win32-diffs: Updated.
6702 * tmac/groff_mwww.tmac: Renamed to ...
6703 * tmac/groff_www.tmac: This.
6704 * tmac/mwww.tmac: Removed.
6705 * NEWS, tmac/Makefile.sub: Updated.
6707 2001-11-21 Werner LEMBERG <wl@gnu.org>
6709 * doc/groff.texinfo: Improve documentation of the `\v' escape.
6710 Fix explanation of `\D' and `rt'.
6712 2001-11-20 Werner LEMBERG <wl@gnu.org>
6714 * tmac/an-old.tmac (an-header): Set header length equal to page
6716 * doc/groff.texinfo: Improve documentation of `ne' request. Other
6720 2001-11-19 Werner LEMBERG <wl@gnu.org>
6722 * NEWS, man/Makefile.sub: Updated.
6724 2001-11-19 Bernd Warken <bwarken@mayn.de>
6726 * man/ditroff.man: New file.
6728 2001-11-17 Werner LEMBERG <wl@gnu.org>
6730 * man/groff_differences.man: Renamed to ...
6731 * man/groff_diff.man: This. Updated.
6732 * man/Makefile.sub, src/roff/troff/troff.man, NEWS: Updated.
6734 * src/preproc/html/pushbackbuffer.cc: Renamed to ...
6735 * src/preproc/html/pushback.cc: This. Updated.
6736 * src/preproc/html/pushbackbuffer.h: Renamed to ...
6737 * src/preproc/html/pushback.h: This.
6738 * src/preproc/html/Makefile.sub, src/preproc/html/pre-html.cc:
6741 * src/libs/libgroff/htmlindicate.cc: Renamed to ...
6742 * src/libs/libgroff/htmlhint.cc: This.
6743 * src/libs/libgroff/Makefile.sub: Updated.
6745 * tmac/an-old.tmac (an-end): Fix page length.
6747 2001-11-16 Werner LEMBERG <wl@gnu.org>
6749 * NEWS, man/groff_differences.man, doc/groff.texinfo: Updated.
6750 * man/Makefile.sub: Include groff_differences.man.
6751 * VERSION: Set to 1.18.
6752 * REVISION: Set to 0.
6754 2001-11-16 Bernd Warken <bwarken@mayn.de>
6756 * src/roff/troff/input.cc (do_define_macro): Allow whitespace before
6757 the second dot (or ending macro name) to end a macro.
6758 * doc/groff.texinfo: Doc fix.
6760 2001-11-16 Ruslan Ermilov <ru@FreeBSD.org>
6762 * tmac/doc-common (doc-header): Handle very long document titles
6765 2001-11-16 Werner LEMBERG <wl@gnu.org>
6767 * tmac/doc.tmac (doc-do-Bl-args): Fix .substring requests.
6769 2001-11-15 Werner LEMBERG <wl@gnu.org>
6771 * src/roff/troff/troff.man: Revised and split into troff.man and...
6772 * man/groff_differences.man: New file.
6775 2001-11-13 Werner LEMBERG <wl@gnu.org>
6777 * tmac/an-old.tmac (TS, TE): New macros for table support.
6779 2001-11-12 Werner LEMBERG <wl@gnu.org>
6781 * src/include/lib.h: Provide a fix for emx to not include
6784 2001-10-27 Werner LEMBERG <wl@gnu.org>
6786 * src/roff/troff/input.cc (substring_macro): Fix computation of
6789 2001-10-20 Werner LEMBERG <wl@gnu.org>
6791 Undo change from 2001-08-28.
6793 * src/roff/troff/input.cc (have_input): New global variable.
6794 (token::next): Set `have_input' for \f, \H, \R, \s, and \S if not
6795 in compatibility mode.
6796 (process_input_stack): Use it.
6798 2001-10-19 Ruslan Ermilov <ru@FreeBSD.org>
6800 * tmac/doc.tmac (doc-flag-recursion): Protect arguments against
6801 being handled as end-of-sentence characters,
6803 2001-10-10 Gaius Mulley <gaius@glam.ac.uk>
6805 * src/roff/troff/input.cc (file_iterator): New members
6806 `suppress_newline_flag' and `seen_escape'.
6807 (file_iterator::next_file): Updated.
6808 (file_iterator::fill): Use it.
6809 (string_iterator): New member `suppress_newline_flag'.
6810 (string_iterator::fill): Set it.
6811 (get_color_element): Use MAX_COLOR_VAL.
6812 * src/roff/troff/env.cc (environment): Remove `need_eol'.
6813 (no_fill): Don't set `env->ignore_next_eol'.
6814 (environment::newline): Handle `eol' tag properly.
6816 (environment::add_html_tag): Set `env->ignore_next_eol'.
6818 * src/roff/troff/env.h (environment): Updated.
6820 * src/devices/grohtml/post-html.cc (text_glob::is_eol_ce): New
6822 (html_printer::outstanding_eol): New member function.
6823 (html_printer::do_title): Use new functions.
6824 (html_printer::troff_tag): Test `id_eol_ce'.
6826 2001-10-10 Werner LEMBERG <wl@gnu.org>
6828 * tmac/color.tmac, tmac/color-html.tmac: Use `.do' to make those
6829 files work with -C also.
6831 2001-10-05 Werner LEMBERG <wl@gnu.org>
6833 * doc/pic.ms: Minor fix.
6834 * src/preproc/html/pre-html.cc (scanArguments): Don't handle `-?'
6835 as a valid command line switch.
6836 * src/devices/grohtml/post-html.cc (main): Ditto.
6838 * src/devices/grohtml/grohtml.man: Updated.
6839 * src/roff/groff/groff.cc (main): Pass `-v' to predriver also.
6841 2001-10-04 Werner LEMBERG <wl@gnu.org>
6843 Implementing color support in troff, pic, grops, and grohtml. These
6844 changes are based on a major patch provided by Gaius Mulley
6847 New request: `defcolor', supporting rgb, cmy, cmyk, and gray
6848 definitions with both hex values and fractions.
6850 New escapes: \m and \M for drawing and background color,
6851 respectively. This corresponds to the troff output commands `m'
6854 groff and troff accept command line switch `-c' to disable color
6855 output (which is automatically disabled in compatibility mode).
6857 New scaling indicator `f' for fractions (1f = 65536u).
6859 New conditional operator `m' to test for defined colors with `if'
6862 New keywords `color' (or `colour', `colored', `coloured'), `outline'
6863 (or `outlined'), and `shaded' added to pic.
6865 * src/include/color.h: New file.
6866 * src/include/driver.h: Include it.
6867 * src/include/printer.h: Include color.h.
6868 (environment): New members `col' and `fill'.
6869 (printer): Remove `adjust_arc_center' member function.
6870 * src/include/Makefile.sub: Updated.
6872 * src/libs/libdriver/input.cc (do_file): Initialize `env.col' and
6874 Handle `m' and `DF' troff commands.
6875 * src/libs/libgroff/color.cc: New file.
6876 * src/libs/libgroff/Makefile.sub: Updated.
6878 * src/preproc/html/pre-html.cc (IMAGE_BORDER_PIXELS): Set to 2.
6880 (createImage): Fix computation of `y2'.
6882 (buffer::write_file_html): Remove calls to `stop'.
6884 * src/preproc/pic/common.h (common_output): New abstract function
6885 members `set_color', `reset_color', `get_last_filled', and
6886 `get_outline_color'.
6887 * src/preproc/pic/object.h: Add `IS_SHADED' and `IS_OUTLINED'.
6888 (object_spec): Add members `shaded' and `outlined'.
6889 * src/preproc/pic/output.h (output): `command' is now abstract.
6890 New function members `set_color', `reset_color', `get_last_filled',
6891 and `get_outline_color'.
6892 * src/preproc/pic/lex.cc (lookup_keyword): Recognize `colo[u]r[ed]',
6893 `outline[d]', and `shaded'.
6894 * src/preproc/pic/object.cc (output::command): Removed.
6895 (output::set_location): Moved to output.h.
6896 (graphic_object): Add protected members `outline_color' and
6898 Add member functions `set_outline_color', `get_outline_color', and
6900 (closed_object): Add member function `set_fill_color'.
6901 Add member `color_fill'.
6902 (graphic_object::print_text): Use `out->set_color' and
6904 (box_object::print, ellipse_object::print, circle_object::print,
6905 line_object::print, spline_object::print, arc_object::print): Ditto.
6906 (object_spec::make_object): Implement `IS_OUTLINED' and `IS_SHADED'.
6907 * src/preproc/pic/pic.y: Add tokens `COLORED', `OUTLINED', and
6908 `SHADED', making them `%left'.
6909 Add rules `object_spec [SHADED|COLORED|OUTLINED] text'.
6910 * src/preproc/pic/tex.cc (tex_output): New dummy function members
6911 `set_color', `reset_color', `get_last_filled', and
6912 `get_outline_color'.
6913 * src/preproc/pic/troff.cc (simple_output): New abstract function
6914 members `set_color', `reset_color', and `get_last_filled'.
6915 (simple_output::polygon, simple_output::circle,
6916 simple_output::ellipse): Use `get_last_filled'.
6917 (troff_output): New members `last_filled' and `last_outlined'.
6918 New function members `set_color', `reset_color', `get_last_filled',
6919 and `get_outline_color'.
6920 (troff_output::finish_picture): Use `reset_color'.
6921 (troff_output::set_fill): Test `last_filled'.
6922 * src/preproc/pic/pic.man: Updated.
6924 * src/roff/groff/groff.cc (main): Implement `-c' option.
6925 (synopsis, help): Updated.
6926 src/roff/groff/groff.man: Updated.
6928 * src/roff/troff/troff.h: Include color.h.
6929 (warning_type): Add WARN_COLOR.
6930 * src/roff/troff/env.h (environment): New members
6931 `{cur,prev}_{glyph,fill}_color'.
6932 New member functions `get_{prev_,}{glyph,fill}_color'.
6933 * src/roff/troff/env.cc: Initialize and implement them.
6934 * src/roff/troff/input.cc: New global variable `disable_color_flag'.
6935 Replace `NULL' with `0' everywhere for consistency.
6936 (lookup_color, default_black, do_glyph_color, do_fill_color,
6937 get_color_element, read_rgb, read_cmy, read_cmyk, read_gray,
6938 define_color): New functions.
6939 (token::next): Implement \M and \m escapes.
6940 (do_if_request): Implement `m' operator.
6942 (main): Implement `-c' option.
6943 (init_markup_requests): Add `defcolor' request.
6944 (warning_table): Add `color' warning.
6945 * src/roff/troff/node.h (glyph_color_node, fill_color_node): New
6947 * src/roff/troff/node.cc (troff_output_file): New members
6948 `current_{page,glyph}color'. New member functions `put_hex',
6949 `glyph_color', and `fill_color'.
6950 (glyph_color_node::*, fill_color_node::*): Implement it.
6951 * src/roff/troff/number.cc (SCALE_INDICATOR_CHARS): Add `f'.
6952 (parse_term): Add support for `f'.
6953 * src/roff/troff/troff.man: Updated.
6955 * src/devices/grodvi/dvi.cc (draw_dvi_printer::draw): Add dummy
6957 * src/devices/grolbp/lbp.cc (lbp_printer::draw): Ditto.
6958 * src/devices/grolj4/lj4.cc (lj4_printer::draw): Ditto.
6960 * src/devices/grohtml/html-text.h (HTML_TAG): Add COLOR_TAG.
6961 (tag_definition): Use `void *' for arg1.
6962 (html_text): New member functions `do_color' and `done_color'.
6963 Use `void *' for second parameter of `push_para' member function.
6964 New `push_para' member function with a single parameter.
6965 Use `char *' for parameter of `issue_table_begin' member funtion.
6966 New `issue_color_begin' member function.
6967 * src/devices/grohtml/html-text.cc (html_text::end_tag): Handle
6969 (html_text::issue_color_begin): New function.
6970 (html_text::issue_table_begin): Use `char *' for parameter.
6971 (html_text::start_tag, html_text::shutdown,
6972 html_text::check_emit_text): Updated.
6973 (html_text::push_para): Use `void *' for second parameter.
6974 Add same function with only one parameter.
6975 (html_text::do_*): Updated.
6976 (html_text::do_color, html_text::done_color): New functions.
6977 * src/devices/grohtml/post-html.cc (style): New member `col'.
6978 Mew member `style' with 6 parameters.
6979 (style::style, style::operator==): Updated.
6980 (html_printer::do_font): Use it.
6981 (html_printer::draw): Add dummy entry for `F'.
6982 (html_printer::set_char): Updated.
6983 * src/devices/grohtml/grohtml.man: Updated.
6985 * src/devices/grops/ps.cc (ps_output::put_float): Use `%g' to have
6986 trailing zeroes removed.
6987 (ps_printer): New members `sbuf_color', `fill_color', and
6989 Removed member `fill'.
6990 New member function `set_color'.
6991 (ps_printer::ps_printer, ps_printer::set_char): Updated.
6992 (ps_printer::flush_sbuf, ps_printer::set_line_thickness,
6993 ps_printer::fill_path, ps_printer::draw): Use `set_color'.
6995 * tmac/color-html.tmac, tmac/color.tmac: New files.
6996 * tmac/troffrc: Include them.
6997 * tmac/www.tmac (URL, FTP, MAILTO): Use blue color.
6998 * tmac/Makefile.sub: Updated.
7000 * NEWS, doc/groff.texinfo, doc/pic.ms, man/groff_out.man,
7001 man/groff.man: Updated.
7002 * font/devps/prologue.ps: Define FC and CO functions.
7004 2001-10-04 Gaius Mulley <gaius@glam.ac.uk>
7006 Fix incorrect cropping of images and incorrect handling of special
7007 characters. Fix handling of file names in \O.
7009 * src/include/geometry.h: New file.
7010 * src/libs/libgroff/geometry.cc: New file.
7011 * src/libs/libdriver/printer.cc (printer::adjust_arc_center): Moved
7013 * src/roff/troff/input.cc (get_delim_file_name): Fixed problem with
7015 (do_suppress): Updated.
7016 * src/roff/troff/node.cc: Include geometry.h.
7017 (troff_output_file::flush_tbuf): Fixed parameters to
7018 `check_output_limits'.
7019 (troff_output_file::check_charinfo): Ditto.
7020 (troff_output_file::determine_line_limits): Add support for `Da'
7023 * src/devices/grohtml/post-html.cc (str_translate_to_html):
7024 Add new parameter `is_special' to decode special characters from
7026 (html_printer::do_title, html_printer::do_heading,
7027 html_printer::do_indentedparagraph,
7028 html_printer::translate_to_html, html_printer::special): Updated.
7030 2001-10-03 Werner LEMBERG <wl@gnu.org>
7032 * Makefile.sub (DISTCLEANFILES): Add stamp-h.
7033 Fix entry for config.h.
7034 * test-groff (GROFF_BIN_PATH): Add $builddir/roff/groff.
7035 * tmac/troffrc: Translate nonbreakable space character to `\~'.
7036 * src/preproc/eqn/eqn.man: Document -d command line option.
7038 2001-09-27 Werner LEMBERG <wl@gnu.org>
7040 * man/groff.man: Use
7048 instead of the old code (`.ad .hy' after the table) to suppress
7049 incorrect hyphenation for grohtml output.
7051 2001-09-22 Werner LEMBERG <wl@gnu.org>
7053 * man/groff_font.man, man/groff_out.man: Minor fixes.
7055 2001-09-20 Werner LEMBERG <wl@gnu.org>
7057 * PROBLEMS: Updated, reordered. Improved EPS section (thanks to
7058 Arnold Robbins <arnold@skeeve.com>).
7060 2001-09-09 Werner LEMBERG <wl@gnu.org>
7062 * configure: Regenerated with autoconf 2.52.
7064 * doc/groff.texinfo: Complete revision of indices.
7066 2001-09-07 Werner LEMBERG <wl@gnu.org>
7068 * doc/Makefile (clean): Updated to delete all indices.
7070 2001-09-05 Werner LEMBERG <wl@gnu.org>
7072 * src/roff/troff/troff.man: Remove superfluous line.
7074 * tmac/s.tmac: Enable all warnings only if no -W or -w option is
7075 given on the command line (or rather, if only the default warnings
7078 2001-09-03 Werner LEMBERG <wl@gnu.org>
7080 * man/groff.man, src/preproc/eqn/eqn.man, tmac/groff_mdoc.man: Don't
7081 use .ne for TTY devices.
7083 2001-08-31 Werner LEMBERG <wl@gnu.org>
7085 * src/roff/troff/token.h, src/roff/troff/input.cc:
7086 s/TOKEN_TRANSPARENT_ESCAPE/TOKEN_OPAQUE_ESCAPE/.
7088 2001-08-28 Werner LEMBERG <wl@gnu.org>
7090 * src/roff/troff/token.h (token_type): Add TOKEN_TRANSPARENT_ESCAPE.
7091 * src/roff/troff/input.cc (token::next): Return
7092 TOKEN_TRANSPARENT_ESCAPE for \f, \H, \R, \s, and \S if not in
7094 (token::description): Updated.
7095 (process_input_stack): Reset `bol' for TOKEN_TRANSPARENT_ESCAPE.
7096 (token::add_to_node_list, token::process): Ignore
7097 TOKEN_TRANSPARENT_ESCAPE.
7099 2001-08-27 Werner LEMBERG <wl@gnu.org>
7101 * tmac/an-old.tmac: Fix `S' string.
7103 2001-08-26 Werner LEMBERG <wl@gnu.org>
7105 * src/roff/troff/troff.man: Don't use .ne for TTY devices.
7107 2001-08-25 Werner LEMBERG <wl@gnu.org>
7109 * doc/pic.ms: Replace `\\' with `\e' (and fixing some single
7111 Many other minor fixes.
7113 * configure.ac: Add message at end to inform how to compile
7115 * configure: Regenerated.
7117 2001-08-24 Werner LEMBERG <wl@gnu.org>
7119 * src/include/getopt.h, src/libs/libgroff/{getopt.c, getopt1.c}:
7120 Updated to latest version of libc.
7122 2001-08-23 Werner LEMBERG <wl@gnu.org>
7124 * configure.ac: Don't create subdirectories before AC_CONFIG_FILES.
7125 Autoconf 2.50 and newer can handle this.
7126 * configure: Regenerated.
7128 2001-08-21 Werner LEMBERG <wl@gnu.org>
7130 * doc/pic.ms: Fix typo.
7131 * src/preproc/tbl/tbl.man: Document case of global options.
7133 2001-08-21 Gaius Mulley <gaius@glam.ac.uk>
7135 * src/devices/grohtml/post-html.cc (html_printer::end_font): Fix
7136 handling of `CR' font.
7138 2001-08-20 Werner LEMBERG <wl@gnu.org>
7140 Use a config.h file.
7142 * src/include/lib.h: Include config.h.
7143 * All C files: Ditto (if necessary).
7144 * All C++ source and header files: Include lib.h first (if
7147 * src/include/config.hin: New file (autogenerated by autoheader).
7148 * stamp-h.in: New file.
7149 * configure.ac: Updated.
7150 * aclocal.m4: Add third parameters to AC_DEFINE macros.
7151 (GROFF_ARRAY_DELETE): Simplified.
7152 * Makefile.sub (DISTCLEANFILES): Updated.
7153 Added targets for remaking config.status, config.hin, config.h,
7154 stamp-h.in, and stamp-h.
7155 * configure: Regenerated.
7157 2001-08-19 Werner LEMBERG <wl@gnu.org>
7161 2001-08-18 Sebastian Krahmer <krahmer@suse.de>
7163 * src/preproc/pic/pic.y (format_number): Use do_sprintf().
7164 (do_sprintf): Use snprintf().
7166 2001-08-18 Werner LEMBERG <wl@gnu.org>
7168 * src/libs/snprintf/*: Added an snprintf module written by Mark
7170 * src/libs/libgroff/Makefile.sub: Updated.
7171 * configure.ac: Add test for snprintf().
7172 * Makefile.in: Updated.
7173 * configure: Regenerated.
7175 * src/preproc/html/pre-html.cc (make_message): Reactivate code which
7178 2001-08-14 Ruslan Ermilov <ru@FreeBSD.org>
7180 * tmac/doc.tmac (Ex): New implementation.
7181 * tmac/doc-common, tmac/groff_tmac.man: Updated.
7183 2001-08-13 Ruslan Ermilov <ru@FreeBSD.org>
7185 * tmac/doc.tmac (Rv): Implement support for 0 or more than 1
7187 * tmac/groff_tmac.man: Updated.
7189 2001-08-13 Werner LEMBERG <wl@gnu.org>
7191 * src/preproc/tbl/tbl.man: Minor documentation update.
7193 2001-08-13 John David Anglin <dave@hiauly1.hia.nrc.ca>
7195 * src/libs/libgroff/tmpname.cc: Add prototype for gettimeofday().
7196 * configure.ac: Add declaration test for gettimeofday().
7197 * Makefile.in: Document NEED_DECLARATION_GETTIMEOFDAY defines.
7198 * aclocal.m4: Include sys/time.h for gettimeofday declaration test.
7199 * configure: Regenerated.
7201 2001-08-11 Werner LEMBERG <wl@gnu.org>
7203 * aclocal.m4 (GROFF_MKSTEMP): Define HAVE_MKSTEMP.
7204 * configure.ac: Add declaration test for strcasecmp().
7205 * Makefile.in: Updated.
7206 * configure: Regenerated.
7207 * src/include/lib.h [!HAVE_MKSTEMP]: Add prototype for mkstemp() --
7208 this is necessary because groff's mkstemp.cc is C++.
7209 Add declaration conditionally for strcasecmp().
7211 2001-08-10 Werner LEMBERG <wl@gnu.org>
7213 Integrated pic2graph, contributed by Eric S. Raymond.
7215 * contrib/pic2graph/{Makefile.sub, pic2graph.sh, pic2graph.man}: New
7217 * Makefile.in, NEWS: Updated.
7219 * src/preproc/tbl/tbl.man: Revised.
7221 2001-08-09 Eric S. Raymond <esr@thyrsus.com>
7223 * src/preproc/tbl/tbl.man: Extended to cover all tbl features.
7225 2001-08-09 Werner LEMBERG <wl@gnu.org>
7227 * src/preproc/tbl/main.cc (process_data): Fix recognition of .lf
7230 2001-08-08 Paul Eggert <eggert@twinsun.com>
7232 * Makefile.sub (configure): Depend on configure.ac, not
7234 * INSTALL.gen: Upgrade to autoconf 2.52's INSTALL.
7236 2001-08-07 Werner LEMBERG <wl@gnu.org>
7238 * src/utils/afmtodit/afmtodit.man, src/roff/groff/groff.man: Minor
7241 2001-08-06 Werner LEMBERG <wl@gnu.org>
7243 * src/roff/troff/troff.man: Improve documentation of -E option.
7245 2001-07-28 Ralph Corderoy <ralph@inputplus.demon.co.uk>
7247 * src/preproc/html/pushbackbuffer.cc (pushBackBuffer::readNumber):
7250 2001-07-27 Werner LEMBERG <wl@gnu.org>
7252 * src/preproc/refer/refer.cc: Undo last change.
7253 * src/devices/grohtml/post-html.cc: Ditto.
7255 2001-07-26 Werner LEMBERG <wl@gnu.org>
7257 * src/preproc/refer/refer.cc: Include `lib.h'.
7258 * src/devices/grohtml/post-html.cc: Ditto.
7260 2001-07-25 Gaius Mulley <gaius@glam.ac.uk>
7262 * aclocal.m4 (GROFF_PAGE): Add `AC_DEFINE(PAGEA4)'.
7263 * src/preproc/html/pre-html.cc: Use it for DEFAULT_VERTICAL_OFFSET.
7264 * Makefile.in: Comment updated.
7265 * configure: Regenerated.
7267 2001-07-25 Werner LEMBERG <wl@gnu.org>
7269 * src/preproc/pic/pic.cc: Removed.
7270 * src/preproc/pic/pic_tab.h: Removed.
7271 * src/preproc/refer/label.cc: Removed.
7273 * doc/Makefile (.ms.html): Don't use a file name extension in
7274 argument to grohtml's -I option.
7275 * Makefile.in (dist): Remove CVS directories.
7276 Call `distfiles' target.
7278 * src/devices/grohtml/grohtml.man: Add information about valid
7279 versions of pnmtopng.
7280 * src/preproc/html/pre-html.cc (TRANSPARENT): Use `white' as colour
7281 name instead of number.
7283 2001-07-24 Werner LEMBERG <wl@gnu.org>
7285 * doc/groff.texinfo: Minor fixes.
7287 2001-07-21 Gaius Mulley <gaius@glam.ac.uk>
7289 * doc/Makefile (.ms.html): Put image files into a subdirectory.
7292 2001-07-20 Werner LEMBERG <wl@gnu.org>
7294 * src/libs/libgroff/tmpname.cc: New file, defining get_tempname().
7295 * src/libs/libgroff/mkstemp.cc: New file.
7296 * src/libs/libgroff/mksdir.cc: New file.
7297 * src/libs/libgroff/tmpfile.cc [HAVE_MKSTEMP_PROTO]: Removed.
7298 (xtmpfile) [!HAVE_MKSTEMP]: Removed.
7299 * src/libs/libgroff/Makefile.sub: Updated.
7300 * src/include/lib.h: Add mksdir() prototype.
7301 * src/include/posix.h: Define S_IXUSR if not yet defined.
7303 * src/preproc/html/pre-html.cc (MAX_RETRIES): Removed.
7304 (createAllPages): Use mksdir() instead of current code.
7305 * src/utils/indxbib/indxbib.cc [HAVE_MKSTEMP_PROTO]: Removed.
7306 (main): [!HAVE_MKSTEMP]: Removed.
7308 * aclocal.m4 (GROFF_MKSTEMP): Updated to use new mkstemp.cc file.
7309 (GROFF_INTTYPES_H, GROFF_UNSIGNED_LONG_LONG, GROFF_UINTMAX_T): New
7311 * configure.ac: Add tests for stdint.h, sys/time.h, and
7313 Call new GROFF_xxx macros.
7314 * configure: Regenerated.
7315 * Makefile.in: Comments updated.
7317 2001-07-20 Gaius Mulley <gaius@glam.ac.uk>
7319 * src/preproc/html/pre-html.cc (scanArguments): Use getopt_long()
7320 instead of current code.
7321 * src/devices/grohtml/post-html.cc (main): Handle `-d' option.
7322 * src/roff/groff/groff.cc (possible_command::insert_args): New
7324 (main): Use it for predriver handling instead of insert_arg().
7326 2001-07-19 Werner LEMBERG <wl@gnu.org>
7328 * doc/Makefile: Added GROFF_BIN_PATH to make it work with uninstalled
7331 * src/include/posix.h: Define S_IWUSR if not yet defined.
7333 2001-07-18 Werner LEMBERG <wl@gnu.org>
7337 2001-07-18 Ruslan Ermilov <ru@FreeBSD.org>
7339 * tmac/groff_mdoc.man: Document new -width and -column syntax.
7340 Some other minor fixes.
7341 * tmac/an-old.tmac: Add `AT' and `UC' macros.
7343 2001-07-17 Gaius Mulley <gaius@glam.ac.uk>
7345 Replace call to `troff' with `groff -Z' to make it aware of
7348 * src/preproc/html/pre-html.cc (TROFF_COMMAND): New macro.
7349 (troff_command, command_prefix): Removed.
7350 (alterDeviceTo): Use groff.
7351 (addZ): New function.
7352 (char_buffer::do_html): Use it.
7353 (scanArguments): Use TROFF_COMMAND.
7354 (findPrefix): Removed.
7356 * src/roff/groff/groff.cc (main): Handle zflag for preprocessors.
7358 2001-07-17 Eric S. Raymond <esr@snark.thyrsus.com>
7360 * doc/pic.ms: Documentation fixes.
7362 2001-07-17 Werner LEMBERG <wl@gnu.org>
7364 Replace atexit() with global destructor.
7366 * src/libs/libgroff/tmpfile.cc (xtmpfile_list): Add constructor.
7367 (xtmpfile_list_init): New global structure to deallocate
7368 xtmpfile_list on exit. Its destructor inherits most code from
7370 (remove_tmp_files): Deleted.
7371 (add_tmp_file): Simplified.
7373 2001-07-16 Werner LEMBERG <wl@gnu.org>
7375 Replace strdup() with strsave().
7377 * src/devices/grolbp/lbp.cc [!HAVE_STRDUP]: Removed.
7378 (set_papersize): Use strsave() and a_delete.
7379 (main): Use strsave().
7380 * src/preproc/html/pre-html.cc (make_message, createAllPages,
7381 removeAllPages): Use strsave() and a_delete.
7383 * configure.ac: Remove test for strdup.
7384 * Makefile.in: Comment updated.
7385 * configure: Regenerated.
7387 2001-07-15 Werner LEMBERG <wl@gnu.org>
7389 * win32-diffs: Updated.
7391 2001-07-14 Werner LEMBERG <wl@gnu.org>
7393 * src/preproc/html/pre-html.cc (makeTempFiles): Activate new code,
7394 removing the old one.
7395 * src/utils/indxbib/indxbib.cc (main): Remove compiler warning.
7397 2001-07-14 Ralph Corderoy <ralph@inputplus.demon.co.uk>
7399 * src/libs/libgroff/tmpfile.cc (xtmpfile): Fix guard for `namep'.
7401 2001-07-12 Ruslan Ermilov <ru@FreeBSD.org>
7403 Merge -xwidth into -width. Add -xwidth functionality to -column
7406 * tmac/doc.tmac (Bl): Add dummy doc-typeXXX and doc-spaceXXX to
7408 (doc-do-Bl-args): Merge -xwidth code with -width. Test whether
7409 string immediately following a leading dot starts with a valid mdoc
7411 Add similar code to the -column branch.
7412 (doc-Bl-usage): Updated.
7413 * groff_mdoc.man: s/-xwidth/-width/.
7415 2001-07-12 Gaius Mulley <gaius@glam.ac.uk>
7417 * src/devices/grohtml/post-html.cc (text_glob::is_br): Stop titles
7418 running into centered or non-formatted text.
7420 2001-07-11 Werner LEMBERG <wl@gnu.org>
7422 Introduce short and long prefixes to have the selection at run-time
7423 whether there is a 8+3 limit for names of temporary files.
7425 * src/libs/libgroff/tmpfile.cc (TMPFILE_PREFIX): Replaced with...
7426 (TMPFILE_PREFIX_SHORT, TMPFILE_PREFIX_LONG): This.
7427 (tmpfile_prefix, tmpfile_prefix_len, use_short_prefix): New
7429 (temp_init): New global structure to initialize above three
7431 (xtmptemplate): Use two parameters for long and short prefix.
7432 Simplify code use above three variables.
7433 (xtmpfile): Use long and short prefixes as parameters.
7434 * src/include/lib.h: Updated.
7436 * src/preproc/html/pre-html.cc ({PAGE,PS,REGION}_TEMPLATE): Replace
7438 ({PAGE,PS,REGION}_TEMPLATE_{SHORT,LONG}): This.
7439 (createAllPages, makeTempFiles): Updated.
7441 2001-07-09 Werner LEMBERG <wl@gnu.org>
7443 * REVISION: Increased to 3.
7445 Version 1.17.2 released
7446 =======================
7448 2001-07-07 Werner LEMBERG <wl@gnu.org>
7450 * src/utils/indxbib/indxbib.cc (main): Change type of `name_max'
7453 2001-07-06 Ruslan Ermilov <ru@FreeBSD.org>
7455 * tmac/doc.tmac (Rv): Make `Rv' really not parseable.
7457 * tmac/groff_mdoc.man: Fix synopsis.
7459 2001-07-05 Ruslan Ermilov <ru@FreeBSD.org>
7461 * tmac/doc.tmac (doc-inset-list, doc-hang-list, doc-ohang-list):
7462 Restore `doc-Pa-font'.
7464 2001-07-04 Werner LEMBERG <wl@gnu.org>
7466 * src/utils/indxbib/dirnamemax.c: Moved to ...
7467 * src/libs/libgroff/maxfilename.cc: Here.
7468 s/dir_name_max/file_name_max/.
7470 * src/include/lib.h: Add file_name_max.
7471 * src/utils/indxbib/indxbib.cc: Updated.
7472 * src/utils/indxbib/Makefile.sub, src/libs/libgroff/Makefile.sub:
7475 * src/libs/libgroff/tmpfile.cc (TMPFILE_PREFIX) [__MSDOS__]: Define
7477 (xtmpfile) [_MSC_VER]: Removed -- MSVC has mktemp().
7479 * src/preproc/html/pre-html.cc (PAGE_TEMPLATE, PS_TEMPLATE,
7480 REGION_TEMPLATE): New macros.
7481 (createAllPages, makeTempFiles): Use them.
7482 Include `nonposix.h'.
7483 (html_system): New function.
7484 (createAllPages, createImage): Use it.
7487 * tmac/www.tmac: Fix typos.
7489 2001-07-03 Werner LEMBERG <wl@gnu.org>
7491 * tmac/www.tmac: Disable hyphenation in normal text only if output
7493 (URL, FTP, MAILTO): Disable hyphenation of actual URL with `\%'.
7494 * tmac/groff_mwww.man, NEWS: Updated.
7496 2001-07-03 Gaius Mulley <gaius@glam.ac.uk>
7498 * tmac/www.tmac (.IMAGE): Add fourth parameter to specify vertical
7501 2001-07-02 Ruslan Ermilov <ru@FreeBSD.org>
7503 * tmac/doc-common, tmac/doc.tmac (doc-display-ft-stack,
7504 doc-display-ps-stack): Implement font and font size stack for
7507 2001-07-02 Werner LEMBERG <wl@gnu.org>
7509 * REVISION: Increased to 2.
7510 * src/roff/troff/input.cc (read_size): Fix special case `\s[0]'.
7512 * src/groff/grog/grog.pl (process): Handle `Oo' and `Oc' not at the
7513 beginning of a line.
7514 * src/groff/grog/grog.sh: Ditto.
7516 2001-06-29 Peter Marquardt <wwwutz@molgen.mpg.de>
7518 * src/preproc/eqn/neqn.sh: Put `export' keyword in a new line to
7521 2001-06-27 Werner LEMBERG <wl@gnu.org>
7523 Fix problems with preprocessor string for `man' program.
7525 * *.man: Don't use `s' in preprocessor string -- it doesn't exist.
7526 Updated/added copyright.
7527 Moved Emacs's local variable to identify nroff mode to the end of
7528 the file; add local variable if missing.
7530 2001-06-26 Andras Salamon <andras@cs.wits.ac.za>
7532 * aclocal.m4: Replace AC_LANG_SAVE + AC_LANG_CPLUSPLUS with
7533 AC_LANG_PUSH(C++) and AC_LANG_RESTORE with AC_LANG_POP(C++).
7534 * configure: Regenerated.
7536 2001-06-25 Andras Salamon <andras@cs.wits.ac.za>
7538 * aclocal.m4 (GROFF_PAGE): Fix page detection code.
7539 * configure: Regenerated.
7541 2001-06-24 Werner LEMBERG <wl@gnu.org>
7543 * doc/homepage.ms: Don't include arkup.tmac (which no longer exists)
7545 * doc/pic.ms: Fix typos.
7547 Version 1.17.1 released
7548 =======================
7550 2001-06-21 Golubev I. N. <gin@mo.msk.ru>
7552 * aclocal.m4 (GROFF_NEED_DECLARATION): Fix inclusion of strings.h.
7553 * configure: Updated.
7555 2001-06-20 Gaius Mulley <gaius@glam.ac.uk>
7557 * src/roff/preproc/html/pre-html.cc (make_message): Fix incorrect
7559 * src/roff/troff/dic.cc (blank_line): Add html tag.
7561 2001-06-19 Gaius Mulley <gaius@glam.ac.uk>
7563 * src/roff/troff/input.cc (do_suppress): Fix typo.
7565 2001-06-18 Gaius Mulley <gaius@glam.ac.uk>
7567 Added two new options (-D and -I) to specify image names and a
7568 subdirectory to place the images in.
7570 Change syntax from \\Ox to \\O[x].
7572 * src/devices/grohtml/post-html.cc (main): Add options.
7574 * src/preproc/html/pre-html.cc: Include `stdarg.h'.
7575 Use `NULL' instead of `0' for null string pointers.
7576 (MAX_RETRIES): New macro.
7577 (lengthOfintToStr, intToStr, make_message): New functions.
7578 (makeFileName): Make function static.
7579 Implement -D and -I options.
7580 (checkImageDir): New function.
7581 (write_end_image, write_start_image): Use new syntax of \O.
7582 (createAllPages, removeAllPages): Implement -D and -I options. Use
7584 (createImage): Use make_message().
7585 (addps4html): Add guard for malloc().
7586 (usage, scanArguments): Updated.
7587 (makeTempFiles): Use mkstemp().
7588 (removeTempFiles): Use unlink().
7589 (findPrefix): Add guard for malloc().
7591 * src/roff/troff/input.cc (get_delim_file_name): New function to
7593 (do_suppress): Updated to parse new syntax.
7594 * src/devices/grohtml/grohtml.man: Updated.
7595 * tmac/www.tmac: Updated to new syntax.
7599 2001-06-15 Werner LEMBERG <wl@gnu.org>
7601 * src/roff/grog/Makefile.sub: Remove NAMEPREFIX.
7603 * src/devices/grohtml/grohtml.man: Minor improvements.
7605 2001-06-14 Werner LEMBERG <wl@gnu.org>
7607 * src/preproc/html/Makefile.sub: Remove NAMEPREFIX.
7609 2001-06-11 Werner LEMBERG <wl@gnu.org>
7611 * man/roff.man, mann/groff.man: Use '\" instead of .\" in the first
7612 line to specify preprocessor options -- mandb 2.3.1 only recognizes
7614 * src/preproc/grn/grn.man: Add proper '\" string.
7616 2001-06-11 OKAZAKI Tetsurou <okazaki@be.to>
7618 * test-groff: Don't use PATH but GROFF_BIN_PATH.
7620 2001-06-08 Werner LEMBERG <wl@gnu.org>
7622 Updated to autoconf 2.50.
7624 * configure.in: Renamed to...
7625 * configure.ac: This.
7626 * aclocal.m4 (AC_OUTPUT_MAKE_DEFS): Removed.
7627 (GROFF_OS390): Updated.
7628 * configure: Regenerated.
7630 2001-05-18 Werner LEMBERG <wl@gnu.org>
7632 * src/roff/troff/env.c, src/roff/troff/env.h,
7633 src/roff/troff/input.cc, src/roff/troff/troff.man: Undo `ss' change
7636 2001-05-17 Jeffrey Friedl <jfriedl@yahoo-inc.com>
7638 * src/roff/troff/input.cc (read_size): Fix special case `\s0'.
7640 2001-05-16 Werner LEMBERG <wl@gnu.org>
7642 * src/roff/troff/input.cc (read_size): Emit warning if value becomes
7643 less than or equal zero; set it to 1 then.
7644 * src/roff/troff/node.h (node::node): Initialize `last'.
7646 2001-05-08 Werner LEMBERG <wl@gnu.org>
7648 * tmac/an-old.tmac: Make predefined strings work in compatibility
7650 Add troff version guard.
7651 * tmac/doc.tmac: Simplify version guard.
7653 2001-05-07 Werner LEMBERG <wl@gnu.org>
7655 The .ns and .rs requests are now honoured not only in the top-level
7656 but in all diversions (similar to UNIX troff).
7658 This change is based on a patch from Tadziu Hoffmann
7659 <hoffmann@usm.uni-muenchen.de>.
7661 * src/roff/troff/div.h (diversion): Add `no_space_mode' member.
7662 (top_level_diversion): Remove `no_space_mode' member.
7663 * src/roff/troff/div.cc (diversion::diversion,
7664 top_level_diversion::top_level_diversion): Updated.
7665 (macro_diversion::output): Reset `no_space_mode'.
7666 (no_space, restore_spacing): Use `curdiv' unconditionally.
7667 (space_request, blank_line): Check `curdiv->no_space_mode'.
7668 (no_space_mode_reg::get_value, no_space_mode_reg::get_string): Use
7669 `curdiv' unconditionally.
7670 * NEWS, src/roff/troff/troff.man, man/groff.man, doc/groff.texinfo:
7673 2001-05-06 Werner LEMBERG <wl@gnu.org>
7675 Added two new requests `de1' and `am1' which are similar to `de' and
7676 `am' with the difference that compatibility mode is saved on entry,
7677 switched off during macro execution, and restored on exit.
7679 * src/roff/troff/input.h: Added two new special characters
7680 (COMPATIBLE_SAVE, COMPATIBLE_RESTORE).
7681 * src/roff/troff/input.cc (input_iterator): Added two member
7682 functions `save_compatible_flag' and `get_compatible_flag'.
7683 (input_stack): Ditto.
7684 (string_iterator): Ditto. Also add private member
7685 `saved_compatible_flag'.
7686 (token::next): Use COMPATIBLE_SAVE and COMPATIBLE_RESTORE.
7687 (calling_mode): New enumeration.
7688 (do_define_macro): Use it. Insert COMPATIBLE_SAVE and
7689 COMPATIBLE_RESTORE at the beginning and end of macro, respectively.
7690 (define_macro, define_indirect_macro, append_macro, ignore): Use
7692 (define_nocomp_macro, append_nocomp_macro): New functions.
7693 (init_input_requests): Updated.
7694 (do_request): Rename local variable `saved_compatible_flag' to
7695 `old_compatible_flag'.
7696 * NEWS, src/roff/troff/troff.man, man/groff.man: Document it.
7698 * tmac/an-old.tmac: Use `de1' instead of `de' request for all
7699 public and trap-invoked macros. As a consequence, the man macros
7700 work in compatibility mode also.
7702 2001-05-06 Solar Designer <solar@openwall.com>
7704 * Makefile.in: Use $(mandir).
7706 2001-05-06 Alexios Zavras <zvr@pobox.com>
7708 * src/utils/afmtodit/afmtodit.pl: Fix serious typo.
7710 2001-05-05 Werner LEMBERG <wl@gnu.org>
7712 Added `.ns' number register: Returns 1 in no-space mode (if in
7713 top-level diversion), 0 otherwise.
7715 * src/roff/troff/div.cc (no_space_mode_reg): New class.
7716 (init_div_requests): Updated.
7717 * NEWS, src/roff/troff/troff.man, man/groff.man, doc/groff.texinfo:
7720 2001-05-04 Werner LEMBERG <wl@gnu.org>
7722 * src/roff/nroff/nroff.man: Improved documentation (especially
7725 2001-05-02 Werner LEMBERG <wl@gnu.org>
7727 Added `brp' request: This is \p as a request.
7729 * src/roff/troff/env.cc (environment::do_break): Add parameter
7731 (do_break_request): New function (was `break_request').
7732 (break_request): Calls `do_break_request'.
7733 (break_spread_request): New; calls `do_break_request'.
7734 (init_env_requests): Updated.
7735 * src/roff/troff/env.h: Updated.
7736 * NEWS, src/roff/troff/troff.man, man/groff.man: Document it.
7738 * REVISION: Increased to 1.
7739 * win32-diffs: Updated.
7741 2001-05-01 Werner LEMBERG <wl@gnu.org>
7743 * tmac/an-old.tmac: Fix minor compatibility mode issue.
7744 * tmac/troffrc-end: Make it really work in compatibility mode.
7746 2001-04-27 Werner LEMBERG <wl@gnu.org>
7748 * src/utils/lkbib/lkbib.cc: Switch inclusion order of stdio.h and
7751 2001-04-22 Werner LEMBERG <wl@gnu.org>
7753 * src/libs/libgroff/getopt.c, src/include/getopt.h: Updating to
7754 latest versions from glibc CVS archive.
7756 * MORE.STUFF: Updated, using a patch from Kees Zeelenberg
7757 <c.zeelenberg@hccnet.nl>.
7759 2001-04-21 Werner LEMBERG <wl@gnu.org>
7761 * configure.in: Move check for mkstemp() to...
7762 * aclocal.m4 (GROFF_MKSTEMP): This new function.
7763 * configure: Regenerated.
7765 * src/include/groff-getopt.h: Don't use variable names in
7768 * src/devices/grohtml/html-chars.h: Removed. It isn't used.
7769 * src/devices/grohtml/Makefile.sub,
7770 src/devices/grohtml/post-html.cc: Updated.
7772 2001-04-21 Albert Chin-A-Young <china@thewrittenword.com>
7774 * configure.in: Add special check for mkstemp().
7775 * src/libs/libgroff/tmpfile.cc: Use it.
7776 * src/utils/indxbib/indxbib.cc: Ditto.
7777 * src/utils/pfbtops/pfbtops.c (main): Don't use C++ comment style.
7778 * src/devices/grolbp/lbp.h (lbpprintf, lbpputs, vdmprintf): Use
7781 2001-04-20 Bruce Lilly <blilly@erols.com>
7783 `Version_string' as C++ object was not visible to linker from C
7785 Add `const' to `Version_string'.
7787 * src/utils/pfbtops/pfbtops.c (main), src/roff/groff/groff.cc
7788 (main), src/roff/troff/input.cc (main), src/preproc/tbl/main.cc
7789 (main), src/preproc/pic/main.cc (main), src/preproc/eqn/main.cc
7790 (main), src/preproc/grn/main.cc (main), src/preproc/html/pre-html.cc
7791 (scanArguments), src/preproc/refer/refer.cc (main),
7792 src/preproc/soelim/soelim.cc (main), src/devices/grotty/tty.cc
7793 (main), src/devices/grodvi/dvi.cc (main), src/devices/grolj4/lj4.cc
7794 (main), src/devices/grohtml/post-html.cc (main),
7795 src/devices/grolbp/lbp.cc (main), src/utils/tfmtodit/tfmtodit.cc
7796 (main), src/utils/hpftodit/hpftodit.cc (main),
7797 src/utils/lookbib/lookbib.cc (main), src/utils/indxbib/indxbib.cc
7798 (main), src/utils/lkbib/lkbib.cc (main),
7799 src/utils/addftinfo/addftinfo.cc (main): Implement it.
7801 * src/roff/groff/pipeline.c: Add _UWIN.
7802 * src/include/nonposix.h: Ditto.
7804 2001-04-20 Werner LEMBERG <wl@gnu.org>
7806 * src/include/lib.h: Use HAVE_STRERROR.
7807 * src/roff/groff/pipeline.c: Ditto.
7808 * src/preproc/html/pre-html.cc: Remove declaration of `strerror'.
7809 * src/libs/libgroff/Makefile.sub (version.cc): Add `extern "C"'.
7810 * src/utils/pfbtops/pfbtops.c: Add copyright notice.
7811 * win32-diffs: Updated.
7812 * src/utils/hpftodit/hpftodit.cc (read_map): Fix compiler warning.
7814 2001-04-19 Werner LEMBERG <wl@gnu.org>
7816 * src/preproc/html/pre-html.cc (scanArguments): Use `troff_command'
7817 instead of hardwired `"troff"'.
7818 (char_buffer::read_file): Remove unused variables.
7819 (char_buffer::write_file_troff): Ditto.
7820 (char_buffer::write_file_html): Ditto.
7821 (generateImages): Ditto.
7823 * src/utils/addftinfo/addftinfo.cc (main): Fix compilation problem.
7825 * src/include/lib.h: Don't include `groff-getopt.h' for UWIN.
7827 * src/libs/libgroff/font.cc (font::load_desc): Fix compiler warning.
7828 * src/libs/libbib/index.cc (index_search_item_iterator::get_tag,
7829 index_search_item::search1): Ditto.
7830 * src/roff/troff/node.h (width_list): Reorder members.
7831 * src/roff/troff/input.cc (do_define_macro): Fix compiler warning.
7832 (lookup_warning): Ditto.
7833 (prepend_string): Commented out.
7834 * src/roff/troff/dictionary.cc (is_good_size): Fix compiler warning.
7835 * src/roff/troff/reg.cc (number_value_to_ascii): Ditto.
7836 * src/preproc/tbl/main.cc (process_format): Ditto.
7837 * src/preproc/pic/pic.y (define_variable, reset, reset_all): Fix
7839 * src/preproc/pic/pic.cc: Updated.
7840 * src/preproc/eqn/lex.cc (init_table): Fix compiler warnings.
7841 * src/preproc/eqn/over.cc (over_box::compute_metrics): Ditto.
7842 * src/preproc/refer/command.cc (execute_command): Ditto.
7843 * src/preproc/refer/ref.cc (sortify_title, find_month): Ditto.
7844 * src/preproc/refer/token.cc (lookup_token): Ditto.
7845 * src/preproc/soelim/soelim.cc: Ditto.
7846 * src/preproc/html/pushbackbuffer.cc (ERROR): Ditto.
7847 (isHexDigit): Commented out.
7848 (pushBackBuffer::isString): Remove unused variable.
7849 * src/devices/grops/ps.cc (ps_printer::special): Fix compiler
7851 * src/devices/grops/psrm.cc (resource_manager::lookup_font,
7852 resource_manager::read_resource_arg, read_one_of, parse_extensions):
7854 * src/devices/grodvi/dvi.cc (dvi_printer::draw): Ditto.
7855 * src/devices/grolj4/lj4.cc (lj4_font::handle_unknown_font_command,
7856 lookup_paper_size): Ditto.
7857 * src/devices/grohtml/post-html.cc (is_subsection): Commented out.
7858 (text_glob, element_list): Reorder members.
7859 * src/devices/grohtml/html-text.cc (html_text::do_pre): Remove
7861 * src/devices/grohtml/html-text.h (html_text::emit_space): Change
7862 return value to `void'.
7863 * src/devices/grohtml/output.cc (word_list::word_list): Fix order
7865 * src/devices/grohtml/html.h (simple_output::check_newline,
7866 simple_output::space_or_newline, simple_output::enable_newlines):
7868 * src/devices/grolbp/lbp.cc (wp54charset, set_papersize): Remove
7870 * src/utils/tfmtodit/tfmtodit.cc (tfm::load, gf::load, main): Ditto.
7871 * src/utils/hpftodit/hpftodit.cc (File::seek, read_symbol_sets,
7872 output_ligatures, output_charset, read_map): Ditto.
7873 * src/utils/lookbib/lookbib.cc (main): Ditto.
7874 * src/utils/indxbib/indxbib.cc (main, fwrite_or_die): Ditto.
7875 (do_file): Fix typo (`=' -> `==').
7876 * src/utils/lkbib/lkbib.cc (main): Remove compiler warning.
7877 * src/utils/addftinfo/addftinfo.cc (main): Ditto.
7879 2001-04-18 Ruslan Ermilov <ru@FreeBSD.org>
7881 * src/roff/nroff/nroff.sh: Adding -p (pic) and -t (tbl) options.
7882 Fix usage of GROFF_BIN_PATH.
7883 * src/roff/nroff/nroff.man: Updated.
7885 2001-04-18 Werner LEMBERG <wl@gnu.org>
7887 * NEWS: Fixing typos.
7890 Version 1.17 released
7891 =====================
7893 2001-04-17 Werner LEMBERG <wl@gnu.org>
7895 * tmac/Makefile.sub (install-data): mdoc.local-s is in current
7896 directory, not in $(srcdir).
7898 2001-04-16 Werner LEMBERG <wl@gnu.org>
7900 * doc/groff.texinfo: More info on conditionals.
7902 2001-04-15 Werner LEMBERG <wl@gnu.org>
7904 * doc/groff.texinfo: Added some info about groff internals.
7906 * src/roff/troff/node.cc (make_glyph_node): Emit warning message
7907 about missing special character only if the name is non-null.
7909 2001-04-14 Werner LEMBERG <wl@gnu.org>
7911 Removing the grohtml-old device driver which is now obsolete.
7913 * src/devices/grohtml-old/*: Removed.
7914 * font/devhtml-old/*: Removed.
7915 * src/libs/libgroff/htmlindicate.cc (graphic_start, graphic_end):
7917 * Makefile.in (CCPROGDIRS, DEVDIRS): Updated.
7918 * test-groff (PATH): Updated.
7919 * tmac/Makefile.sub (NORMALFILES): Updated.
7920 * tmac/an-old.tmac: Remove special code for html-old device.
7921 Replace `html-or-html-old' register with `an-html'.
7922 * tmac/eqnrc: Updated.
7923 * tmac/html-old.tmac: Removed.
7924 * tmac/troffrc, tmac/troffrc-end: Updated.
7925 * tmac/www.tmac: Remove special code for html-old device.
7926 Replace `html-or-html-old' register with `www-html'.
7928 * src/libs/libgroff/tmpfile.cc (remove_tmp_files),
7929 src/libs/libgroff/htmlindicate.cc (graphic_end),
7930 include/htmlindicate.h, src/preproc/grn/*.cc,
7931 src/roff/groff/env.{cc,h}: Remove `void' parameter if used as a
7932 single argument for consistency with rest of source code.
7934 * aclocal.m4, tmac/an-old.tmac: Fix copyright.
7936 2001-04-13 Ruslan Ermilov <ru@FreeBSD.org>
7938 * src/roff/troff/troff.man: Fixing typos.
7940 2001-04-13 Werner LEMBERG <wl@gnu.org>
7942 * doc/pic.ms: Fixing many font switches.
7943 * doc/groff.texinfo: Fixes, additions.
7944 * MORE.STUFF: Updated.
7946 2001-04-12 Gaius Mulley <gaius@glam.ac.uk>
7948 * src/devices/grohtml/grohtml.man: Updated manual page regarding
7950 * src/preproc/html/pre-html.cc (createImage): Fixed right hand
7952 (removeTempFiles): New function to tidy up temporary files.
7953 * src/preproc/html/pre-html.cc (main): Calls `removeTempFiles()'.
7954 Many fixes to do with the new inline suppress node and image regions
7956 * src/devices/grohtml/post-html.cc: New method `is_auto_img'.
7957 (generate_img_src): New function.
7958 (html_printer::do_auto_image): Utilizes it.
7959 (do_heading, do_title): Include inline images within their contents.
7960 (html_printer::begin_page): Tidied up comments that are issued to
7961 the html output file.
7962 (html_printer::do_fill): Fixed so that `.nf' works with fonts other
7964 (text_glob::is_br): New method used by do_heading.
7965 * tmac/s.tmac: If -Thtml then emit $1 in .IP rather than its
7966 equivalent diversion.
7967 * src/include/html-strings.h: Altered image tags to reflect the
7969 * src/include/htmlindicate.h (html_end_suppress): Added `is_inline'
7971 * src/preproc/eqn/main.cc: Will suppress generation of image tags if
7972 it is already inside a pic image. Only emit tags if the argument
7973 `-Tps:html' is present.
7974 * src/preproc/tbl/main.cc: Changes to reflect additional
7975 `html_end_suppress' parameter.
7976 * src/roff/troff/env.cc: Only emit eol tag if a node has been
7977 emitted since the last eol tag was written.
7978 * src/roff/troff/env.h: New boolean `emitted_node'.
7979 * src/roff/troff/input.cc (do_suppress): Handles extra suppress
7980 nodes \O3, \O4, \O5. No longer use `output_low_mark_miny'.
7981 * src/roff/troff/node.cc (check_charinfo): New method.
7982 (troff_output_file::determine_line_limits): Alterations to limit
7984 * tmac/www.tmac: Changes to reflect new suppress nodes.
7986 2001-04-12 Bruno Haible <haible@clisp.cons.org>
7988 * src/devices/grohtml/post-html.cc (html_printer::add_to_sbuf):
7989 Escape the html_glyph in the buffer.
7990 (str_translate_to_html): Output the unescaped escaped_char.
7991 * src/devices/grohtml/html-text.cc (issue_table_begin): Set
7992 `frame=void', not `frame=none'. Add `border=0'.
7994 2001-04-12 Werner LEMBERG <wl@gnu.org>
7996 * PROBLEMS: Add some words on how to avoid wrapper macros.
7998 2001-04-11 Blake McBride <blake@florida-software.com>
8000 * src/include/nonposix.h (fileno) [_MSC_VER]: Removed.
8002 2001-04-11 Werner LEMBERG <wl@gnu.org>
8004 * font/devlbp/Makefile.sub (CLEANADD): Set it.
8005 * tmac/Makefile.sub (CLEANADD): Add tmac.local-s.
8006 * Makefile.in (dist): Don't remove src/xditview/Imakefile, but ...
8007 * Makefile.sub (DISTCLEANFILES): Here.
8009 * libs/libgroff/new.cc: Include `nonposix.h'.
8010 * win32-diffs: Updated.
8012 2001-04-10 Ruslan Ermilov <ru@FreeBSD.org>
8014 Added skeleton macro for defunct macros.
8016 Updated documentation.
8018 When inside displays, an empty input line warning should be
8019 suppressed. If another macro call is put inside a display,
8020 all subsequent empty lines found in that display caused a
8021 warning to be emitted.
8023 * tmac/doc.tmac (doc-defunct-macro): New macro.
8024 (Db, Ds, Ex, Or, Sf): Reimplemented using this macro.
8025 (doc-restore-global-vars): Fixed typo.
8026 (doc-empty-line): Check the `doc-display-depth' register to
8027 determine whether we are inside display or not.
8029 * tmac/doc-common: Removed `Or' and `Sf' registers.
8030 Moved obsolete `Ds' macro to doc.tmac.
8032 * tmac/groff_mdoc.man: Bump document date.
8033 Document `.Vt' under ``Variable Types''.
8034 Removed documentation for obsolete `.Or' macro.
8036 2001-04-10 Werner LEMBERG <wl@gnu.org>
8039 * doc/groff.texinfo: Many fixes, additions, clarifications, etc.
8041 2001-04-10 Bruno Haible <haible@clisp.cons.org>
8043 * src/devices/grodvi/dvi.cc (main): Accept --help and --version.
8044 (usage): Add stream argument. Don't exit.
8045 * src/devices/grohtml/post-html.cc (main): Accept --help and --version.
8046 Write --version output to stdout, not stderr.
8047 (usage): Add stream argument. Don't exit.
8048 * src/devices/grohtml-old/html.cc (main): Accept --help and --version.
8049 (usage): Add stream argument. Don't exit.
8050 * src/devices/grolbp/lbp.cc (long_options): Use symbolic getopt.h
8052 (usage): Add stream argument. Don't exit.
8053 (main): Write --help output to stdout, not stderr.
8054 * src/devices/grolj4/lj4.cc (main): Accept --help and --version.
8055 (usage): Add stream argument. Don't exit.
8056 * src/devices/grops/ps.cc (main): Accept --help and --version.
8057 (usage): Add stream argument. Don't exit.
8058 * src/devices/grotty/tty.cc (main): Accept --help and --version.
8059 (usage): Add stream argument. Don't exit.
8060 * src/preproc/eqn/main.cc (usage): Add stream argument. Don't exit.
8061 (main): Accept --help and --version.
8062 * src/preproc/grn/main.cc (usage): Add stream argument. Don't exit.
8063 (main): Accept --help and --version.
8064 * src/preproc/html/pre-html.cc (usage): Add stream argument.
8065 (scanArguments): Accept --help and --version.
8066 * src/preproc/pic/main.cc (usage): Add stream argument. Don't exit.
8067 (main): Accept --help and --version.
8068 * src/preproc/refer/refer.cc (main): Accept --help and --version.
8069 (usage): Add stream argument. Don't exit.
8070 * src/preproc/soelim/soelim.cc (usage): Add stream argument. Don't
8072 (main): Accept --help and --version.
8073 * src/preproc/tbl/main.cc (usage): Add stream argument. Don't exit.
8074 (main): Accept --help and --version.
8075 * src/roff/groff/groff.cc (main): Accept --help and --version.
8076 (synopsis): Add stream argument.
8077 (help): Write --help output to stdout, not stderr.
8078 (usage): Add stream argument. Don't exit.
8079 * src/roff/grog/grog.pl: Accept --help and --version.
8081 * src/roff/grog/grog.sh: Accept --help and --version.
8082 * src/roff/nroff/nroff.sh: Accept --help and --version.
8083 * src/roff/troff/input.cc (USAGE_EXIT_CODE): Remove macro.
8084 (usage): Add stream argument. Don't exit.
8085 (main): Accept --help and --version.
8086 * src/utils/addftinfo/addftinfo.cc (main): Accept --help and --version.
8087 (usage): New function with stream argument, doesn't exit.
8088 * src/utils/hpftodit/hpftodit.cc (main): Accept --help and --version.
8089 (usage): New function with stream argument, doesn't exit.
8090 * src/utils/indxbib/indxbib.cc (main): Accept --help and --version.
8091 (usage): Add stream argument. Don't exit.
8092 * src/utils/lkbib/lkbib.cc (usage): Add stream argument. Don't exit.
8093 (main): Accept --help and --version.
8094 * src/utils/lookbib/lookbib.cc (usage): Add stream argument. Don't
8096 (main): Accept --help and --version.
8097 * src/utils/pfbtops/pfbtops.c (usage): Add stream argument. Don't exit.
8098 (main): Accept --help and --version.
8099 * src/utils/tfmtodit/tfmtodit.cc (main): Accept --help and --version.
8100 (usage): Add stream argument. Don't exit.
8102 2001-04-10 Ruslan Ermilov <ru@freebsd.org>
8104 Fix indentation in SYNOPSIS.
8106 Updated to include changes of latest BSD mdoc version (basically,
8107 the only change is that `.Fn' and `.Fc' put a final semicolon after
8108 a function declaration in the SYNOPSIS section).
8110 * tmac/doc.tmac (doc-in-synopsis-count): Replaced with ...
8111 (doc-in-synopsis-section): New variable. Updated all related
8113 (doc-indent-synopsis-active): New register.
8114 (Nd, Fn, Fo): Use it.
8115 (Cd): It requires manipulation of \n[doc-indent-synopsis] so that
8116 `.Cd' with long argument line produces indented wrapped lines.
8117 Also, the misplaced `.nop \*[doc-Nm-font]\c'' caused extra
8118 undesirable line break to be output.
8119 (doc-do-func-decl, Nm, Vt, Fn, Fo): Remove extraneous calls to
8121 (Fn, Fc): Add final `;' to output.
8122 (doc-save-global-vars, doc-restore-global-vars): Updated.
8123 * tmac/doc-common: Remove `Ex' register.
8125 * tmac/doc-ditroff, tmac/doc-nroff, tmac/doc-syms: Updated
8128 2001-04-06 Ruslan Ermilov <ru@freebsd.org>
8130 * tmac/doc.tmac (Cd): Simplify code.
8131 * tmac/groff_mdoc.man: Document some behaviour of `Cd' request.
8133 2001-04-06 Werner LEMBERG <wl@gnu.org>
8135 Implement continuous underlining for nroff mode. To do that, a new
8136 request in the ditroff language has been added: `x u N' (N is 0
8139 \X and \Y are now transparent to end-of-sentence recognition.
8141 * src/include/printer.h (printer): Add `type' parameter to `special'
8143 * src/libs/libdriver/printer.cc (printer::special): Updated.
8144 * src/libs/libdriver/input.cc (do_file): Handle `x u N'.
8146 * src/devices/dvi/dvi.cc (dvi_printer::special): Handle only
8147 specials of type `p'.
8148 * src/devices/grohtml/post-html.cc (html_printer::special): Ditto.
8149 * src/devices/grohtml-old/html.cc (html_printer::special): Ditto.
8150 * src/devices/grops/ps.cc (ps_printer::special): Ditto.
8151 * src/devices/grotty/tty.cc: Add new enum CU_MODE.
8152 (glyph::order): New method.
8153 (tty_printer::add_char): Use it.
8154 (tty_printer::special): New method.
8155 (tty_printer::end_page): Implement it.
8157 * src/roff/troff/node.h (special_node): Add `no_init_string' member.
8158 * src/roff/troff/node.cc (special_node::special_node): Add parameter
8159 to set `no_init_string'.
8160 (special_node::tprint_start): Use it.
8161 (special_node::same, special_node::copy): Updated.
8162 (special_node::ends_sentence): New method.
8163 (troff_output_file::start_special): Add parameter to include
8164 inititialization of special conditionally.
8166 * src/roff/troff/env.h (environment): New member `underline_spaces'.
8167 * src/roff/troff/env.cc (do_underline_special): New function.
8168 (environment::set_font): Use it.
8169 (do_underline): Use it. This was `underline()'.
8170 (underline): Call `do_underline()'.
8171 (continuous_underline): New function which calls `do_underline()'.
8172 (environment::newline): Use `do_underline_special()'.
8173 (init_env_requests): Updated.
8175 * NEWS, man/troff_out.man: Updated.
8177 2001-04-06 Bruno Haible <haible@clisp.cons.org>
8179 * font/devutf8/R.proto: Fix code of 'shc'.
8181 2001-04-06 Ruslan Ermilov <ru@freebsd.org>
8183 Many fixes. Diag lists can now be nested also; additionally,
8184 `-compact' and `-offset' are supported.
8186 * tmac/doc.tmac (doc-have-indent): Replaced with ...
8187 (doc-list-have-indent-stackXXX): A new register stack.
8188 (doc-have-diag-list): Removed.
8189 (Bl): Use `doc-list-have-indent-stackXXX'.
8191 (doc-diag-list): Use `doc-compact-list-stackXXX'.
8192 (doc-tag-list): Use `doc-list-have-indent-stackXXX'.
8193 (doc-set-vertical-and-indent): Ditto.
8194 (doc-next-list-depth): Removed.
8195 (doc-increment-list-stack): Updated.
8196 (doc-decrement-list-stack): Use `doc-list-depth' instead of
8197 `doc-next-list-depth'.
8198 (doc-end-list, doc-end-column-list): Don't use
8199 `doc-increment-list-stack'.
8200 (doc-set-column-tab): Don't use `doc-list-offset-stackXXX'.
8201 (doc-save-global-vars, doc-restore-global-vars): Updated.
8202 * tmac/doc-common: Updated.
8203 * tmac/groff_mdoc.man: Updated.
8206 2001-04-02 Werner LEMBERG <wl@gnu.org>
8208 * src/devices/grotty/grotty.man: Fix grammatical error.
8210 2001-03-30 Ruslan Ermilov <ru@freebsd.org>
8212 Remove .Ld from mdoc package; replace it with special handling of
8215 * tmac/doc-common: Remove `Ld' register.
8216 Uncomment `doc-volume-ds-*' strings.
8217 Remove `doc-operating-system-default'.
8219 * tmac/doc-syms (Ld): Removed.
8220 * tmac/doc.tmac (doc-parse-args, doc-parse-arg-vector): Handle
8224 * tmac/groff_mdoc.man: Many fixes and updates.
8226 2001-03-29 Werner LEMBERG <wl@gnu.org>
8228 * tmac/troffrc-end: Protect data with `.do'. Reported by T. Kurt
8229 Bond <tkb@tkb.mpl.com>.
8230 * tmac/www.tmac: Save compatibility mode.
8232 2001-03-28 Ruslan Ermilov <ru@freebsd.org>
8234 * tmac/groff_mdoc.man: Many fixes.
8236 2001-03-28 Werner LEMBERG <wl@gnu.org>
8238 * src/preproc/soelim/soelim.man: Document that `.<whitespace>so'
8241 2001-03-27 Werner LEMBERG <wl@gnu.org>
8243 * tmac/an-old.tmac (TP, an-do-tag): Reduce line length while in
8244 diversion. This fixes overlong tags.
8246 2001-03-26 Werner LEMBERG <wl@gnu.org>
8248 * doc/groff.texinfo: Fixed and improved documentation of fonts.
8249 * tmac/doc-syms: Fix error messages.
8250 * tmac/an-old.tmac: Remove incorrect double backslashes.
8252 2001-03-24 Ruslan Ermilov <ru@freebsd.org>
8254 * tmac/Makefile.sub: Strip mdoc.local also
8255 * tmac/strip.sed: Fixed.
8257 2001-03-24 Werner LEMBERG <wl@gnu.org>
8259 * tmac/doc-nroff, tmac/doc-ditroff: Implement -rSxx switch for
8260 selecting the font size.
8261 * tmac/groff_mdoc.man, NEWS: Document it.
8263 2001-03-23 Werner LEMBERG <wl@gnu.org>
8265 * src/roff/troff/div.cc (save_vertical_space): Add default argument
8267 * src/roff/troff/env.cc (family_change): Make `.fam' accept no
8268 argument to restore previous font family.
8269 * src/roff/troff/troff.man, man/groff.man, NEWS: Updated.
8271 * doc/groff.texinfo: More fixes and additions (mainly for font
8272 manipulating commands).
8274 * tmac/groff_mdoc.reference.man: Small updates and renamed to ...
8275 * tmac/groff_mdoc.man: This. The quick reference has been removed.
8276 * tmac/Makefile.sub, NEWS: Updated.
8278 2001-03-23 Werner LEMBERG <wl@gnu.org>
8280 Replaced mdoc implementation. The new version is `state of the
8281 art', using almost all new features of groff 1.17 -- it won't run
8282 with older versions.
8284 * tmac/doc.tmac: Completely rewritten.
8285 * tmac/doc-common: Ditto.
8286 * tmac/doc-nroff: Ditto.
8287 * tmac/doc-ditroff: Ditto.
8288 * tmac/doc-syms: Ditto.
8289 * tmac/mdoc.local: New file.
8290 * tmac/groff_mdoc.samples.man: Replaced with ...
8291 * tmac/groff_mdoc.reference.man: New file, covering mdoc completely.
8292 * tmac/strip.sed: Updated.
8293 * tmac/Makefile.sub: Updated.
8296 * tmac/groff_man.man: Add `man.local' to the FILES section.
8298 2001-03-22 Werner LEMBERG <wl@gnu.org>
8300 * doc/groff.texinfo: Added many @noindent.
8301 Replaced @end_Example -> @endExample.
8302 Added info whether registers are r/o.
8303 Many other additions and fixes.
8305 2001-03-21 Werner LEMBERG <wl@gnu.org>
8307 * doc/groff.texinfo: Added macro @Var (and some hacks due to bugs
8308 in makeinfo of texinfo 4.0) to be used in @Def* macros.
8309 Improved @Def* macros: Now the exact syntax of request, register,
8310 and escapes is shown.
8311 Added macros for parentheses and brackets to be used in @Def*.
8312 Many fixes and improvements of the documentation.
8314 2001-03-20 Werner LEMBERG <wl@gnu.org>
8316 * doc/groff.texinfo: Added new index: `st' (for strings).
8317 Added macros @Defstr(x).
8318 Added macro @Example (adding @group).
8319 Other minor improvements.
8321 2001-03-19 Werner LEMBERG <wl@gnu.org>
8323 * doc/groff.texinfo: Added two new indices: `es' (for escapes) and
8324 `rq' for requests. `fn' is no longer used.
8325 Added macros @Defreq(x), @Defreg(x), and @Defesc(x).
8328 * tmac/an-old.tmac (an-p-footer): If `cR' is set, replace page
8329 number with name of man page.
8331 2001-03-19 Larry Kollar <kollar@alltel.net>
8333 * doc/groff.texinfo: Complete revision. Added many @Deffn to gain
8336 2001-03-19 Werner LEMBERG <wl@gnu.org>
8338 * man/groff_font.man: Document `prepro', `postpro', and `print'.
8339 * src/roff/groff/groff.man: Improve documentation of `-l' and `-L'.
8340 * src/devices/grohtml/grohtml.man: Fixing typos.
8342 2001-03-19 Gaius Mulley <gaius@glam.ac.uk>
8344 * tmac/s.tmac (@IP): Pass `.ip' html tag.
8345 * tmac/groff_mwww.man: Remove .LINE macro
8346 * tmac/www.tmac (LINE): Add `.ti'.
8348 * src/devices/grohtml/post-html.cc (html_printer): New member
8350 (html_printer::emit_raw): Use it.
8351 (html_printer::do_linelength): Ditto.
8352 (html_printer::do_pageoffset): Ditto.
8353 (html_printer::do_indentation): Ditto.
8354 (html_printer::do_tempindent): Ditto.
8355 (html_printer::do_break): Ditto.
8356 (html_printer::begin_page): Ditto.
8357 (html_printer::do_indentedparagraph): New function.
8358 (html_printer::troff_tag): Handle `.ip'.
8359 * src/devices/grohtml/html-text.cc (html_text::issue_table_begin):
8360 Add `<td width=...>' handling.
8361 (html_text::do_table): Add parameter.
8362 (html_text::do_indent): Updated.
8363 * src/devices/groohtml/html-text.h: Updated.
8365 2001-03-16 Gaius Mulley <gaius@glam.ac.uk>
8367 Introduced simple html tables to implement indentation.
8369 * src/devices/grohtml/html.h (word, word_list): New structures.
8370 (simple_output): Use it.
8371 * src/devices/grohtml/post-html.cc: Add `INDENTATION'.
8372 (html_printer): Improve indentation handling.
8373 (html_printer::emit_raw): Set `in_table' element. Handle
8375 (html_printer::write_header): Move conditional downwards.
8376 Don't allow whitespace in tags.
8377 (html_printer::do_linelength): Handle line length and indentation
8379 (html_printer::do_pageoffset): Handle indentation conditionally.
8380 (html_printer::do_indentation): Ditto.
8381 (html_printer::do_tempindent): New function member.
8382 (html_printer::do_fill): Take care of indentation.
8383 (html_printer::do_flush): Finish table.
8384 (html_printer::do_links): Ditto.
8385 (html_printer::do_break): New function for handling `.br' and `.ti'.
8386 (html_printer::troff_tag): Use it.
8388 (html_printer::flush_globs): Fix.
8389 (html_printer::flush_page): Finish table.
8390 (html_printer::html_printer): Fix error message. Set up
8392 (html_printer::add_to_sbuf): Remove special handling of character
8394 (to_unicode): Remove `stop()'.
8395 (html_printer::write_title): Cleanup.
8396 (html_printer::begin_page): Use `put_string()'. Handle indentation.
8397 (html_printer::~html_printer): Flush text and end the line.
8399 * src/devices/grohtml/html_text.h: Add more *_TAG enum values.
8400 * src/devices/grohtml/html_text.cc (html_text::end_tag): Fix
8402 (html_text::start_tag): Disable newlines.
8403 (html_text::table_is_void): New function.
8404 (html_text::issue_table_begin): Ditto.
8405 (html_text::issue_table_end): Ditto.
8406 (html_text::push_para): Better table handling.
8407 (html_text::do_indent): New function.
8408 (html_text::do_table): Ditto.
8409 (html_text::done_table): Ditto.
8410 (html_text::do_tt): Handle PRE_TAG.
8411 (html_text::is_in_table): New function.
8412 (html_text::check_emit_text): Handle tables.
8413 (html_text::do_emittext): Use `nl()'.
8414 (html_text::do_para): Handle table.
8415 (html_text::remove_def): New function.
8416 * src/devices/grohtml/output.cc (word, word_list): Implement
8418 (simple_output::end_line): Flush last word.
8419 (simple_output::simple_comment): Ditto.
8420 (simple_output::begin_comment): Recoded.
8421 (simple_output::end_comment): Ditto.
8422 (simple_output::comment_arg): Removed.
8423 (simple_output::check_newline): Improve test and flush last word.
8424 (simple_output::space_or_newline): Improved.
8425 (simple_output::write_newline): Replaced with...
8426 (simple_output::nl): This.
8427 (simple_output::put_raw_char): Flush last word.
8428 (simple_output::check_space): Removed.
8429 (simple_output::put_translated_string): Ditto.
8430 (simple_output::put_string): Simplified.
8431 (simple_output::put_number): Updated.
8432 (simple_output::put_float): Ditto.
8433 (simple_output::put_symbol): Removed.
8434 (simple_output::enable_newlines): Add `check_newline()'.
8435 (simple_output::flush_last_word): New function.
8437 * src/roff/troff/enc.cc (no_fill): Remove call to add_html_tag().
8438 * src/roff/troff/div.cc (page_offset): Add call to add_html_tag().
8440 * tmac/s.tmac (@PP, @IP): Add html conditional code.
8441 * tmac/an-old.tmac (TP): Ditto.
8443 2001-03-09 Ruslan Ermilov <ru@freebsd.org>
8445 * mdate.sh: Make it POSIX compliant.
8447 2001-03-09 Werner LEMBERG <wl@gnu.org>
8449 Added the `return' request to end a macro immediately. It simply
8450 pops iterators from the input stack until a macro iterator is found.
8452 * src/roff/troff/input.cc (input_iterator::is_macro,
8453 macro_iterator::is_macro): New member.
8454 (input_return_boundary): New class to signal an immediate return
8456 (input_stack::add_return_boundary, input_stack::is_return_boundary):
8458 (input_stack::clear): Use it.
8459 (input_stack::pop_macro): New function.
8460 (while_request): Use `is_return_boundary()'.
8461 (return_macro_request): New function.
8462 (init_input_requests): Use it.
8464 * src/roff/troff/TODO: Updated.
8465 * NEWS, src/roff/troff/troff.man, man/groff.man: Document it.
8467 2001-03-08 Werner LEMBERG <wl@gnu.org>
8469 * src/roff/troff/input.cc (input_iterator::is_boundary): Minor
8472 2001-03-07 Werner LEMBERG <wl@gnu.org>
8474 Make `\B' more rigid.
8476 * src/roff/troff/number.cc (parse_expr, parse_term): Add `rigid'
8478 (get_number_rigidly): New function.
8479 * src/roff/troff/input.cc (do_expr_test): Use it.
8480 * src/roff/troff/token.h: Updated.
8482 * src/roff/troff/request.h: Fix typo (init_html_request ->
8483 init_markup_request).
8485 2001-03-04 Gaius Mulley <gaius@glam.ac.uk>
8487 Fixed grohtml handling of any named glyph for glyph indexes < 0x80.
8488 Cosmetic changes to `.html-begin', `.html-end', `.html-image' which
8489 are now `.begin', `.end', `.image'.
8491 * src/devices/grohtml/post-html.cc: Adding UNICODE_DESC_START.
8492 (html_printer::add_to_sbuf): Changing type of `code' parameter.
8493 Use add_char_to_sbuf().
8494 (to_unicode): New function.
8495 (char_translate_to_html): Changing type of `ch' parameter.
8497 (html_printer::~html_printer): Comment out doctype string.
8498 * src/preproc/html/pre-html.cc (write_end_image): Use `.end'
8499 instead of `.html-end'.
8500 (write_start_image): Use `.begin' and `.image' instead of
8501 `.html-begin' and `.html-image'.
8502 * src/roff/troff/input.cc: Rename `html_level' to `begin_level'.
8503 (html_begin): Renamed to ...
8505 (html_end): Renamed to ...
8507 (html_image): Renamed to ...
8509 (init_html_requests): Renamed to ...
8510 (init_markup_requests): This.
8511 * tmac/www.tmac: Updated.
8513 2001-02-28 Bram <bram@avontuur.org>
8515 * src/libs/libgroff/font.cc (font_widths_cache): Fixing syntax of
8518 2001-02-26 David Leonard <david.leonard@csee.uq.edu.au>
8520 * doc/meref.me: Fixing some typos.
8522 2001-02-16 Werner LEMBERG <wl@gnu.org>
8524 * src/roff/troff/node.cc (space_node::get_hyphenation_type): New
8525 method. Return `HYPHEN_MIDDLE' if it was `\:'.
8526 * src/roff/troff/node.h: Updated.
8528 2001-02-17 Ruslan Ermilov <ru@FreeBSD.org>
8530 * tmac/groff_tmac.man: Fix typo.
8532 2001-02-16 Werner LEMBERG <wl@gnu.org>
8534 Fixing a bug which prevented proper end-of-sentence recognition
8535 between an `unformatted' box and the following text. As a
8536 consequence, vertical line distances are no longer preserved in
8537 boxes after a call to `.unformat' -- because boxes aren't
8538 line-oriented (contrary to diversions), this doesn't make sense
8541 * src/roff/troff/node.cc (*node::set_unformat_flag): Add return
8543 (vertical_size_node::set_unformat_flag): New method.
8544 * src/roff/troff/node.hh: Updated.
8545 * src/roff/troff/input.cc (word_space_node::reread,
8546 hmotion_node::reread): Reset `unformat' flag after usage.
8547 (unformat_macro): Append only if `set_unformat_flag()' returns
8549 * src/roff/troff/troff.man: Updated.
8551 2001-02-15 Werner LEMBERG <wl@gnu.org>
8553 * src/roff/troff/troff.man, NEWS, man/groff.man: Improved
8554 documentation of `asciify' and `unformat' requests.
8556 2001-02-13 Werner LEMBERG <wl@gnu.org>
8558 Redesigned the `unformat' request. It is no longer connected with
8559 `asciify' but rather uses new `reread()' methods if the `unformat'
8560 flag is set. Additionally, the handling of space characters after
8561 unformatting has been fixed so that they retain their width.
8563 * src/roff/troff/node.h (width_list): New structure to store
8564 original widths of spaces.
8565 (node): Added `unformat' member.
8566 Replaced `num_spaces' variable with `orig_width' list.
8567 * src/roff/troff/node.cc (*node::asciify,
8568 asciify_reverse_node_list): Removed `unformat_only' flag and related
8570 (word_space_node::asciify, word_space_node::word_space_node): Use
8572 (word_space_node::~word_space_node): New destructor.
8573 (word_space_node::copy): Updated to handle `orig_width'.
8574 (hmotion_node::copy, unbreakable_space_node::copy): Updated.
8575 (*node::merge_space): Update `orig_width' list if necessary.
8576 (*node::set_unformat_flag): New methods to set the `unformat' flag.
8577 * src/roff/troff/enc.cc (environment::space_newline): Use
8579 (environment::space): Added method to handle space width and
8580 sentence space width as parameters. Use `width_list'.
8581 (environment::make_tab_node): Updated.
8582 * src/roff/troff/env.h: Updated.
8583 * src/roff/troff/input.cc (word_space_node::reread,
8584 unbreakable_space_node::reread, hmotion_node::reread): New methods
8585 to handle nodes specially if `unformat' flag is set.
8586 (do_asciify_macro): Renamed back to ...
8587 (asciify_macro): This.
8588 (unformat_macro): New implementation to simply set the `unformat'
8591 * MORE.STUFF: Added more info about deroff.
8593 2001-02-08 Werner LEMBERG <wl@gnu.org>
8595 * src/roff/troff/node.h (unbreakable_space_node, hmotion_node,
8596 space_char_hmotion_node, overstrike_node): Add `get_hyphen_list()'
8597 and `add_self()' methods to avoid hyphenation. For example, the
8598 hyphen list for `foo\0\0bar' was `foobar', causing insertion of a
8599 soft hyphen after `foo'. Now the hyphen list is correctly
8600 `foo<ignore><ignore>bar'.
8602 2001-02-05 Yoshiteru Kageyama <yt-kage@cb3.so-net.ne.jp>
8604 * tmac/groff_tmac.man: Fix `BIR' macro.
8606 2001-02-04 Werner LEMBERG <wl@gnu.org>
8608 A new escape sequence `\:', inserting a zero-width break point.
8610 * src/roff/troff/input.h: Adding `ESCAPE_COLON'.
8611 * src/roff/troff/input.cc (get_copy, token::next, asciify):
8613 * src/roff/troff/node.h (node): Add `is_escape_colon()' virtual
8615 (space_node): Add `was_escape_colon' member. Add `is_escape_colon()'
8616 and `asciify()' methods.
8617 * src/roff/troff/node.cc (space_node::space_node): Updated.
8618 (space_node::asciify): Handle `was_escape_colon'.
8619 * NEWS, src/roff/troff/troff.man, man/groff.man: Document it.
8621 Handle `\~' similar to other comparable requests.
8623 * src/roff/troff/input.cc (process_input_stack): Remove now obsolete
8625 (token::next): Move creation of an unbreakable_space_node to...
8626 (token::add_to_node_list): Here.
8628 Fix a bug which sometimes prevented hyphenation of words connected
8629 with `\~' or `\ ' (and other escape sequences handled as
8630 TOKEN_NODE). This also fixes a hyphenation problem with boxes
8631 (after a call to the `unformat' request).
8633 * src/roff/troff/env.h (environment::possibly_break_line,
8634 environment::hyphenate_line): Introducing `start_here' parameter.
8635 * src/roff/troff/env.cc (environment::space_newline,
8636 environment::space): Use it.
8637 (environment::possibly_break_line, environment::hyphenate_line):
8639 * src/roff/troff/input.cc (process_input_stack): Use it.
8640 * src/roff/troff/node.h (unbreakable_space_node, hmotion_node,
8641 space_char_hmotion_node, overstrike_node): Add
8642 `get_hyphenation_type()' method.
8643 * src/roff/troff/node.cc (break_char_node::asciify): Don't asciify
8644 if `unformat_only' is active.
8646 2001-01-30 Werner LEMBERG <wl@gnu.org>
8648 Implemented new read-only number register `.linetabs' which
8649 returns 1 if in line-tabs mode, 0 otherwise.
8651 * src/roff/troff/env.h (environment): Add get_line_tabs() member.
8652 * src/roff/troff/env.cc (get_line_tabs): New function.
8653 (init_env_requests): Use it.
8654 * NEWS, src/roff/troff/troff.man, man/groff.man: Document it.
8656 * VERSION, REVISION: Changing to 1.17.0.
8658 2001-01-28 Werner LEMBERG <wl@gnu.org>
8660 Fixed a bug which prevented hyphenation of words which are finished
8663 * src/roff/troff/token.h (token): Add enum type
8664 `TOKEN_TRANSPARENT_DUMMY' and method `transparent_dummy()'.
8665 * src/roff/troff/input.cc (token::next, token::description,
8666 get_line_arg, token::add_to_node_list, token::process): Use it.
8668 2001-01-27 Werner LEMBERG <wl@gnu.org>
8670 * src/roff/troff/div.h (diversion): Add `saved_prev_line_interrupted'.
8671 * src/roff/troff/div.cc (do_divert): Use it.
8673 * src/roff/troff/input.cc (asciify): Add ESCAPE_RIGHT_PARENTHESIS.
8675 2001-01-25 Werner LEMBERG <wl@gnu.org>
8677 Adding the `linetabs' request. If set, tab distances are not
8678 computed relative to the input line but relative to the output line.
8680 * src/roff/troff/env.h (environment): New member `line_tabs'.
8681 * src/roff/troff/env.cc (line_tabs_request): Implement request.
8682 (environment::environment, environment::copy): Updated.
8683 (environment::distance_to_next_tab): Use `line_tabs'.
8684 (init_env_requests): Register request.
8685 * src/roff/troff/troff.man, man/groff.man, NEWS: Document it. Other
8688 2001-01-24 Werner LEMBERG <wl@gnu.org>
8690 Introducing a new read-only register `.int' which is set to a
8691 positive value if the last output line is interrupted (i.e., if it
8694 * src/roff/troff/env.cc (init_env_requests): Add it.
8695 * NEWS, src/roff/troff/troff.man, man/groff.man: Document it.
8697 2001-01-23 Gaius Mulley <gaius@glam.ac.uk>
8699 * tmac/mwww.tmac: Call `www.tmac', not `arkup.tmac'.
8700 * src/preproc/html/pre-html.cc (findPrefix): New function which
8701 generates the troff executable name via the system prefix.
8702 * src/preproc/eqn/main.cc: Modified warning message.
8704 2001-01-23 Werner LEMBERG <wl@gnu.org>
8706 troff's `box' and `boxa' requests didn't preserve temporary
8709 * src/roff/troff/div.h (diversion): Add `saved_saved_indent' and
8710 `saved_target_text_length' members.
8711 * src/roff/troff/div.cc (do_divert): Use them.
8713 Tabs (but not yet leaders and fields) are now handled correctly by
8716 * node.h (hmotion_node): Add field `was_tab'.
8717 * env.cc (environment::make_tab_node): Set it.
8718 * node.cc (hmotion_node::copy, hmotion_node::asciify): Use it.
8720 Added new request `unformat' which will, contrary to `asciify',
8721 preserve font information after unformatting (i.e., only nodes
8722 dealing with horizontal space are converted back to input
8725 * input.cc (asciify_macro): Renamed to ...
8726 (do_asciify_macro): this, having a new parameter `unformat_only'.
8727 (asciify_macro, unformat_macro): New; using do_asciify_macro.
8728 (init_input_requests): Added `unformat'.
8729 * node.cc (*_node::asciify), asciify_reverse_node_list: Added
8730 parameter to control asciification process.
8731 * node.h (*_node::asciify): Ditto.
8732 * NEWS, src/roff/troff/troff.man, man/groff.man: Document it.
8734 2001-01-20 Werner LEMBERG <wl@gnu.org>
8736 * doc/groff.texinfo: Minor improvement of `.in' documentation.
8738 2001-01-18 Werner LEMBERG <wl@gnu.org>
8740 * tmac/ps.tmac: Remove call of psold.tmac.
8741 * tmac/psold.tmac: Comment updated.
8742 * tmac/psnew.tmac: Removed since no longer needed.
8743 * tmac/Makefile.sub, NEWS, src/devices/grops/grops.man: Updated.
8745 * font/devutf8/R.proto: Adding `shc' glyph.
8746 * font/devutf8/NOTES: Updated.
8748 * test-groff: Updated.
8750 2001-01-15 Gaius Mulley <gaius@glam.ac.uk>
8752 First cut of the new html device driver. Changes to pre-html and
8753 the new grohtml are too numerous to be documented here.
8755 Stuff related to `html' has been renamed to `html-old' and `html2'
8756 stuff has been renamed to `html' (including directories). The new
8757 html device driver is therefore invoked as `-Thtml'.
8759 Added new `\O' escape to suppress output (needed by html driver).
8761 Added functions and code to pass info about input-level commands
8762 (`.in', `.fl', etc.) to html driver.
8764 Three new functions (.html-begin, .html-end, and .html-image) for
8765 better html handling: `html-begin' will execute the remaining line
8766 if at the outermost nesting level, increasing an internal counter.
8767 `html-end' does the same but decreases the internal counter.
8768 `html_image' puts its arguments into a special node (suppress_node)
8769 to define an image region.
8771 The `output' request has been removed.
8773 * tmac/html-tags.tmac: Removed.
8774 * tmac/arkup.tmac: Updated and renamed to ...
8775 * tmac/www.tmac: New file.
8776 * tmac/markup.tmac Updated and renamed to ...
8777 * tmac/mwww.tmac: New file.
8778 * tmac/Makefile.sub: Updated.
8779 * tmac/an-old.tmac: Updated.
8780 * tmac/eqnrc: Updated.
8781 * tmac/groff_man.man
8782 * tmac/groff_markup.man: Updated and renamed to ...
8783 * tmac/groff_mwww.man: New file.
8784 * tmac/groff_tmac.man: Updated.
8785 * tmac/html-old.tmac: Updated and Renamed from html.tmac.
8786 * tmac/html.tmac: Updated and renamed from html2.tmac.
8787 * tmac/pspic.tmac: Updated html support.
8788 * tmac/s.tmac: Added html output support.
8789 * tmac/troffrc, tmac/troffrc-end: Updated.
8791 * Makefile.in, doc/Makefile: Updated.
8792 * doc/groff.texinfo: Added info about new `\O' escape.
8793 * doc/homepage.ms: Use `MAILTO' macro.
8795 * font/devhtml/DESC.proto: Add `C' font.
8796 * font/devhtml/Makefile.sub: Updated.
8797 * font/devhtml/R.proto: Minor fixes.
8798 * font/devhtml-old/Makefile.sub: Updated.
8800 * src/devices/grohtml-old/Makefile.sub: Updated.
8802 * src/libs/libdriver/printer.cc (printer::get_font_from_index): New
8804 * src/libs/libgroff/htmlindicate.cc (html_begin_suppress,
8805 graphic_start): Add `inline' parameter. Update.
8806 (html_end_suppress, graphic_end): Update.
8808 * src/include/html-strings.h: New file.
8809 * src/include/htmlindicate.h: Comments updated.
8810 * src/include/printer.h: Updated.
8812 * src/preproc/eqn/main.cc (do_file, main): Updated.
8813 * src/preproc/pic/troff.cc (troff_output::start_picture,
8814 troff_output::finish_picture): Updated.
8815 * src/preproc/tbl/main.cc (process_input_file): Updated.
8817 * src/roff/groff/groff.cc (main): Updated.
8818 Pass device arguments to predrivers also.
8819 Use `ps' device for `eqn' preprocessor if `-Thtml' is given.
8820 * src/roff/troff/env.h (environment): Updated.
8821 New elements `need_eol' and `ignore_next_eol' (for html output).
8822 * src/roff/troff/env.cc (environment::environment): Add initializers
8823 for `need_eol' and `ignore_next_eol'.
8824 (environment::add_html_tag_eol, environment::add_html_tag_tabs): New
8826 (point_size, fill, no_fill, center, right_justify, line_length,
8827 indent, temporary_indent, break_request, handle_tab): Use
8829 (set_tabs): Use `add_html_tag_tabs()'.
8830 (environment::add_html_tag): Updated.
8831 (environment::do_break): Updated.
8832 * src/roff/troff/div.cc (space_request, flush_output): Use
8833 `environment::add_html_tag()'.
8834 * src/roff/troff/input.cc: Updated.
8835 New variable `html_level' to indicate nested `html-begin' requests.
8836 (file_iterator::fill): Use `environment::add_html_tag_eol()'.
8837 (non_interpreted_char_node, token_node, non_interpreted_node): Add
8838 `force_tprint()' method.
8839 (token::next): Handle `\O'.
8840 (do_suppress): Implement it.
8841 (html_begin, html_end, html_image): New functions.
8842 (init_output_requests): Renamed to ...
8843 (init_html_requests): this.
8845 (macro::append_str, macro::append_unsigned, macro::append_int): New
8847 New variable `output_low_mark_miny' to limit minimal value of y.
8848 (reset_output_registers): Use it.
8849 (output_request): Removed.
8850 (get_output_registers): New function.
8851 * src/roff/troff/node.h (node): Make `force_tprint()' virtual.
8852 (*_node): Added `force_tprint()' if necessary.
8853 (special_node): New elements `tf' and `get_tfont()'.
8854 (suppress_node): New class.
8855 * src/roff/troff/node.cc:
8856 New global variables `image_no' and `suppress_start_page'.
8857 (real_output_file): New method `is_on()'.
8858 (troff_output_file): New method `start_special(tfont)'.
8859 (troff_output_file::really_print_line): Use `tprint' conditionally.
8860 (real_output_file::print_line): Updated.
8861 (real_output_file::on): Updated.
8862 (*_node): Added `force_tprint()'.
8863 (special_node::special_node): Initializer updated.
8864 (special_node::same, special_node::copy, special_node::tprint_start):
8866 (get_reg_int, get_reg_str): New functions.
8867 (suppress_node::*): New methods.
8868 New global variables last_position, last_image_filename;
8869 (min): New inline function.
8870 * src/roff/troff/reg.h, src/roff/troff/request.h,
8871 src/roff/troff/troff.h: Updated.
8873 2001-01-13 Werner LEMBERG <wl@gnu.org>
8875 * NEWS, src/roff/troff/troff.man, doc/groff.texinfo: Fix
8876 documentation of `asciify' request.
8878 2001-01-12 Werner LEMBERG <wl@gnu.org>
8880 * src/roff/troff/input.cc: Move definition of special characters
8881 like `ESCAPE_TILDE' to ...
8882 * src/roff/troff/input.h: New file.
8883 * src/roff/troff/Makefile.sub (HDRS): Add it.
8885 Extending the .asciify request to `unformat' space characters also.
8887 * src/roff/troff/node.h (word_space_node): Add `num_spaces' element
8888 to count input space characters.
8889 Update constructors to take care of it.
8890 * src/roff/troff/node.cc (space_char_hmotion_node::asciify): Use
8891 `ESCAPE_SPACE' instead of normal space.
8892 (word_space_node::asciify): New method.
8893 (unbreakable_space_node::asciify): New method.
8894 (word_space_node::merge_space): New method.
8895 * src/roff/troff/env.cc (environment::space_newline,
8896 environment::space): Add code to initialize `num_spaces' (using the
8897 constructor of `word_space_node').
8898 * NEWS, src/roff/troff/troff.man, man/groff.man, doc/groff.texinfo:
8901 2001-01-09 Werner LEMBERG <wl@gnu.org>
8903 * man/groff_char.man: Use table header traps only conditionally.
8905 2001-01-09 Bjarni Ingi Gíslason <bjarniig@hi.is>
8907 * man/groff_char.man: Add `ý' and `Ý' to the `acute' group.
8909 2001-01-08 Werner LEMBERG <wl@gnu.org>
8911 Introducing the `box' and `boxa' requests which are similar to
8912 `di' resp. `da' but omitting a partially filled line (which is
8913 restored after ending the diversion).
8915 * src/roff/troff/div.h (diversion): Add elements to save partially
8917 * src/roff/troff/div.cc (do_divert): Add parameter `boxing' to save
8918 partially filled line.
8919 (divert, divert_append): Updated.
8920 (box, box_append): New functions.
8921 (init_div_requests): Use them.
8922 * src/roff/troff/env.h (environment): do_divert() is now a friend.
8923 * NEWS, src/roff/troff/troff.man, man/groff.man: Document it.
8925 * doc/groff.texinfo: Fix documentation of `lf' request.
8927 2000-12-25 Werner LEMBERG <wl@gnu.org>
8929 * src/roff/troff/troff.man, NEWS: Document `writem' request.
8931 2000-12-21 Werner LEMBERG <wl@gnu.org>
8933 Ignore `ss' request if in compatibility mode.
8935 * src/roff/troff/input.cc: Make `compatible_flag' non-static.
8936 * src/roff/troff/env.h: Added extern `compatible_flag' declaration.
8937 * src/roff/troff/env.cc (space_size): Use it.
8939 * doc/groff.texinfo, src/roff/troff/troff.man: Fix documentation of
8940 `ss' request in nroff mode.
8942 * tmac/an-old.tmac: Fixed some serious bugs introduced with latest
8945 2000-12-15 Ruslan Ermilov <ru@FreeBSD.org>
8947 * tmac/troffrc, tmac/troffrc-end: Convert tmac.* to *.tmac.
8949 2000-12-13 Werner LEMBERG <wl@gnu.org>
8951 * src/preproc/eqn/Makefile.sub (MAN1): Added neqn.man.
8952 * src/preproc/eqn/neqn.man: Small fixes and additions.
8954 2000-12-13 Ruslan Ermilov <ru@FreeBSD.org>
8956 * src/utils/addftinfo/addftinfo.man, src/devices/grops/grops.man:
8959 * src/preproc/eqn/neqn.man: New file.
8961 * src/preproc/tbl/table.cc (table::print): Fix `indent cannot be
8964 * tmac/e.tmac: Add `T&' macro.
8965 Fix `indent cannot be negative' warning.
8966 * tmac/s.tmac: Fix `indent cannot be negative' warning.
8968 2000-12-07 Werner LEMBERG <wl@gnu.org>
8970 * src/include/lib.h: Replaced __ALPHA with __alpha symbol.
8972 2000-12-06 Werner LEMBERG <wl@gnu.org>
8974 * PROBLEMS: Added info about adding -lPW on HP-UX to satisfy the
8977 * MORE.STUFF: Added info about deroff for djgpp.
8979 * tmac/an-old.tmac, tmac/groff_man.man, doc/groff.texinfo, NEWS: Fix
8980 documentation of -rcR switch.
8982 2000-12-03 Werner LEMBERG <wl@gnu.org>
8984 * tmac/an-old.tmac: Implementing the -rcR switch (similar to mdoc);
8985 if -rcR=1 (which is now the default in nroff mode), a single, very
8986 long page is created instead of multiple pages: All `ne' and `wh'
8987 requests are put into conditionals; a new macro `an-end' is added to
8988 be called with `em'.
8990 Some other minor cleanups.
8992 * NEWS, tmac/groff_man.man, doc/groff.texinfo: Updated.
8994 2000-12-02 Werner LEMBERG <wl@gnu.org>
8996 Fixing a bug which prevented hyphenation in words followed
8997 immediately by a TOKEN_NODE (e.g. `\ ', `\~', etc.).
8999 * src/roff/troff/input.cc (process_input_stack <token::TOKEN_NODE>):
9000 Adding possibly_break_line().
9001 * src/roff/troff/env.h (environment): Make possibly_break_line()
9004 Make `\~' usable in .tr request.
9006 * src/roff/troff/token.h (token_type): Add TOKEN_STRETCHABLE_SPACE.
9007 (token): Add stretchable_space().
9008 * src/roff/troff/input.cc (token::next, token::delimiter,
9009 token::description, process_input_stack, do_translate,
9010 add_to_node_list, token::process): Use it.
9011 * src/roff/troff/node.h (node): Add fourth parameter to add_char()
9012 for adjusting the space.
9013 * src/roff/troff/node.cc (node::add_char): Implement it. Add code
9014 for stretchable space.
9015 * src/roff/troff/input.cc (token::add_to_node_list): Use it.
9016 (make_node): Add code for stretchable space.
9017 * src/roff/troff/env.cc (environment::add_char): Use it.
9018 * src/roff/troff/input.cc: Add ESCAPE_TILDE special character.
9019 (get_copy, token::next, transparent_translate, asciify): Use it.
9021 * NEWS, src/roff/troff/troff.man, src/roff/troff/TODO,
9022 doc/groff.texinfo: Updated.
9023 * man/groff.man: Small reorderings.
9025 2000-11-23 Werner LEMBERG <wl@gnu.org>
9028 * src/preproc/eqn/main.cc (main): Use `config_macro_path' for -M
9030 * src/roff/troff/input.cc (main): Add `config_macro_path' and
9031 `safer_macro_path' to -M option.
9032 * src/roff/troff/troff.man: Fixes.
9034 2000-11-22 Werner LEMBERG <wl@gnu.org>
9036 Use safer path (except for config files) if -U isn't specified. Add
9037 a special macro path (without home and current directory) for config
9038 files. Add home directory to unsafe path for consistency. Don't
9039 include the home directory in the font path.
9041 * src/libs/libgroff/macropath.cc: Add `config_macro_path', change
9043 * src/include/macropath.h: Add `config_macrp_path'.
9044 * src/libs/libgroff/fontfile.cc: Fix font path.
9045 * src/roff/troff/input.cc (process_startup_file): Use
9046 `config_macro_path'.
9047 (main): Select unsafe path if -U is given.
9049 * src/preproc/eqn/main.cc (main): Fixing search path for
9051 * src/preproc/eqn/eqn.man: Updated.
9053 * src/roff/troff/troff.man, man/roff.man, tmac/groff_tmac.man:
9056 * src/preproc/grn/grn.man, src/devices/grodvi/grodvi.man,
9057 src/devices/grohtml/grohtml.man, src/devices/grolbp/grplbp.man,
9058 src/devices/grolj4/grolj4.man, src/devices/grops/grops.man,
9059 src/devices/grotty/grotty.man: Updated.
9061 * Makefile.in: Fix comments.
9063 2000-11-17 Werner LEMBERG <wl@gnu.org>
9065 * tmac/safer.tmac: Empty file added (again) for compatibility
9067 * tmac/Makefile.sub: Updated.
9069 2000-11-16 Werner LEMBERG <wl@gnu.org>
9071 * src/devices/grodvi/dvi.cc (main),
9072 src/devices/grohtml2/post-html.cc (main),
9073 src/devices/grolbp/lbp.cc (main), src/devices/grolj4/lj4.cc
9074 (main), src/devices/grops/ps.cc (main), src/devices/grotty/tty.cc
9075 (main), src/preproc/eqn/main.cc (main), src/preproc/grn/main.cc
9076 (main), src/preproc/html2/pre-html.cc (main),
9077 src/preproc/pic/main.cc (main), src/preproc/refer/refer.cc (main),
9078 src/preproc/soelim/soelim.cc (main), src/preproc/tbl/main.cc
9079 (main), src/roff/groff/groff.cc (main), src/roff/troff/input.cc
9080 (main), src/utils/hpftodit/hpftodit.cc (main),
9081 src/utils/indxbib/indxbib.cc (main), src/utils/lkbib/lkbib.cc
9082 (main), src/utils/lookbib/lookbib.cc (main),
9083 src/utils/pfbtops/pfbtops.c (main), src/utils/tfmtodit/tfmtodit.cc
9084 (main): Use stdout for -v.
9085 * src/roff/groff/groff.cc (run_commands),
9086 src/roff/groff/pipeline.c (run_pipeline): New parameter `no_pipe'
9087 to make direct printing to stdout possible.
9088 * src/roff/groff/pipeline.h: Updated.
9090 * src/utils/afmtodit/afmtodit.pl: Add -v switch.
9091 * src/utils/afmtodit/Makefile.sub (afmtodit): Use @VERSION@.
9092 * src/utils/afmtodit/afmtodit.man: Updated.
9094 * src/utils/addftinfo/addftinfo.cc (main): Add -v switch.
9095 (version): New function.
9097 * src/utils/addftinfo/addftinfo.man: Updated.
9099 * src/devices/*/*, src/preproc/*/*, src/roff/*/*, src/utils/*/*:
9100 Fixing copyright dates.
9102 * src/preproc/eqn/neqn.sh: Adding GROFF_BIN_PATH to path instead of
9105 * src/devices/grolbp/lbp.cc (main): Use Version_string instead of
9108 * src/roff/nroff/Makefile.sub (nroff): Fix use of @VERSION@.
9110 2000-11-15 Werner LEMBERG <wl@gnu.org>
9112 In all programs, make -v return immediately with exit status 0 to
9113 be compliant with the GNU standard.
9115 * src/devices/grodvi/dvi.cc (main),
9116 src/devices/grohtml2/post-html.cc (main),
9117 src/devices/grolbp/lbp.cc (main), src/devices/grolj4/lj4.cc
9118 (main), src/devices/grops/ps.cc (main), src/devices/grotty/tty.cc
9119 (main) src/preproc/eqn/main.cc (main), src/preproc/grn/main.cc
9120 (main), src/preproc/html2/pre-html.cc (main),
9121 src/preproc/pic/main.cc (main), src/preproc/refer/refer.cc (main),
9122 src/preproc/soelim/soelim.cc (main), src/preproc/tbl/main.cc
9123 (main), src/roff/groff/groff.cc (main), src/roff/troff/input.cc
9124 (main): Implement it.
9127 * src/roff/groff/groff.cc (main): Add copyright notice. Add refer
9128 and postprocessors to the -v option.
9130 * src/roff/grog/grog.pl: Implement -v.
9131 * src/roff/grog/Makefile.sub (grog): Use @VERSION@.
9132 * src/roff/grog/grog.man, doc/groff.texinfo: Updated.
9134 * src/roff/nroff/nroff.sh: Implement -v.
9135 * src/roff/nroff/Makefile.sub (nroff): Use @VERSION@.
9136 * src/roff/nroff/nroff.man: Updated.
9138 * src/preproc/eqn/main.cc (main): Fix comment typo.
9140 * MORE.STUFF: Added info about djgpp port of grap.
9142 2000-11-14 Werner LEMBERG <wl@gnu.org>
9144 * src/roff/grog/grog.{pl,sh}: Implemented -C switch for compatibility
9145 mode (or rather, implemented non-compatibility mode).
9146 * NEWS, src/roff/grog/grog.man, doc/groff.texinfo: Updated.
9148 * src/roff/groff/groff.cc (main): Add BIN_PATH to PATH instead of
9149 replacing it -- we don't find gxditview otherwise.
9150 * NEWS, src/roff/groff/groff.man, doc/groff.texinfo: Updated.
9152 * src/preproc/pic/depend: Removed. Unnecessary.
9154 Implemented dummy keyword `solid' in pic for compatibility with
9157 * lex.cc (lookup_keyword): Added `solid'.
9158 * pic.y: Added SOLID with dummy rule.
9159 * pic.cc, pic_tab.h: Regenerated.
9160 * doc/pic.ms: Updated.
9162 2000-11-13 Werner LEMBERG <wl@gnu.org>
9164 For security reasons, don't use the current directory but the home
9165 directory while searching and scanning troffrc and troffrc-end.
9166 Similarly, replace the current directory with the home directory
9169 * Makefile.in (fontpath, tmacpath): Remove current directory.
9171 * src/libs/libgroff/searchpath.cc (search_path::search_path): Add
9172 two parameters `add_home' and `add_current'.
9173 (search_path::~search_path, search_path::command_line_dir,
9174 search_path::open_file): Remove tests for `dirs' being zero.
9175 * src/include/searchpath.h: Adjust.
9176 * src/libs/libgroff/macropath.cc, src/include/macropath.h: Add
9178 * src/libs/libgroff/fontfile.cc: Adjust `font_path'.
9180 * src/roff/troff/troff.h: Add `searchpath.h' and `mac_path'.
9181 * src/roff/troff/input.cc: Use `mac_path', initialized with
9183 (process_startup_file): Set `mac_path' to `safer_macro_path'.
9184 * src/roff/troff/env.cc: Use `mac_path'.
9186 * src/preproc/eqn/main.cc (main): Use `safer_macro_path'.
9188 * NEWS, man/roff.man, src/roff/troff/troff.man,
9189 src/roff/groff/groff.man, tmac/groff_tmac.man, arch/djgpp/README:
9192 2000-11-12 Werner LEMBERG <wl@gnu.org>
9194 * src/include/lib.h: Don't include groff-getopt.h for OSF/1.
9196 * aclocal.m4 (GROFF_SYS_ERRLIST): Do test in C, not in C++.
9197 * configure.in: Fix typo in comment.
9198 * configure: Regenerated.
9200 * src/libs/libgroff/*, src/include/*, src/roff/troff/*: Fixing
9203 2000-11-08 Werner LEMBERG <wl@gnu.org>
9205 Add system tmac directory (/usr/local/lib/groff/site-tmac).
9207 * Makefile.in: Add $(libdir), $(libprogramdir), and $(systemtmacdir).
9208 (uninstall_dirs): Add $(libdir), $(libprogramdir), and
9211 * Makefile.comm (.man.n): Add @SYSTEMMACRODIR@.
9212 * tmac/Makefile.sub (install_data): Create
9213 $(systemtmacdir) and $(localtmacdir).
9214 (uninstall_sub): Use $(systemtmacdir) for wrapper macros.
9215 * man/roff.man, src/roff/troff/troff.man, src/roff/groff/groff.man,
9216 NEWS, doc/groff.texinfo: Updated and minor fixes.
9218 * Makefile.comm, Makefile.in: Added tmac_{s,an}_prefix stuff again.
9219 * tmac/Makefile.sub: Added `wrap' stuff again, but installing into
9220 $(systemtmacdir) since the wrapper files are platform-dependent.
9222 2000-11-01 Werner LEMBERG <wl@gnu.org>
9224 * doc/groff.texinfo: Fix typo.
9226 2000-10-26 Werner LEMBERG <wl@gnu.org>
9228 Convert macros `tmac.XXX' to `XXX.tmac'. Special cases:
9229 tmac.doc.old -> doc-old.tmac
9230 tmac.an.old -> an-old.tmac
9232 * tmac/tmac.*: Moved to ...
9233 * tmac/*.tmac: this.
9234 * tmac/man.local: Fix comment.
9235 * tmac/groff_man.man, tmac/groff_markup.man, tmac/groff_mdoc.man,
9236 tmac/groff_me.man, tmac/groff_ms.man, tmac/groff_tmac.man: Updated.
9237 Added some `FILES' sections. More use of @...@ directives. Other
9239 * arch/djgpp/README, font/devutf8/NOTES: Updated.
9240 * doc/homepage.ms, doc/groff.texinfo: Updated.
9241 * man/groff.man, man/roff.man: Updated.
9242 * src/devices/grodvi/grodvi.man, src/devices/grolbp/grolbp.man,
9243 src/devices/grolj4/grolj4.man, src/devices/grops/grops.man,
9244 src/devices/grotty/grotty.man: Updated.
9245 * src/preproc/pic/pic.man: Updated.
9246 * src/roff/grog/grog.pl, src/roff/grog/grog.sh: Use -mdoc-old
9247 instead of -mdoc.old.
9248 * src/roff/grog/grog.man: Document -mdoc and -mdoc-old.
9249 * src/roff/nroff/nroff.man: Updated.
9252 * tmac/fixmacros.sed, tmac/strip.sed: Add explanatory comment.
9254 * tmac/mm.diff: Removed -- it has no use now since the mm package
9257 * tmac/*: Removed trailing spaces.
9259 * arch/djgpp/t-groff.bat: Fix GROFF_TMAC_PATH (hyphen.us is now in
9260 the tmac subdirectory also).
9262 * Makefile.comm, Makefile.in: Remove tmac_{s,an}_prefix stuff.
9263 * tmac/Makefile.sub: Adapted to new macro names; removed `wrap'
9264 stuff since it is no longer needed.
9266 * README, PROBLEMS: Updated.
9268 2000-10-25 Werner LEMBERG <wl@gnu.org>
9270 Invert current behaviour: Search first FOOBAR.tmac, then
9273 * src/roff/troff/input.cc: Introduce MACRO_POSTFIX.
9274 (open_mac_file, macro_source): Implement it.
9275 * src/roff/troff/troff.man, tmac/groff_tmac.man, man/roff.man,
9276 doc/groff.texinfo, NEWS: Document it.
9278 * src/roff/nroff/nroff.man, src/roff/groff/groff.man, man/groff.man:
9279 Small documentation improvements.
9281 * test-groff: Fix GROFF_TMAC_PATH (hyphen.us is now in the tmac
9284 * font/devps/Makefile.sub: Fix rules for dingbats.*map.
9286 2000-10-24 Werner LEMBERG <wl@gnu.org>
9288 Add local tmac directory (groff/site-tmac).
9290 * Makefile.in: Add $(localtmacdir).
9291 (uninstall_dirs): Add $(localtmacdir).
9292 * Makefile.comm (.man.n): Add @LOCALMACRODIR@.
9293 * tmac/Makefile.sub (install_data, uninstall_sub): Handle man.local
9294 in $(localtmacdir). Create $(localtmacdir).
9295 * man/roff.man, src/roff/troff/troff.man, NEWS, doc/groff.texinfo:
9296 Updated and minor fixes.
9298 Rename font/devps/generate/dingbats[r]map to dingbats.[r]map.
9300 * font/devps/generate/Makefile.sub, arch/djgpp/README: Adjust.
9302 2000-10-23 Werner LEMBERG <wl@gnu.org>
9304 Move hyphen.us to tmac directory.
9306 * src/roff/troff/hyphen.us: Removed.
9307 * src/tmac/hyphen.us: Added.
9308 * src/roff/troff/Makefile.sub, tmac/Makefile.sub: Updated.
9310 Change installation structure for data files from .../groff/... to
9311 .../groff/<version><revision>/... to be conform with other GNU
9314 * Makefile.in, Makefile.comm, src/utils/indxbib/Makefile.sub,
9315 doc/Makefile: Implement it.
9316 * aclocal.m4 (GROFF_PAGE): Add test for new directory structure.
9317 * configure: Updated.
9318 * arch/djgpp/README, font/devutf8/NOTES: Use it.
9319 * NEWS: Document it.
9320 * man/roff.man, tmac/groff_tmac.man: Use @FONTPATH@, @FONTDIR@, and
9321 @MACRODIR@ instead of hard-coded directories.
9323 2000-10-22 Werner LEMBERG <wl@gnu.org>
9325 Implement $GROFF_BIN_PATH environment variable (which defaults to
9326 $bindir) used for child programs of groff and similar wrappers.
9328 * gendefs.sh: Improve documentation.
9329 * Makefile.comm (,man.n), src/include/Makefile.sub (defs.h),
9330 src/preproc/eqn/Makefile.sub (neqn),
9331 src/roff/nroff/Makefile.sub (nroff): Add $(bindir).
9332 * src/preproc/eqn/neqn.sh, src/roff/nroff/nroff.sh: Implement
9334 * src/roff/groff/groff.cc (main): Implement $GROFF_BIN_PATH and
9335 $GROFF_PATH__ (the latter for communication with troff).
9336 * src/roff/troff/input.cc (main): Use $GROFF_PATH__ for $PATH if
9338 * NEWS, src/roff/nroff/nroff.man, src/roff/groff/groff.man,
9339 doc/groff.texinfo: Document it.
9341 * doc/groff.texinfo: Improve documentation of troff's -a option.
9343 2000-10-17 Gaius Mulley <gaius@glam.ac.uk>
9345 * src/roff/troff/node.cc: Fixed calculation of opminx and fixed
9346 non-intrusive eol marker.
9347 (troff_output_file::determine_line_limits): New function.
9348 (troff_output_file::draw): Use it.
9349 * src/roff/troff/env.cc (environment::add_html_tag): Use output() +
9350 output_pending_lines() instead of output_line().
9351 * src/preproc/eqn/main.cc (do_file): Fix graphic_end().
9352 * src/preproc/html2/pre-html.cc (char_buffer::write_file_troff,
9353 createImage): Small fixes.
9355 2000-10-14 Werner LEMBERG <wl@gnu.org>
9357 Replace tmac.safer with a real secure solution.
9359 * src/roff/troff/input.cc (open_request, opena_request, pipe_source,
9360 system_request, pipe_output): Disable requests if in safer mode.
9361 * src/roff/groff/groff.cc (main): Remove reference to tmac.safer.
9362 * tmac/tmac.safer, tmac/groff_msafer.man: Removed.
9363 * tmac/Makefile.sub, NEWS, man/roff.man, tmac/groff_tmac.man,
9364 doc/groff.texinfo, src/roff/groff/groff.man,
9365 src/roff/troff/troff.man, arch/djgpp/README: Updated.
9367 * src/devices/grops/ps.cc (main), src/devices/grops/psrm.cc
9368 (resource_manager::output_prolog): Replace setenv() with putenv().
9370 2000-10-09 Werner LEMBERG <wl@gnu.org>
9372 * src/libs/libbib/map.c, src/libs/libgroff/getcwd.c,
9373 src/libs/libgroff/strtol.c, src/preproc/html2/image.cc,
9374 src/preproc/html2/pre-html.cc, src/preproc/html2/pushbackbuffer.cc,
9375 src/roff/groff/pipeline.c: Removing `#ifndef errno' to avoid
9376 compilation errors with some compilers. It seems that this code
9377 is no longer necessary -- if yes, it is easy to add some #ifdef's
9378 for that particular old-fashioned compiler.
9380 * MORE.STUFF: Added info about Meta-tbl.
9382 * doc/groff.texinfo: Added more info about `.if "..."..."'.
9384 2000-10-07 Werner LEMBERG <wl@gnu.org>
9386 Adding a new escape sequence \B'...': If the string between
9387 the delimiters is a valid numeric expression, return the character
9388 `1', and `0' otherwise. This is an analogon to \A.
9390 * src/roff/troff/input.cc (do_expr_test): Implement it.
9391 (token::next): Use it.
9392 * src/roff/troff/troff.man, NEWS, man/groff.man: Document it.
9394 * tmac/tmac.trace: Made independent from escape character.
9396 2000-10-06 Werner LEMBERG <wl@gnu.org>
9398 Adding a new request .dei: define indirect. The first and second
9399 parameter of .dei are taken from string registers instead directly;
9400 this very special request is needed to make tmac.trace independent
9401 from the escape character (which might even be disabled).
9403 * src/roff/troff/input.cc (do_define_macro): Implement it.
9404 (define_macro_indirect): New function.
9405 (init_input_requests): Use it.
9407 Adding two requests .ecs and .ecr: Save and restore the escape
9408 character. These two requests are needed to make tmac.trace
9409 independent from the escape character (which might even be
9412 * src/roff/troff/input.cc (save_escape_char, restore_escape_char):
9414 (init_input_requests): Use it.
9416 * src/roff/troff/troff.man, NEWS, man/groff.man: Updated.
9418 2000-09-22 Ricardo Soares Guimarães <ricardo@conectiva.com.br>
9420 Adding a new option -P and new environment variable GROPS_PROLOGUE
9421 to grops, selecting a different prologue file (minor modifications
9424 * src/devices/grops/psrm.cc (resource_manager::output_prolog),
9425 src/devices/grops/ps.cc (main): Implement it.
9426 * src/devices/grops/grops.man, NEWS: Document it.
9428 2000-09-22 Werner LEMBERG <wl@gnu.org>
9430 * INSTALL: Add info about selecting paper format.
9432 2000-09-21 Werner LEMBERG <wl@gnu.org>
9434 * src/roff/troff/input.cc (main): Fixing compiler warning.
9435 * src/include/{driver.h, lib.h}: Move inclusion of string.h and
9436 strings.h from the former to the latter.
9437 * src/devices/grolbp/lpb.cc, src/include/lib.h: Move strncasecmp()
9438 stuff from the former to the latter.
9440 2000-09-11 Werner LEMBERG <wl@gnu.org>
9442 Implementing two new requests .tm1 and .tmc: The former is similar
9443 to .tm but can output leading spaces; its syntax is similar to
9444 defining a string, i.e., a `"' can be used to mark the beginning of
9445 the string to be written to stderr: `.tm1 " test'. The latter is
9446 similar to .tm1 but doesn't write out a final newline character.
9448 * src/roff/troff/input.cc (terminal1, terminal_continue,
9449 do_terminal): New functions.
9450 (init_input_requests): Use them.
9451 * src/roff/troff/troff.man, NEWS, man/groff.man: Updated.
9453 2000-09-09 Werner LEMBERG <wl@gnu.org>
9455 * tmac/groff_mdoc.samples.man: Small fixes.
9457 2000-09-08 Werner LEMBERG <wl@gnu.org>
9459 * tmac/groff_mdoc.man: Fixing typo.
9461 2000-09-02 Werner LEMBERG <wl@gnu.org>
9463 Implementing a .nop request which does nothing.
9465 * src/roff/troff/input.cc (nop_request): New function.
9466 (init_input_requests): Use it.
9467 * src/roff/troff/troff.man, NEWS, man/groff.man: Updated.
9469 2000-09-01 Werner LEMBERG <wl@gnu.org>
9471 * doc/groff.texinfo: Added some comments.
9473 2000-08-30 Werner LEMBERG <wl@gnu.org>
9475 * src/roff/troff/TODO: Updated.
9477 2000-08-25 Werner LEMBERG <wl@gnu.org>
9479 * doc/groff.texinfo: Fix comment how to compile the DVI file.
9481 2000-08-25 Eli Zaretskii <eliz@is.elta.co.il>
9483 * font/devps/generate/Makefile (SHELL): Define explicitly to
9484 "/bin/sh", for non-Unix platforms.
9485 (extraclean): Use a more portable "" quoting instead of a
9486 backslash (which doesn't work on DOS/Windows).
9488 * font/devlj4/generate/Makefile (extraclean): Ditto.
9490 * font/devdvi/generate/Makefile (extraclean): Ditto.
9492 2000-08-25 Werner LEMBERG <wl@gnu.org>
9494 * NEWS, doc/groff.texinfo, tmac/groff_tmac.man, man/roff.man,
9495 src/roff/troff/troff.man: Document Eli's latest changes.
9497 2000-08-25 Eli Zaretskii <eliz@is.elta.co.il>
9499 * src/roff/troff/input.cc (open_mac_file, macro_source): Support
9500 macro file names of the form NAME.tmac as well as tmac.NAME.
9502 2000-08-25 Werner LEMBERG <wl@gnu.org>
9504 * src/include/posix.h: Remove definition of FILENAME_MAX.
9506 * src/preproc/html2/pre-html.h, pre-html.cc: Add return type to
9507 `sys_fatal' and `stop' function().
9509 * test-groff: Updated.
9511 2000-08-24 Gaius Mulley <gaius@glam.ac.uk>
9513 Added the new troff command .output <arg> to suppress output (while
9514 still obeying motion) and also the opminx, opminy, opmaxx, opmaxy
9515 registers (for passing the output dimensions to the output device).
9517 * src/roff/troff/div.cc (top_level_diversion::output): Use `width'
9519 * src/roff/troff/node.h, src/roff/troff/node.cc
9520 (troff_output_file::really_print_line,
9521 ascii_output_file::really_print_line,
9522 supress_output_file::really_print_line): Use `width' parameter.
9523 (troff_output_file::really_on, troff_output_file::really_off,
9524 output_file::on, output_file::off, real_output_file::on,
9525 real_output_file::off, real_output_file::really_on,
9526 real_output_file::really_off): New functions.
9527 (real_output_file:public output_file): New variable `output_on'.
9528 (real_output_file::begin_page, real_output_file::copy_file,
9529 real_output_file::transparent_char, real_output_file::print_line):
9531 (real_output_file::print_line): Use check_output_limits.
9532 * src/roff/troff/reg.h, src/roff/troff/request.h,
9533 src/roff/troff/input.cc (assign_registers): New function to remove
9535 (do_ps_file): Use it.
9536 (check_output_limits, reset_output_registers, output_request,
9537 init_output_requests): New functions.
9538 (init_input_requests): Updated.
9540 Added new grohtml2 device and html2 preprocessor (coding
9541 not yet finished) which will eventually replace grohtml.
9543 * Makefile.in, tmac/Makefile.sub, tmac/eqnrc, tmac/troffrc-end:
9545 * src/include/htmlindicate.h, src/include/htmlindicate
9546 (html_begin_suppress, html_end_suppress): New functions.
9547 * src/preproc/tbl/main.cc: Use it.
9548 * src/roff/groff/groff.cc: Add support for html2 device (which will
9549 automatically invoke the html2 preprocessor).
9550 * src/roff/troff/input.cc (is_html2): New variable.
9551 * src/roff/troff/troff.h, src/roff/troff/env.h,
9552 src/roff/troff/env.cc (environment::add_html_tag): New function
9554 (environment::do_break): Use it.
9555 * font/devhtml2/*: New files.
9556 * src/devices/grohtml2: New device.
9557 * src/preproc/html2: New preprocessor.
9558 * tmac/tmac.html-tags, tmac/tmac.html2: New files.
9560 2000-08-23 Werner LEMBERG <wl@gnu.org>
9562 * src/devices/grolbp/lbp.cc: Same workaround for sinix as for AIX.
9564 2000-08-22 Werner LEMBERG <wl@gnu.org>
9566 * src/include/lib.h: Provide a fix for IRIX to not include
9569 2000-08-18 Werner LEMBERG <wl@gnu.org>
9571 * configure.in: Don't provide an empty value for SH_SCRIPT_SED_CMD
9572 since some non-GNU sed programs can't handle null regexps.
9573 * configure, src/preproc/eqn/Makefile.sub,
9574 src/roff/grog/Makefile.sub, src/roff/nroff/Makefile.sub: Updated.
9576 * src/devices/grolbp/lbp.cc: Add an AIX workaround for an autoconf
9577 bug (string.h and strings.h are both needed according to latest
9580 * MORE.STUFF: Added info about unroff and troffcvt.
9582 2000-08-08 Werner LEMBERG <wl@gnu.org>
9584 * tmac/tmac.a4: Will now work with ms macros also; -ma4 should be
9587 * tmac/tmac.man.old: Remove unused number register.
9589 * tmac.doc: Minor documentation fix.
9591 2000-08-07 Paul Eggert <eggert@twinsun.com>
9593 * src/roff/groff/pipeline.c (is_system_shell):
9594 Fix typo: "monocased_shell" no longer exists.
9596 2000-08-07 Paul Eggert <eggert@twinsun.com>
9598 Remove FILENAME_MAX limits.
9600 * src/roff/groff/pipeline.c (is_system_shell): Do not assume
9601 that the argument length is less than FILENAME_MAX.
9602 * src/libs/libgroff/tmpfile.cc (add_tmp_file): Likewise.
9603 Use struct hack to allocate and free file name.
9604 (struct xtmpfile_list): fname is now part of the structure,
9605 not a pointer to another string.
9607 2000-08-07 Tom Schmidt <tschmidt@micron.com>
9609 * src/include/posix.h: Add a default value for FILENAME_MAX.
9611 2000-08-06 Paul Eggert <eggert@twinsun.com>
9613 Add support for new BSD-style man pages (with ".Dd" instead of
9614 ".TH"), so that "groff -man" understands both styles, even
9615 when running "groff -man" on a host whose system man page
9616 macros don't support ".Dd".
9618 * tmac/Makefile.sub (NORMALFILES): Add tmac.an.old.
9619 (stamp-wrap): Source tmac.andoc first when wrapping man macros,
9620 in case the system man macros don't define Dd or TH.
9622 * tmac/tmac.an.old: Renamed from tmac/tmac.an.
9623 * tmac/tmac.an: New one-line file.
9624 * tmac/tmac.andoc (TH): Adjust to the tmac.an.old file renaming.
9626 2000-08-06 Werner LEMBERG <wl@gnu.org>
9628 * src/roff/troff/troff.man: Fixing typos.
9630 Version 1.16.1 released
9631 =======================
9633 2000-07-31 Werner LEMBERG <wl@gnu.org>
9635 Preparing release 1.16.1.
9637 * REVISION: Revision number set to 1.
9638 * MORE.STUFF: Added info about port to DOS.
9639 * NEWS, win32-diffs: Updated.
9641 * src/include/nonposix.h: Remove first line -- this file is used
9644 * Makefile.in (dist): Delete Imakefile earlier to avoid a soft
9647 2000-07-30 Werner LEMBERG <wl@gnu.org>
9649 * doc/texinfo.tex: Update to latest version.
9651 2000-06-28 Paul Eggert <eggert@twinsun.com>
9653 * Makefile.in (ENVSETUP): Don't assume POSIX make semantics for
9654 commands that fail. Don't assume that "export a=b" is valid shell
9655 syntax. This is needed for Solaris 2.5.1.
9657 * src/libs/libgroff/tmpfile.cc, src/utils/indxbib/indxbib.cc: Fix
9658 comment about missing Solaris headers.
9660 * PROBLEMS: Add section about problems with Sun Make and VPATH.
9662 2000-06-25 Werner LEMBERG <wl@gnu.org>
9664 * src/devics/grodvi/dvi.cc: Replace _setmode() (for MSC) with
9667 * src/include/posix.h: Use HAVE_UNISTD instead of _MSC_VER.
9669 * win32-diffs: Updated.
9670 * README.WIN32: Added CRs to make all Windows editors happy.
9672 * src/roff/troff/node.cc: Added WIFSIGNALED() macro (copied from
9673 src/roff/groff/pipeline.c).
9675 2000-06-23 Eli Zaretskii <eliz@is.elta.co.il>
9677 * src/roff/grog/Makefile.sub (grog): Prepend `-e' to
9678 $(SH_SCRIPT_SED_CMD), for the case where its value is empty.
9680 2000-06-17 Eli Zaretskii <eliz@is.elta.co.il>
9682 * src/utils/tfmtodit/tfmtodit.cc: #include nonposix.h.
9683 (tfm::load, gf::load): Open tfm and gf files in binary mode: these
9685 (main): Support non-Posix systems with several different styles of
9686 slash characters in file names.
9688 * src/utils/pfbtops/pfbtops.c: #include nonposix.h.
9689 (main) [SET_BINARY]: Switch stdin into binary mode.
9691 * src/utils/indxbib/indxbib.cc: #include nonposix.h.
9692 (main): Support file names with several possible slash-type
9693 characters, as given by DIR_SEPS[] in nonposix.h.
9694 (main) [__MSDOS__]: If renaming the temporary index file fails
9695 because it has more than one dot in its trunk, replace the dot
9696 with an underscore and try again.
9697 (do_file): Use FOPEN_RB instead of "r". Skip every CR before a
9699 [__MSDOS__ || _MSC_VER]: Stop at the first ^Z character.
9701 * src/utils/hpftodit/hpftodit.cc: #include nonposix.h.
9702 (File::File): Open the input file in binary mode. Strip CR
9703 characters from each CR-LF pair.
9704 (xbasename): Support file names with several possible slash-type
9705 characters, as given by DIR_SEPS[] in nonposix.h.
9707 * src/include/Makefile.sub (HDRS): Add nonposix.h.
9709 * src/roff/troff/node.cc [HAVE_UNISTD_H]: Include <unistd.h>.
9710 (WIFEXITED, WEXITSTATUS, WTERMSIG, WIFSTOPPED, WSTOPSIG)
9711 [!_POSIX_VERSION]: Define for traditional Unix systems.
9712 (real_output_file::real_output_file): Remove the MSVC-specific
9713 call to popen, use instead POPEN_WT, appropriately defined on
9714 nonposix.h. #include nonposix.h.
9715 (real_output_file::~real_output_file): Remove the MSVC-specific
9716 call to pclose, a suitable macro is now defined on nonposix.h.
9717 Use the portable macros WIFEXITED, WIFSIGNALED, WTERMSIG, WSTOPSIG
9718 and WEXITSTATUS instead of assuming traditional Unix
9719 interpretation of the status returned by pclose.
9721 * src/roff/troff/input.cc (pipe_source): Remove the MSVC-specific
9722 call to popen, use POPEN_RT instead (appropriately defined on
9723 nonposix.h). #include nonposix.h.
9724 (ps_bbox_request): Open the PostScript file in binary mode.
9725 Close the file after processing it.
9726 (getpid) [_MSC_VER]: Remove; a suitable macro is now defined on
9729 * src/roff/groff/pipeline.c (run_pipeline) [__MSDOS__ || _WIN32]:
9730 A version of run_pipeline that doesn't use `fork'.
9731 (signal_catcher) [__MSDOS__ || _WIN32]: New function.
9732 (system_shell_name, system_shell_dash_c)
9733 (is_system_shell) [__MSDOS__ || _WIN32]: New functions, to hide
9734 the ugliness of testing DOS/Windows file names for equality, and
9735 support both stock shells and ports of Unix shells.
9737 * src/roff/groff/groff.cc: #include nonposix.h.
9738 (BSHELL): Definition moved to nonposix.h.
9739 (main): Use PATH_SEP[0] instead of literal ':'. Use BSHELL_DASH_C
9740 instead of a literal "-c".
9741 (xbasename): Support file names with several possible slash-type
9742 characters, as given by DIR_SEPS[] in nonposix.h.
9743 (possible_command::print): Use BSHELL_DASH_C and IS_BSHELL instead
9746 * src/preproc/soelim/soelim.cc: #include nonposix.h.
9747 (do_file): Use IS_ABSOLUTE instead of testing for a literal '/'.
9749 * src/preproc/pic/Makefile.sub (YTABH): Change pic.tab.h to
9752 * src/preproc/pic/lex.cc: Change pic.tab.h to pic_tab.h.
9754 * src/preproc/eqn/Makefile.sub (YTABH): Rename eqn.tab.h to
9757 * src/preproc/eqn/lex.cc: #include eqn_tab.h, not eqn.tab.h.
9759 * src/libs/libgroff/tmpfile.cc (DEFAULT_TMPDIR) [P_tmpdir]: If
9760 P_tmpdir is defined, use it instead of the literal "/tmp".
9761 (remove_tmp_files, add_tmp_file): New functions.
9762 (xtmpfile): Record temporary files and register an atexit function
9763 to delete them explicitly, instead of relying on the OS to do
9764 that, which doesn't work on non-Unix systems.
9766 * src/libs/libgroff/searchpath.cc: #include nonposix.h.
9767 (search_path::search_path): Use PATH_SEP instead of a literal
9769 (search_path::command_line_dir): Ditto.
9770 (search_path::open_file): Use IS_ABSOLUTE, PATH_SEP and DIR_SEPS,
9771 to support non-Posix systems.
9773 * src/libs/libbib/search.cc: #include nonposix.h.
9774 (search_list::add_file): Open the file in binary mode.
9776 * src/libs/libbib/linear.cc: #include nonposix.h.
9777 (file_buffer::load): Remove \r characters preceding \n from the
9780 * src/libs/libbib/index.cc: #include nonposix.h.
9781 (make_index_search_item): Open index_filename in O_BINARY mode.
9782 (index_search_item_iterator::get_tag): Ditto. Remove \r
9783 characters before \n characters.
9784 (index_search_item::check_files): Open files in binary mode.
9785 (index_search_item::munge_filename): Support DOS-style file names
9786 with backslashes and drive letters, use IS_ABSOLUTE.
9788 * src/devices/grops/ps.cc: #include nonposix.h.
9789 (main) [SET_BINARY]: Switch stdout to binary mode.
9791 * src/devices/grolj4/lj4.cc: #include nonposix.h.
9792 (main) [SET_BINARY]: Switch stdout to binary mode.
9794 * src/devices/grolbp/lbp.cc: #include nonposix.h
9795 (fill_pattern) [SET_BINARY]: Switch stdout to binary mode.
9797 * src/devices/grodvi/dvi.cc: #include nonposix.h.
9798 [_MSC_VER]: Remove inclusion of Windows-specific headers (done by
9800 (main) [SET_BINARY]: Switch stdout to binary mode.
9801 [_MSC_VER]: Remove an explicit call to _setmode.
9803 * src/include/nonposix.h: New file.
9805 * Makefile.in (ENVSETUP): New variable, to set up case-sensitive
9806 operation when building with DJGPP.
9807 ($(TARGETS), dot, $(LIBDIRS), $(CPROGDIRS), $(CCPROGDIRS))
9808 ($(DEVDIRS), $(TTYDEVDIRS), $(INCDIRS), $(OTHERDIRS)): Use
9811 * Makefile.comm: mv y.tab.[ch] to y_tab.[ch], to make it work on
9813 (.man.n): Replace `;' with `|', since FONTPATH, MACROPATH,
9814 etc. can include a semi-colon on DOS/Windows.
9815 (depend.temp): Use depend1.temp instead of depend.temp1, to
9816 prevent files from overerwiting each other on 8+3 filesystems.
9818 * gendef.sh (t): Change definition to work with DOS/Windows.
9820 doc/groff.texinfo: Apart of some typo corrections, I also changed
9821 some index entris, to make them more non-ambiguous, and also put
9822 @ignore around some parts that are not yet written, to allow the
9823 Info output be readable.
9825 2000-06-10 Gael Queri <gqueri@mail.dotcom.fr>
9827 Replaced specific checks for function declarations with a generic
9828 routine taken from GNU bfd.
9830 * aclocal.m4 (GROFF_NEED_DECLARATION): New function.
9831 GROFF_PUTENV, GROFF_POPEN, GROFF_PCLOSE, GROFF_HYPOT: Removed.
9832 * configure.in: Use it.
9833 * src/devices/grolbp/lbp.cc, src/include/lib.h,
9834 src/preproc/grn/hgraph.cc, src/preproc/pic/pic.h,
9835 src/roff/groff/groff.cc: Use it.
9836 * Makefile.in, configure: Updated.
9838 2000-06-07 Paco Andrés Verdú <pandres@dragonet.es>
9840 * src/devides/grolbp/lbp.h: Removed unused variables.
9842 2000-05-31 Keith Thompson <kst@sdsc.edu>
9844 * src/devices/grolbp/lbp.cc (set_papersizes): Add declaration of
9847 2000-05-31 Werner LEMBERG <wl@gnu.org>
9849 * aclocal.m4 (GROFF_SRAND): New function to test the return value
9850 of srand() -- at least SunOS 4.1.3 uses `int' instead of `void'.
9851 * configure.in: Use it.
9852 * src/preproc/pic/pic.y, src/preproc/pic/pic.cc: Use it.
9853 * configure, Makefile.in: Updated.
9855 * configure.in: Add test for strncasecmp().
9856 * src/include/lib.h: Use it.
9858 2000-05-29 Andrej Borsenkow <Andrej.Borsenkow@mow.siemens.ru>
9860 * src/preproc/grn/Makefile.sub: Add MLIB.
9862 2000-05-29 Nix <nix@esperi.demon.co.uk>
9864 * Makefile.in: Use @datadir@ and @mandir@ appropriately.
9866 2000-05-29 Werner LEMBERG <wl@gnu.org>
9868 * src/roff/grog/Makefile.sub, src/roff/grog/grog.sh: Add `@g@'.
9870 * PROBLEMS: Small update.
9872 * src/devices/grolbp/lbp.cc: Various small fixes.
9874 2000-05-28 Keith Thompson <kst@sdsc.edu>
9876 * src/roff/nroff/nroff.sh: Fix main loop syntax.
9878 * src/utils/indxbib/indxbib.cc: Add declaration of mkstemp().
9880 2000-05-25 Werner LEMBERG <wl@gnu.org>
9882 * man/roff.man: Removed unused macro.
9884 2000-05-24 Werner LEMBERG <wl@gnu.org>
9886 * Makefile.in (dist): Remove src/xditview/Imakefile explicitly.
9887 This is needed e.g. if you do
9888 `make distclean; ./configure; make dist'.
9890 Version 1.16 released
9891 =====================
9893 2000-05-23 Werner LEMBERG <wl@gnu.org>
9895 Adding font CWI (constant width italic) to devdvi.
9897 * font/devdvi/CWI: New file.
9898 * font/devdvi/generate/Makefile: Add generating rule.
9899 * font/devdvi/DESC.in, font/devdvi/Makefile.sub, win32-diffs,
9900 tmac/tmac.dvi: Use it.
9901 * NEWS: Announce it.
9903 * font/devlj4/*: Regenerated (only adding kernings for `cq' glyph).
9904 * font/devlj4/generate/Makefile: Cosmetic changes only.
9906 * man/groff.man: Removed most of the redundant description of
9907 special characters (which is in groff_char.man). Added font
9908 translation CB->CR for devdvi. Other minor fixes.
9910 * tmac/tmac.dvi: Improved appearance of \(co (copyright) and \(rg
9911 (registered) symbols.
9913 2000-05-22 Werner LEMBERG <wl@gnu.org>
9915 * doc/Makefile: Added rule for creating info files.
9917 * font/devdvi/*: Added kernings for `cq' glyph. Updated to latest
9919 * font/devdvi/generate/Makefile: Fixed dependencies.
9921 * font/devps/*: Regenerated. Heavy changes for Bookman and
9922 NewCentury Schoolbook!
9923 * font/devps/generate/afmname: Will now run with GNU awk.
9924 * font/devps/generate/textmap: Added forgotten `cq' glyph name.
9925 * font/devps/generate/Makefile: Cosmetic changes only.
9927 2000-05-21 Werner LEMBERG <wl@gnu.org>
9929 * tmac/tmac.an: Added a new command line option `-rSxx' (`xx' can be
9930 10, 11, or 12) to support output with 11pt and 12pt base font sizes.
9931 `.SS' now produces a heading with a smaller size than `.SH'.
9932 Completely formatted.
9933 * doc/groff.texinfo, tmac/groff_man.man, NEWS: Document it.
9935 * man/groff.man: Improved table appearance. Use of `eo' request
9936 to reduce number of doubled backslashes in macro definitions.
9937 Replacing `\e' with `\(rs'. Other minor fixes.
9939 * src/preproc/tbl/main.cc: Insert HTML table end tag before `lf'
9940 to have correct line number.
9942 * INSTALL: Small improvement.
9944 2000-05-20 Bernd Warken <bwarken@mayn.de>
9946 * man/roff.man, tmac/groff_tmac.man: Updates (with corrections by
9949 2000-05-19 Bernd Warken <bwarken@mayn.de>
9951 * man/groff.man: Complete update (with a lot of corrections by WL).
9953 2000-05-18 Werner LEMBERG <wl@gnu.org>
9955 Adding `cq' (PS name `quoteright') glyph name as an alias for "'".
9957 * font/*/*: Implement it.
9958 * man/groff_char.man, NEWS: Document it.
9960 * src/include/unix.h: Removed. It isn't used.
9962 * doc/groff.texinfo: Slight improvements.
9964 2000-05-17 Werner LEMBERG <wl@gnu.org>
9966 * README, win32-diffs: Small fixes and improvements.
9968 2000-05-16 Werner LEMBERG <wl@gnu.org>
9970 * FDL: New file (the Free Documentation License version 1.1).
9972 * doc/groff.texinfo: Added many start-up values for gtroff.
9973 Some structural improvements of the source code.
9975 2000-05-15 Werner LEMBERG <wl@gnu.org>
9977 * src/roff/troff/input.cc: Added small comment about troffrc-end.
9978 * src/roff/troff/troff.man: Added info about troffrc-end.
9980 2000-05-14 Werner LEMBERG <wl@gnu.org>
9982 * Makefile.in (EXTRADIRS): Fix typos.
9983 (dist): Handle deletion of old .tar.gz file correctly.
9984 (DISTDIRS): Include all tty output devices.
9986 * doc/groff.texinfo: Adding more cross references; countless other
9989 2000-05-13 Werner LEMBERG <wl@gnu.org>
9991 * MORE.STUFF: Added Robert Marks's utilities.
9993 2000-05-12 Werner LEMBERG <wl@gnu.org>
9995 Added win32 port contributed by Blake McBride
9996 <blake@florida-software.com>.
9998 * README.WIN32, win32-diffs: New files.
10001 * src/preproc/grn/hgraph.cc (HGSetBrush): Replace `%lf' with `%f'.
10002 (tmove, tmove2): Added parentheses to avoid compiler warnings.
10003 (change): Removed unused variables.
10005 * src/preproc/grn/main.cc (main, conv): Removed unused variables.
10006 (savebounds): Changed return value from `int' to `void'.
10007 * src/preproc/grn/hdb.cc: Ditto.
10009 * src/devices/grolbp/lbp.cc (lbp_printer::draw): Removed superfluous
10010 final backslash in comment to avoid compiler warning.
10012 * src/utils/pfbtops/pfbtops.c: Added `getopt.h'.
10014 * doc/groff.texinfo: More fixes.
10016 2000-05-11 OKAZAKI Tetsurou <okazaki@be.to>
10018 * tmac/tmac.doc: Documentation fix.
10020 2000-05-11 Werner LEMBERG <wl@gnu.org>
10022 * doc/groff.texinfo: Reading the source code shows up a lot of
10023 omissions and incorrect data... More conversion to @Deffn macros.
10025 2000-05-10 Werner LEMBERG <wl@gnu.org>
10027 * src/roff/troff/reg.cc (number_value_to_ascii): Remove ASCII
10030 * src/roff/troff/request.h: Removing unused `no_break_flag'.
10032 2000-05-09 Werner LEMBERG <wl@gnu.org>
10034 * man/groff.man, man/roff.man, tmac/groff_tmac.man: Minor
10037 * doc/groff.texinfo: Extended history section. More conversion to
10038 @Deffn macros. More .tr documentation.
10040 2000-05-07 Werner LEMBERG <wl@gnu.org>
10042 * doc/groff.texinfo: Completed tab section. Added info about
10045 2000-05-06 Mike MacIsaac <mikemac@us.ibm.com>
10047 * PROBLEMS: Describe configure script fix for OS/390 Unix.
10049 2000-05-05 Werner LEMBERG <wl@gnu.org>
10051 * font/devdvi/DESC.in: Change size 11pt to 10.95pt (as used in
10053 * NEWS: Document it.
10055 * man/troff.man: Minor optical improvements.
10057 2000-05-03 Werner LEMBERG <wl@gnu.org>
10059 Adding `dq' (PS name `quotedbl') glyph name as an alias for `"'.
10061 * font/*/*: Implement it.
10062 * man/groff_char.man, NEWS: Document it.
10064 2000-05-02 Werner LEMBERG <wl@gnu.org>
10066 * tmac/groff_tmac.man, man/groff.man, man/roff.man: Fixing @MANxEXT@
10068 * NEWS: Document the three new man pages.
10070 * aclocal.m4 (GROFF_CXX_CHECK): Removing obsolete AC_C_CROSS call.
10071 * configure: Updated.
10073 * font/devcp1047/R.proto: Fixing fatal bug (a missing `"' character).
10075 2000-05-01 Werner LEMBERG <wl@gnu.org>
10077 Added grap support to grog.
10079 * src/roff/grog/grog.sh, src/roff/grog/grog.pl: Implement it.
10080 * src/roff/grog/grog.man: Document it.
10082 * doc/groff.texinfo, NEWS: Add info about grap support.
10084 Add new man pages comptributed by Bernd Warken <bwarken@mayn.de>
10085 (with slight fixes by me).
10087 * tmac/groff_tmac.man: New file documenting tmac mechanism.
10088 * tmac/Makefile.sub: Add groff_tmac.man.
10089 * man/roff.man: New file giving overview of roff system.
10090 * man/troff.man: A short reference of troff.
10091 * man/Makefile.sub: Add roff.man and troff.man.
10093 2000-04-30 Werner LEMBERG <wl@gnu.org>
10095 Added grap support to groff.
10097 * src/roff/groff/groff.cc: Implement it.
10098 * src/roff/groff/groff.man: Document it.
10100 * src/devices/grotty/grotty.man: Add cp1047 device.
10101 * src/preproc/eqn/eqn.man, src/preproc/eqn/neqn.sh, tmac/eqnrc:
10103 * src/roff/groff/groff.man: Ditto.
10104 * src/roff/nroff/nroff.sh, src/roff/nroff/nroff.man: Ditto.
10105 * doc/groff.texinfo: Ditto.
10107 * tmac/troffrc: Fix mapping of latin-1 char 160 (non-breakable space)
10110 2000-04-29 Werner LEMBERG <wl@gnu.org>
10112 * man/groff_char.man: Add `pc' glyph.
10113 * tmac/tmac.latin1: Replacing `md' glyph with `pc'.
10114 * tmac/tmac.tty: Add `pc' glyph.
10115 * tmac/tmac.tty-char: Use/add `pc' glyph. Don't call tmac.latin1 if
10116 we use cp1047 output device.
10118 * Makefile.in, aclocal.m4: Don't build utf8 on EBCDIC hosts since
10119 there are still hardcoded latin1->unicode values in utf8's font
10121 * configure: Updated.
10122 * NEWS: Minor clarification. Updated.
10124 * PROBLEMS: Formatted. Added info about C++ fix pack for OS/390
10127 2000-04-28 Werner LEMBERG <wl@gnu.org>
10129 Adding EBCDIC code page 1047.
10131 * font/devcp1047/R.proto, font/devcp1047/Makefile.sub,
10132 font/devcp1047/DESC.proto: New files.
10134 * aclocal.m4 (GROFF_EBCDIC): Introduce TTYDEVDIRS which can be
10135 either ascii/latin1 or cp1047.
10136 * Makefile.in: Use it.
10137 * configure: Updated.
10139 Replacing and/or adding `md' (mathdot) glyph with `pc'
10140 (periodcentered) in all text fonts.
10142 * font/*/*: Change it.
10144 2000-04-27 Werner LEMBERG <wl@gnu.org>
10146 * aclocal.m4 (GROFF_OS390): Fixing compiler flags.
10148 * configure.in: Add check for strings.h.
10149 * src/include/driver.h: Use HAVE_STRINGS_H.
10150 * src/devices/grolbp/lpb.cc: Remove string.h.
10152 * src/include/groff-getopt.h: New file. It will be used instead of
10153 getopt.h (to be included in lib.h) to avoid endless problems with
10154 picky C++ compilers.
10155 * src/include/lib.h: Use groff-getopt.h.
10156 * src/include/Makefile.sub: Updated.
10158 * configure: Updated.
10159 * Makefile.in: Updated.
10161 * NEWS: Mention EBCDIC support.
10163 2000-04-26 Werner LEMBERG <wl@gnu.org>
10165 * TODO: Some additions.
10167 2000-04-25 Werner LEMBERG <wl@gnu.org>
10169 * src/roff/troff/troff.man, doc/groff.texinfo: Fixing documentation
10172 2000-04-23 Werner LEMBERG <wl@gnu.org>
10174 * src/roff/troff/troff.man: Minor fixes.
10176 2000-04-22 Werner LEMBERG <wl@gnu.org>
10178 * src/roff/troff/troff.man, doc/groff.texinfo, NEWS: Document the
10179 `.T' string register and the incompatible definition of the `.T'
10180 number register (compared to Unix troff).
10182 * man/groff_char.man: Add some missing characters.
10183 * font/devutf8/NOTES: Update.
10185 2000-04-21 Werner LEMBERG <wl@gnu.org>
10187 * src/include/htmlindicate.h, src/include/lib.h,
10188 src/include/posix.h: Fix copyright.
10190 * src/include/Makefile.sub: Update.
10192 2000-04-20 Werner LEMBERG <wl@gnu.org>
10194 * src/roff/troff/input.cc (input_char_description): Removing
10195 superfluous space char.
10197 * tmac/tmac.X: Fix typo \(bq -> \(Bq.
10199 * doc/groff.texinfo: Document EBCDIC.
10201 2000-04-19 Werner LEMBERG <wl@gnu.org>
10203 Introducing `shc' as the glyph name for the soft hyphen character.
10205 * tmac/tmac.tty, tmac/tmac.latin1, tmac/tmac.html,
10206 font/devlatin1/R.proto: Use it.
10210 2000-04-18 Werner LEMBERG <wl@gnu.org>
10212 * src/devices/grops/ps.cc (ps_printer::flush_sbuf): Removing
10213 dependency on ASCII order.
10215 2000-04-16 Sandor BARANY <S.Barany@infosys.tuwien.ac.at>
10217 * src/libs/libgroff/illegal.c: Added EBCDIC table.
10218 * src/roff/troff/input.cc: Added adaptation to EBCDIC.
10220 * src/preproc/refer/refer.cc, src/roff/troff/env.cc: Minor changes
10221 to increase portability.
10223 2000-04-15 Werner LEMBERG <wl@gnu.org>
10225 * aclocal.m4: Added GROFF_EBCDIC and GROFF_OS390 tests.
10226 Redefined AC_OUTPUT_MAKE_DEFS to replace ASCII character `012' with
10227 the generic `\n' if under OS/390 Unix.
10229 * configure.in: Call GROFF_EBCDIC and GROFF_OS390.
10231 * configure: Regenerated.
10233 2000-04-14 Werner LEMBERG <wl@gnu.org>
10235 * doc/groff.texinfo: More conversions to @Deffn.
10237 2000-04-12 Werner LEMBERG <wl@gnu.org>
10239 * tmac/tmac.psfig: Fix incorrect use of `&' operator by replacing it
10242 * src/roff/nroff/nroff.man: Add note about tmac.tty-char.
10244 2000-04-10 Werner LEMBERG <wl@gnu.org>
10246 * doc/groff.texinfo: More conversions to @Deffn.
10248 2000-04-08 Werner LEMBERG <wl@gnu.org>
10250 * src/libs/libgroff/{getopt.c,getopt1.c}, src/include/getopt.h:
10251 Updated to latest version (glibc 2.1.3).
10253 2000-04-07 Werner LEMBERG <wl@gnu.org>
10255 * doc/Makefile (clean): Include more index files.
10256 Add rule texinfo->dvi.
10258 2000-04-05 Werner LEMBERG <wl@gnu.org>
10260 * doc/groff.texinfo: Added new index `op' for operators. More
10261 info on end of sentence characters. More use of @Deffn.
10263 2000-03-30 Werner LEMBERG <wl@gnu.org>
10265 * */*.man: Adding a note that a whitespace can be inserted between
10266 a command line option and its parameter -- we are using GNU getopt.
10268 * src/roff/groff/groff.man: Add example of `-m mandoc'.
10270 2000-03-28 Werner LEMBERG <wl@gnu.org>
10272 Correct anachronism of calling the man macro file with `-man'
10273 instead of `-m man' etc.
10275 * tmac/tmac.man, tmac/tmac.mandoc, tmac/tmac.markup, tmac/tmac.mdoc,
10276 tmac/tmac.me, tmac/tmac.ms: New files tmac.m<package> which simply
10277 load tmac.<package>.
10279 * tmac/Makefile.sub: Updated. Take care of $(tmac_an_prefix) etc.
10283 * doc/groff.texinfo: Updated.
10285 * tmac/groff_man.man: Copyright added.
10287 2000-03-27 Werner LEMBERG <wl@gnu.org>
10289 * doc/groff.texinfo: Introducing macros `Deffn' and `Defmac' to
10290 typeset the request resp. escape name with a tt font -- due to a
10291 bug in texinfo.tex it is necessary to use the `-e' switch with
10294 Improving info about usage of groff units.
10298 2000-03-20 Werner LEMBERG <wl@gnu.org>
10300 * doc/groff.texinfo: Added section about man macro package
10301 (I've basically taken groff_man.man). Introducing new indices `ma'
10302 for macros/strings and `gl' for glyph names. Other minor fixes.
10304 * tmac/groff_man.man: Fixed some typos.
10306 2000-03-19 Werner LEMBERG <wl@gnu.org>
10308 * doc/groff.texinfo: Removed all occurrences of `you', `we', etc.
10311 * doc/texinfo.tex: New file.
10313 2000-03-18 Werner LEMBERG <wl@gnu.org>
10315 * doc/groff.texinfo: Improved section on number registers. Other
10318 2000-03-16 Werner LEMBERG <wl@gnu.org>
10320 * src/roff/groff/groff.man: Added info about grolbp. Make nicer
10323 * src/devices/grolbp/grolbp.man, src/roff/nroff/nroff.man,
10324 src/devices/grolj4/grlj4.man, src/devices/grops/grops.man,
10325 src/preproc/eqn/eqn.man, src/utils/afmtodit/afmtodit.man,
10326 src/utils/tfmtodit/tfmtodit.man: Make nicer synopsis.
10328 * src/preproc/grn/grn.man: Better synopsis; added copyright.
10330 * src/roff/grog/grog.man: Updated copyright date.
10332 2000-03-14 Francisco Andrés Verdú <pandres@dragonet.es>
10334 * configure.in: Added test for strdup.
10336 * src/devices/grolbp/lbp.cc: Added a strdup() version in case none
10339 Replaced dynamic allocation of arrays `[...]' with `new' operator.
10343 2000-03-12 OKAZAKI Tetsurou <okazaki@be.to>
10345 * Makefile.comm: Add $(INCLUDES) to $(ALL_CFLAGS).
10347 2000-03-11 Werner LEMBERG <wl@gnu.org>
10349 * src/preproc/grn/hdb.cc (DBGetType): Added return value to make
10351 * src/preproc/grn/hgraph.cc: Add #ifdef for hypot().
10352 * src/include/lib.h: Remove some spaces.
10354 2000-03-10 Werner LEMBERG <wl@gnu.org>
10356 * src/libs/libgroff/tmpfile.cc (xtmptemplate, xtmpfile): Removing
10357 initializers from arguments (some compilers don't like this).
10359 2000-03-09 Gaius Mulley <gaius@glam.ac.uk>
10361 * src/libs/libgroff/htmlindicate.cc: Added library file which is now
10362 used by pic and eqn to tell grohtml where the graphic regions start
10364 * src/libs/libgroff/Makefile.sub: Use it.
10365 * src/preproc/eqn/main.cc, src/preproc/pic/troff.cc: Altered to use
10366 graphic_start() and graphic_end() from htmlindicate.cc.
10368 2000-03-09 Werner LEMBERG <wl@gnu.org>
10370 * tmac/tmac.safer: Will now work correctly in compatibility mode.
10371 * tmac/groff_man.man: More fixes.
10373 2000-03-08 Werner LEMBERG <wl@gnu.org>
10375 * doc/Makefile: Added texput.log to the `clean' target.
10376 * doc/groff.texinfo: Added info about delimiters for escapes.
10378 2000-03-08 Bernd Warken <bwarken@mayn.de>
10380 * src/preproc/pic/pic.man: Add info on conversion of pic images to
10381 other graphic formats.
10383 2000-03-07 OKAZAKI Tetsurou <okazaki@be.to>
10385 * Makefile.in, Makefile.sub, src/preproc/eqn/Makefile.sub,
10386 src/roff/groff/Makefile.sub, src/roff/nroff/Makefile.sub,
10387 src/utils/afmtodit/Makefile.sub: Use $(INSTALL_SCRIPT) for script
10390 2000-03-07 Werner LEMBERG <wl@gnu.org>
10392 * doc/groff.texinfo: Spelling fixes.
10394 2000-03-06 Werner LEMBERG <wl@gnu.org>
10396 * tmac/groff_man.man: Completely revised to cover everything in
10399 * doc/groff.texinfo, src/roff/troff/troff.man: Document evc request.
10400 Other minor fixings.
10401 * src/roff/troff/env.cc (environment_copy): Improve error message and
10403 * src/roff/troff/TODO: Updated.
10405 * doc/Makefile: Bug fixes -- this is still provisional, though...
10407 * tmac/eqnrc: Small fixes.
10409 2000-03-05 Abramo Bagnara <abramo@alsa-project.org>
10411 Adding a request `evc' to copy environments.
10413 * src/roff/troff/env.cc (environment::copy, environment_copy):
10415 * src/roff/troff/env.h: Add prototype.
10417 2000-03-05 Francisco Andrés Verdú <pandres@dragonet.es>
10419 Adding strsep() -- Solaris 8 doesn't have it.
10421 * configure.in: Test it.
10422 * src/devices/grolbp/lbp.cc: Add code.
10424 2000-03-05 Werner LEMBERG <wl@gnu.org>
10426 * src/roff/troff/div.cc (macro_diversion::output,
10427 top_level_diversion::output): Fixing an incompatibility with
10428 original troff: \x'0' updates the .a register also. Thanks to
10429 <Andries.Brouwer@cwi.nl> for pointing this out.
10430 * doc/groff.texinfo: Document it.
10432 * Makefile.in: Create Makefile.dep if necessary before calling the
10433 submake process to avoid warning about nonexistent file.
10435 * NEWS, PROJECTS: Updated.
10437 2000-03-04 Werner LEMBERG <wl@gnu.org>
10439 * tmac/troffrc: Add tmac.lbp.
10441 2000-03-03 Francisco Andrés Verdú <pandres@dragonet.es>
10443 * tmac/tmac.lbp: New file.
10444 * src/devices/grolbp/grolbp.man: Add documentation of `lbpname'
10447 2000-03-03 Werner LEMBERG <wl@gnu.org>
10449 * Makefile.in: Fixing $(subdir).
10451 * README, NEWS: Small fixes.
10453 * test-groff: Adding path to grolbp.
10455 * configure.in: The (new) file src/xditview/Imakefile.in will be
10456 also configured -- it is now possible to build gxditview in a
10457 directory different from $srcdir.
10459 2000-03-02 Blake McBride <blake@florida-software.com>
10461 * src/libs/libgroff/searchpath.cc (open_file): Adapting to WinNT.
10463 * MORE.STUFF: Added website of bell labs and info about plot2dev.
10465 2000-03-01 Colin Phipps <crp22@cam.ac.uk>
10467 * src/utils/indxbib/indxbib.cc (main): Use mkstemp() for temporary
10470 2000-02-29 Werner LEMBERG <wl@gnu.org>
10472 Adding GNU getopt to the groff distribution.
10474 * src/include/getopt.h, src/libs/libgroff/{getopt.c,getopt1.c}:
10476 * src/include/Makefile.sub, src/libs/libgroff/Makefile.sub: Update.
10477 * aclocal.a4: Remove GROFF_GETOPT function.
10478 * configure.in, Makefile.in, PROBLEMS: Update.
10479 * src/include/lib.h: Replace getopt tests with getopt.h.
10480 * src/devices/grolbp/lpb.cc: Remove inclusion of getopt.h.
10482 * doc/groff.texinfo: Further checking/updating. Adding more index
10485 * man/groff_out.man: Fix nroff mode activation (for emacs).
10486 * man/groff_font.man: Add missing ligature.
10488 2000-02-28 Werner LEMBERG <wl@gnu.org>
10490 * doc/groff.texinfo: Further checking/updating. Adding more index
10493 * src/devices/grolbp/grolbp.man: Added a comment line at the
10494 beginning of the file (similar to shell scripts) which indicates
10495 that `tbl' should be used as a preprocessor.
10497 2000-02-27 Blake McBride <blake@florida-software.com>
10499 Adapting groff to MS Visual C++ 6.0 compiler (tested with
10500 Windows NT 4.0). Uses _MSC_VER define where necessary.
10502 * src/devices/grodvi/dvi.cc: Making stdout a binary stream.
10503 * src/devices/grolj4/lj4.cc: Making getopt variables `extern "C"'.
10504 * src/devices/grohtml/html.cc, src/devices/grops/ps.cc,
10505 src/include/lib.h, src/libs/libgroff/errarg.cc,
10506 src/libs/libgroff/itoa.c, src/libs/libgroff/nametoindex.cc,
10507 src/preproc/refer/label.y, src/preproc/refer/label.cc,
10508 src/roff/groff/pipeline.c, src/roff/troff/column.cc,
10509 src/roff/troff/div.cc, src/roff/troff/env.cc,
10510 src/roff/troff/input.cc, src/roff/troff/node.cc,
10511 src/roff/troff/reg.cc: Renaming itoa() to i_to_a() and iftoa() to
10512 if_to_a() to avoid name clashes.
10513 * src/include/posix.h: Don't use unistd.h.
10514 * src/libs/libgroff/tmpfile.cc: Use `#ifndef...#else...#endif'
10515 clause for integrating non-Unix xtmpfile() code.
10516 * src/roff/troff/input.cc: Adding `public' keyword to macro_header
10517 structure; use "rt" for popen() in pipe_source(); add getpid()
10519 * src/roff/troff/node.cc: Use special versions of popen() in
10520 real_output_file() and pclose() in ~real_output_file().
10522 2000-02-27 Werner LEMBERG <wl@gnu.org>
10524 Adding a new driver, grolbp, for Canon CAPSL printers (LBP-4 and
10525 LBP-8 series laser printers). This code has been contributed by
10526 Francisco Andrés Verdú <pandres@dragonet.es>.
10528 * src/devices/grolbp/*: The grolbp output device.
10529 * font/devlpb/*: The font description files.
10530 * Makefile.in: Add grolpb and devlbp subdirectories.
10532 * src/devices/grodvi/grodvi.man, src/devices/grolj4/grolj4.man,
10533 src/devices/grotty/grotty.man,src/roff/troff/troff.man: Minor
10536 * doc/groff.texinfo: Further checking/updating. Adding more index
10541 * src/devices/grolbp/Makefile.sub: Adding $(srcdir).
10543 * man/groff_font.man: Adding info about obsolete DESC keywords.
10544 * src/devices/grolj4/grolj4.man: Documenting additional DESC
10547 2000-02-26 Werner LEMBERG <wl@gnu.org>
10549 * src/preproc/grn/grn.man: Added info about the gremlin file format
10550 (contributed by Daniel Senderowicz <daniel@synchrods.com>).
10552 2000-02-25 Werner LEMBERG <wl@gnu.org>
10554 * src/preproc/grn/main.cc: Allow values of `narrow' parameter and
10555 friends to be non-integer.
10557 * src/preproc/grn/grn.man: Document it.
10559 * doc/groff.texinfo: Further checking/updating. Adding more index
10562 2000-02-24 Werner LEMBERG <wl@gnu.org>
10564 * src/preproc/grn/main.cc: Introduce BASE_THICKNESS, defining
10565 line thicknesses to be integer multiples of this value.
10567 * src/preproc/grn/grn.man: Commenting out the -s option -- the
10568 corresponding code doesn't work (yet).
10570 * doc/groff.texinfo: Further checking/updating. Adding more index
10573 2000-02-23 Werner LEMBERG <wl@gnu.org>
10575 * src/preproc/grn/{main.cc, hgraph.cc}: Using point units to
10576 specify line thickness instead of base units. The new default
10577 values are now 0.15,pt 0.45pt, and 0.75pt for thin, middle, and
10578 thick lines respectively.
10580 Removed unused variable `prevval'.
10582 * src/preproc/grn/grn.man: Updated.
10584 2000-02-22 Werner LEMBERG <wl@gnu.org>
10586 * src/preproc/grn/main.cc: Slight formatting.
10588 * src/roff/groff/groff.man: Formatting fix.
10589 * src/preproc/grn/grn.man: Ditto.
10591 * src/roff/grog/grog.pl: Fixing two embarassing bugs.
10593 * doc/groff.texinfo: Further checking/updating.
10595 2000-02-21 Werner LEMBERG <wl@gnu.org>
10597 * README, INSTALL, PROJECT, PROBLEMS, BUGREPORT: Updated.
10599 * test-groff: Added grn subdir to path.
10601 * doc/groff.texinfo: Some restructing and other small improvements.
10603 * src/roff/groff/groff.cc (help): Fixed info string.
10605 2000-02-20 Werner LEMBERG <wl@gnu.org>
10607 * doc/meref.me: Fix description of .GS request.
10609 * src/roff/troff/troff.man: Fixing typo.
10611 Adding the `grn' preprocessor for gremlin graphic files.
10613 * src/preproc/grn/*: This is the Berkeley distribution written by
10614 David Slattengren and Barry Roitblat, adapted to groff by Daniel
10615 Senderowicz and Werner Lemberg.
10617 * doc/grnexampl.{me,g}: A sample for grn.
10619 * Makefile.in: Added subdirectory entry for grn.
10621 * src/roff/groff/groff.cc: Added support for grn. It can be now
10622 called with the switch `-g'.
10624 * src/roff/groff/groff.man: Updated.
10626 * src/roff/grog/grog.{man,pl,sh}: Updated.
10630 2000-02-11 Gaius Mulley <gaius@glam.ac.uk>
10632 * src/include/lib.h: Added xtmptemplate and made xtmpfile
10633 parametrically polymorphic.
10635 * src/libs/libgroff/tmpfile.cc: Implemented xtmptemplate
10636 and the alterations to xtmpfile.
10637 xtmpfile can be requested to return the filename created
10638 and asked not to unlink the temp file. The default behaviour
10639 if parameters are absent is exactly the same as before.
10641 2000-02-11 Abramo Bagnara <abramo@alsa-project.org>
10643 A new request `length' is available which returns the length of a
10644 string in a number register:
10646 * src/roff/troff/input.cc (length_macro): Implement it.
10647 * src/roff/troff/input.cc (init_input_requests): Register it.
10649 2000-02-11 Werner LEMBERG <wl@gnu.org>
10651 * doc/groff.texinfo, src/roff/troff/troff.man: Add documentation
10652 of the `substring' request.
10654 * src/roff/troff/troff.man, doc/groff.texinfo: Document `length'
10657 * src/roff/troff/TODO, NEWS: Updated.
10659 2000-02-09 Werner LEMBERG <wl@gnu.org>
10661 * src/roff/groff/groff.man: Added an example.
10663 2000-02-06 Werner LEMBERG <wl@gnu.org>
10665 I've considerably modified the directory structure of the
10666 distribution to get a more vertical layout. For example, the number
10667 of top level directories has been reduced from 42 to 6.
10669 As a consequence, many changes, especially to the makefiles, were
10672 * The makefile variables `top_builddir' and `top_srcdir' have been
10673 introduced. Virtually all relative paths have been replaced with
10674 absolute ones using these two variables.
10676 * Dependencies (in the files `Makefile.dep') are no longer part of
10677 the distribution. Instead, they are created during a `make install'
10678 in the build directory.
10680 * aclocal.m4 (GROFF_SRCDIR, GROFF_BUILDDIR): Two new functions to
10681 make `top_srcdir' and `top_builddir' absolute.
10683 Some other changes:
10685 * Man pages now depend on the files `VERSION' and `REVISION'.
10687 * The added shell script `mkinstalldirs' will replace `mkdir' in
10690 * VERSION: Version number increased to 1.16.
10692 2000-02-04 Werner LEMBERG <wl@gnu.org>
10694 * grops/psrm.cc (read_one_of): Fixed pointer incrementation.
10696 * Makefile.in: Removed $(tmac_m) since it is no longer needed
10697 (after an update of the mm stuff).
10699 * troff/Makefile.sub (majorminor.cc): Fix dependencies.
10701 2000-02-03 Werner LEMBERG <wl@gnu.org>
10703 The .psbb request will now also accept Mac PS images (i.e. using LF
10704 as the EOL character).
10706 * troff/input.cc (ps_get_line): New function, taken from psrm.cc
10707 (with slight modifications).
10708 * troff/input.cc (do_ps_file): Use it.
10710 * test-groff: Add grohtml and grolj4 output devices to PATH.
10712 2000-01-30 Werner LEMBERG <wl@gnu.org>
10714 * NEWS, MORE.STUFF: Updated.
10716 2000-01-30 Cary D. Renzema <caryr@dollar.mxim.com>
10718 Add the `srand' command to pic.
10720 * pic/lex.cc, pic/pic.y: Implement it.
10721 * pic/pic.man: Document it.
10722 * pic/pic.cc, pic/pic.tab.h: Regenerated (with yacc).
10724 2000-01-30 Werner LEMBERG <wl@gnu.org>
10726 Add a new request `.psbb'. This does exactly what the external
10727 program psbb did. It scans a PostScript image file for a
10728 %%BoundingBox comment and extracts the bounding box values (in
10729 PostScript units) which are then stored in the four new (read-only)
10730 number registers `llx', `lly', `urx', and `ury'.
10732 This will allow the usage of the .PSPIC macro without worrying
10733 about unsafe behaviour of groff, i.e., it will work without the
10734 `-U' switch of groff.
10736 * troff/input.cc: Implement it.
10737 * tmac/tmac.pspic: Use it.
10738 * troff/troff.man, grops/grops.man, NEWS: Document it.
10739 * psbb/*, Makefile.in: Remove it since it is no longer needed.
10741 This is bloody C code simply adapted from psbb.c! Any improvements
10744 2000-01-29 Werner LEMBERG <wl@gnu.org>
10746 * man/groff_font.man: Minor clarifications.
10750 2000-01-28 Werner LEMBERG <wl@gnu.org>
10752 * afmtodit/afmtodit.pl: Use new `--' comment delimiter.
10754 2000-01-28 Gaius Mulley <gaius@glam.ac.uk>
10756 * man/groff_font.man: Brought up to date regarding tcommand
10758 * libgroff/font.cc: Handle everything after `--' as a comment
10760 * devps/*: Added comment delimiter inside devps font files.
10762 2000-01-28 Werner LEMBERG <wl@gnu.org>
10764 * tmac/tmac.arkup, tmac/groff_markup.man: Replace \fC...\fR with
10765 \fC...\fP (which now works as expected).
10767 * troff/troff.man: Fix typo.
10769 2000-01-27 Gaius Mulley <gaius@glam.ac.uk>
10771 Completed the pass_filenames implementation in troff.
10773 * libdriver/input.cc: Will read the new `F' tcommand.
10774 * troff/node.cc, troff/node.h: Will issue the new `F' tcommand.
10775 * troff/input.cc: Use it.
10777 2000-01-26 Werner LEMBERG <wl@gnu.org>
10779 * troff/env.cc (set_font): Fix the behaviour of \fP. The previous
10780 font will now be updated even if an invalid font is selected.
10782 2000-01-24 Werner LEMBERG <wl@gnu.org>
10784 * doc/homepage.ms: Updated for new tmac.arkup.
10786 * tmac/tmac.html: Disable line breaks after hyphen-like characters.
10788 * tmac/tmac.arkup: Cleanup.
10790 Added `\&' to .HTML macro to `leave vertical mode', so to say.
10792 Removed obsolete .LINK macro completely.
10794 The macros .URL, .FTP, and .MAILTO now accept a third argument which
10795 will be immediately appended to the second argument (to be used with
10796 punctuation, for example).
10798 Disabled .CDFTP macro temporarily for security reasons.
10800 * tmac/groff_markup.man: Complete revision for latest changes in
10801 tmac.arkup -- note that it does not yet format correctly with
10804 2000-01-23 Bruno Haible <haible@clisp.cons.org>
10806 * nroff/nroff.sh: Accept -Tutf8 option and pass it through.
10807 * devutf8/R.proto: Add mappings for wp, lh, rh.
10808 * devutf8/NOTES: Updated.
10810 2000-01-23 Werner LEMBERG <wl@gnu.org>
10812 * doc/groff.texinfo: Updated version/copyright info.
10814 2000-01-21 Gaius Mulley <gaius@glam.ac.uk>
10816 Added support for two new directives in device descriptions:
10817 `pass_filenames' (to pass the input file name to the output device)
10818 and `use_charnames_in_special' (to support e.g. accented characters
10819 in the `X' request).
10821 * include/font.h, troff/charinfo.h: Declare it.
10823 * libgroff/font.cc, libgroff/fontfile.cc: Set it.
10825 * devhtml/DESC: Use it.
10827 * troff/input.cc: New function encoded_char.
10829 * troff/token.h: Add test for `specialness'.
10831 2000-01-21 Werner LEMBERG <wl@gnu.org>
10833 * tmac/Makefile.sub: tmac.a4 and tmac.trace have been removed by
10834 mistake from the list of files to be installed.
10836 2000-01-18 Werner LEMBERG <wl@gnu.org>
10838 * README: Added info how to apply patches.
10840 2000-01-15 Jan Echternach <echter@informatik.uni-rostock.de>
10842 * troff/node.cc (ligature_note::operator delete): Fix g++ warning.
10844 2000-01-15 Gaius Mulley <gaius@glam.ac.uk>
10846 * troff/input.cc: Add support for troffrc-end.
10848 * tbl/main.cc: Altered to issue table-start and table-end special
10849 characters if using the html device.
10851 * devhtml/*: Modified font files to incorporate html encoding of
10854 * tmac/groff_markup.man: New file documenting tmac.arkup.
10856 * tmac/troffrc-end: New file. This is invoked after all user
10857 specified macros. Currently used by the html device to include
10858 tmac.html. Thus no need for users to specify -mhtml anymore.
10860 * tmac/Makefile.sub (NORMALFILES): Add troffrc-end.
10861 (MAN7): Add groff_markup.man.
10863 * tmac/tmac.an, tmac/tmac.html: Small html updates.
10865 * tmac/troffrc: tmac.arkup will now be called for the html device.
10867 * libgroff/font.cc, libgroff/font.h: Altered to include reading of
10868 extra device specific information about fonts.
10870 * doc/homepage.ms: New file. It is an example how an HTML home page
10871 could look like with grohtml.
10873 * doc/Makefile: Add homepage.ms. Remove rule for pic.html.
10875 2000-01-12 Bruno Haible <haible@clisp.cons.org>
10877 * devutf8/R.proto: Add mappings for ti, Fn, st, an. Change mappings
10880 * devutf8/NOTES: Updated.
10882 2000-01-08 Bruno Haible <haible@clisp.cons.org>
10884 * eqn/box.cc, eqn/lex.cc, eqn/other.cc, eqn/over.cc, eqn/special.cc,
10885 eqn/text.cc, grodvi/dvi.cc, grops/ps.cc, grops/psrm.cc,
10886 libbib/index.cc, libbib/linear.cc, libbib/search.cc,
10887 libdriver/printer.cc, libgroff/font.cc, libgroff/string.cc,
10888 pic/lex.cc, pic/object.cc, refer/label.y, refer/ref.cc, tbl/main.cc,
10889 tbl/table.cc, tfmtodit/tfmtodit.cc, troff/dictionary.cc,
10890 troff/div.cc, troff/env.cc, troff/input.cc, troff/node.cc,
10891 troff/node.h, troff/reg.cc: Avoid most "g++ -Wall -Wno-sign-compare"
10894 * troff/node.cc (bracket_node::copy): Initialize last to NULL.
10896 2000-01-12 Fabrizio Polacco <fab@prosa.it>
10898 grolj4: Paper size will be searched case-insensitively.
10900 * include/lib.h: Add check for strcasecmp().
10901 * grolj4/li4.cc (lookup_paper_size): Use strcasecmp().
10902 * configure.in: Check for strcasecmp().
10904 2000-01-11 Werner LEMBERG <wl@gnu.org>
10906 * troff/Makefile.sub (majorminor.cc): Fix incorrect path to
10909 2000-01-10 Werner LEMBERG <wl@gnu.org>
10911 * Makefile.comm, Makefile.in, doc/Makefile: More fixes for the
10914 Add a new read-only register, `.Y', which contains the groff
10917 * troff/input.cc (init_input_requests): Define it.
10918 * troff/Makefile.sub (majorminor.cc): Define `revision' string.
10919 * doc/groff.texinfo, troff/troff.man: Document it.
10921 * libgroff/Makefile.sub (version.cc): Add definition of
10922 `Version_string[]', consisting of `<major>.<minor>.<revision>'
10923 * eqn/main.cc, grodvi/dvi.cc, grolj4/lj4.cc, grops/ps.cc,
10924 grotty/tty.cc, hpftodit/hpftodit.cc, indxbib/indxbib.cc, pic/main.cc,
10925 refer/refer.cc, soelim/soelim.cc, tbl/main.cc, tfmtodit/tfmtodit.cc,
10926 troff/input.cc, pfbtops/pfbtops.c: Use it.
10928 2000-01-10 Fabrizio Polacco <fab@prosa.it>
10930 Add a revision scheme to the groff package.
10932 * REVISION: New file.
10933 * libgroff/Makefile.sub (version.cc): Use it to define
10934 `revision_string[]'.
10935 * grops/psrm.cc: Use revision_string (converted to an unsigned
10936 integer) in constructor of resource_manager.
10938 2000-01-10 Bruno Haible <haible@clisp.cons.org>
10940 * devutf8/Makefile.sub, devutf8/DESC.proto, devutf8/R.proto: New
10942 * Makefile.in (DEVDIRS): Add devutf8.
10943 * grotty/tty.cc: Include device.h.
10944 (glyph): Change type of `code' to `unsigned int'.
10945 (tty_printer): New field is_utf8. Constructor takes device argument.
10946 (tty_printer::tty_printer): If device if `utf8', set is_utf8.
10947 (tty_printer::add_char): Change type of first arg to `unsigned int'.
10948 (tty_printer::put_char): New function.
10949 (tty_printer::end_page): Use put_char() instead of ::putchar().
10950 (make_printer): Pass device to tty_printer constructor.
10951 * nroff.sh: Determine default device by calling 'locale'. As a
10952 fallback, look at all of $LC_ALL, $LC_CTYPE, $LANG, $LESSCHARSET.
10953 Recognize UTF-8 locales.
10954 * tmac/eqnrc: Recognize utf8 like latin1.
10955 * tmac/troffrc: Device utf8 needs tmac.tty.
10957 2000-01-07 Werner LEMBERG <wl@gnu.org>
10959 * tmac/Makefile.sub: tmac.a4 and tmac.trace will now be installed.
10961 2000-01-07 Paul Eggert <eggert@twinsun.com>
10963 Add a new predefined writeable number register, `year',
10964 which contains the current year.
10966 * doc/groff.texinfo, PROBLEMS, troff/troff.man: Document it.
10967 * tmac/tmac.s: Use it.
10968 * troff/input.cc (init_registers): Initialize it.
10970 2000-01-06 Werner LEMBERG <wl@gnu.org>
10972 * PROBLEMS: Fixed typo.
10974 2000-01-04 Paul Eggert <eggert@twinsun.com>
10976 * PROBLEMS: Add Y2k advice for the yr number register.
10978 2000-01-03 Paul Eggert <eggert@twinsun.com>
10980 * doc/groff.texinfo: Fix Y2k bug in documentation of \n(yr.
10982 2000-01-02 Werner LEMBERG <wl@gnu.org>
10984 * tmac/tmac.arkup: Slight modification of macros to provide better
10985 appearance for non-HTML formats.
10987 2000-01-01 Charles Levert <charles@comm.polymtl.ca>
10989 * soelim/soelim.cc (include_path_append): realloc(NULL, n)
10990 does not automatically translate to malloc(n) on all OSes
10991 (e.g., SunOS) so do it explicitly. Also, check the returned
10994 2000-01-01 Werner LEMBERG <wl@gnu.org>
10996 * tmac/tmac.arkup: Added .LINE macro. Some formatting.
10998 * Makefile.in: Added $(tmac_m) again since the Makefile in `mm'
10999 expects this variable
11001 2000-01-01 Gaius Mulley <gaius@glam.ac.uk>
11003 * doc/Makefile: Added instructions to create HTML and text
11004 versions of some files.
11006 1999-12-31 Werner LEMBERG <wl@gnu.org>
11008 * Updated INSTALL.gen.
11010 * tmac/tmac.arkup: Added fixes so that .FTP and .MAILTO works
11011 better resp. correctly with non-HTML devices.
11013 Version 1.15 released
11014 =====================
11016 1999-12-28 Werner LEMBERG <wl@gnu.org>
11018 * NEWS, VERSION: Changed to 1.15
11020 1999-12-27 Paul Eggert <eggert@twinsun.com>
11022 * nroff/nroff.man: -S is safer, not safe.
11024 * groff/groff.cc (main): Use `safer', not `safe', in variable
11025 names. This does not change the behavior.
11027 * troff/input.cc (main): Likewise.
11029 * nroff/nroff.sh: Likewise.
11031 * troff/input.cc (prepend_string): New function.
11032 (main): Prepend -msafer, so that we check macro libraries for
11035 * PROBLEMS: Report problem with Sun C++ 5.0 and 5.1.
11037 Version 1.14 released
11038 =====================
11040 1999-12-26 Werner LEMBERG <wl@gnu.org>
11042 * NEWS, VERSION: Changed to 1.14.
11044 1999-12-24 Werner LEMBERG <wl@gnu.org>
11046 * refer/refer.cc: Fixing the last fix.
11048 Version 1.13 released
11049 =====================
11051 1999-12-23 Werner LEMBERG <wl@gnu.org>
11053 * tmac/tmac.an: A typo (`.if' instead of `.ie') made the page
11058 * tmac/tmac.safer: Forgot to remove `so' from the `rm' request.
11060 * VERSION: Changed to 1.13 -- to be compliant with the Adobe 3.0
11061 document conventions, the version number must be a real.
11063 Version 1.12.1 released
11064 =======================
11066 1999-12-22 Werner LEMBERG <wl@gnu.org>
11068 * VERSION: Changed to 1.12.1.
11070 1999-12-22 Alan Rooks <arooks@istar.ca>
11072 * refer/refer.cc (do_file): Slight modification to satisfy the
11073 `Standard system CC - C++ Compilation System 3.1 03/03/99' on SCO
11076 1999-12-20 Werner LEMBERG <wl@gnu.org>
11078 * changed prep.ai.mit.edu -> ftp.gnu.org; updated copyright
11081 * tmac/tmac.safer, tmac/groff_msafer.man: Remove `so' (again) from
11082 list of unsafe requests.
11084 * pic/pic.man: Fixed a typo.
11086 * man/groff_out.man: Fixed a typo.
11088 1999-12-18 Werner LEMBERG <wl@gnu.org>
11090 * Makefile.in: Doc fixes.
11092 1999-12-17 Fabrizio Polacco <fab@prosa.it>
11094 * groff/groff.cc: Missing `U' option added to getopt().
11096 * troff/troff.man: Missing `U' option added to synopsis.
11098 Version 1.12 released
11099 =====================
11101 1999-12-14 Werner LEMBERG <wl@gnu.org>
11103 * troff/input.cc (usage), groff/groff.cc (synopsis): Added -U flag
11106 * nroff/nroff.sh, nroff/nroff.man: Replaced `secure', `unsecure'
11107 with the more appropriate terms `safer' and `unsafe'.
11109 * libgroff/strerror.c, aclocal.m4, configure.in: Added checks for
11110 sys_nerr and sys_errlist[].
11112 * pic/pic.h, aclocal.m4, configure.in: Added check for hypot().
11114 * pic/pic.y, pic/pic.cc: Added check for fmod().
11116 1999-12-13 Werner LEMBERG <wl@gnu.org>
11118 * VERSION: Changed to 1.12.
11120 Here some patches from various sources; most of them taken from
11121 the Debian distribution.
11123 * tmac/groff_mdoc.man, tmac/groff_mdoc.samples.man,
11124 tmac/Makefile.sub: New files copied directly from the NetBSD
11125 distribution. Probably, some additional adaptation later on is
11128 * tmac/tmac.safer, tmac/groff_msafer.man: Added `so' to the list
11129 of unsafe requests.
11131 * groff/groff.cc, groff/groff.man, nroff/nroff.sh,
11132 nroff/nroff.man, pic/main.cc, pic/pic.man, troff/input.cc,
11133 troff/troff.man: Added option `-U' for unsafe mode. Safe mode
11134 (`-S') is now the default.
11136 * README, NEWS: Updated.
11138 1999-12-09 Werner LEMBERG <wl@gnu.org>
11140 * doc/groff.texinfo: Regenerated nodes and menus with emacs.
11142 * doc/Makefile (clean): Added cleaning commands for groff.texinfo.
11144 1999-12-06 Werner LEMBERG <wl@gnu.org>
11146 * configure.in: Removed AC_PREFIX_PROGRAM since it causes more
11147 grief than relief today. Additionally, it is against the GNU
11150 * configure: Recreated.
11152 1999-12-05 Werner LEMBERG <wl@gnu.org>
11154 * configure.in: Added GROFF_LIBM.
11156 * configure: Recreated.
11158 * aclocal.m4 (GROFF_LIBM): New function which tests whether -lm is
11161 * Makefile.in: Added definition of $(LIBM).
11163 * Makefile.comm (LIBM): Removed.
11165 * pfbtops/Makefile.sub: On AIX, -lm is needed also.
11167 1999-12-03 Gaius Mulley <gaius@glam.ac.uk>
11169 * doc/Makefile: Added rule for generation pic.html.
11171 (clean): Files produced by grohtml will be removed also.
11173 * doc/pic.ms: Small fix.
11175 * tmac/tmac.html: Fixed suppression of headers.
11177 1999-11-16 Gaius Mulley <gaius@glam.ac.uk>
11179 * tmac/tmac.html: Fixing horizontal arrows.
11181 Turning off hyphenation.
11183 * tmac/tmac.an: Improved support for grohtml; better indentation,
11184 no footers/headers.
11186 1999-10-31 Gaius Mulley <gaius@glam.ac.uk>
11188 * tmac/tmac.arkup: Added CDFTP macro
11190 * tmac/tmac.html: All headers are turned off for ms, me, and mm
11193 * tmac/troffrc: Some additions for HTML stuff.
11195 1999-10-06 Gaius Mulley <gaius@glam.ac.uk>
11197 * tmac/tmac.html: Small changes.
11199 1999-09-26 Werner LEMBERG <wl@gnu.org>
11201 * doc/groff.texinfo: Minor fixes.
11203 1999-09-26 Gaius Mulley <gaius@glam.ac.uk>
11205 * devhtml/TR: Changed spacewidth to 3.
11207 * tmac/Makefile.sub (NORMALFILES): Added tmac.arkup.
11209 * tmac/tmac.html: Moved markup macros to tmap.arkup.
11211 * tmac/tmac.arkup: New file.
11213 * grohtml/ChangeLog: New file.
11215 1999-09-16 Werner LEMBERG <wl@gnu.org>
11217 * doc/groff.texinfo (Common Features): Added Copying chapter.
11218 Changed format to @smallbook.
11220 1999-09-15 Werner LEMBERG <wl@gnu.org>
11222 * NEWS: Added info about groff.texinfo.
11224 * doc/groff.texinfo: Will now compile (using texi2dvi) without
11227 1999-09-14 Werner LEMBERG <wl@gnu.org>
11229 * groff/groff.man: More updates.
11231 1999-09-13 Werner LEMBERG <wl@gnu.org>
11233 * doc/groff.texinfo: New file. This manual is still very
11234 rudimentary. It has been originally contributed by Trent
11235 A. Fisher <trent@gnurd.portland.or.us> with first corrections and
11238 * INSTALL: Added information about the `doc' subdir
11240 * troff/troff.man: Minor fixes.
11242 * groff/groff.man: Added missing `-L arg' to SYNOPSIS section;
11245 * troff/input.cc (usage): Added missing `-ffam' to usage message.
11247 * Makefile.in (dist): groff-$(version).tar.gz must be removed
11248 also, otherwise it is included itself in another call of `make
11251 * groff/groff.cc (synopsis): Removed superfluous space.
11253 * PROJECTS, PROBLEMS, NEWS: Updated.
11255 * VERSION: Updated to 1.12beta.
11257 * BUG-REPORT: Some cosmetic fixes. Corrected email address.
11259 * README: Updated: Included documentation about CVS repository,
11260 mailing lists, and daily snapshots.
11262 * tmac/Makefile.sub: Fixed $(tmap_wrap) finally.
11264 1999-09-12 Bjarni Ingi Gislason <bjarniig@rhi.hi.is>
11266 * tmac/tmac.an: If the tag didn't fit into the space that the
11267 macro `TP' specifies, the rest of the tag went into the space for
11270 1999-09-12 Jeffrey Copeland <jeff@opennt.com>
11272 * grolj4/lj4.cc: Added duplex printing (option `-d').
11274 * grolj4/grolj4.man: Document duplex printing.
11276 1999-09-12 Werner LEMBERG <wl@gnu.org>
11278 * doc/Makefile (pic.ps): Fixed rule which caused problems with
11279 non-GNUish sed programs.
11281 * tmac/doc-syms: Removed extra space from -iso8802-3 macro
11284 * configure.in (LIBS): Added `-lc'
11286 * Makefile.comm (.man.n): Added substitution for @TMAC_AN_PREFIX@.
11288 * pic/tex.cc (solid_arc): Casting M_PI to double.
11290 * libgroff/putenv.c (putenv): Changed function header to ANSI C.
11292 * groff/groff.man, tmac/Makefile.sub (MAN7), tmac/groff_msafer.man
11293 (new file), tmac/msafer.man (deleted), tmac/groff_me.man (new
11294 file), tmac/me.man (deleted): {me,msafer} -> groff_{me,msafer}.
11296 * groff/groff_man.man: New file. This manual page was originally
11297 written for the Debian GNU/Linux system by Susan G. Kleinmann
11300 * eqn/list.cc (list_box::compute_metrics,
11301 list_box::compute_sublist_width): Removed variable declaration to
11302 avoid shadowing warnings.
11304 * grops/psrm.cc (resource_manager::process_file): Ditto.
11306 * tfmtodit/tfmtodit.cc (main): Ditto.
11308 * libgroff/font.cc (font::load_desc): Renamed auxiliary variable
11309 to avoid shadowing warnings.
11311 * tbl/table.cc (block_entry::do_divert, table::do_row): Renamed
11312 shadowing loop variable.
11314 * groff/groff.man, troff/troff.man: Added doc about grohtml.
11316 1999-09-12 Gaius Mulley <gaius@glam.ac.uk>
11318 New grohtml frontend to convert groff input to html.
11320 * Makefile.in (CCPROGDIRS, DEVDIRS): Added html device.
11322 * tmac/Makefile.sub (NORMALFILES): Added tmac.html.
11324 * tmac/eqnrc: Added html device.
11326 * tmac/tmac.html: New file.
11328 * eqn/main.cc (do_file, inline_equation), pic/troff.cc
11329 (troff_output::start_picture, troff_output::finish_picture),
11330 tbl/main.cc (process_input_file):
11331 Surrounded output with `graphics_start' and `graphics_end' so that
11332 the html driver can identify non-text portions.
11334 * grodvi/dvi.cc (dvi_printer::set_char), grolj4/lj4.cc
11335 (lj4_printer::set_char), grops/ps.cc (ps_printer::set_char),
11336 grotty/tty.ps (tty_printer::set_char): Additional parameter
11339 * include/printer.h: Class printer: New function
11340 set_char_and_width; new variables (is_char_named, is_named_set,
11341 named_command, named_char_s, named_char_n) to hold information
11342 about named characters -- needed by the html driver.
11344 * libdriver/printer.cc (printer::set_ascii_char,
11345 printer::set_special_char): Use set_char_and_width.
11347 * devhtml/*: New device files for html driver.
11349 * grohtml/*: New driver grohtml.
11351 1999-09-11 Wilfredo Sanchez <wsanchez@apple.com>
11353 * tmac/doc-common, tmac/tmac.an: Removed the word `UNIX' in
11356 1999-09-11 Luke Mewburn <lukem@netbsd.org>
11358 * libgroff/string.cc (search): Small fix to test against NULL
11361 1999-09-11 Jeff Conrad <jeff_conrad@msn.com>
11363 * troff/node.cc (copy): The characters in a bracket escape (e.g.,
11364 \b'abc') were stacked in reverse order when processed in a
11367 * troff/node.h: Added `*last' to struct `node' to make the above
11370 * troff/input.cc (read_draw_node), libdriver/input.cc (do_file):
11371 The default scale for the 'f' and 't' graphics functions were 'm'
11372 rather than 'u' (i.e., no scaling).
11374 1999-09-11 Peter Miller <peterm@jna.com.au>
11376 * groff/groff.cc (main), groff.man, soelim/soelim.cc (main,
11377 do_file), soelim/soelim.man: Added `-I file' option to soelim,
11378 defining include paths.
11380 * soelim/soelim.cc (include_path_append): New function.
11382 1999-09-11 Larry Jones <larry.jones@sdrc.com>
11384 * tbl/main.cc (process_options): Unix (at least Documenter's
11385 Workbench) tbl allows arbitrary non-alpha characters between
11388 1999-09-11 Paul Eggert <eggert@twinsun.com>
11390 Y2k fixes. Don't assume that the current year precedes 2000.
11392 * doc/meref.me: Add \n(y2, \n(y4.
11394 * tmac/doc-common (Yr): New number register.
11395 (Dd): Don't assume current year precedes 2000.
11397 * tmac/tmac.e (td): Likewise.
11398 (y2, y4): New number registers.
11400 * pic/pic.man: Update reference for pic paper to May, 1991
11403 1999-09-11 Werner LEMBERG <wl@gnu.org>
11405 * tmac/Makefile.sub (install_data, stamp-wrap, uninstall_sub):
11406 Removed quotation marks which prevented correct expansion of
11409 * devlj4/Makefile.sub (LJ4RES): Fixed value (600 instead of 300).
11411 1999-09-10 Werner LEMBERG <wl@gnu.org>
11413 * Makefile.sub (DISTCLEANFILES): Added `config.log' and
11416 * Removed configure.old.
11418 1999-08-31 Werner LEMBERG <wl@gnu.org>
11420 * VERSION: Updated to 1.11.1
11422 1999-05-27 Werner LEMBERG <wl@gnu.org>
11424 * doc/Makefile: changed `.PS' postfix to `.ps' for consistency.
11426 * tmac/Makefile.sub (install_data, stamp-wrap, uninstall_sub):
11427 added quotations around $(tmac_wrap) to avoid syntax error if
11430 * configure: Newly generated using autoconf 2.13.
11432 * Makefile.in (LDFLAGS): Set variable to @LDFLAGS@.
11434 Fri Aug 15 08:51:47 1997 Eric S. Raymond <esr@snark.thyrsus.com>
11436 * README, PROJECTS, NEWS, INSTALL, VERSION,
11437 doc/Makefile. doc/pic.ms, groff/groff.man:
11438 Prepare for 1.11 release. No code changes.
11439 Documentation for pic added (doc/pic.ms).
11441 Sun Nov 26 11:45:13 1995 James Clark <jjc@jclark.com>
11443 * Version 1.10 released.
11445 Fri Nov 24 09:56:16 1995 James Clark <jjc@jclark.com>
11447 * afmtodit/afmtodit.pl: Avoid comment on first line.
11449 Mon Nov 20 11:13:49 1995 James Clark <jjc@jclark.com>
11451 * aclocal.m4 (GROFF_INSTALL_SH): New macro.
11452 * configure.in: Call it.
11454 * Makefile.sub (configure): Depends on aclocal.m4 not acgroff.m4.
11455 (distfiles): Doesn't depend on config.log or config.cache.
11457 Sun Oct 1 08:45:36 1995 James Clark <jjc@jclark.com>
11459 * grog/grog.sh: Use print "" rather than print in END rule.
11461 Wed Aug 23 13:30:52 1995 James Clark <jjc@jclark.com>
11463 * tbl/main.cc (process_data): Don't give error for excess data
11464 entries that are comments.
11466 Fri Jul 28 11:00:27 1995 James Clark <jjc@jclark.com>
11468 * tbl/main.cc (process_data): Fix case where new for-scope rules
11469 silently change meaning of code.
11471 Tue Jul 4 23:39:51 1995 James Clark <jjc@jclark.com>
11473 * troff/env.cc (hyphenate): Loop over all consecutive sequences
11474 of non-zero hyphenation codes.
11476 Sat Jul 1 00:42:15 1995 James Clark <jjc@jclark.com>
11478 * aclocal.m4 (GROFF_POSIX): Use conflicting declaration technique.
11480 Thu Jun 29 13:58:36 1995 James Clark <jjc@jclark.com>
11482 * tmac/tmac.e (ip): Divert the tag so as to freeze the spaces.
11484 Tue Jun 27 12:30:16 1995 James Clark <jjc@jclark.com>
11486 * tmac/tmac.andoc: Make it work in compatibility mode.
11488 * refer/token.h (token_info::is_range_sep): New function.
11489 * refer/token.cc (init_special_chars): Make \(en a RANGE_SEP.
11490 * refer/ref.cc (reference::output): More sophisticated check for
11493 * devps/prologue.ps (MANUAL): New procedure.
11494 * grops/ps.cc (main): New -m option.
11495 (usage): Include -m.
11496 (ps_printer::~ps_printer): Implement -m.
11498 * aclocal.m4 (GROFF_G): New macro.
11499 * configure.in: Call it.
11500 * Makefile.in (g): Provided by configure.
11502 * hpftodit/hpftodit.cc (basename): Rename to xbasename.
11504 * tmac/tmac.tty: Disable warning about bad fonts. Remove font
11507 * Makefile.in (tmacpath): Don't include /usr/lib/tmac.
11508 (tmac_m, tmac_s): Deleted.
11509 (sys_tmac_prefix, tmac_wrap, tmac_prefix, tmac_an_prefix,
11510 tmac_s_prefix): New variables.
11511 (MDEFINES): Change accordingly.
11512 * Makefile.comm (.man.n): Use new TMAC_* variables.
11513 * configure.in (GROFF_TMAC): Call.
11514 * aclocal.m4 (GROFF_TMAC): Define.
11515 * tmac/Makefile.sub (stamp_wrap): New target.
11516 (install_data, uninstall_sub): Handle macro wrapping.
11518 Mon Jun 26 14:54:39 1995 James Clark <jjc@jclark.com>
11520 * tbl/main.cc (main): Ignore -T option.
11522 Thu Jun 22 09:08:06 1995 James Clark <jjc@jclark.com>
11524 * devlj4/generate/special.map: Add definition of \(nb.
11526 * tmac/tmac.dvi: Add definition of \(nb.
11528 * troff/dictionary.c (dictionary::dictionary): association::v gets
11529 initialized by association::association.
11531 * tmac/Makefile.sub: Avoid using temporary files when installing.
11533 * troff/env.cc (environment::set_font): Make bad font number a
11536 * Makefile.in (fontpath): Remove $(prefix)/lib/font from fontpath.
11538 * Makefile.in (datadir): Use share rather than lib.
11540 * groff/groff.cc (basename): Rename to xbasename.
11542 Wed Jun 21 16:59:46 1995 James Clark <jjc@jclark.com>
11544 * Makefile (CCLIBS): Don't use.
11545 * Makefile.ccpg: Likewise.
11547 * acgroff.m4: Rename to...
11548 * aclocal.m4: Modify extensively for autoconf 2.
11549 * configure.in: Likewise.
11550 * Makefile.in: Likewise.
11552 * groff/pipeline.c (const): Declare as empty if __STDC__ not
11554 (xstrsignal): Check for definition of NSIG. Conditionalize
11555 on SYS_SIGLIST_DECLARED. Make return type const.
11557 Sat Jun 10 12:28:16 1995 James Clark <jjc@jclark.com>
11559 * troff/input.cc (interpolate_macro): Rephrase missing space
11562 Thu May 11 01:07:16 1995 Jason Merrill <jason@phydeaux.cygnus.com>
11564 * addftinfo/addftinfo.cc, eqn/delim.cc, eqn/lex.cc, eqn/list.cc,
11565 grodvi/dvi.cc, groff/groff.cc, grops/ps.cc, grops/psrm.cc,
11566 grotty/tty.cc, include/ptable.h indxbib/indxbib.cc,
11567 libbib/index.cc, libbib/linear.cc, libbib/search.cc,
11568 libdriver/input.cc, libdriver/printer.cc, libgroff/font.cc,
11569 libgroff/lf.cc, libgroff/nametoindex.cc, libgroff/ptable.cc,
11570 libgroff/string.cc, lkbib/lkbib.cc, lookbib/lookbib.cc,
11571 pic/lex.cc, pic/object.cc, pic/pic.y refer/label.y refer/ref.cc,
11572 refer/refer.cc, refer/token.cc, tbl/main.cc, tbl/table.cc,
11573 tfmtodit/tfmtodit.cc, troff/dictionary.cc, troff/div.cc,
11574 troff/env.cc, troff/input.cc, troff/node.cc, troff/symbol.cc:
11577 Wed Apr 19 21:15:11 1995 James Clark <jjc@jclark.com>
11579 * troff/input.cc (spring_trap): Push a macro_iterator rather than a
11581 (spring_trap, postpone_traps, unpostpone_traps): Move to later in
11583 (macro_iterator::macro_iterator): Add additional argument.
11585 Mon Apr 10 12:06:02 1995 James Clark <jjc@jclark.com>
11587 * troff/div.cc (vertical_size::vertical_size): In place of integer
11588 specifying line spacing use cunits specifying post vertical
11590 (macro_diversion::output, top_level_diversion::output): Likewise.
11591 * troff/div.h: Change declarations accordingly.
11592 * troff/env.cc (pending_output_line): Replace ls field by post_vs
11594 (pending_output_line::pending_output_line,
11595 pending_output_line::output, environment::output,
11596 environment::output_line, environment::output_title,
11597 environment::hyphenate_line): In place of
11598 integer specifying line spacing use cunits specifying post vertical
11600 (environment::environment): Add post_vertical_spacing and
11601 prev_post_vertical_spacing arguments.
11602 (environment::get_post_vertical_spacing): New function.
11603 (environment::total_post_vertical_spacing): New function.
11604 (environment::post_vertical_spacing): New function.
11605 (init_env_requests): Initialize pvs request and .pvs register.
11606 * troff/env.h: Change declarations.
11608 Tue Mar 28 09:52:07 1995 James Clark <jjc@jclark.com>
11610 * tmac/tmac.pspic: Immediately remove the temporary file.
11612 Sat Mar 25 10:43:11 1995 James Clark <jjc@jclark.com>
11614 * tmac/tmac.pspic (PSPIC): Scale graphic uniformly even when
11615 height is specified.
11617 Thu Jan 26 16:20:13 1995 James Clark <jjc@jclark.com>
11619 * tbl/table.c (struct vertical rule, class table_entry): Use int
11620 not short for start_row and end_row.
11622 Fri Jan 13 13:53:05 1995 James Clark <jjc@jclark.com>
11624 * troff/input.cc (trapping_blank_line, blank_line_macro): New
11626 (diverted_space_node::reread, process_input_stack): Call
11627 trapping_blank_line() rather than blank_line().
11628 (init_input_requests): Bind "blm" to blank_line_macro().
11630 * tmac/tmac.s (XA): Use .br and par@reset rather than XA.
11632 Tue Jan 10 11:40:35 1995 James Clark <jjc@jclark.com>
11634 * troff/env.cc (environment::possibly_break_line): Require that
11635 width total excluding width of final space node be greater than
11636 the target text length.
11638 Tue Jan 3 09:13:37 1995 James Clark <jjc@jclark.com>
11640 * troff/node.cc (kern_pair_node::vertical_extent): New function.
11642 Sun Dec 4 13:19:07 1994 James Clark <jjc@jclark.com>
11644 * troff/node.cc (charinfo_node): New class.
11645 (glyph_node, composite_node): Derive from charinfo_node. Change
11646 member functions accordingly.
11648 Wed Nov 30 10:29:29 1994 James Clark <jjc@jclark.com>
11650 * nroff/nroff.sh: Use -Tlatin1 not -TLatin1.
11652 Mon Aug 8 10:17:59 1994 James Clark (jjc@jclark.com)
11654 * tmac/tmac.tty-char: Add definitions for \(ab and \[arrowvertex].
11656 * devps/generate/textmap (notsubset): Add.
11658 * tmac/tmac.a4: New file.
11660 Sun Jul 24 20:08:42 1994 James Clark (jjc@jclark.com)
11662 * pic/main.cc (had_parse_error): New variable.
11663 (do_picture, do_whole_file): Set had_parse_error if yyparse()
11665 (main): Return 1 if had_parse_error is true.
11667 Tue Jul 19 13:40:31 1994 James Clark (jjc@jclark.com)
11669 * grolj4/lj4.cc (main): Avoid use of strtoul.
11671 Mon Jul 18 15:03:02 1994 James Clark (jjc@jclark.com)
11673 * nroff/nroff.sh: Default device is -Tlatin1 if $LC_CTYPE is
11674 iso_8859_1 or $LESSCHARSET is latin1.
11676 Sun Jul 10 13:38:35 1994 James Clark (jjc@jclark.com)
11678 * hpftodit: New directory.
11679 * Makefile.in (CCPROGDIRS): Add hpftodit.
11680 * devlj4/generate: New directory.
11682 Thu Jul 7 23:49:48 1994 James Clark (jjc@jclark.com)
11684 * configure.in: Don't use AC_VFORK.
11685 * groff/pipeline.c (run_pipeline): Use fork() always.
11687 Wed Jul 6 11:13:17 1994 James Clark (jjc@jclark.com)
11689 * grops/ps.cc (main): Use %1 not %s in error message for -w.
11691 * Makefile.in (CCPROGDIRS): Add grolj4.
11692 (DEVDIRS): Add devlj4.
11693 * grolj4, devlj4: New directories.
11694 * tmac/troffrc: Handle lj4.
11695 * tmac/tmac.lj4: New file.
11697 Fri Jun 17 18:02:53 1994 James Clark (jjc@jclark.com)
11699 * tmac/tmac.e (@n): Set indent to 0 before calling |h.
11701 Wed Jun 1 07:33:47 1994 James Clark (jjc@jclark.com)
11703 * troff/input.cc (do_if_request): At end of second string, switch
11704 environments before getting next token.
11706 Fri May 20 07:39:18 1994 James Clark (jjc@jclark.com)
11708 * devps/psstrip.sed: Split rule that strips whitespace on either
11709 side of delimiters.
11711 Wed May 18 08:13:47 1994 James Clark (jjc@jclark.com)
11713 * troff/node.h (font_family::make_definition): Add return value to
11714 declaration. * troff/symbol.h (symbol::operator==,
11715 symbol::operator!=): Likewise.
11717 Tue May 17 20:46:06 1994 James Clark (jjc@jclark.com)
11719 * groff/groff.cc (main, help, synopsis): Handle -S.
11720 (possible_command::insert_arg): New function.
11722 * tmac/tmac.safer: New file.
11723 * tmac/msafer.man: New file.
11724 * tmac/Makefile.sub (FILES): Add tmac.safer and msafer.man.
11726 Thu Mar 10 01:58:30 1994 Paul Eggert (eggert@twinsun.com)
11728 * pic/pic.h, pic/main.cc (safer_flag): New variable.
11729 * pic/pic.y (placeless_element): Avoid unsafe operations if
11730 `safer_flag' is set.
11731 * pic/main.cc (main): Add -S option, which sets `safer_flag'.
11733 Tue May 10 13:02:31 1994 James Clark (jjc@jclark.com)
11735 * eqn/lex.cc (get_token): Put call to add_context() in block to
11736 work around Sun C++ 4.0 bug.
11738 * include/stringclass.h (operator +): Use ?: instead of `if' to
11739 work around Sun C++ 4.0 bug.
11741 Thu May 5 11:18:03 1994 James Clark (jjc@jclark.com)
11743 * tbl/main.cc (process_format): Accept - as a synonym for the _
11746 * libbib/index.cc (minus_one): Don't declare as const.
11748 Fri Apr 29 09:32:48 1994 James Clark (jjc@jclark.com)
11750 * troff/input.cc (get_char_for_escape_name): Push back a newline.
11752 Wed Apr 27 21:14:18 1994 James Clark (jjc@jclark.com)
11754 * troff/input.cc (write_macro_request): New function.
11755 (init_input_requests): Bind write_macro_request to writem.
11757 Sun Apr 17 11:15:38 1994 James Clark (jjc@jclark.com)
11759 * tmac/tmac.s (@EN): Turn filling back on even if there was no
11762 * eqn/lex.cc (do_space): Supply missing argument to lex_error.
11764 * tmac/tmac.s (@TS): Renamed from TS.
11765 (TS): Call LP then TS again.
11766 (cov*ab-init): Alias @TS to TS.
11768 * tmac/tmac.s: Allow QP or RS to initialize.
11770 * tmac/tmac.s (par@load-init): New macro. Call at end of file.
11771 Move initializations of PS and LL here.
11772 (par@init): Don't initialize HY. Avoid changing environment 0.
11773 (par*env-init): Don't all par@reset.
11775 Thu Apr 14 19:15:45 1994 James Clark (jjc@jclark.com)
11777 * include/posix.h: Include <fcntl.h> only if not using <osfcn.h>.
11779 Sun Apr 10 09:54:44 1994 James Clark (jjc@jclark.com)
11781 * Makefile.in (MDEFINES): Add LDFLAGS.
11782 (LDFLAGS): Add definition line.
11784 Thu Apr 7 22:22:22 1994 James Clark (jjc@jclark.com)
11786 * troff/input.cc (get_optional_char): Split off error check into...
11787 (check_missing_character): New function.
11788 * troff/token.h: Declare it.
11789 * troff/env.cc (margin_character): Don't call get_optional_char.
11790 Only call tok.next() after making the node.
11792 * include/lib.h (getopt): Make 2nd argument char *const *.
11794 Fri Mar 11 07:28:03 1994 James Clark (jjc@jclark.com)
11796 * nroff/conftest.sh: Deleted.
11798 Fri Mar 4 10:51:36 1994 James Clark (jjc@jclark.com)
11800 * pic/make-dos-dist: Deleted.
11802 Wed Mar 2 20:59:16 1994 James Clark (jjc@jclark.com)
11804 * devps/psstrip.sed: Strip comments before stripping trailing
11807 Sat Feb 19 13:07:16 1994 James Clark (jjc@jclark.com)
11809 * Version 1.09 released.
11811 Wed Feb 16 16:53:49 1994 James Clark (jjc@jclark.com)
11813 * tmac/doc-ditroff (hK): Don't reset page number if \nC is > 0.
11815 Mon Feb 14 08:26:40 1994 James Clark (jjc@jclark.com)
11817 * libgroff/font.cc (font::load_desc): Fix typo in error message.
11819 Sun Feb 13 09:37:38 1994 James Clark (jjc@jclark.com)
11821 * libgroff/new.cc (operator new): Rewrite so as to avoid warning
11822 about returning without a value.
11824 * troff/charinfo.h (charinfo::get_special_translation): Cast
11825 TRANSLATE_NONE to int.
11827 * refer/token.cc (lookup_token, store_token): Remove bogus loop
11828 test. Fix test so that it works with n unsigned.
11830 * pic/pic.y (defaults_table): Fully bracket initializer.
11831 * pic/lex.cc (lookup_keyword): Likewise.
11832 * eqn/lex.cc (token_table, def_table): Likewise.
11833 * eqn/box.cc (param_table): Likewise.
11834 * troff/input.cc (warning_table): Likewise.
11835 * libgroff/font.cc (table): Likewise.
11836 * grops/ps.cc (ps_printer::special): Likewise.
11837 * grops/psrm.cc (resource_manager::process_file): Likewise.
11838 * tfmtodit/tfmtodit.cc (lig_chars, lig_table): Likewise.
11839 * refer/command.cc (command_table): Likewise.
11840 * addftinfo/addftinfo.cc (param_table): Likewise.
11842 * troff/symbol.cc (symbol::symbol): Prevent compiler warnings
11843 about temp's being unused.
11844 (unused): New function.
11846 * groff/pipeline.cc: Declare c_fatal.
11848 * libbib/linear.cc (bmpattern::search): Cast patterrn[--j] to
11851 * libbib/index.cc (index_search_item::load): Prevent compiler
11852 warnings about fd_closer's being unused.
11853 (unused): New function.
11855 Sat Feb 12 10:31:59 1994 James Clark (jjc@jclark.com)
11857 * troff/input.cc (copy_mode_error): Make `prefix' static.
11860 * include/posix.h: Include <osfcn.h> is HAVE_CC_OSFCN_H is
11862 * acgroff.m4, configure.in, Makefile: Rename HAVE_CC_UNISTD_H to
11863 HAVE_CC_OSFCN_H and modify accordingly.
11865 * troff/input.cc (init_charset_table): radicalex overlaps
11868 * groff/acgroff.m4 (GROFF_ISC_SYSV3): New macro (from
11869 udodo!hans@relay.NL.net).
11870 * groff/configure.in: Call it.
11872 * groff/acgroff.m4 (GROFF_PCLOSE): New macro.
11873 * groff/configure.in: Call it.
11874 * include/lib.h: Conditionalize declaration of pclose.
11876 * troff/div.cc (last_page_number): New global variable.
11877 (top_level_diversion::begin_page): Exit if we just printed the
11879 * troff/div.h (last_page_number): Declare it.
11880 * troff/input.cc (parse_output_page_list): Set last_page_number.
11882 * eqn/sqrt.cc: Rename \(rn to \[radicalex].
11883 * devps/S, devps/textmap, tmac/tmac.ps, tmac/tmac.dvi,
11884 tmac/tmac.X: Likewise.
11885 * tmac/tmac.ps, tmac/tmac.X, tmac.dvi: Add definitions of \(rn.
11886 * tmac.dvi: Make \(ru and \(ul extend beyond their width by .04m.
11888 Fri Feb 11 11:45:40 1994 James Clark (jjc@jclark.com)
11890 * tmac/doc-ditroff (hK): Remove groff specific code which
11891 prevented page-breaks between separate manual entries. If this is
11892 the first page, don't set the page number to 1.
11894 * acgroff.m4 (GROFF_POSIX): New macro.
11895 * configure.in: Use it.
11897 * troff/node.cc (class real_output_file,
11898 real_output_file::real_output_file,
11899 real_output_file::~real_output_file): Conditionalize use of
11900 popen/pclose on POPEN_MISSING.
11901 * troff/node.h: Conditionalize pipe_command on POPEN_MISSING.
11902 * troff/input.cc (pipe_command): Give an error if POPEN_MISSING.
11903 (pipe_source): Similarily.
11905 * acgroff.m4 (GROFF_PROG_CCC): Update message about libg++.
11907 * acgroff.m4 (GROFF_GETOPT, GROFF_PUTENV, GROFF_POPEN): Detect
11908 presence of declarations by trying to compile example with
11909 conflicting declarations. (gcc only gives a warning for missing
11912 Wed Feb 9 09:12:23 1994 James Clark (jjc@jclark.com)
11914 * tmac/tmac.pspic (PSPIC): Allow options to specify alignment
11915 (from Ulrich Lauther).
11917 Tue Feb 8 03:56:40 1994 James Clark (jjc@jclark.com)
11919 * libbib/linear.cc (file_buffer::load): Use S_ISREG macro.
11921 Thu Feb 3 09:34:35 1994 James Clark (jjc@jclark.com)
11923 * indxbib/indxbib.cc (write_hash_table): Add code for case where
11924 pointers and ints have different sizes.
11926 Sun Jan 9 16:17:51 1994 James Clark (jjc@jclark.com)
11928 * tmac/tmac.s (par*env-init): Call par@reset.
11930 Fri Jan 7 10:24:27 1994 James Clark (jjc@jclark.com)
11932 * tmac/tmac.s (@IP): Switch to a new environment when diverting
11934 (par*push-tag-env, par*pop-tag-env): New macros.
11936 Wed Jan 5 21:18:34 1994 James Clark (jjc@jclark.com)
11938 * grops/ps.cc (ps_printer::ps_printer): Use MAX_LINE_LENGTH for
11939 initializing `out'. Reduce MAX_LINE_LENGTH from 79 to 72.
11941 * grops/ps.cc (ps_printer::~ps_printer): Output %%CreationDate
11942 comment. Include <time.h>.
11944 Wed Dec 15 14:14:00 1993 James Clark (jjc@jclark.com)
11946 * grops/ps.cc (is_small_h, is_small_v): Deleted.
11947 (ps_printer::flush_sbuf): Use absolute motion only at beginning of
11950 Tue Dec 14 10:06:34 1993 James Clark (jjc@jclark.com)
11952 * troff/input.cc (read_request): Only print a prompt if reading
11953 from the terminal. Also clearerr on EOF if reading from the
11954 terminal. Declare isatty.
11956 Mon Nov 29 08:38:15 1993 James Clark (jjc@jclark.com)
11958 * refer/label.y: Rename map_t to map_func and extractor_t to
11961 Sat Oct 30 06:38:12 1993 James Clark (jjc@jclark.com)
11963 * include/assert.h: Don't use volatile.
11964 * libgroff/assert.cc: Likewise.
11966 Fri Oct 29 15:00:23 1993 James Clark (jjc@jclark.com)
11968 * troff/input.cc (abort_request): Look at character in tok before
11969 calling get_copy().
11971 Thu Oct 28 14:09:48 1993 James Clark (jjc@jclark.com)
11973 * troff/troff.h (NO_RETURN): Deleted.
11974 * troff/div.cc (cleanup_and_exit): Don't declare aas NO_RETURN.
11975 * troff/input.cc (exit_troff): Likewise
11977 * Makefile.in: Remove `Making ...' messages since GNU make now
11980 * configure.in: Use AC_HAVE_HEADERS(unistd.h) instead of AC_UNISTD_H.
11982 Wed Oct 27 11:12:51 1993 James Clark (jjc@jclark.com)
11984 * tmac/tmac.s (@init): Initialize PO to \n(.o here, rather than
11985 to constant 1 inch.
11987 Sat Oct 23 10:03:52 1993 James Clark (jjc@jclark.com)
11989 * tmac/tmac.e (hl): Use \n[.in] rather than \n(.i.
11991 Thu Oct 14 12:09:45 1993 James Clark (jjc@jclark.com)
11993 * eqn/delim.cc (delim_box::compute_metrics): Don't increase
11994 MARK_REG if there was no left delimiter.
11996 Sat Oct 2 19:54:47 1993 James Clark (jjc@jclark.com)
11998 * pic/troff.cc (troff_output::text): Set line thickness to
11999 relative before outputting text.
12001 * tmac/tmac.e (@k): Don't zero ?T.
12004 Sat Sep 25 11:08:43 1993 James Clark (jjc@jclark.com)
12006 * tmac/tmac.e ($p): Handle possibility that $3 is empty.
12008 Wed Aug 18 08:51:41 1993 James Clark (jjc@jclark.com)
12010 * troff/input.cc (decode_args): Warn about unquoted tabs (from
12013 Tue Aug 10 08:38:32 1993 James Clark (jjc@jclark.com)
12015 * troff/input.cc (ignoring): New variable.
12016 (ignore): Set ignoring during call to do_define_macro.
12017 (do_define_macro): Clear ignoring before interpolating terminating
12019 (copy_mode_error): New function.
12020 (get_char_for_escape_name, read_long_escape_name,
12021 interpolate_arg): Use copy_mode_error.
12022 (warning_table): Add WARN_IG.
12023 * troff/troff.h (WARN_IG): Declare.
12024 (WARN_TOTAL): Change accordingly.
12026 * groff/pipeline.c (strsignal): Rename to xstrsignal.
12027 * groff/groff.cc (strsignal): Delete declaration.
12029 Fri Jul 16 01:43:12 1993 James Clark (jjc@jclark.com)
12031 * troff/div.cc (page_offset): Use 'm' as default scaling.
12033 Sat Jul 3 09:11:38 1993 James Clark (jjc@jclark.com)
12035 * nroff/nroff.sh: Ignore -u.
12037 Wed Jun 9 12:17:27 1993 James Clark (jjc@jclark.com)
12039 * Makefile.in (MDEFINES): Pass down MAKEOVERRIDES.
12041 Fri Jun 4 17:35:47 1993 James Clark (jjc@jclark.com)
12043 * tmac/tmac.s (par*box-draw): Set adjustment mode to l while
12045 (B2): With -Tascii, leave additional vertical space before
12046 and after. Ensure that the left and right indent is restored to
12047 what it was even if the point size changes. Don't call
12048 par@finish. Change the indent, line length and title length
12049 directly. With -Tascii, make the width of the box 1n less.
12050 (B1): Remember 1n at the current point size. Don't call
12051 par@reset. Change the indent, line length and title length
12052 directly. Ensure that the temporary indent is preserved.
12053 (par*box-mark-top): Turn off no spacing mode.
12055 Thu Jun 3 17:47:14 1993 James Clark (jjc@jclark.com)
12057 * Makefile.in (dist): Use .gz suffix.
12059 Thu May 27 20:04:59 1993 James Clark (jjc@jclark.com)
12061 * troff/input.cc (main): Add return 0.
12062 * pic/main.cc (main): Use return instead of exit.
12063 * tbl/main.cc (main): Likewise.
12064 * eqn/main.cc (main): Likewise.
12065 * grops/ps.cc (main): Likewise.
12066 * grotty/tty.cc (main): Likewise.
12067 * groff/groff.cc (main): Likewise.
12068 * grodvi/dvi.cc (main): Likewise.
12069 * refer/refer.cc (main): Likewise.
12070 * indxbib/indxbib.cc (main): Likewise.
12071 * lkbib/lkbib.cc (main): Likewise.
12072 * soelim/soelim.cc (main): Likewise.
12073 * addftinfo/addftinfo.cc (main): Likewise.
12074 * acgroff.m4 (GROFF_PROG_CCC, GROFF_CC_COMPILE_CHECK,
12075 GROFF_COOKIE_BUG, GROFF_CC_ANSI_BUG): Likewise.
12077 * troff/token.h (process_input_stack): Don't declare as static.
12078 * troff/input.cc: Likewise.
12080 * troff/node.c (invalidate_fontno): Make it a static member of
12081 class font_family. Change callers.
12082 * troff/node.c: Change declaration.
12084 * tbl/main.cc (struct input_entry_format): Add explicit public
12086 * tbl/table.cc (struct text_stuff, struct single_hline_stuff,
12087 struct double_hline_stuff): Likewise.
12088 * tbl/table.h (struct entry_format): Likewise.
12089 * pic/object.h (struct saved_state): Likewise.
12091 * include/stringclass.h: Add forward declarations of friend
12092 functions that are later declared as inline. Don't include inline
12093 specifier in friend declaration.
12095 * libgroff/lib.h: Declare popen and pclose.
12096 * acgroff.m4 (GROFF_POPEN): New macro.
12097 * configure.in: Call it.
12099 * include/lib.h (PI): New constant. Undef first if necessary.
12100 * tfmtodit/tfmtodit.cc (main): Use PI rather than M_PI.
12101 * grops/ps.cc (degrees, radians): Likewise.
12102 * libgroff/font.cc (font::get_skew): Likewise.
12104 * grops/ps.cc (is_ascii): New function.
12105 (ps_output::put_string): Use is_ascii. Use csprint rather than
12107 (ps_printer::define_encoding): Use csspace.
12108 * libgroff/strtol.c (ISASCII): New macro.
12109 (strtol): Cast arguments to is*() and tolower() to unsigned char.
12110 Use ISASCII rather than isascii.
12111 * libgroff/cmap.cc: Use isascii() only if <ctype.h> defines it.
12112 * libgroff/cset.cc: Likewise.
12113 * libdriver/input.cc: Include cset.h.
12114 (do_file, get_integer, possibly_get_integer): Use csdigit() rather
12117 * refer/refer.cc (main): Use %ld rather than %d for longs.
12119 * libbib/index.cc (index_search_item_iterator::get_tag): Use
12122 * addftinfo/addftinfo.cc (param_t): Add explicit `int'.
12124 Mon May 24 08:51:37 1993 James Clark (jjc@jclark.com)
12126 * troff/input.cc (hyphenation_code): Skip white space between
12129 Sun May 16 08:15:52 1993 James Clark (jjc at jclark.com)
12131 * tbl/table.h (table::entry_list_tailp): New member.
12132 (table::table): Initialize it.
12133 (table::add_entry): Use entry_list_tailp to avoid O(n^2)
12136 Sat May 15 17:26:00 1993 James Clark (jjc at jclark.com)
12138 * grotty/tty.cc (tty_printer::add_char): Don't discard characters
12139 with negative horizontal positions. Remove casts of glyph::hpos to
12141 (USHRT_MAX): Delete definition.
12142 (SHRT_MAX, SHRT_MIN): New definitions.
12143 (glyph::hpos): Change type to short.
12144 (tty_printer::end_page): Output multiple backspaces if necessary.
12145 Remove casts of glyph::hpos to int.
12147 Fri May 7 12:14:37 1993 James Clark (jjc at jclark.com)
12149 * tmac/tmac.s (@RT): New definition.
12151 Thu May 6 21:36:54 1993 James Clark (jjc at jclark.com)
12153 * refer/refer.cc (do_file): Make sure current_filename is set when
12156 * pic/common.cc (common_output::dot_line): Handle zero length
12159 Sun May 2 19:54:16 1993 James Clark (jjc at jclark.com)
12161 * tmac/tmac.s (par@reset): Get value for .hy for \n[HY].
12162 (par@init): Initialize \n[HY].
12164 Mon Apr 26 11:43:16 1993 James Clark (jjc at jclark.com)
12166 * troff/dictionary.cc (dictionary::remove): Continue when
12169 Sun Apr 25 11:03:00 1993 James Clark (jjc at jclark.com)
12171 * Makefile.com (.y.cc): Avoid ending up with two versions of
12174 Thu Apr 22 21:03:45 1993 James Clark (jjc at jclark.com)
12176 * tmac/tmac.dvi (\(,c): Define only if it does not exist.
12177 (\(,C): Likewise. Also fix typo.
12179 Wed Apr 21 08:47:32 1993 James Clark (jjc at jclark.com)
12181 * lib.h: Delete extraneous semi-colon.
12183 * Add pso request: `so' from a pipe.
12184 * troff/input.c (file_iterator::file_iterator): Add 3rd argument.
12185 (file_iterator::close): New function.
12186 (file_iterator::~file_iterator, file_iterator::next_file): Use
12187 file_iterator::close.
12188 (file_iterator::backtrace): Say `process' rather than `file' when
12189 the stream is popened.
12190 (pipe_source): New function.
12191 (init_input_requests): Bind ".pso" to pipe_source.
12193 Tue Apr 20 00:02:26 1993 James Clark (jjc at jclark.com)
12195 * afmtodit/afmtodit.pl: Avoid single quotes in comments.
12197 * pfbtops/pfbtops.c: Output 64 characters per line. Output hex
12198 digits in lower case.
12200 Mon Apr 19 09:55:57 1993 James Clark (jjc at jclark)
12202 * Version 1.08 released.
12204 * Makefile.in (dist): Insert || true after ln -s commands that
12207 * mm: Update to mm 1.16.
12209 * acgroff.m4 (GROFF_CSH_HACK): New macro.
12210 * configure.in: Call GROFF_CSH_HACK. Substitute for
12212 * Makefile.in (SH_SCRIPT_SED_CMD): New variable. Include in
12214 * nroff/Makefile.sub (nroff): New target.
12215 (install_data): Install nroff.
12216 * eqn/Makefile.sub (neqn): Sed with SH_SCRIPT_SED_CMD.
12217 * grog/Makefile.sub (grog): Sed grog.sh with SH_SCRIPT_SED_CMD.
12219 Sat Apr 17 08:24:28 1993 James Clark (jjc at jclark)
12221 * eqn/Makefile.sub (neqn): Add chmod +x.
12223 * grog/Makefile.sub (grog): Remove spurious semi-colon.
12225 Fri Apr 16 22:41:57 1993 James Clark (jjc at jclark)
12227 * troff/input.cc (string_iterator::string_iterator()): Initialize
12230 Tue Apr 13 10:22:28 1993 James Clark (jjc at jclark)
12232 * troff/div.cc (macro_diversion::space,
12233 top_level_diversion::space): Don't set high_water_mark.
12234 (macro_diversion::output, top_level_diversion::output): Don't
12235 include post line space in high water mark.
12237 Wed Apr 7 12:48:18 1993 James Clark (jjc at jclark)
12239 * eqn/eqn.y: Don't define YYDEBUG.
12240 * pic/pic.y: Likewise.
12242 Mon Apr 5 10:15:15 1993 James Clark (jjc at jclark)
12244 * tmac/tmac.e ([3): Add space after comma following editors.
12245 Change double spaces to single spaces.
12246 ([4): Change double spaces to single spaces.
12248 * grops/ps.h (USE_PS_ADOBE_2_0): New flag for broken_flags.
12249 * grops/ps.cc (ps_printer::~ps_printer): If the USE_PS_ADOBE_2_0
12250 bit is set in broken_flags, use 2.0 rather than 3.0 as the version
12251 after %!PS-Adobe- (for Newsprint).
12253 * troff/div.cc (top_level_diversion::begin_page): When
12254 before_first_page is 1, set page_number to 1.
12256 Sun Apr 4 14:28:53 1993 James Clark (jjc at jclark)
12258 * eqn/box.cc (box::top_level): Protect equation with \&.
12260 Sat Apr 3 23:27:25 1993 James Clark (jjc at jclark)
12262 * groff/groff.cc (possible_command::set_name): Delete old name.
12264 * groff/groff.cc (possible_command::~possible_command): Use
12267 * troff/node.cc (troff_output_file::begun_page): New member.
12268 (troff_output_file::troff_output_file): Initialize it.
12269 (troff_output_file::really_begin_page): Only output V command if a
12270 page has been begun.
12272 * pic/pic.y (placeless_element): Delete argument to PRINT after
12275 Fri Apr 2 11:31:02 1993 James Clark (jjc at jclark)
12277 * Make wrapman work.
12278 * troff/div.h (class top_level_diversion): Replace
12279 first_page_begun by before_first_page (with opposite sense).
12280 * Change first_page_begun to before_first_page inverting sense.
12281 * troff/div.cc (class nl_reg): New class.
12282 (init_div_requests): Use class nl_reg for \n(nl.
12283 (top_level_diversion::begin_page): Don't call
12284 output_file::begin_page if before_first_page is 2;
12285 reset before_first_page afterwards. If have_next_page_number is
12286 false, then always increment page_number.
12287 * tmac/tmac.an: Set traps within TH rather than at the top-level.
12288 Restore compatibility mode after loading, and then disable
12289 compatibility mode in TH.
12291 Thu Apr 1 11:09:34 1993 James Clark (jjc at jclark)
12293 * grotty/tty.cc (tty_printer::end_page): Don't discard characters
12295 * troff/node.h (output_file::trailer): Declare.
12296 * troff/div.cc (cleanup_and_exit): Call output_file::trailer().
12297 * troff/node.cc (output_file::trailer): New function.
12298 (troff_output_file::~troff_output_file): Move most code into...
12299 (troff_output_file::trailer): New function.
12300 (class troff_output_file): Delete page_length member. Declare
12302 (troff_output_file::really_begin_page): Use current page length
12303 for final V command.
12305 * tbl/main.cc (struct options): New decimal_point_char member.
12306 (options::options): Initialize this.
12307 (process_options): Implement decimalpoint option.
12308 (process_data): Pass decimal_point_char option to table::table.
12309 * tbl/table.h (class table): New decimal_point_char member.
12310 (table::table): Add additional argument.
12311 * tbl/table.cc (find_dot): Rename to find_decimal_point. Add
12312 second argument specifying decimal point character. Use this
12314 (table::table): Initialize decimal_point_char.
12315 (table::add_entry): Change call to find_dot.
12317 * troff/input.cc (get_copy, token::next): Implement \V.
12318 (interpolate_environment_variable): New function.
12320 Tue Mar 30 14:41:39 1993 James Clark (jjc at jclark)
12322 * pic/lex.cc (lookup_keyword): Rename MIN to K_MIN, MAX to K_MAX.
12323 * pic/pic.y: Likewise.
12325 * grotty/tty.cc (tty_printer::add_char, tty_printer::end_page):
12327 * refer/ref.cc (reference::insert_field, reference::delete_field):
12329 * troff/number.cc (parse_term): Likewise.
12331 * acgroff.m4 (GROFF_PROG_YACC): New macro.
12332 * configure.in: Use GROFF_PROG_YACC.
12334 * acgroff.m4 (GROFF_PROG_CCC): Don't add -O automatically for gcc
12336 * Makefile.in (OPTIMIZE): New define.
12337 (DEBUG): Empty by default.
12338 (CCFLAGS, CFLAGS): Include $(OPTIMIZE).
12340 * acgroff.m4 (GROFF_SYS_SIGLIST): Don't quote program.
12341 (GROFF_ARRAY_DELETE): Likewise.
12342 (GROFF_CC_COMPILE_CHECK): Quote use of $2 and $3.
12344 * troff/env.cc (trie::~trie): Make virtual to shut up g++.
12346 * devps/psstrip.sed: Use different delimiter on last line (so that
12347 it works with BSD 4.4 sed.)
12349 Mon Mar 29 17:07:14 1993 James Clark (jjc at jclark)
12351 * devps/psstrip.sed: Delete comments.
12353 * acgroff.m4 (AC_GETOPT): Don't test whether <unistd.h> declares
12354 optind, opterr, optarg.
12355 * lib.h: When UNISTD_H_DECLARES_GETOPT is defined, declare optind,
12358 Sun Mar 28 17:44:25 1993 James Clark (jjc at jclark)
12360 * Makefile.in (check): Dummy target.
12362 Wed Mar 3 04:53:38 1993 James Clark (jjc at jclark)
12364 * Version 1.07 released.
12366 * Integrate mm 1.11.
12368 * tbl/table.cc (alphabetic_block_entry::print): start_row was used
12369 where start_col was meant.
12371 Thu Feb 25 07:55:36 1993 James Clark (jjc at jclark)
12373 * grog/grog.sh, grog/grog.pl: Recognize PH and SA as -mm macros.
12375 Wed Feb 24 10:15:34 1993 James Clark (jjc at jclark)
12377 * troff/input.cc (token::next): Make \z\o'...' and similar things
12380 * env.h (MARGIN_CHARACTER_ON, MARGIN_CHARACTER_NEXT): New
12382 (environment): Add margin_character_flags member.
12383 * env.cc (environment::environment(symbol),
12384 environment::environment(const environment *): Initialize
12385 margin_character_flags.
12386 (margin_character): Rewrite.
12387 (environment::output_line): Add a margin character if
12388 margin_character_flags is non-zero. Turn off the
12389 MARGIN_CHARACTER_NEXT bit. If that makes margin_character_flags
12390 zero, use margin_character_node without copying and then set
12391 margin_character_node to 0.
12393 * devps/DESC.in: Change minimum size to 1000.
12395 Tue Feb 23 14:57:49 1993 James Clark (jjc at jclark)
12397 * troff/symbol.h (symbol::hash): Change return type to unsigned
12399 * troff/dictionary.cc (dictionary::lookup, dictionary::remove):
12402 * test-groff: Use -r rather than -x.
12404 * grops/psfig.diff: Include in distribution again.
12406 Mon Feb 22 09:10:44 1993 James Clark (jjc at jclark)
12408 * Makefile.in (dist): Use gzip.
12410 Sun Feb 21 11:12:53 1993 James Clark (jjc at jclark)
12412 * acgroff.m4 (GROFF_GETOPT): Check for declaration of getopt() in
12413 unistd.h as well as in stdlib.h.
12414 * include/lib.h: Include <stdlib.h> is STDLIB_H_DECLARES_GETOPT is
12415 defined; otherwise include <sys/types.h> and <unistd.h> if
12416 UNISTD_H_DECLARES_GETOPT is defined.
12418 * configure.in: use builtin(include, ... rather than include(...
12419 * configure: Regenerate with autoconf 1.3.
12421 * libdriver/print.cc (printer::adjust_arc_center): Use new
12422 algorithm suggested by Andy Fyfe.
12424 * libdriver/printer.cc (printer::adjust_arc_center): New function.
12425 * include/printer.h: Declare this.
12426 * grops/ps.cc (ps_printer::draw): Use it.
12427 * grodvi/dvi.cc (dvi_printer::draw): Use it.
12429 Fri Feb 19 23:13:51 1993 James Clark (jjc at jclark)
12431 * Makefile.comm (.man.n): Replace macrodir by tmacdir.
12433 Thu Feb 11 16:46:59 1993 James Clark (jjc at jclark)
12435 * eqn/main.cc (main): Handle "eqn -".
12437 Mon Jan 4 20:29:56 1993 James Clark (jjc at jclark)
12439 * tmac/tmac.e (++): Install fix from comp.bugs.4sd.
12441 * mm: Integrate version 1.08.
12443 * pic/troff.cc (troff_output::finish_picture): Set
12444 EQN_NO_EXTRA_SPACE reg to 0 rather than removing it.
12445 * eqn/box.cc (box::extra_space): Set EQN_NO_EXTRA_SPACE_REG to 0
12446 if it's not defined. Check whether the register is non-zero rather
12447 than whether it's not defined.
12448 * tmac.e ({, <): Make argument to \x zero if \n(0x is non-zero.
12450 * indxbib/indxbib.cc: Move all signal handling into...
12451 * indxbib/signal.c: New file.
12452 * configure.in: Call AC_RETSIGTYPE.
12454 * acgroff.m4 (GROFF_STRUCT_EXCEPTION): New macro.
12455 * configure.in: Call GROFF_STRUCT_EXCEPTION.
12456 * libgroff/matherr.c: Protect with ifdef HAVE_STRUCT_EXCEPTION.
12458 * troff/input.cc (token::token, token::operator=): Work round SGI
12460 * pic/object.cc (position::position): Likewise.
12462 Mon Dec 28 21:50:21 1992 James Clark (jjc at jclark)
12464 * pic/pic.h: Move declaration of hypot().
12466 Wed Dec 16 12:28:29 1992 James Clark (jjc at jclark)
12468 * pic/pic.h: Declare hypot().
12470 * pic/pic.h: Define M_PI if necessary.
12472 Thu Dec 10 12:03:29 1992 James Clark (jjc at jclark)
12474 * tmac/tmac.e (re): Add alternative version that doesn't use groff
12477 * devps/prologue.ps (RE): Handle the possibility that the old font
12478 doesn't have a FontName entry.
12480 Wed Dec 2 10:25:29 1992 James Clark (jjc at jclark)
12482 * tmac/tmac.e (fam): Redefine to set family in environment 2.
12483 (@C): Use @fam not fam.
12485 Thu Nov 26 16:01:25 1992 James Clark (jjc at jclark)
12487 * lookbib/lookbib.cc (main): Change type of start to const char *.
12488 * lkbib/lkbib.cc (main): Likewise.
12490 * eqn/lex.cc (definition::definition): Don't use member
12491 initializer syntax for members of anonymous unions.
12493 * troff/input.cc (input_stack::backtrace): Change type of to const
12496 Wed Nov 25 13:43:09 1992 James Clark (jjc at jclark)
12498 * include/stringclass.h (class string): Declare inline friend
12499 functions as inline in class declaration.
12500 * troff/hvunits.h (class hunits, class vunits): Likewise.
12501 * include/refid.h (class reference_id): Likewise
12502 * troff/troff.h (points_to_units(units), scale(units, double)):
12503 Delete declarations.
12504 * libdriver/input.cc (get_char): Delete declaration.
12505 * include/lib.h: Change 2nd argument of getopt from const char **
12507 * troff/symbol.cc (symbol::symbol): Cast `new char *[n]' to `const
12508 char **' before assigning to a `const char **'.
12509 * tbl/table.cc: Delete extra declarations of prints().
12511 Tue Nov 24 14:33:13 1992 James Clark (jjc at jclark)
12513 * libgroff/font.cc (font::load_desc): Cast `new char *[n]' to `const
12514 char **' before assigning to a `const char **'.
12516 * libgroff/errarg.cc (errarg::errarg): Don't use member
12517 initializer syntax for members of anonymous unions.
12519 Sat Nov 21 05:02:23 1992 James Clark (jjc at jclark)
12521 * mm: Integrate version 1.07.
12523 Tue Nov 17 16:44:27 1992 James Clark (jjc at jclark)
12525 * troff/input.c (translate2): Rename to
12526 (translate_no_transparent).
12527 (init_input_requests): Rename tr2 to trnt.
12529 Mon Nov 16 09:49:32 1992 James Clark (jjc at jclark)
12531 * troff/charinfo.h (class charinfo): Add transparent_translate field.
12532 (charinfo::set_translation, charinfo::set_special_translation):
12533 Add second argument that specifies value for
12534 transparent_translate.
12535 (charinfo::get_translation, charinfo::get_special_translation):
12536 Add optional second argument that specifies whether translation is
12537 being used for transparent throughput.
12538 * troff/input.cc (charinfo::set_translation,
12539 charinfo::set_special_translation): Handle second argument.
12540 (charinfo::charinfo): Initialize transparent_translate.
12541 (translate): Split main part off into
12542 (do_translate): New function. Pass argument saying whether
12543 translation applies to transparent throughput.
12544 (translate2): New request.
12545 (init_input_requests): Bind translate2 to `tr2'.
12547 Wed Nov 11 11:43:20 1992 James Clark (jjc at jclark)
12549 * tbl/table.h (class table): Add `nokeep' flag.
12550 * tbl/main.cc (process_options): Handle `nokeep' option.
12551 * tbl/table.cc (table::init_output, table::do_row, table::do_top,
12552 table::do_bottom): Don't output keep/release macro definitions or
12553 calls when `nokeep' option has been specified.
12555 Sat Nov 7 01:28:33 1992 James Clark (jjc at jclark)
12557 * tmac/tmac.Xps (Xps-char): Use " as delimiter for \Z.
12559 Wed Nov 4 16:29:04 1992 James Clark (jjc at jclark)
12561 * tbl/table.cc (table_entry::divert, block_entry::do_divert,
12562 block_entry::divert, alphabetic_block_entry::divert): Add extra
12563 argument giving column separation.
12564 (table::compute_widths): Pass column separation to
12565 table_entry::divert().
12566 (block_entry::do_divert): If an entry spans multiple columns and a
12567 minimumum width has been specified for each column, then set the
12568 line length to the sum of the widths (plus possibly the column
12571 * troff/input.cc (set_escape_char): Don't set the escape_char
12572 until after calling has_arg().
12574 Tue Nov 3 11:23:27 1992 James Clark (jjc at jclark)
12576 * tbl/table.cc (table::do_top): Add missing \s0 for double box
12579 * tbl/table.cc (table::print_double_hline): Avoid extra new line
12580 in case where r > nrows - 1.
12582 * tbl/table.cc (BODY_HEIGHT): Deleted.
12583 (LINE_SEP): New definition.
12584 (table::print_single_hline, table::print_double_hline,
12585 table::compute_vrule_top_adjust, table::compute_vrule_bot_adjust,
12586 table::do_row, table::do_top): Use LINE_SEP space before a line
12587 instead of \n[.v]-BODY_HEIGHT-BODY_DEPTH.
12589 * tbl/table.cc (text_entry::print_contents): New function.
12590 (text_string_name, right_text_string_name): Deleted.
12591 (TEXT_STRING, RIGHT_TEXT_STRING): Deleted.
12592 (simple_text_entry::do_width, numeric_text_entry::do_width,
12593 alphabetic_text_entry::do_width): Don't store the contents of the
12595 (left_text_entry::simple_print, right_text_entry::simple_print,
12596 center_text_entry::simple_print,
12597 alphabetic_text_entry::simple_print,
12598 numeric_text_entry::simple_print): Print the entry directly
12599 instead of using the stored string.
12601 Fri Oct 30 10:39:32 1992 James Clark (jjc at jclark)
12603 * devps/Makefile: Strip PostScript files.
12604 * devps/prologue: Rename to...
12605 * devps/prologue.ps.
12606 * devps/psstrip.sed: New file.
12607 * devps/download: Use .pfa rather than .ps for installed versions
12610 Thu Oct 29 09:14:43 1992 James Clark (jjc at jclark)
12612 * troff/env.cc (input_trap): Give a warning if the argument is out
12615 * troff/env.cc (adjust): Treat negative argument as missing. Round
12616 argument > 5 down to 5.
12618 * troff/env.cc (center, right_justify): Make negative argument zero.
12620 * troff/div.cc (page_offset, vertical_position_traps): Treat
12621 invalid argument as missing.
12622 * troff/env.cc (line_spacing, line_length, title_length, indent,
12623 underline, hyphen_line_max_request, control_char,
12624 no_break_control_char, widow_control_request, adjust, input_trap,
12625 point_size): Likewise.
12626 * troff/node.cc (ligature, kern_request, bold_font, track_kern,
12627 constant_space): Likewise.
12628 * troff/input.cc (compatible, shift, warn_request,
12629 set_escape_char): Likewise.
12631 * tbl/main.cc (format::format): Avoid doing `new int[0]'.
12632 * tbl/table.cc (table::table): Likewise.
12634 * Makefile.dev (install_dev): depends on $(DEVFILES).
12636 Wed Oct 28 08:30:57 1992 James Clark (jjc at jclark)
12638 * devX75, devX75-12, devX100, devX100-12: New directories.
12639 * Makefile.in: Add these to DEVDIRS.
12641 * troff/Makefile.sub, eqn/Makefile.sub, indxbib/Makefile.sub,
12642 afmtodit/Makefile.sub, tmac/Makefile.sub, nroff/Makefile.sub,
12643 grog/Makefile.sub, mm/Makefile.sub (uninstall_sub): New target.
12644 * Makefile.in (uninstall, uninstall_sub, uninstall_dirs): New
12646 * Makefile.ccpg, Makefile.cpg, Makefile.dev, Makefile.man
12647 (uninstall): New target.
12648 * Makefile.comm (uninstall, uninstall_sub, uninstall_man,
12649 uninstall_prog, uninstall_dev): New targets.
12651 * troff/div.cc (return_request): Treat an invalid argument as
12654 Mon Oct 26 11:33:47 1992 James Clark (jjc at jclark)
12656 * tmac/tmac.e ((f): Set up the environment even when there's a
12657 current diversion. Transperently throughput a call to @N.
12660 Thu Oct 22 05:05:59 1992 James Clark (jjc at jclark)
12662 * tbl/table.cc (table::compute_vrule_top_adjust): Round adjustment
12663 up to vertical resolution.
12665 * tbl/table.cc (table::do_row): Change row number after printing
12668 * pic/lex.cc (get_token_after_dot): Make .left and .right work.
12670 Wed Oct 21 14:46:45 1992 James Clark (jjc at jclark)
12672 * Rename CHANGES to NEWS.
12674 Tue Oct 20 23:25:21 1992 James Clark (jjc at jclark)
12676 * libgroff/new.cc (operator new): Avoid calling malloc(0).
12678 Mon Oct 19 09:10:13 1992 James Clark (jjc at jclark)
12680 * man.ultrix: Removed.
12682 Sun Oct 18 06:35:15 1992 James Clark (jjc at jclark)
12684 * Makefile.comm (extraclean): Delete files whose names begin with
12687 * pic/troff.cc (troff_output::text): Fix typo in implementation of
12690 Sat Oct 10 09:32:29 1992 James Clark (jjc at jclark)
12692 * troff/env.cc (hyphenate_request, vertical_spacing, no_number):
12693 * troff/div.cc (page_length, need_space, space_request): Treat
12694 invalid optional argument as missing.
12695 * troff/env.cc (number_lines): If the first argument is present
12696 but not a number, turn on line numbering, don't change the next
12697 line number and parse the remaining arguments.
12699 * tmac/tmac.e (@q): Do the `ne' before changing to environment 2.
12701 Thu Oct 8 10:24:40 1992 James Clark (jjc at jclark)
12703 * eqn/box.h: Change declaration accordingly.
12704 * eqn/box.cc (set_gsize): Change return type to int. Return 0 if
12705 the specified size was bad but don't give an error. Check for
12707 * eqn/main.cc (main): Change caller. Leave validation to set_gsize.
12708 * eqn/lex (do_size): Likewise.
12710 Wed Oct 7 09:48:59 1992 James Clark (jjc at jclark)
12712 * acgroff.m4 (GROFF_PROG_CCC): Use fopen when checking for C++
12713 compatible headers.
12715 Sun Oct 4 18:24:02 1992 James Clark (jjc at jclark)
12717 * tbl/table.cc (table::init_output): Improve error message when
12718 table won't fit on one page.
12720 Fri Oct 2 10:41:40 1992 James Clark (jjc at jclark)
12722 * pic/troff.cc (troff_output::start_picture): Generate line
12723 containing a horizontal motion equal to the width of the picture.
12725 * groff/groff.cc (main): Allow PROG_PREFIX to be set at runtime
12726 using GROFF_COMMAND_PREFIX environment variable.
12728 Fri Sep 25 11:40:40 1992 James Clark (jjc at jclark)
12730 * mdate.sh: Use $NF rather than $(NF).
12732 Tue Sep 22 09:47:24 1992 James Clark (jjc at jclark)
12734 * pic/main.cc (main): Use %1 not %c in argument to warning.
12736 * eqn/main.cc (main): Output code to check that geqn was given the
12739 Mon Sep 21 10:59:16 1992 James Clark (jjc at jclark)
12741 * Makefile.in (dist): Instead of doing `make -f ../Makefile', do
12742 `ln -s ../Makefile .; make; rm -f Makefile'.
12744 * troff/hyphen: Rename to...
12746 * troff/input.cc (main): Delete -H option. Don't call
12747 read_hyphen_file().
12748 * troff/env.cc: Include searchpath.h and macropath.h.
12749 (exception_dictionary): Deleted.
12751 (read_hyphen_file): Deleted.
12752 (hyphenation_language): New struct.
12753 (class trie, class hyphen_trie): Move declarations up.
12754 (trie_node::~trie_node): Deleted.
12755 (trie::delete_trie_node): New function.
12756 (trie::do_delete): New pure virtual function.
12757 (hyphen_trie::do_delete): New function.
12758 (trie::~trie): New function.
12759 (hyphen_trie::~hyphen_trie): New function.
12760 (trie::clear): No need to chcek that tp is not 0.
12761 (current_language, language_dictionary): New variables.
12762 (hyphen_word): Give an error if no current language. Use
12763 exceptions dictionary in current language.
12764 (hyphen_trie::read_patterns_file): Find file using macro_path.
12765 Allow comments (starting with %) in patterns file. Don't make it
12766 a fatal error if the file can't be found.
12767 (hyphenate): Return if no current language. Get the exceptions
12768 dictionary and the hyphenation patterns from the current language.
12769 (set_hyphenation_language): New variable.
12770 (hyphenation_patterns_file): New function.
12771 (hyphenation_language_reg): New class.
12772 (hyphenation_language_reg::get_string): New function.
12773 (init_hyphen_requests): Bind "hla" to set_hyphenation_language and
12774 "hpf" to hyphenation_patterns_file. Initialize `.hla' number
12776 * groff/groff.cc (main, help, synopsis): Delete -H option.
12777 * include/Makefile.sub: Don't define HYPHENFILE.
12778 * Makefile.in: Delete hyphenfile variable and remove from MDEFINES.
12779 * Makefile.comm (.man.n): Don't substitute for HYPHENFILE.
12780 * tmac/troffrc: Set hyphenation language to `us'. Load `hyphen.us'
12781 hyphenation patterns.
12783 Sun Sep 20 09:33:02 1992 James Clark (jjc at jclark)
12785 * eqn/neqn.sh: New file.
12786 * eqn/Makefile.sub: Handle neqn.sh.
12788 * eqn/eqn.h: Declare `nroff' variable.
12789 * eqn/box.cc (param_table): Add `nroff' param.
12790 (nroff): Define it.
12791 * eqn/lex.cc (yylex): Handle TDEFINE and NDEFINE using `nroff'
12793 * tmac/eqnrc: Set `nroff' to 1 for -Tascii or -Tlatin1.
12795 * troff/troff.h (WARN_FONT): New warning.
12796 (WARN_TOTAL): Change accordingly.
12797 * troff/input.cc (DEFAULT_WARNING_MASK): Include WARN_FONT.
12798 (warning_table): Add WARN_FONT.
12799 * troff/node.cc (mount_font_no_translate): Pass argument to
12800 font::load_font. If this is non-zero, give a warning.
12801 Don't give an error message when accessing a font that has already
12802 been found to be invalid.
12803 * include/font.h (font::load, font::load_font): Add additional
12804 optional argument which suppresses error message if the font is
12806 * libgroff/font.cc (font::load_font): Handle additional argument.
12807 (font::load): Add additional argument. If this is non-null, set it
12808 to 1 and don't give error message.
12810 * include/printer.h (printer::end_page): Add argument giving
12812 * libdriver/input.cc (do_file): Pass this.
12813 * grops/ps.cc (ps_printer::end_page): Add argument.
12814 * grodvi/dvi.cc (dvi_printer::end_page,
12815 draw_dvi_printer::end_page): Add argument.
12816 * grotty/tty.cc (class tty_printer): Remove lines_per_page and
12817 columns_per_page members. New member nlines.
12818 (DEFAULT_LINES_PER_PAGE): Deleted.
12819 (tty_printer::tty_printer): Don't compute lines_per_page from
12820 font::paperlength. Don't compute columns_per_page from
12822 (tty_printer::add_char): Don't check horizontal position against
12823 columns_per_page. Grow glyphs vector if neccessary.
12824 (tty_printer::end_page): Add argument giving page_length in units.
12825 Discard lines past end of page.
12827 Wed Sep 16 06:29:52 1992 James Clark (jjc at jclark)
12829 * tmac/tmac.tty-char: Fix definition of \(/l.
12831 * tmac/tmac.X: Define \(en.
12833 Tue Sep 15 10:37:13 1992 James Clark (jjc at jclark)
12835 * acgroff.m4 (GROFF_PRINT): If a system has lpr and lp but not
12836 lpq, then use lp rather than lpr.
12838 * tmac/tmac.s (par@reset): Don't call `ad'.
12839 (par*env-init): Call `ad'.
12841 Sun Sep 13 18:48:20 1992 James Clark (jjc at jclark)
12843 * mdate.sh: Use $(NF) instead of $6 to extract year from output of
12846 * troff/symbol.cc: #undef BLOCK_SIZE if it's defined.
12847 * indxbib/indxbib.cc: Likewise.
12849 Sun Sep 6 09:44:46 1992 James Clark (jjc at jclark)
12851 * libgroff/putenv.c: New file.
12852 * libgroff/Makefile.sub: Add putenv.c to CSRCS.
12853 * Makefile.in: Say that putenv.o can be one of LIBOBJS.
12854 * configure.in: Test for putenv with AC_REPLACE_FUNCS. Test for
12855 stdlib.h with AC_HAVE_HEADERS.
12857 Sat Sep 5 18:11:52 1992 James Clark (jjc at jclark)
12859 * indxbib/dirnamemax.c: Include <sys/dir.h> only if <dirent.h>
12862 Fri Sep 4 09:43:26 1992 James Clark (jjc at jclark)
12864 * eqn/box.cc (gsize): Make it an int.
12865 (set_gsize): Parse argument handling increment or decrement.
12866 (box::top_level): Convert gsize to a string.
12868 * troff/input.cc (exit_troff): Make buf unsigned char [].
12869 Call to make_temp_iterator casts buf to char*.
12871 * Makefile.in ($(TARGETS), dot): Pass $(MDEFINES) to recursive makes.
12873 * Makefile.ccpg (depend.temp): Depends on $(YTABC).
12874 * Makefile.cpg (depend.temp): Likewise.
12876 * Makefile.dep: Remove Makefile.dep from $(REALCLEANFILES).
12878 * Makefile.comm: Add y.output to MOSTLYCLEANFILES.
12880 Thu Sep 3 08:01:55 1992 James Clark (jjc at jclark)
12882 * tmac/tmac.s (B, I, BI, CW): Rewrite avoiding aliases.
12884 Tue Sep 1 18:24:53 1992 James Clark (jjc at jclark)
12886 * Version 1.06 released.
12888 * Integrate mm 1.04.
12890 Fri Aug 28 11:28:19 1992 James Clark (jjc at jclark)
12892 * Makefile.comm, Makefile.ccpg, Makefile.cpg: Fix TAGS target.
12894 Thu Aug 27 11:03:33 1992 James Clark (jjc at jclark)
12896 * afmtodit/afmtodit.pl: Add -n option that disables generation of
12898 * devps/generate/Makefile (CR, CB, CI, CBI): Pass -n flag to
12899 afmtodit. Regenerate.
12901 * tmac/tmac.e ()z): Adjust _b if necessary so as to avoid moving
12902 @f back past the current position.
12904 * tmac/tmac.e: Change calls to @R so that comments are not part of
12907 Tue Aug 25 10:42:07 1992 James Clark (jjc at jclark)
12909 * configure.in: Check for mkstemp with AC_HAVE_FUNCS.
12911 * acgroff.m4 (GROFF_PROG_CCC): Don't check for <osfcn.h>. Instead
12912 check that we can link a call to a function declared in <stdio.h>.
12913 (GROFF_UNISTD_H): New macro.
12914 * configure.in: Call it.
12915 * Makefile.in: Document it.
12916 * include/posix.h: New file.
12917 * troff/troff.h: Don't include <osfcn.h>
12918 * troff/input.cc: Include posix.h.
12919 * libgroff/new.cc, libgroff/tmpfile.cc: Include posix.h rather than
12921 * indxbib/indxbib.cc, libbib/{search.cc,linear.cc,index.cc}:
12922 Include posix.h rather <sys/types.h>, <sys/stat.h>, <osfcn.h>,
12924 * indxbib/indxbib.cc (S_IRUSR, S_IRGRP, S_IROTH): Delete definitions.
12925 * libbib/index.cc (S_ISREG, O_RDONLY): Delete definitions.
12926 * libbib/search.cc (O_RDONLY): Delete definition.
12927 * refer/refer.cc, include/driver.h, pic/pic.h, groff/groff.cc:
12928 Don't include <osfcn.h>.
12930 * acgroff.m4 (GROFF_TIME_T): New macro.
12931 * configure.in: Call it.
12932 * Makefile.in: Document it.
12934 * acgroff.m4 (GROFF_TRADITIONAL_CPP): New macro.
12935 * configure.in: Call it.
12936 * Makefile.in: Document -DTRADITIONAL_CPP.
12937 * include/ptable.h: Don't include generic.h.
12938 (name2): Define it.
12940 * tmac/tmac.s (][): Make [T1 and [T2 aliases for [T.
12941 Afterwards remove [T1 and [T2.
12942 (ref*spec!0, ref*spec!2): Use T1 rather than T.
12943 (ref*spec!1, ref*spec!4, ref*spec!4): Use T2 rather than T.
12944 (ref*add-T2): Renamed from ref*add-T.
12945 (ref*add-T1): New macro.
12947 Mon Aug 24 11:11:11 1992 James Clark (jjc at jclark)
12949 * acgroff.m4 (AC_PROG_CCC): Use GROFF_EXIT rather than exit 1.
12951 * libbib/index.cc: Include <fcntl.h>.
12952 (O_RDONLY): Define if necessary.
12953 (make_index_search_item, index_search_item_iterator::get_tag,
12954 index_search_item::check_files): Use O_RDONLY.
12955 * libbib/seach.cc: Include <fcntl.h>, <sys/types.h>, <sys/stat.h>.
12956 (O_RDONLY): Define if necessary.
12957 (search_list::add_file): Use O_RDONLY.
12958 * indxbib/indxbib.cc: Include <fcntl.h>, <sys/types.h>,
12960 (S_IRUSR, S_IRGRP, S_IROTH): Define if necessary.
12963 * libbib/index.cc (S_ISREG): Define it if necessary.
12964 (index_search_item::load): Use S_ISREG.
12966 * include/driver.h: Include <errno.h>.
12968 Sun Aug 23 11:32:18 1992 James Clark (jjc at jclark)
12970 * eqn/box.cc (body_height): Increase default value to 85.
12971 (body_depth): Increase default value to 35.
12973 Fri Aug 21 05:34:42 1992 James Clark (jjc at jclark)
12975 * eqn/pbox.h (SAVE_FONT_STRING): Define it.
12976 * eqn/box.cc (box::top_level): Hide use of \R in a string that is
12977 protected from expansion with \E.
12979 * acgroff.m4 (GROFF_PAGE): Use `case' to test domain.
12981 * Makefile (Makefile): New target.
12983 * Makefile.sub (configure, distfiles): New targets.
12985 * acgroff.m4 (GROFF_BROKEN_SPOOLER_FLAGS): Avoid using ${var:-val}
12988 Thu Aug 20 12:27:26 1992 James Clark (jjc at jclark)
12990 * eqn/box.cc (param_table): Add body_height and body_depth.
12992 * eqn/lex.cc (def_table): Make circumflex in hat_def roman.
12994 Tue Aug 18 16:24:25 1992 James Clark (jjc at jclark)
12996 * psbb/Makefile.sub: Don't link with libgroff.a.
12998 * acgroff.m4 (GROFF_PUTENV): New macro.
12999 * configure.in: Call GROFF_PUTENV.
13000 * Makefile.in: Document STDLIB_H_DECLARES_PUTENV.
13001 * groff/groff.cc: Don't declare putenv if STDLIB_H_DECLARES_PUTENV
13004 * troff/env.cc (distribute_space): Rename force_forward argument
13005 to force_reverse. Reverse the list if force_reverse is true.
13007 Mon Aug 17 17:49:05 1992 James Clark (jjc at jclark)
13009 * tmac/tmac.an: Don't define a string `T'. Just define Tm.
13011 * eqn/pile.cc (matrix_box::compute_metrics): Don't allow computed
13012 height or depth to be negative. Guard against SUP_RAISE quantity
13015 Sat Aug 15 08:18:54 1992 James Clark (jjc at jclark)
13017 * devps/generate/textmap: Add `an' (arrowhorizex).
13018 * tmac/tmac.ps: \(an overlaps horizontally.
13019 * tmac/tmac.dvi, tmac/tmac.tty: Add `an'.
13021 * devps/symbolchars: Add arrowverttp, arrowvertbt.
13022 * devps/textmap: Add arrowvertex.
13023 * eqn/delim.cc (delim_table): Add uparrow, downarrow and
13024 updownarrow delimiters.
13025 * tmac/tmac.ps, tmac/tmac.X: Add definition of \(va.
13027 * tbl/table.cc (simple_entry::position_vertically,
13028 block_entry::position_vertically): For a centered entry, perform
13029 the motion in two stages.
13031 * refer/refer.cc (split_punct): Don't call lookup_token if there
13034 Fri Aug 14 11:14:58 1992 James Clark (jjc at jclark)
13036 * troff/input.cc (token::next): Delete token_node after copying
13039 * grodvi/grodvi.cc (dvi_printer::dvi_printer): Initialize
13042 * libdriver/printer.cc (printer::load_font): Delete old_font_table.
13044 * grops/ps.cc (ps_printer::define_encoding): Delete elements of vec.
13046 Tue Aug 11 13:50:38 1992 James Clark (jjc at jclark)
13048 * grops/ps.cc (usage): -b option takes an argument.
13050 * devps/prologue (PLG): New procedure.
13051 * grops/ps.cc (main, usage): New -g option.
13052 (ps_printer::~ps_printer): If guess_flag is set, guess the paper
13055 Mon Aug 10 11:17:53 1992 James Clark (jjc at jclark)
13057 * include/cset.h: Include <limits.h> if we have it.
13059 * libgroff/illegal.cc: New file.
13060 * include/lib.h (illegal_input_char): Use table.
13061 * troff/input.cc (ESCAPE_RIGHT_PARENTHESIS): Renumber to 0206.
13062 * pic/lex.cc (ARG1): Renumber to 14.
13063 * eqn/lex.cc (ARG1): Likewise.
13065 * troff/Makefile.sub (majorminor.cc): Handle 3 part versions
13066 (eg 1.05.90) correctly.
13068 Sun Aug 9 13:35:43 1992 James Clark (jjc at jclark)
13070 * tmac/tmac.e (sr): Deleted. Set $r and $R directly.
13071 Rename $r and $R registers to $v and $V.
13072 ($r, $R): Initialize to 0.
13073 (@v, @V): New macros.
13077 * troff/input.cc (main, usage): Add -R option that says not to
13079 * eqn/main.cc (main, usage): Rename -n to -R.
13081 Sat Aug 8 00:16:00 1992 James Clark (jjc at jclark)
13083 * devps/DESC.in: Leave font positions 5-9 blank.
13084 * devdvi/DESC.in: Likewise.
13086 * grog/grog.pl: Handle `.PS <file' correctly.
13088 * troff/input.cc (input_stack::push): Improve error message when
13089 input stack limit exceeded.
13091 Fri Aug 7 13:08:16 1992 James Clark (jjc at jclark)
13093 * refer/refer.cc (main): Fix typo in handling of `a' option.
13095 * refer/refer.cc (do_bib): In state START after a newline remain
13098 * groff/groff.sh: Deleted.
13099 * groff/Makefile.sub: Delete handling of groff.sh.
13101 * pic/troff.cc (troff_output::text): Test \n(0p rather than \*(.T
13102 to determine whether to use \X'ps:...'.
13103 * tmac/troffrc: Set 0p register to 0.
13104 * tmac/tmac.ps: Set 0p register to 1.
13106 * groff/groff.cc: Support -X option. Give warning for -TXps and
13107 transform to -X -Tps. Pass troff a -r.X=1 option if -X is used.
13108 * tmac/troffrc: Support -r.X=1.
13110 * pic/troff.cc (troff_output::dot): Don't test
13111 zero_length_line_flag.
13113 Thu Aug 6 13:32:08 1992 James Clark (jjc at jclark)
13115 * include/lib.h: Declare getopt() and friends unless
13116 STDLIB_H_DECLARES_GETOPT is defined.
13118 * doc/chars.tr: Delete.
13119 * man/groff_char.man: New file.
13121 Wed Aug 5 00:38:58 1992 James Clark (jjc at jclark)
13123 * tmac/tmac.e (np, bu): Test \n($p with string expression in case
13124 user has changed register format.
13126 Mon Aug 3 11:22:18 1992 James Clark (jjc at jclark)
13128 * groff/groff.cc: Get rid of device_table. Get postprocessor from
13129 `postpro' command in DESC file. Get spooler command from `print'
13130 command in DESC file. Execute spooler command with /bin/sh.
13132 * groff/groff.cc: Split Unix-specific parts into...
13133 * groff/pipeline.c: New file.
13136 * COPYING: New file.
13137 * all files: Update copyright notices.
13139 * Rearrange files. Redo Makefiles. Use autoconf.
13141 Sat Aug 1 09:36:50 1992 James Clark (jjc at jclark)
13143 * troff/input.c (charinfo_to_node_list): Interpret character
13144 definition with escape_char of `\'.
13146 Tue Jul 28 12:20:12 1992 James Clark (jjc at jclark)
13148 * lib/strerror.c, lib/iftoa.c, lib/itoa.c: Don't include lib.h.
13149 Define INT_DIGITS as big enough for 64-bit integer.
13150 * lib/strtol.c: Don't include lib.h.
13151 * lib/lib.h: Delete ifdef __cplusplus stuff.
13153 Mon Jul 27 11:08:50 1992 James Clark (jjc at jclark)
13155 * ps/devps/Makefile: Add DESC to DEVICEFILES. Separate out rule
13156 for making DESC. Make $(FONTS) depend on DESC. afmtodit should
13157 get DESC from current directory.
13159 Sun Jul 26 15:38:26 1992 James Clark (jjc at jclark)
13161 * tbl/main.c (main): Always reset the line number when reading
13164 * tbl/table.c (table::print_single_hline, table::print_double_hline,
13165 table::define_bottom_macro, table::do_row, table::do_top): Round
13166 vertical spacing up to vertical resolution.
13168 Fri Jul 24 14:32:07 1992 James Clark (jjc at jclark)
13170 * ps/ps.h (enum resource_type): Avoid comma at end of
13172 * dvi/dvi.c (class dvi_printer): Likewise.
13173 * dvi/tfmtodit.c (gf::load): Likewise.
13174 * refer/label.y (struct expression): Likewise.
13175 * refer/refer.c (class label_processing_state): Likewise.
13176 * refer/indxbib.c (do_file): Likewise.
13177 * troff/troff.c (enum warning_type): Likewise.
13178 * tbl/main.c (process_data): Likewise.
13179 * troff/charinfo.h (class charinfo):
13181 Wed Jul 22 09:17:58 1992 James Clark (jjc at jclark)
13183 * dvi/devdvi/textt.map: Add entry for `-'. Regenerate fonts.
13185 Tue Jul 21 11:39:26 1992 James Clark (jjc at jclark)
13187 * groff.c: Move to new groff subdirectory.
13188 * groff/Makefile: New file.
13189 * Makefile: Remove handling of groff.c. Add groff to SUBDIRS.
13191 * man/mdate.sh: Use ls -L if supported.
13193 * Consolidate all header files produced by gendef into lib/defs.h.
13194 * lib/macropath.c, lib/fontfile.c, lib/device.c: Include defs.h.
13195 Don't include path.h.
13196 * lib/Makefile (path.h): Don't generate.
13197 * troff/input.c: Include defs.h. Don't include config.h.
13198 * troff/Makefile (config.h): Don't generate.
13199 * refer/index.h: Don't include suffix.h.
13200 * refer/index.c: Include defs.h.
13201 * refer/indxbib.c: Include defs.h.
13202 * refer/refer.h, refer/lkbib.h: Don't include path.h. Include
13204 * refer/Makefile (suffix.h, path.h): Don't generate.
13205 * groff.c: Don't include config.h. Include defs.h.
13206 * Makefile (config.h): Don't generate.
13207 (lib/defs.h): Generate.
13208 (topclean): Remove lib/defs.h.
13210 Mon Jul 20 10:12:57 1992 James Clark (jjc at jclark)
13212 * lib/malloc.c, lib/getpagesize.h: Deleted.
13213 * Makefile: Add COOKIE_BUG configuration option. Delete malloc
13215 * lib/Makefile: Delete malloc-related stuff.
13216 * lib/new.c: Workaround COOKIE_BUG if necessary.
13218 * refer/lkbib.c, refer/indxbib.c: Don't include refer.h. Include
13219 needed header files directly.
13220 * refer/refer.h: Omit definition of DEFAULT_INDEX.
13221 * Makefile: Include definition of DEFAULT_INDEX in path.h.
13223 Sun Jul 19 10:19:22 1992 James Clark (jjc at jclark)
13225 * lib/font.c (FONT_COMMAND_HANDLER): Pass command name and single
13227 * lib/font (font::load_desc, font::load): Don't split argument of
13229 (font::handle_unknown_font_command): Change type.
13230 * ps/ps.c (ps_font::handle_unknown_font_command,
13231 handle_unknown_desc_command): Change type.
13232 * dvi/dvi.c (dvi_font::handle_unknown_font_command): Change type.
13234 Fri Jul 17 11:12:49 1992 James Clark (jjc at jclark)
13236 * lib/font.h (font::handle_unknown_font_command): Add file and
13238 * lib/font.c (font::handle_unknown_font_command):
13239 * ps/ps.c (ps_font::handle_unknown_font_command):
13240 * dvi/dvi.c (dvi_font::handle_unknown_font_command): Add file and
13241 lineno arguments. Use _with_file_and_line functions for error
13244 * lib/fontfile.c (font::unknown_desc_command_handler): New static
13246 * lib/font.c (font::set_unknown_desc_command_handler): New
13248 (font::load_desc): For unknown commands, call
13249 unknown_desc_command_handler if not null.
13250 * lib/font.h (class font): Declare them.
13251 (FONT_COMMAND_HANDLER): New typedef.
13252 * ps/ps.c (handle_unknown_desc_command): New function.
13253 (main): Set bflag if we had a -b option. Call
13254 font::set_unknown_desc_command_handler.
13255 (broken.h): Don't include.
13256 * ps/Makefile: No need for broken.h. Pass BROKEN_SPOOLER_FLAGS to
13258 * ps/devps/Makefile: Add `broken' command to DESC file using
13259 BROKEN_SPOOLER_FLAGS.
13261 * macros/tmac.e ([, ]): Add as synonyms for { and }.
13263 * macros/tmac.e ($p): Only exdent if \$3 > 0.
13265 * macros/tmac.e (@R, @S): New macros.
13266 Declare @, po, $0, $i, $p, df, so, fu, bt, *, ?a, ?b, ?C, ?e, ?H,
13267 ?I, ?n, ?o, ?R, ?s, ?T, ?W, ?w registers with @R.
13268 Declare $H, $[0-9], .. macros with @S.
13269 Declare |0, |1, |2, |3 strings with @S.
13271 * macros/tmac.e (@S): Rename to @U.
13273 * macros/tmac.e (@z): Define @b and bp as empty instead of
13276 * macros/tmac.e (@m): Deleted.
13277 (@h): Don't call @m.
13278 (@z): Don't set @m trap.
13280 * macros/tmac.e ($h, $f): Define |z as empty string.
13282 * macros/tmac.e (@D): Rework to avoid unbalanced .el requests.
13285 * macros/tmac.e (@h): Set ?H, ?C , ?s registers to 0 rather than
13287 ()f): Likewise for * register.
13289 * macros/tmac.e (sr): Don't ever scale the arguments. If the third
13290 argument is missing, don't change $R. Call sr with three
13291 arguments when initializing.
13293 Thu Jul 16 12:17:12 1992 James Clark (jjc at jclark)
13295 * macros/tmac.e (sr): New macro.
13296 Initialize $r and $R using sr.
13298 * macros/tmac.e (,): Delete \*(#[.
13300 * troff/env.c (set_tabs): Read the tab type even if the position
13301 is bad. Allow the position of the first tab stop to be negative.
13303 Wed Jul 15 13:14:37 1992 James Clark (jjc at jclark)
13305 * refer/dirnamemax.c: Use pathconf() if <unistd.h> defines
13307 * refer/Makefile: Compile dirnamemax.c using -DHAVE_UNISTD_H
13308 rather than -DPATHCONF_MISSING.
13309 * Makefile: Get rid of PATHCONF_MISSING.
13311 * refer/map.c: New file.
13312 * refer/index.c: Interface to mmap through map.c. Rename map_size
13314 * refer/Makefile: Handle map.c.
13315 * Makefile: Include -DHAVE_MMAP in OLDCFLAGS rather than CFLAGS.
13317 Tue Jul 14 14:15:20 1992 James Clark (jjc at jclark)
13319 * Makefile: RANLIB should be `true' if there is no ranlib.
13320 * lib/Makefile (libgroff.a): Simplify.
13321 * driver/Makefile (libdriver.a): Simplify.
13323 * Makefile: Change -DWAIT_COREDUMP_0200 to -DWCOREFLAG=0200.
13324 * groff.c (WCOREDUMP): Use WCOREFLAG. Define only if not already
13327 Sat Jul 11 09:19:17 1992 James Clark (jjc at jclark)
13329 * troff/env.c (compare_ranges): Declare as extern "C".
13331 * troff/input.c (init_registers): Use `struct tm' instead of `tm'.
13333 * macros/tmac.s, macros/tmac.e: Change .nx /dev/null to .nx.
13335 Wed Jul 8 11:52:27 1992 James Clark (jjc at jclark)
13337 * pic/troff.c (troff_output::text): Merge in grops_output::text,
13338 but conditionalize use of \X based on \*(.T.
13339 (grops_output::*): Deleted.
13340 * pic/output.h: Delete declaration of make_grops_output.
13341 * pic/main.c (main): Ignore -p and -x. driver_extension_flag is 1
13342 by default. -n sets it to 0.
13343 (usage): Corresponding changes.
13344 * groff.c (main): Don't pass -x or -p to pic.
13345 * groff.sh: Likewise.
13347 * ps/ps.c (ps_printer::do_exec, ps_printer::do_file): Force ndefs
13350 * ps/devps/afmtodit: Change calculation of asc_boundary and
13351 desc_boundary. Make these bounds inclusive.
13352 * ps/devps: Regenerate font files.
13354 Tue Jul 7 13:14:15 1992 James Clark (jjc at jclark)
13356 * macros/tmac.latin1: New file.
13357 * macros/tmac.tty-char: Use tmac.latin1.
13358 (tmac.tty-tr): Deleted.
13359 * macros/Makefile: Install tmac.latin1.
13360 * macros/tmac.dvi: Use tmac.latin1.
13361 * macros/troffrc: Translate \[char160] onto no-break space here.
13362 * macros/{tmac.dvi,tmac.ps,tmac.tty,tmac.X75}: Don't do it here.
13364 Mon Jul 6 11:06:52 1992 James Clark (jjc at jclark)
13366 * macros/tmac.Xps: Use `do' request.
13368 * macros/tmac.ps: Use `do' request.
13370 * macros/tmac.e (@C): Use `do' request.
13372 * macros/tmac.X, macros/tmac.Xps: Moved from xditview.
13373 * macros/Makefile: Install tmac.X*.
13375 * tty/tmac.tty, tty/tmac.tty-char: Move to macros.
13376 * tty/Makefile: Don't install tmac.tty*.
13377 * macros/Makefile: Install tmac.tty*.
13379 * dvi/tmac.dvi: Move to macros.
13380 * dvi/Makefile: Don't install tmac.dvi.
13381 * macros/Makefile: Install tmac.dvi.
13383 * ps/tmac.ps*: Move to macros.
13384 * ps/Makefile: Don't install tmac.ps*.
13385 * macros/Makefile: Install tmac.ps*.
13387 * eqn/box.c: Provide draw_lines parameter corresponding to -D
13389 * macros/eqnrc: Set draw_lines parameter based on device.
13390 * groff.c: Don't pass -D flag to eqn.
13391 * groff.sh: Likewise.
13392 * eqn/main.c: Warn about use of -D.
13394 * troff/input.c (process_startup_file): New function.
13395 (main): Call process_startup_file().
13396 * macros/troffrc: New file.
13397 * macros/Makefile: Install troffrc.
13398 * groff.c (main): Don't pass extra -m option to troff. For a
13399 pseudo device pass the name of the pseudo device to troff using
13401 * groff.sh: Likewise.
13402 * groff.c (possible_command::prepend_arg): Deleted.
13404 * troff/input.c (do_request): New function.
13405 (init_input_requests): Bind "do" to do_request.
13407 * eqn/main.c (main): Instead of loading eqnchar from device directory,
13408 load eqnrc from macro directory.
13409 * macros/eqnrc: New file.
13410 * macros/Makefile: Install eqnrc.
13411 * ps/devps/eqnchar: Deleted.
13412 * ps/devps/Makefile: Don't install eqnchar.
13413 * dvi/devdvi/eqnchar: Deleted.
13414 * dvi/devdvi/Makefile: Don't install eqnchar.
13415 * groff.c (main): Pass -M to eqn. Don't pass -F to eqn. New
13418 * lib/device.[ch]: New files.
13419 * lib/font.h (font::set_device_name, font::get_device_name):
13421 * lib/fontfile.c: Use device.h.
13422 * lib/Makefile: Handle device.[ch]. Make paths.h define DEVICE.
13423 * troff/input.c: Delete definition of `device'.
13424 (main): Don't initialize device.
13425 * troff/troff.h: Include device.h rather than declaring device.
13426 * troff/Makefile: No need to handle DEVICE.
13427 * driver/input.c: Include device.h. Don't use
13428 font::{set,get}_device_name.
13429 * groff.c, Makefile: Rename device.h to config.h.
13430 * groff.c: Use library device variable.
13431 * eqn/main.c: Use library device variable.
13432 * eqn/Makefile: No need to handle DEVICE.
13434 * lib/searchpath.[ch]: New files.
13435 * lib/Makefile: Handle searchpath.[ch].
13436 * troff/input.c (open_file, init_dirs): Deleted.
13437 (macro_dirs): Deleted.
13438 (open_mac_file, macro_source): Use class search_path.
13439 (add_string, struct string_list): Move definition.
13440 (main): Change -M option to use macro_path. Delete call to
13442 * lib/fontfile.c (font::command_line_font_dir, font::open_file):
13443 Rewrite to use class search_path.
13444 * lib/font.h, lib/fontfile.c (font::cl_font_dirs): Deleted.
13445 * lib/Makefile: fontfile.c depends on searchpath.h.
13446 * lib/Makefile: Rename fontpath.h to paths.h. Make paths.h define
13448 * lib/macropath.[ch]: New files.
13449 * troff/Makefile: No need to handle MACROPATH.
13451 * troff/input.c: Delete DUMP code.
13452 * lib/fontfile.c, lib/font.h: Delete
13453 font::forget_command_line_font_dirs.
13455 * troff/input.c (push_token): New function.
13456 (handle_first_page_transition): Use push_token().
13457 (process_input_stack): Change handling of a space at the beginning
13460 Sun Jul 5 17:11:09 1992 James Clark (jjc at jclark)
13462 * troff/input.c (font_dirs): Delete unused variable.
13464 * eqn/lex.c (do_set): Correct error messages.
13466 Sat Jul 4 10:20:55 1992 James Clark (jjc at jclark)
13468 * troff/input.c (do_define_string): Allow the string name to be
13469 followed immediately by a tab.
13470 (define_character): Likewise.
13472 Thu Jul 2 10:59:15 1992 James Clark (jjc at jclark)
13474 * ps/ps.c (ps_printer::draw): When drawing an arc, don't allow k to
13477 * troff/input.c (input_iterator::is_file): New virtual function.
13478 (file_iterator::is_file): New function.
13479 (input_stack::end_file): New function.
13480 (input_stack::next_file): Handle the situation where there is no
13481 file on the input stack correctly. Avoid making two passes over
13483 (next_file): Make the filename optional; in this case call
13484 input_stack::end_file().
13486 Wed Jul 1 10:17:25 1992 James Clark (jjc at jclark)
13488 * dvi/tmac.dvi: Change the definitions of \(ul and _ so that they
13489 produce a real _ charater when the current font is CW and _
13492 * lib/errarg.c (errarg::errarg(const char *)): Invert conditional
13493 expression to work around gcc 2.2 bug.
13495 Wed Jun 24 08:12:24 1992 James Clark (jjc at jclark)
13497 * eqn/main.c (main): Don't give an error if we can't find eqnchar.
13499 * troff/env.c (environment::add_padding): New function.
13500 (environment::add_char): Use add_padding().
13501 (environment::space): Likewise.
13502 (environment::wrap_up_field): Add some padding if there is none
13503 and there's no current tab.
13504 * troff/env.h: Declare environment::add_padding.
13506 Mon Jun 22 08:37:45 1992 James Clark (jjc@jclark)
13508 * pic/pic.y: undef fmod and rand before declaring them.
13510 Sun Jun 14 11:40:18 1992 James Clark (jjc@jclark)
13512 * troff/input.c (main): If the DESC file specifies a font name of
13513 0, then leave the corresponding font position empty.
13515 * nroff.sh: New file.
13516 * Makefile (install.nobin): Install nroff.sh.
13518 * tty/devlatin1/R.proto: Add ao as synonym for de.
13519 * tty/tmac.tty-char: Define ao as o.
13521 * tty/dev{ascii,latin1}/R.proto: Add aq.
13522 * tty/tmac.tty-char: Delete definition of aq.
13524 Mon Jun 8 11:43:20 1992 James Clark (jjc@jclark)
13526 * troff/input.c (init_charset_table): Don't translate 0240.
13527 * ps/tmac.ps: Translate char160 to space.
13528 * dvi/tmac.dvi: Likewise.
13529 * tty/tmac.tty: Likewise.
13531 Sun Jun 7 10:52:35 1992 James Clark (jjc@jclark)
13533 * dvi/tmac.dvi: Add support for all Latin-1 characters.
13535 * macros/tmac.s: Delete definitions of \(rg, \(ah, \(ad, \(a-,
13536 \(ao, \(ac, \(ho, \(-D, \(Sd, \(TP, \(Tp, \(ss, \(AE, \(ae, \(OE,
13539 * tty/tmac.tty-char: Add \(ah.
13541 * dvi/tmac.dvi: Add definitions of Tp, TP, Sd, -D, ho.
13542 No need to define \(FM and \(!/. Conditionalize all character
13545 * ps/devps/lgreekmap: Add +h, +f, +p.
13547 * ps/tmac.psnew: New file.
13548 * ps/Makefile: Install tmac.psnew.
13550 * troff/input.c (charinfo_to_node_list): Don't ever interpret
13551 character definitions in compatible mode.
13553 * troff/input.c (remove_character): New function.
13554 (init_input_requests): Bind remove_character to "rchar".
13556 * ps/tmac.psold: New file.
13557 * ps/Makefile: Install tmac.psold.
13558 * ps/tmac.ps: Load tmac.psold. Move definitions of ISO Latin-1
13559 characters into tmac.psold. Make these definitions unconditional.
13561 * tty/tmac.tty-char: Define \n(_C only if it is not already defined.
13563 * ps/tmac.ps: Don't define \('c and \('C.
13565 * ps/devps/textmap: Move Greek characters to...
13566 * ps/devps/symbolchars:
13568 Sat Jun 6 16:41:17 1992 James Clark (jjc@jclark)
13570 * ps/devps/text.enc: Add quotesingle.
13571 * ps/devps/textmap: Add +h, +f, +p, Fn, Bq, bq, aq, lz.
13572 * tty/tmac.tty-char: Likewise.
13573 * dvi/devdvi/texmi.map: Add +h, +f, +p.
13574 * dvi/devdvi/texi.map: Add Fn.
13575 * dvi/devdvi/msam.map: Add lz.
13576 * dvi/tmac.dvi: Handle Bq, bq, aq.
13578 * pic/lex.c (get_token): Recognize 'th.
13579 * pic/map.y: Allow `expr'th in contexts where ORDINAL was allowed.
13581 Fri Jun 5 11:20:46 1992 James Clark (jjc@jclark)
13583 * ps/devps/textmap: Move di, mu, +- to...
13584 * ps/devps/symbolchars:
13586 * macros/tmac.s (@XS): Don't call par@reset or fi.
13587 (XA): Call LP. Turn off adjustment. Reduce line length.
13589 * macros/tmac.s: Initially alias XS to LP.
13590 (XS): Rename to @XS.
13591 (cov*ab-init): Alias XS to @XS.
13593 Thu Jun 4 09:12:05 1992 James Clark (jjc@jclark)
13595 * troff/token.h: Delete TOKEN_CHAR_HEIGHT, TOKEN_CHAR_SLANT,
13596 TOKEN_FONT_NAME, TOKEN_FONT_POSITION, TOKEN_SIZE tokens.
13597 (token::is_size, token::changes_env): Deleted.
13598 * troff/number.c (parse_term): No need to process \s explicitly.
13599 Call tok.next() only after scale indicator has been processed.
13600 * troff/input.c (do_overstrike, do_bracket): No need to process \s,
13602 (token::next): Handle \s, \f, \S, \H immediately rather than
13603 returning them as tokens.
13604 (token::operator==, token::description, token::add_to_node_list,
13605 token::process): Remove handling of deleted tokens.
13607 * troff/env.c (environment::add_char): When adding padding
13608 indicator character, call start_line() if necessary.
13610 Wed Jun 3 09:55:50 1992 James Clark (jjc@jclark)
13612 * ps/devps/afmtodit: Don't output 0 kerns.
13614 * ps/devps/afmtodit: Remove directory from name of encoding in
13615 font description file.
13617 * ps/devps/afmtodit: Improve error messages.
13619 * ps/devps/afmtodit: Allow DESC file to be specified with -d.
13621 * ps/devps/Makefile: Incorporate FontMakefile. Rework.
13622 * ps/devps/FontMakefile: Deleted.
13623 * ps/devps/afmname: New file.
13625 * ps/devps/symbol.sed: New file.
13626 * ps/devps/symbol.diff: Deleted.
13627 * ps/devps/FontMakefile: Generate symbol.afm using symbol.sed.
13628 Generate zapfdr.afm from zapfd.afm.
13630 * tty/tmac.tty (tty-char): Prefix definition with ".
13632 * macros/tmac.an (TP): Don't start a diversion if one has already
13635 * tty/tmac.tty-char: Add Latin-1 characters.
13637 * tty/tmac.tty-char: Incorporate suggestions from Paul Eggert.
13639 Tue Jun 2 00:54:34 1992 James Clark (jjc@jclark)
13641 * tbl/table.c (table::allocate): Delete old_vline, old_entry.
13642 Move declaration of struct horizontal_span.
13644 * tbl/table.c (table::table): Initialize span_list.
13645 (table::~table): Delete span_list.
13647 * lib/ptable.h (PTABLE(T)::~PTABLE(T)): Delete v.
13649 * ps/devps/Makefile: Avoid dependency on GNU make.
13651 * ps/tmac.ps: Check that character does not already exist before
13654 * tty/tmac.tty: Add definitions of \(ff, \(!=, \(==, \(~=, \(sq,
13655 \(OE, \(oe, \(AE, \(ae, \(lh, \(rh. Delete definitions of \(en,
13656 \(ru, \(ul, \(br, \(bv, \(sl which are in the font description
13659 * tty/tmac.tty-char: New file.
13660 * tty/Makefile: Install tmac.tty-char.
13661 * tty/tmac.tty: Move definitions of \(ua, \(da, \(uA, \(dA into
13664 * tty/tmac.tty: Fix definition of \(34.
13666 * tty/dev{ascii,latin1}/R.proto: Add ha and ti. Map
13667 bracket-drawing characters onto |. Add *o.
13669 * troff/env.c (environment::wrap_up_tab): Increment field_spaces
13670 only if current_field.
13672 * troff/dictionary.c (dictionary::lookup): Free old_table after
13675 Mon Jun 1 10:15:22 1992 James Clark (jjc@jclark)
13677 * tty/dev{ascii,latin1}/R.proto: Add uppercase Greek characters
13678 whose glyphs are identical to glyphs of some Roman character.
13680 * tty/devlatin1/R.proto (bu): Deleted.
13681 * tty/devascii/R.proto (bu): Deleted.
13682 * tty/tmac.tty: Add definition of \(bu.
13684 * eqn/main.c (do_file): Pass FILE as argument.
13685 (main): Automatically load eqnchar. New options -F and -n.
13686 Pass do_file an opened FILE.
13687 * groff.c: Don't pass eqnchar to eqn. Pass -F options onto eqn.
13688 No need to include font.h.
13689 * groff.sh: Likewise. Don't need to use - for standard input.
13690 Prefix files with -- if first file starts with -.
13692 * macros/tmac.e: Conditionalize use of \$* on \n(.g.
13694 * troff/env.c (environment::possibly_break_line): Don't set line
13695 to 0 across call to output_line(). Don't call output_line() until
13696 after discarding nodes after break.
13698 Sun May 31 10:45:29 1992 James Clark (jjc@jclark)
13700 * request.h (macro::empty): Declare it.
13701 * input.c (macro::empty): New method.
13702 (interpolate_macro): Don't give a WARN_SPACE if the two-character
13705 Sat May 30 10:27:15 1992 James Clark (jjc@jclark)
13707 * troff/env.c (environment::start_field): Decrement space_total
13708 when a space is frozen.
13710 Fri May 22 14:34:38 1992 James Clark (jjc@jclark)
13712 * macros/tmac.an (R): Delete macro.
13714 * troff/input.c (get_copy, token::next): Support \# (like \" but
13715 newline is ignored).
13717 * troff/input.c (token::next): Fix error message in 'Y' case.
13719 Thu May 21 09:26:24 1992 James Clark (jjc@jclark)
13721 * eqn/delim.c (define_extensible_string): Recognize any prefix of
13724 Fri May 15 10:20:41 1992 James Clark (jjc at jclark)
13726 * c++test.c: Include <osfcn.h>.
13728 * lib/strtol.c, lib/getcwd.c, ps/psbb.c: Declare errno in case
13731 Fri May 8 09:37:19 1992 James Clark (jjc at jclark)
13733 * tbl/table.c (table::divide_span): Don't count column separation
13734 if expand was specified.
13736 * tbl/main.c (process_format): Don't ignore width specs in
13737 continued format. Give warning for changing equal widths or
13738 column separation in continued format.
13739 (process_data): Set column separation, minimum width, equal
13740 columns at end of table.
13742 Thu May 7 08:50:40 1992 James Clark (jjc at jclark)
13744 * troff/node.c (kern_pair_node::add_discretionary_hyphen,
13745 node::add_discretionary_hyphen): Use soft_hyphen_char.
13746 (set_soft_hyphen_char): New function.
13747 (init_node_requests): Bind to shc. Initialize soft_hyphen_char.
13749 * Makefile (c++tested): Give more helpful message if test fails.
13751 Tue May 5 10:58:39 1992 James Clark (jjc at jclark)
13753 * troff/input.c (init_charset_table): Translate 0240 to
13754 an unbreakable space.
13756 * troff/token.h (token::hyphen_indicator): New function.
13757 * troff/charinfo.h (TRANSLATE_HYPHEN_INDICATOR): New special
13759 * troff/input.c (translate): Allow translation to \%.
13760 * troff/node.c (node::add_char): Handle
13761 TRANSLATE_HYPHEN_INDICATOR.
13762 (make_node): Don't allow TRANSLATE_HYPHEN_INDICATOR here.
13764 * troff/input.c (init_charset_table): Don't set BREAK_AFTER flag
13767 * tty/devlatin1/R.proto: \(hy and - should print as 055.
13769 Tue Apr 21 09:24:42 1992 James Clark (jjc at jclark)
13771 * groff.c (run_commands): If the last command gets a SIGPIPE send
13772 a SIGPIPE to all children than haven't yet terminated. When
13773 command terminates, set pid field to -1.
13775 Fri Apr 17 11:20:48 1992 James Clark (jjc at jclark)
13777 * groff.c (main): Pass an appropriate -filename option to gxditview.
13779 Thu Apr 16 15:11:40 1992 James Clark (jjc at jclark)
13781 * Makefile.bd (install): Remove existing program before copying.
13783 * Makefile, */Makefile, Makefile.bd, groff.sh, groff.c: Allow
13784 programs which have Unix counterparts to be installed with
13785 user-specified prefix.
13787 * troff/input.c (exit_troff): Don't check if exit_started.
13788 (exit_request): Don't call exit_troff if exit_started.
13790 * Makefile.bd (install.mm): Rename to install.dwbmm.
13792 Tue Apr 14 10:05:10 1992 James Clark (jjc at jclark)
13794 * driver/input.c (do_file): Add missing break for '#' case.
13796 Mon Apr 13 10:11:02 1992 James Clark (jjc at jclark)
13798 * troff/input.c (input_stack::clear): Clear past any boundaries and
13799 then add the boundaries back.
13801 * troff/input.c (exit_troff): Return immediately if already
13804 * macros/tmac.s (pg@end-text): New macro. Use pg@end-text for the
13806 (pg*end-page): If the text has ended and there are no more
13807 footnotes or keeps, exit.
13809 * macros/doc-ditroff (Lq, Rq): Define as \(lq and \(rq.
13811 * troff/input.c (init_charset_table): Make \(rq transparent by
13814 * macros/tmac.an: Define lq and rq strings.
13816 * macros/tmac.s (Q, U): Define as \(lq and \(rq.
13818 Sun Apr 12 12:54:37 1992 James Clark (jjc at jclark)
13820 * troff/env.c (environment::final_break): New function.
13821 (environment::newline): Set prev_line_interrupted to 2 if
13823 * troff/env.h: Declare environment::final_break.
13824 * troff/input.c (exit_troff): Call environment::final_break()
13825 instead of environment::do_break().
13827 * macros/Makefile: Install man.local if $(MACRODIR)/man.local
13828 doesn't already exist.
13829 * macros/man.local: New file.
13830 * macros/tmac.an: Load man.local.
13831 * macros/man.ultrix: New file.
13833 Sat Apr 11 17:32:04 1992 James Clark (jjc at jclark)
13835 * troff/input.c (exit_groff): Rename to...
13836 (exit_troff): New function.
13838 * troff/div.c (exit_started, done_end_macro,
13839 seen_last_page_ejector): New global variables.
13840 (began_page_in_end_macro): New static variable.
13841 (exit_flag): Deleted.
13842 (top_level_diversion::top_level_diversion): Initialize
13844 (top_level_diversion): More elaborate test for whether
13845 cleanup_and_exit() should be called.
13846 Set began_page_in_end_macro if the end macro isn't yet finished.
13847 * troff/div.h (top_level_diversion::last_page_count): New data
13849 (top_level_diversion::set_last_page): New function.
13850 (exit_started, done_end_macro, seen_last_page_ejector): Declare.
13851 * troff/env.c (do_break): Zero prev_line_interrupted.
13852 * troff/input.c (exit_flag): Delete declaration.
13853 (LAST_PAGE_EJECTOR): New magic cookie.
13854 (token::next): Handle LAST_PAGE_EJECTOR.
13855 (exit_groff): Set exit_started and done_end_macro instead of
13856 exit_flag. Call top_level_diversion::set_last_page. Push a
13857 LAST_PAGE_EJECTOR instead of calling push_page_ejector(). Do
13858 another ejection after setting seen_last_page_ejector.
13860 Thu Apr 9 04:37:11 1992 James Clark (jjc at jclark)
13862 * etc/grog.sh, etc/grog.sh: Recognize -me sh macro.
13864 * macros/tmac.e (TH): Make sure there's room for the initial
13867 * macros/tmac.s (par@init): Make PD and DD at least \n(.V.
13868 Set FVS in points rather than units.
13870 Mon Apr 6 11:21:32 1992 James Clark (jjc at jclark)
13872 * troff/div.c (top_level_diversion::add_trap): Don't consider the
13873 position of empty slots.
13875 Fri Apr 3 10:46:45 1992 James Clark (jjc at jclark)
13877 * ps/devps/S: Fix height and depth of parenrightex.
13878 * ps/devps/symbol.diff: Regenerate.
13880 Sat Mar 28 21:17:52 1992 James Clark (jjc at jclark)
13882 * tmac.e (u): Do underlining as in -mgs.
13884 Fri Mar 27 09:23:44 1992 James Clark (jjc at jclark)
13886 * tty/tty.c (tty_printer::end_page): If overstriking is
13887 suppressed, still turn overstruck horizontal and vertical lines
13890 * lib/new.c: Back out Feb 24 change; no longer needed with gcc
13893 * refer/label.y (format_expr::evaluate): Avoid use of %0*d.
13895 Wed Mar 18 09:29:10 1992 James Clark (jjc at jclark)
13897 * Version 1.05 released.
13899 Tue Mar 17 16:50:45 1992 James Clark (jjc at jclark)
13901 * tty/tty.c: Instead of keeping an array of glyphs and then
13902 sorting it, keep a ordered linked list of glyphs for each line.
13904 * driver/driver.h: Include stddef.h.
13906 * tty/tty.c (compare_glyph):
13907 * refer/refer.c (rcompare):
13908 * troff/env.c (compare_ranges): Arguments of qsort comparison
13909 function should be const void *.
13911 * troff/number.c (parse_term):
13912 * dvi/dvi.c (draw_dvi_printer::draw): Avoid initialization in
13915 * refer/label.y (consider_authors): Don't access variables
13916 constructed under a condition outside that condition: put braces
13917 round for statement containing declaration; redeclare use of same
13920 * pic/pic.y (text_expr): Delete production that allows
13921 parenthesised text_expr.
13922 (expr): Allow a conditional_expr to appear in parentheses.
13923 (conditional_expr): Rename to any_expr.
13925 * mm: Install new version 1.01 from jh.
13927 * lib/font.c (font::get_width): Cache scaled widths.
13928 (font::font): Initialize widths_cache.
13929 (font::~font): Destroy widths_cache.
13930 * lib/font.h: Add font::widths_cache. Declare font_widths_cache.
13932 Mon Mar 16 10:16:10 1992 James Clark (jjc at jclark)
13934 * c++test.c, c++test.ref: New files.
13935 * Makefile: Check that the C++ compiler works.
13937 * ps/tmac.pspic (PSPIC): Do a break.
13939 * ps/tmac.ps: Move definition of PSPIC into...
13940 * ps/tmac.pspic: New file.
13941 (PSPIC): Draw box around picture, but make it invisible to grops.
13942 * ps/tmac.ps: Load tmac.pspic.
13943 * ps/Makefile: Install tmac.pspic.
13945 Sun Mar 15 14:18:08 1992 James Clark (jjc at jclark)
13947 * lib/font.c (scale_round): If n is negative,
13948 subtract .5 before truncating floating point result.
13950 * lib/fontfile.c: Include <errno.h>.
13952 Tue Mar 10 14:17:03 1992 James Clark (jjc at jclark)
13954 * driver/input.c (get_char): Inline. Don't update current_lineno.
13955 Change callers to up date current_lineno if necessary.
13956 Use get_char() instead of getc(current_file).
13958 Sun Mar 8 18:05:28 1992 James Clark (jjc at jclark)
13960 * ps/tmac.ps: Fix up spacing of \(mo and \(nm.
13962 Fri Mar 6 19:38:58 1992 James Clark (jjc at jclark)
13964 * tty/tty.c (tmac.tty): Define \(rg as (R).
13966 Tue Mar 3 10:11:25 1992 James Clark (jjc at jclark)
13968 * lib/lib.h: New define a_delete.
13969 * Use a_delete instead of delete when deleting an array of objects
13970 without destructors.
13972 * lib/lib.h: Rename adelete to ad_delete.
13973 * Change uses of adelete.
13975 Mon Mar 2 12:41:05 1992 James Clark (jjc at jclark)
13977 * eqn/eqn.y: Include lib.h.
13979 * troff/node.c (grow_font_table): Delete old_font_table.
13981 * mm: Install new version from jh.
13983 Fri Feb 28 10:42:23 1992 James Clark (jjc at jclark)
13985 * tbl/table.h (format_type): Make global instead of local to class
13986 entry_format. Prefix enumerators with FORMAT_.
13987 * tbl/table.c, tbl/main.c: Corresponding changes.
13988 * refer/token.h (token_type): Make global. Prefix enumerators
13990 * refer/token.[ch]: Corresponding changes.
13991 * Makefile: Get rid of -DNO_NESTED_TYPES configuration option.
13993 * troff/div.c (node::set_vertical_size): Don't name argument.
13995 Thu Feb 27 10:29:19 1992 James Clark (jjc at jclark)
13997 * Makefile: New configuration option ARRAY_DELETE_NEEDS_SIZE.
13998 * lib/lib.h: Define adelete accordingly.
13999 * pic/object.c (graphic_object::graphic_object):
14000 * tbl/main.c (format::~format):
14001 * tbl/table.c (table::~table):
14002 * refer/ref.c (reference::~reference, reference::merge,
14003 reference::insert_field, reference::delete_field): Use adelete.
14005 * Makefile: Change NESTED_TYPES to NO_NESTED_TYPES.
14007 * tbl/table.h: Corresponding changes.
14009 * common.c (common_output::dashed_arc, common_output::dotted_arc):
14010 Ensure total_angle is positive.
14012 Wed Feb 26 08:49:26 1992 James Clark (jjc at jclark)
14014 * refer/ref.c (reference::merge, reference::insert_field,
14015 reference::delete_field): Avoid delete[0].
14017 * refer/token.c (init_special_chars): Move calls to cmupper
14018 outside calls to init_two_char_letter to work around bug in gcc
14021 Mon Feb 24 14:20:00 1992 James Clark (jjc at jclark)
14023 * lib/new.c (operator new): Use __builtin_new for g++.
14025 * pic/object.c (graphic_object::~graphic_object): Don't use
14028 * pic/object.c (output::compute_scale): Initialize max_width and
14031 Sat Feb 15 09:55:20 1992 James Clark (jjc at jclark)
14033 * troff/input.c (write_request): Call fflush.
14035 * troff/node.h (class composite_node): Move declaration to node.c
14036 * troff/input.c (charinfo_to_node): Rename to ...
14037 (charinfo_to_node_list): Return node list rather than composite
14039 * troff/node.c (make_composite_node): New function.
14040 (make_node, add_char): Call make_composite_node instead of
14042 (class composite_node): Add a tfont * member. Delete font_size
14044 (composite_node::composite_node, composite_node::copy,
14045 composite_node::size): Corresponding changes.
14046 (composite_node::tprint): Provide constant spacing, emboldening
14047 and track kerning as specified in tfont.
14048 (composite_node::width): Change width calculation accordingly.
14049 * troff/env.h (environment::composite): New member.
14050 (environment::is_composite, environment::set_composite): New
14052 * troff/env.c (environment::environment): Initialize composite.
14053 * troff/input.c (charinfo_to_node): Call
14054 environment::set_composite.
14055 * troff/node.c (make_composite_node, make_glyph_node): Use the
14056 plain version of the tfont if the environment is composite.
14058 * troff/node.c (font_info::get_space_width): Additional argument
14059 giving space_size. Handle constant space correctly. Scale by
14060 space_size unless constant spaced.
14061 (env_sentence_space_width): New function.
14062 * troff/node.h: Declare it.
14063 * troff/env.h (environment::get_space_size,
14064 environment::get_sentence_space_size,
14065 environment::get_narrow_space_width,
14066 environment::get_half_narrow_space_width): Make inline.
14067 (environment::get_space_width): Make inline. Just call
14069 * troff/env.c: Delete definitions for funtions made inline.
14070 (environment::space_newline, environment::space): Use
14071 env_sentence_space_width(). Don't scale by space_size.
14072 * troff/node.h: Move declarations of env*space_width() functions
14075 Sat Feb 8 09:30:22 1992 James Clark (jjc at jclark)
14077 * macros/tmac.s (PS): Don't try to set negative indent.
14079 Thu Feb 6 09:00:35 1992 James Clark (jjc at jclark)
14081 * pic/pic.y: Fix min function.
14083 Tue Jan 28 07:52:29 1992 James Clark (jjc at jclark)
14085 * man/mdate.sh: Clear LANGUAGE.
14087 Sun Jan 19 13:02:41 1992 James Clark (jjc at jclark)
14089 * pic/pic.y, pic/lex.c: Rename COMMAND token to COMMAND_LINE.
14090 * pic/lex.c: New COMMAND keyword.
14091 * pic/pic.y (print_args, print_arg): New rules.
14092 (placeless_element): Use print_args for PRINT.
14093 New COMMAND element.
14095 Tue Jan 7 13:14:31 1992 James Clark (jjc at jclark)
14097 * troff/input.c (terminal): Handle missing argument correctly.
14099 * pic/pic.y (text_expr): New rule.
14101 * pic/pic.y: Implement := operator.
14103 Sun Jan 5 10:23:02 1992 James Clark (jjc at jclark)
14105 * etc/grog.pl, etc/grog.sh: Distinguish old and new versions of
14108 Sat Jan 4 14:42:26 1992 James Clark (jjc at jclark)
14110 * ps/devps/dingbatsrmap: Include this in the distribution.
14112 * macros/tmac.doc: Replace with new version from 2nd Networking
14113 Release. Fix loading of doc-* files.
14114 * macros/{doc-common,doc-ditroff,doc-nroff,doc-syms}: New files.
14115 * macros/tmac.doc.old: New file. Apply fixes that had been
14116 applied to old tmac.doc.
14117 * macros/tmac.andoc: Check that we're running under groff.
14118 * macros/Makefile: Rework.
14120 Fri Jan 3 13:27:51 1992 James Clark (jjc at jclark)
14122 * tbl/table.h (format_type):
14123 * refer/token.h (token_type): If NESTED_TYPES is defined, use
14124 typedef to make these types visible at file scope.
14125 * Makefile: Add NESTED_TYPES configuration option.
14127 * troff/div.c (mark): At the top level use the value of
14128 nl_reg_contents rather than the current vertical position.
14130 Thu Jan 2 10:34:51 1992 James Clark (jjc at jclark)
14132 * tty/tty.c: Implement \D for horizontal or vertical lines.
14133 (tty_printer::set_char): Use vec_used+2 as serial number.
14134 Don't allow size of vector to exceed USHRT_MAX-2.
14135 Split off part into...
14136 (tty_printer::add_char): New function.
14137 (tty_printer::draw): New function.
14138 (compare_glyph): Handle equal serial numbers.
14139 (tty_printer::end_page): Handle overstruck characters from \D.
14140 (main, usage): Implement -d option.
14142 Mon Dec 23 10:37:51 1991 James Clark (jjc at jclark)
14144 * tbl/main.c (process_format):
14145 * eqn/text.c (split_text):
14146 * troff/input.c (token::next): Use inner block for declarations
14147 with initializers in switch statement.
14149 Mon Dec 16 20:52:03 1991 James Clark (jjc at jclark)
14151 * pic/common.c (common_output::dash_line): Cope with zero-length
14154 Sun Nov 17 12:04:08 1991 James Clark (jjc at jclark)
14156 * Version 1.04 released.
14158 Wed Nov 13 05:27:21 1991 James Clark (jjc at jclark)
14160 * macros/tmac.an (TH): Define a macro an-init to define variables
14161 based on command line arguments.
14162 (an-header): Call it.
14164 Sun Nov 3 12:07:34 1991 James Clark (jjc at jclark)
14166 * Makefile (install.mm): Rename to install.dwbmm.
14168 * Makefile: Integrate mm.
14169 * mm: New directory.
14171 Wed Oct 30 10:11:34 1991 James Clark (jjc at jclark)
14173 * refer/dirnamemax.c: If PATHCONF_MISSING is defined, include
14176 * pic/troff.c (troff_output::simple_spline,
14177 troff_output::simple_polygon): Rename variable `v' to `d' to avoid
14178 shadowing parameter.
14180 * lib/tmpfile.c (xtmpfile): Declare dir as const char *.
14182 * lib/ptable.h: Add explicit casts when converting from unsigned
14185 * dvi/devdvi/{SA,SB,msam.map,msbm.map}: New files.
14186 * dvi/devdvi/Makefile: Install SA, SB.
14188 * refer/indxbib.c: Add declaration of mktemp.
14190 * refer/lookbib.c: Add declaration of isatty.
14192 Fri Oct 25 09:00:17 1991 James Clark (jjc at jclark)
14194 * pic/lex.c (interpolate_macro_with_args): While collecting
14195 arguments, keep track of whether we're in a string.
14197 Wed Oct 23 08:42:48 1991 James Clark (jjc at jclark)
14199 * ps/tmac.ps (PSPIC): Do the .sp after the \X, and move the \X
14200 down with \v, so as to avoid problems with top of page trap
14201 setting no space mode.
14203 Tue Oct 22 17:38:49 1991 James Clark (jjc at jclark)
14205 * eqn/lex.c (get_delimited_text): Allow tab before macro body.
14207 Tue Oct 15 17:24:53 1991 James Clark (jjc at jclark)
14209 * ps/psrm.c (ps_get_line): Fix bug when lines longer than 255.
14210 Improve error message.
14212 Fri Oct 11 11:09:38 1991 James Clark (jjc at jclark)
14214 * ps/psrm.c (print_ps_string): Don't pass negative numbers to
14217 Wed Oct 9 17:50:14 1991 James Clark (jjc at jclark)
14219 * groff.c (possible_command::execp): Always use _exit() after a
14222 * Makefile: Add HAVE_UNION_WAIT, HAVE_PID_T, WAIT_COREDUMP_0200,
14223 NO_SYS_WAIT_H configuration options.
14224 * groff.c: Use these options. Use POSIX-style macros to extract
14225 fields from the status returned by wait().
14227 Fri Oct 4 12:12:27 1991 James Clark (jjc at jclark)
14229 * tbl/table.c (table::compute_separation_factor): Allow the
14230 separation factor to drop to 0.
14232 Tue Oct 1 18:12:38 1991 James Clark (jjc at jclark)
14234 * refer/search.c: Include <errno.h>.
14236 Sun Sep 29 08:40:57 1991 James Clark (jjc at jclark)
14238 * pic/pic.y (YYDEBUG): Don't define for Borland C++.
14240 * lib/lib.h: #ifdef out declarations of itoa and iftoa for Borland
14243 * pic/lex.c (input_stack::bol): Move definition out of class body.
14245 * pic/main.c: On MSDOS munge argv[0].
14247 * lib/ptable.h: Define name2 as _Paste2 for Borland C++.
14249 * lib/ptable.c (hash_string): Use unsigned long rather than
14251 (next_ptable_size): Use unsigned rather than int. Give an error
14252 message if we've hit the largest table size.
14253 * lib/ptable.c: Corresponding changes. Also use unsigneds for the
14256 * pic/object.h (object_spec): Make flags unsigned long. Declare
14257 flags as const unisgned long rather than as enums.
14259 * pic/output.c: Deleted.
14261 * pic/troff.c (troff_output::simple_ellipse): Remove spurious %.
14263 * tbl/table.c (simple_entry::note_double_vrule_on_{left,right}):
14264 Add additional argument.
14265 (line_entry::note_double_vrule_on_{left,right}): Set value of
14266 douvle_vrule_on_{right,left} flag according to argument.
14267 (simple_line_entry::simple_print,
14268 simple_line_entry::double_line_print): If adjacent to double vrule
14269 on a corner extend rather than shorten the rule by half the double
14272 * troff/number.c (parse_term): In checking for overflow, handle the
14273 case where the current horizontal position is negative.
14275 Thu Sep 12 08:26:09 1991 James Clark (jjc at jclark)
14277 * pic/object.c (draw_arrow): Check for object having zero length.
14279 Wed Sep 11 10:32:38 1991 James Clark (jjc at jclark)
14281 * eqn/main.c (do_file): Split off inline equation handling into...
14282 (inline_equation): New function. Search for starting delimiter
14284 (delim_search): New function. Don't recognize a delimiter that
14285 occurs in the name of an escape sequence, number register, string
14288 Tue Sep 10 04:01:11 1991 James Clark (jjc at jclark)
14290 * eqn/delim.c (delim_box::compute_metrics): Don't call
14291 define_extensible_string if left is 0.
14292 (delim_box::output): Don't print the left delimiter if left is 0.
14293 (delim_box::debug_print): Check for left == 0 before calling printf.
14295 Fri Aug 23 13:02:30 1991 James Clark (jjc at jclark)
14297 * troff/Makefile (majorminor.c): Include only digits in
14300 Thu Aug 22 09:35:37 1991 James Clark (jjc at jclark)
14302 * refer/dirnamemax.c: new file.
14303 * refer/genlimits.c: Deleted.
14304 * refer/indxbib.c (main): Use dir_name_max() instead of NAME_MAX.
14305 Don't check path length.
14306 * refer/Makefile: Add dir_name_max.o; delete genlimits.
14307 * Makefile: Add PATHCONF_MISSING option.
14309 * refer/indxbib.c (get_cwd): New function.
14310 (main): Use get_cwd().
14311 * lib/getcwd.c: New file.
14312 * Makefile: Delete -DHAVE_GETWD. Include GETCWD variable. Pass
14313 GETCWD in SUBFLAGS.
14314 * lib/Makefile: Compile getcwd.o.
14316 * ps/tmac.psatk (psatk-defs): Define showpage after pushing
14319 * refer/indxbib.c (main): Check success of mktemp.
14321 * lib/tmpfile.c: New file.
14322 * lib/Makefile: Add tmpfile.c.
14323 * lib/lib.h: Declare xtmpfile(); include <stdio.h>.
14324 * ps/ps.h: Delete declaration of mktemp().
14325 * ps/ps.c (ps_printer::ps_printer): Use xtmpfile().
14326 * refer/refer.c (divert_to_temporary_file): Use xtmpfile().
14327 * driver/driver.h: No need now to include errno.h.
14329 * everywhere: Set errno to 0 before calling fopen().
14331 * eqn/eqn.h, etc/soelim.c, driver/driver.h, etc/addftinfo.c,
14332 dvi/tfmtodit.c, groff.c, refer/index.c, refer/linear.c,
14333 refer/lookbib.c, refer/refer.h, ps/psbb.c: Include <errno.h>.
14335 Mon Aug 19 10:52:18 1991 James Clark (jjc at jclark)
14337 * troff/env.h (translate_space_to_dummy): Declare it.
14338 * troff/env.c (environment::space_newline, environment::space):
14339 If translate_space_to_dummy is set then make the width of spaces 0.
14340 * troff/input.c (translate): If the second character of a
14341 translation is a space, translate to unbreakable space. If the
14342 first character is a space, set or clear translate_space_to_dummy
14343 according to whether the second character is \&. Weird!
14345 Tue Jul 30 10:03:56 1991 James Clark (jjc at jclark)
14347 * groff.c (run_commands): Don't use non-zero exit code because a
14348 command gets SIGPIPE.
14350 * groff.c, groff.sh: Use -mXps with -TXps.
14352 * ps/ps.c (ps_printer::special): Move call to flush_sbuf() into...
14353 (ps_printer::do_exec, ps_printer::do_file, ps_printer::do_def,
14354 ps_printer::do_mdef, ps_printer::do_import): Call flush_sbuf().
14355 (ps_printer::special): New specials invis and endinvis.
14356 (ps_printer::do_invis, ps_printer::do_endinvis): New functions.
14357 (ps_printer::set_char, ps_printer::draw): Return if invis_count>0.
14358 (ps_printer::end_page): Check that invis_count == 0.
14359 (ps_printer::invis_count): New member.
14360 (ps_printer::ps_printer): Initialize invis_count to 0.
14362 * troff/env.c (environment::hyphenate_line): Hyphenation
14363 indicator at beginning of word inhibits splitting after -, \(em
14366 * pic/pic.y (element): Allow another element to follow } without
14367 any intervening separator.
14369 Mon Jul 22 12:27:37 1991 James Clark (jjc at jclark)
14371 * pic/lex.c (get_delimited): Allow tabs before delimiter.
14373 Wed Jul 17 10:59:08 1991 James Clark (jjc at jclark)
14375 * groff.c: Get rid of HAVE_UNION_WAIT stuff. Instead suppress
14376 declaration of wait() in header files.
14377 * Makefile: Get rid of -DHAVE_UNION_WAIT.
14379 * tbl/table.c (alphabetic_text_entry::add_tab): New function.
14381 * lib/lib.h: Declare return type of strerror as char *.
14383 * man/Makefile: Add g flag to sed substitutions.
14384 * Makefile (shgroff, bindist): Likewise.
14386 Sun Jul 14 11:57:02 1991 James Clark (jjc at jclark)
14388 * ps/ps.c (ps_printer::do_import): Move push of userdict into...
14389 * ps/devps/prologue (PBEGIN): Define showpage after pushing
14392 Sat Jul 13 20:53:04 1991 James Clark (jjc at jclark)
14394 * ps/devps/prologue (PBEGIN): Zap any definition of showpage in
14397 Fri Jul 12 07:10:09 1991 James Clark (jjc at jclark)
14399 * man/mdate.sh: Handle the fact that BSD ls -l does not print the
14402 Sun Jul 7 08:00:23 1991 James Clark (jjc at jclark)
14404 * troff/input.c (define_number_reg): If currently undefined,
14405 don't define it if the argument is an invalid expression.
14407 * Makefile: Ignore return value of `if' commands without `else'
14410 * Makefile: Split up CPPDEFINES into a series of separate
14411 configuration options.
14413 * troff/input.c (init_registers): Use time_t instead of long
14414 unless LONG_FOR_TIME_T is defined. Use returned result rather
14415 than passing pointer.
14416 * Makefile: Document LONG_FOR_TIME_T as a CPPDEFINE.
14418 * lib/Makefile (fontpath.h): Use gendef.
14420 Thu Jul 4 09:48:05 1991 James Clark (jjc at jclark)
14422 * troff/input.c (input_iterator::shift): Delete argument name.
14423 * troff/node.c (suppress_output_file::really_begin_page,
14424 suppress_output_file::really_transparent_char, node::ascii_print,
14425 node::tprint): Delete names of unused arguments.
14427 Wed Jul 3 17:34:57 1991 James Clark (jjc at jclark)
14429 * refer/label.y (string): Pass $4 to command_error.
14431 Tue Jul 2 15:06:01 1991 James Clark (jjc at jclark)
14433 * Version 1.03 released.
14435 Sat Jun 29 08:14:01 1991 James Clark (jjc at jclark)
14437 * Makefile: Pass definition of SHELL in SUBFLAGS.
14439 * gendef: New file.
14440 * Makefile, eqn/Makefile, refer/Makefile, troff/Makefile,
14441 ps/Makefile: Use gendef to construct header files that are
14442 constructed from the Makefile.
14444 * macros/Makefile: make all should build stripped version of tmac.e.
14446 * refer/Makefile (clean): Remove y.output.
14448 Fri Jun 28 09:44:36 1991 James Clark (jjc at jclark)
14450 * ps/pfbtops.c (main): Add -v option which prints out a version
14452 * ps/Makefile (pfbtops): Link with libgroff.a.
14454 Fri Jun 21 07:43:23 1991 James Clark (jjc at jclark)
14456 * refer/search.h (linear_searcher::get_nkeys): Delete declaration.
14457 * refer/linear.c (linear_searcher::get_nkeys): Delete definition.
14459 * refer/lkbib.c (main): Always terminate reference with blank
14461 * refer/lookbib.c (main): Likewise.
14463 * refer/linear.c (file_buffer::load): Check that the file is not a
14466 * refer/Makefile (genlimits): Possibly add -DHAVE_SYS_DIR_H.
14467 (genlimits.c): Include <sys/dir.h> if HAVE_SYS_DIR_H is defined.
14468 Delete second inclusion of <sys/param.h>.
14470 Tue Jun 18 01:32:26 1991 James Clark (jjc at jclark)
14472 * troff/token.h (token::special): Deleted.
14474 * tbl/main.c (process_format): Rework so that opt->tab_char is
14475 recognized only when appropriate.
14477 * ps/Makefile (clean): Remove pfbtops.
14479 Sun Jun 16 09:37:19 1991 James Clark (jjc at jclark)
14481 * lib/font.c (text_file::next): Don't return if we have got a
14484 Fri Jun 14 09:52:26 1991 James Clark (jjc at jclark)
14486 * refer/refer.c (store_reference): Get hash code from old_table[i]
14487 when rehashing the table.
14489 Thu Jun 13 01:26:43 1991 James Clark (jjc at jclark)
14491 * eqn/box.c (box::top_level): Save size and prev size using \R and
14492 restore it afterwards. Set the size to the size at the beginning
14494 * eqn/pbox.h: Declare SAVED_INLINE_PREV_SIZE_REG,
14495 SAVED_INLINE_SIZE_REG, and SAVED_SIZE_REG.
14497 * refer/Makefile (limits.h): Use ./genlimits.
14499 Wed Jun 12 16:05:34 1991 James Clark (jjc at jclark)
14501 * refer/index.c: Delete declarations of stat() and fstat().
14503 Tue Jun 11 14:52:49 1991 James Clark (jjc at jclark)
14505 * tty/tmac.tty: Add character definitions for \(>= and \(<=.
14507 Mon Jun 10 22:49:48 1991 James Clark (jjc at jclark)
14509 * etc/grog.sh, etc/grog.pl: Change regex for .PS.
14511 Fri Jun 7 09:13:06 1991 James Clark (jjc at jclark)
14513 * troff/input.c (token::get_char): Handle \e.
14515 * refer/linear.c: Delete declarations of fstat() and stat().
14517 Wed Jun 5 09:11:59 1991 James Clark (jjc at jclark)
14519 * troff/node.c, troff/env.c, troff/input.c, Makefile: Remove
14520 OP_DELETE_BROKEN stuff, since we now have a fix for g++.
14522 Mon Jun 3 13:41:32 1991 James Clark (jjc at jclark)
14524 * troff/input.c (do_define_macro): Improve error handling for end
14525 of file while defining macro.
14527 Sun Jun 2 10:20:24 1991 James Clark (jjc at jclark)
14529 * eqn/box.h: Fix declaration of set_gsize.
14530 * eqn/box.c (set_gsize): Make argument const char *.
14531 (gsize): Declare as char *.
14532 * eqn/main.c (main): Don't convert gsize to int.
14533 * eqn/lex.c (do_gsize): Pass char * to set_gsize.
14535 * Version 1.02 released.
14537 Sat Jun 1 12:19:46 1991 James Clark (jjc at jclark)
14539 * macros/tmac.andoc: New file.
14540 * macros/Makefile: Install tmac.andoc.
14542 * troff/node.c, troff/env.c, troff/input.c: Conditionalize use of
14543 operator new and delete on OP_DELETE_BROKEN not being defined.
14544 * Makefile: Mention OP_DELETE_BROKEN.
14546 Mon May 27 13:49:07 1991 James Clark (jjc at jclark)
14548 * Makefile (bindist): Pass SUBFLAGS.
14550 Sun May 26 14:13:22 1991 James Clark (jjc at jclark)
14552 * Makefile, groff.c: Pass definitions to groff.c via device.h.
14554 * tty/tty.c (tty_font::load_tty_font): Avoid shadowing
14557 * ps/Makefile, ps.c: Pass BROKEN_SPOOLER_FLAGS via broken.h.
14559 * ps/ps.h, ps/psrm.c: Make comment_table and
14560 header_comment_table local to resource_manager::process_file.
14562 * groff.sh: With -TXps pass -printCommand option to gxditview.
14564 * groff.c (possible_command::print): Implement using
14565 append_arg_to_string.
14567 * xditview: Merge in new implementation with own ChangeLog.
14569 Sat May 25 18:33:20 1991 James Clark (jjc at jclark)
14571 * groff.c (main): Implement PRINT_OPTION.
14572 (append_arg_to_string): New command.
14573 (device_table): Set PRINT_OPTION flag for Xps.
14575 Fri May 24 09:48:58 1991 James Clark (jjc at jclark)
14577 * troff/groff.h: Rename to troff.h.
14579 * pic/lex.c (lookup_keyword, docmp): New functions.
14580 (get_token): Use new lookup_keyword.
14581 Don't include key.h.
14582 * pic/key.[ch], pic/pic.gperf: Deleted.
14583 * pic/Makefile: Remove gperf stuff.
14585 * pic/Makefile, pic/output.h: Move definition of TEX_SUPPORT
14587 * pic/tex.c: Move include of pic.h before test of TEX_SUPPORT.
14589 * troff/Makefile, troff/node.c: Move definition of
14590 STORE_WIDTH into node.c.
14592 * etc/grog.pl, etc/grog.sh: Support -mdoc.
14594 Thu May 23 12:30:49 1991 James Clark (jjc at jclark)
14596 * dvi/devdvi/texr.map, dvi.devdvi/texi.map,
14597 dvi/devdvi/texb.map: Add lq and rq.
14598 dvi/devdvi: Regenerate fonts.
14599 * ps/devps/textmap: Add lq and rq.
14600 * ps/devps: Regenerate fonts.
14601 * tty/devascii/R.proto, tty/devlatin1/R.proto: Add lq and rq.
14602 * macros/tmac.e: Define \*(lq and \*(rq to be \(lq and \(rq.
14604 * pic/object.c (position_rectangle): When checking radius
14605 cope with possiblity that width or height is negative.
14606 (box_object::box_object): Have separate xrad and yrad with
14607 signs matching signs of dim components.
14608 (box_object::{north,south}_{east,west}): Use xrad and yrad.
14609 (box_object::print): With rounded boxes use absolute values
14610 for dim and rad arguments.
14612 * lib/Makefile, lib/fontfile.o: Pass definition of FONTPATH
14615 * eqn/Makefile, eqn/main.c: Pass definition of DEVICE in device.h.
14617 * various files: Add explicit destructors to keep Saber CC +d
14620 Wed May 22 11:37:11 1991 James Clark (jjc at jclark)
14622 * eqn/box.c (box::top_level): Restore fonts correctly after
14623 font changes in line containing inline equation. Also
14624 restore previous font as well as current font.
14625 * eqn/pbox.h: Define necessary string and register names.
14627 * troff/input.c (token::next): Case 'R' calls do_register.
14628 (do_register): New function.
14630 Tue May 21 11:28:23 1991 James Clark (jjc at jclark)
14632 * groff.c, groff.sh: Support Xps device. Allow each device
14633 to have a pseudo_name and a real_name.
14635 * groff.c (run_commands): Don't print `Broken pipe' messages.
14637 * ps/pfbtops.c: New file.
14638 * ps/Makefile: Add pfbtops.
14640 * troff/number.c (parse_term): Improved error message.
14642 Mon May 20 11:22:14 1991 James Clark (jjc at jclark)
14644 * groff.c, groff.sh, etc/grog.sh, etc/grog.pl: Support grefer.
14646 * Makefile: Integrate refer.
14647 * refer: New directory.
14648 * man/grefer.man, man/glookbib.man, man/gindxbib.man,
14649 man/lkbib.man: New files.
14650 * man/Makefile: Support refer man pages.
14652 * lib/lib.h: Declare is_prime.
14653 * lib/prime.c: New file.
14655 * troff/input.c (macro_source): New function.
14656 (init_input_requests): Bind "mso" to macro_source.
14658 * troff/env.c (environment::possibly_break_line): Maintain
14659 pointer to pointer to node to be split in ndp so as to avoid
14660 using address of freed node.
14662 * troff/env.c (environment::hyphenate_line): Maintain pointer to
14663 pointer to first node to be hyphenated in startp so as to
14664 avoid using address of freed node.
14666 * troff/env.c (class trie, class hyphen_trie): Make the
14667 elements of the trie be of type char not unsigned char.
14668 Declare arguments to be const char* instead of unsigned char *.
14670 * troff/env.c (hyphenate): Initialize hbuf[0].
14672 * troff/input.c (set_string): Declare p to be char * and cast
14673 *p to unsigned char when necessary.
14675 * troff/input.c (do_define_macro): Declare s to be const
14676 char*. Cast element to unisgned char when necessary, Declare
14677 d to be an int. Handle EOF better.
14679 * troff/Makefile, troff/input.c: Different scheme for passing
14680 definitions of MACROPATH, HYPHENFILE and DEVICE.
14682 Tue May 14 13:41:36 1991 James Clark (jjc at jclark)
14684 * tty/devascii/R.proto: Delete entry for em.
14685 * tty/devlatin1/R.proto: Likewise.
14687 Sat May 11 11:13:28 1991 James Clark (jjc at jclark)
14689 * troff/input.c (translate): Stop when we get a space. Treat eof
14692 * macros/tmac.an (IP): Only pass quoted argument to TP when \n(.$>1.
14694 Wed Apr 24 19:24:33 1991 James Clark (jjc at jclark)
14696 * tbl/main.c (process_format): A font name following a `f'
14697 modifier that starts with a digit can be only one character long.
14698 Also deal with EOF on the second character of the font name.
14700 Wed Apr 17 11:23:43 1991 James Clark (jjc at jclark)
14702 * troff/input.c (token::next): Turn \~ into an
14703 unbreakable_space_node.
14704 * troff/node.c (unbreakable_space_node): New class.
14705 * troff/node.h: Declare it.
14707 Tue Apr 16 10:47:12 1991 James Clark (jjc at jclark)
14709 * dvi/dvi.c (dvi_printer::set_char): Make code an int. Check that
14710 it's >= 0, before outputting it as a single byte.
14712 Mon Apr 15 11:20:23 1991 James Clark (jjc at jclark)
14714 * lib/font.c: Make font_char_metric::code an int.
14715 (font::get_code): Change return type to int.
14716 (font::load): Allow code to be arbitrary integer.
14717 * lib/font.h (font::get_code): Change return type to int.
14718 (font::number_to_index): Change argument type to int.
14719 * troff/input.c (token::next): In case 'N', allow any value.
14720 Store value in token::val.
14721 (token::operator==): For TOKEN_NUMBERED_CHAR test equality of val.
14722 (token::get_char, token::add_to_node_list, token::process): Get
14724 (charinfo::set_number): Change argument to int.
14725 (charinfo::get_number): Require that NUMBERED flag be set.
14726 (get_charinfo_by_number): Store numbered characters not between 0
14727 and 255 in a dictionary.
14728 * troff/charinfo.h (get_charinfo_by_number): Change argument type
14730 (charinfo::number): Change type to int.
14731 (charinfo::set_number): Change type of set_number to int.
14732 * troff/node.c (troff_output_file::put_char_width,
14733 troff_output_file::put_char): Test whether character is numbered
14734 using charinfo::numbered().
14735 * driver/printer.c (printer::set_numbered_char): Allow arbitrary
14737 * lib/nametoindex.c: New implementation to cope with arbitrary
14740 * troff/input.c (token::operator==): Test val for
14741 TOKEN_CHAR_HEIGHT, TOKEN_CHAR_SLANT, TOKEN_FONT_POSITION, and
14744 * man/Makefile: Add definiton of BROKEN_SPOOLER_FLAGS.
14745 (.man.n): sed out @BROKEN_SPOOLER_FLAGS@.
14747 Sun Apr 14 12:57:00 1991 James Clark (jjc at jclark)
14749 * ps/devps/zapfdr.ps: Don't copy UniqueID. Avoid use of newdict
14752 * all Makefiles: rm targets of cp and >.
14754 * xditview/xtotroff.c (MapFont): Unlink troff_name before opening
14757 * eqn/lex.c (def_table): Add dollar.
14759 Sat Apr 13 13:02:44 1991 James Clark (jjc at jclark)
14761 * troff/input.c (do_width): Push back newline before closing delim
14764 Fri Apr 12 15:16:03 1991 James Clark (jjc at jclark)
14766 * groff.c (possible_command::prepend_arg): New function.
14767 (main): Prepend device -m option.
14768 * groff.sh: Put device -m options before command-line options.
14770 Tue Apr 9 10:24:43 1991 James Clark (jjc at jclark)
14772 * macros/tmac.an (IP): Quote argument to TP.
14774 * ps/ps.c (main): New option -b, which sets...
14775 (broken_flags): New variable.
14776 (ps_printer::~ps_printer): Incorporate the setup section in the
14777 prolog if (broken_flags & NO_SETUP_SECTION).
14778 (ps_printer::begin_page): Generate {Begin,End}PageSetup comments.
14779 (ps_printer::merge_download_fonts, ps_printer::merge_import_fonts,
14780 ps_printer::merge_ps_fonts, ps_printer::print_font_comment,
14781 ps_printer::print_needed_font_comment,
14782 ps_printer::print_supplied_font_comment,
14783 ps_printer::print_include_font_comments,
14784 ps_printer::lookup_doc_font, ps_printer::download_fonts,
14785 ps_printer::read_download_file, read_document_fonts, add_font,
14786 skip_line, parse_fonts_arg, document_font::document_font,
14787 document_font::~document_font, document_font::download,
14788 ps_output::include_file): Deleted.
14789 (ps_printer::~ps_printer): Generate %%EOF. Generate %!PS-Adobe-3.0
14790 rather than %!PS-Adobe-2.0. Make calls to
14791 resource_manager::need_font for each font that we used. Replace
14792 calls to merge_ps_fonts, merge_download_fonts, print_font_comment,
14793 print_supplied_font_comment, print_needed_font_comment by call to
14794 resource_manager::print_header_comments. Output %%Orientation
14795 comment. Output %%Requirements: numcopies comment if ncopies > 1.
14796 Don't output the prolog directly. Instead call
14797 resource_manager::output_prolog. Only define #copies when ncopies
14798 > 1. Delete calls to print_include_font_comments and
14799 download_fonts. Add call to resource_manager::document_setup.
14800 (ps_printer::do_file): Call resource_manager::import_file instead
14801 of including it ourselves.
14802 (ps_printer::do_import): Likewise. Also don't call
14803 merge_import_fonts. Push userdict on the dictionary stack before
14804 and pop it afterwards.
14805 Move declaration of ps_output into ps.h.
14806 * ps/psrm.c: New file implementing resource_manager class.
14807 * ps/ps.h: New file declaring ps_output and resource_manager
14809 * ps/devps/zapfdr.ps:
14810 * ps/devps/symbolsl.ps:
14811 * ps/devps/prologue: Use 3.0 conventions.
14812 * ps/Makefile: Pass definition of BROKEN_SPOOLER_FLAGS in DEFINES.
14813 Add default definition of BROKEN_SPOOLER_FLAGS.
14814 * Makefile: New variable BROKEN_SPOOLER_FLAGS. Add
14815 BROKEN_SPOOLER_FLAGS to SUBFLAGS.
14817 Mon Apr 8 09:26:54 1991 James Clark (jjc at jclark)
14819 * etc/grog.pl: New file.
14820 * Makefile (GROG): New variable.
14821 Add GROG to SUBFLAGS.
14822 * etc/Makefile (GROG): New variable.
14823 (install.nobin): Install $(GROG) rather than grog.sh.
14825 Thu Apr 4 11:36:45 1991 James Clark (jjc at jclark)
14827 * eqn/special.c (special_box::compute_metrics): Make the input and
14828 output strings the same. Get the new height and depth from the
14829 predefined height and depth registers. Also make subscript kern
14830 and skew available.
14831 (special_box::compute_subscript_kern, special_box::compute_skew):
14834 * eqn/box.c (pointer_box::compute_skew,
14835 simple_box::compute_metrics, box::top_level)
14836 * eqn/text.c (prime_box::compute_metrics,
14837 prime_box::comput_subscript_kern)
14838 * eqn/limit.c (limit_box::compute_metrics):
14839 * eqn/delim.c (build_extensible, delim_box::compute_metrics):
14840 * eqn/sqrt.c (sqrt_box::compute_metrics): Protect possibly
14841 negative numbers in `nr' requests with a leading 0.
14843 Wed Apr 3 15:58:23 1991 James Clark (jjc at jclark)
14845 * eqn/special.c: New file.
14846 * eqn/eqn.y: Declare token SPECIAL. Make it right associative.
14847 Add new rule for simple.
14848 * eqn/lex.c (token_table): Add SPECIAL.
14849 * eqn/box.h: Declare make_special_box.
14850 * eqn/Makefile: Add special.[co].
14852 Sat Mar 30 10:57:53 1991 James Clark (jjc at jclark)
14854 * ps/devps/prologue: Possibly set packing to true while defining.
14855 Create grops dictionary here. Initialize local variables before
14856 defining procedures.
14857 (PICTURE): Rename to PBEGIN. Also do save, noop showpage, count
14858 the dictionary stack. Set strokeadjust and overprint to false if
14859 the relevant operators are defined.
14860 (PEND): New procedure.
14861 * ps/ps.c (ps_printer::~ps_printer): In the prolog just include
14862 prologue. Do everything else in the setup section.
14863 (ps_printer::do_import): Just call PBEGIN and PEND around the
14864 picture. Also push userdict before, and pop it afterwards.
14866 Wed Mar 27 07:59:50 1991 James Clark (jjc at jclark)
14868 * troff/node.c (bracket_node::tprint): Brackets were being printed
14871 * macros/tmac.an (SH, SS): Set fill mode.
14873 Tue Mar 26 07:46:31 1991 James Clark (jjc at jclark)
14875 * troff/div.c (top_level_diversion::begin_page): Set
14876 high_water_mark to 0.
14878 Fri Mar 22 09:19:46 1991 James Clark (jjc at jclark)
14880 * man/mdate.sh: New file.
14881 * man/mdate.c: Deleted.
14882 * man/Makefile: Use mdate.sh instead of mdate.
14885 * eqn/lex.c (do_gsize): Supply missing argument to error message.
14887 Tue Mar 19 11:06:50 1991 James Clark (jjc at jclark)
14889 * man/mdate.c: New file.
14890 * man/*.man: Replace modification date by @MDATE@.
14891 * man/Makefile (.man.n): Replace @MDATE@ by `mdate $<`.
14892 (mdate): New target.
14894 * lib/font.c (text_file::next): Deal with arbitrarily long lines.
14895 Remove illegal input characters.
14897 Mon Mar 18 08:32:25 1991 James Clark (jjc at jclark)
14899 * macros/tmac.s (pg*start-col): Do .ns *after* running the hooks.
14901 Sat Mar 16 03:52:25 1991 James Clark (jjc at jclark)
14903 * troff/div.c (begin_page): Change behaviour when
14904 !first_page_begun and !break_flag.
14906 * troff/input.c (do_name_test): Return 0 if argument is empty.
14908 * troff/input.c (read_long_escape_name): Require closing ] to be
14909 at same input level as opening [.
14911 * troff/input.c (read_increment_and_escape_name): New function.
14912 (get_copy, process_input_stack): Use this for \n.
14914 Fri Mar 15 00:31:48 1991 James Clark (jjc at jclark)
14916 * troff/div.c (top_level_diversion::begin_page): Ignore the
14917 current value of page_number if !first_page_begun.
14919 * groff.c (main): Fix declaration of buf.
14921 * troff/input.c (do_name_test): New function.
14922 (token::next): Implement \A.
14923 (token::next): Implement \e by turning it into a TOKEN_ESCAPE.
14924 (token::description, token::add_to_node_list, token::process):
14925 Handle TOKEN_ESCAPE.
14926 * troff/token.h: New token TOKEN_ESCAPE.
14928 Thu Mar 14 10:22:26 1991 James Clark (jjc at jclark)
14930 * pic/main.c (do_picture): Allow space before and after filename
14931 following `<'. Check that the filename is not empty.
14933 Wed Mar 13 12:49:40 1991 James Clark (jjc at jclark)
14935 * Version 1.01 released.
14937 * dvi/devdvi/CompileFonts: Add cm*ss10 fonts.
14939 * dvi/tmac.dvi: ftr HR to H.
14941 * macros/tmac.e: Round up computation of $r.
14943 * xditview/tmac.X: Don't give up completely in compatibility mode.
14944 Use \n(.s instead of \n[.s].
14946 * dvi/tmac.dvi: Don't give up completely in compatibility mode.
14947 Use \(ci instead of \[ci]. Use \n(.s instead of \n[.s].
14948 Add u to factors inside \s[...]. Rename frac to dvi-frac.
14949 Translate \(FM onto \[prime] and \(!/ onto \[slashnot]; use these
14950 short names in the char definitions.
14952 * ps/tmac.ps: Don't give up completely in compatibility mode.
14953 Fix the fraction definitions to use \n(.s and \(f/. Add an extra
14954 quote in front of \n(.s. Add u to factors inside \s[...].
14956 Mon Mar 11 12:01:20 1991 James Clark (jjc at jclark)
14958 * tty/tmac.tty: Call the nroff request.
14960 * macros/tmac.e ((x, )x): Better definitions that work properly
14962 (@0, @1): Helper macros for (x.
14964 * macros/tmac.e ($s, hl): Use \l rather than \D.
14966 * tty/tmac.tty: Make it work better in compatibility mode.
14967 (pchar): Rename to tty-char.
14969 * macros/tmac.e (@E): New macro.
14970 (r, i, b, rb, bi): Use @E.
14972 * macros/tmac.e (@F): Don't use (;...) syntax.
14974 * macros/tmac.e: Remove mention of \*(||/revisions. Mention that
14975 it was modified for groff.
14977 * macros/tmac.e: Make sure \n(ps and \n(es are >= \n(.V.
14979 * macros/tmac.e (<., .>): Removed.
14980 ([., .]): If \n(.V>=1v, use [] instead of superscripting.
14982 * macros/tmac.e: Remove check that groff is being used.
14984 * macros/tmac.e (@C): Change families only if using groff; turn
14985 compatibility mode off while changing familes. Save compatibility
14986 mode before changing families and restore it afterwards.
14988 * macros/tmac.e (@h): Remove test for offset + line length.
14990 * macros/tmac.e (sorry): Rename to @S. Use \$1 instead of \$0
14991 (lo, th, ac): Define to call @S instead of using als.
14993 * macros/tmac.e: Make $r and $R now contain \n(.v*100/\n(.sp, ie
14994 the ratio of the vertical spacing to the point size in units
14995 expressed as a percentage. Use these instead of $10r and $10R,
14996 Delete $10r and $10R.
14998 * lib/font.c (font::load): In default computation of space_width,
14999 divide by sizescale. Use scale_round.
15001 * macros/tmac.an (TP): Don't call `nf'.
15002 (an-do-tag): Don't call `fi'.
15004 Sun Mar 10 09:52:35 1991 James Clark (jjc at jclark)
15006 * troff/input.c (process_input_stack): Handle the case where
15007 spaces at the beginning of an input line are followed by a
15010 Thu Mar 7 20:18:07 1991 James Clark (jjc at jclark)
15012 * groff.c (device_table): Add PIC_X_OPTION for dvi device.
15013 * groff.sh: Use pic -x with the dvi device.
15015 * dvi/devdvi/FontMakefile (H): Don't use -s.
15017 * dvi/devdvi/HI, dvi/devdvi/HB: New files.
15018 * dvi/devdvi/Makefile: Add HI and HB to FONTS.
15019 * dvi/devdvi/FontMakefile: Add rules for HI and HB. Include these
15022 Mon Mar 4 13:20:14 1991 James Clark (jjc at jclark)
15024 * ps/psfig.diff: New file.
15025 * ps/tmac.psfig: New file.
15027 Sat Mar 2 00:15:09 1991 James Clark (jjc at jclark)
15029 * macros/tmac.s (]=, ref*do-tl, ref*bib-print): Deleted.
15030 (]-): Don't call ref*do-tl.
15032 * macros/tmac.s (ref*end-print): Use XP if [F not defined.
15034 * macros/tmac.s (ref*normal-print): Call FS rather than fn@do-FS.
15035 (fn@do-FS): Rename to fn*do-FS.
15037 * troff/input.c (transparent_translate): New function.
15038 (process_input_stack): Apply transparent_translate before calling
15039 diversion::transparent_output(unsigned char).
15041 Wed Feb 27 00:13:25 1991 James Clark (jjc at jclark)
15043 * troff/input.c (do_define_macro): Define the macro before calling
15046 * xditview/Makefile: Add DEVICES variable. Change install target
15049 Tue Feb 26 10:46:22 1991 James Clark (jjc at jclark)
15051 * groff.c (run_commands): Handle the possibility that there are
15052 child processes other than those forked by us.
15054 Sun Feb 24 21:32:30 1991 James Clark (jjc at jclark)
15056 * lib/string.c (string::append): New function.
15057 * lib/stringclass.h: Declare it.
15059 Thu Feb 21 11:49:26 1991 James Clark (jjc at jclark)
15061 * eqn/main.c (main): New option -N which sets
15062 no_newline_in_delim_flag.
15063 (do_file): If no_newline_in_delim_flag is set don't allow newlines
15065 * groff.c (main): Pass -N on to eqn.
15066 (help, synopsis): Mention -N.
15067 * groff.sh: Implement -N.
15069 Wed Feb 20 15:16:10 1991 James Clark (jjc at jclark)
15071 * macros/tmac.s (]=, ref*bib-print, ref*do-tl): New macros.
15072 (]-): Call ref*do-tl if ref*need-tl is non-zero.
15073 (XP): Allow as initializer.
15075 Tue Feb 19 14:09:06 1991 James Clark (jjc at jclark)
15077 * troff/env.c (environment::wrap_up_field): If field_spaces are
15078 non-zero and we have a current_tab, subtract padding from
15079 tab_distance. If this makes tab_distance <= 0, use the next tab
15080 stop instead. If there isn't any next tab or it's a left tab,
15081 wrap up the current tab.
15082 (environment::start_field): Initialize tab_precedes_field.
15083 (environment::wrap_up_tab): If there's a current field, update
15084 pre_field_width, field_distance and tab_precedes_field.
15085 * troff/env.h (environment::tab_precedes_field): New member.
15087 Fri Feb 15 01:24:00 1991 James Clark (jjc at jclark)
15089 * ps/ps.c (ps_printer::do_file): New function.
15090 (ps_printer::special): Bind to `file' special.
15091 (ps_printer::do_exec): Set ndefined_styles to 0.
15093 Sat Feb 9 03:03:04 1991 James Clark (jjc at jclark)
15095 * eqn/text.c (split_text): Grok \* and similar escapes sequences.
15096 Avoid stripping first character from the start of unrecognized
15097 escapes. Use lex_error instead of error to report errors.
15098 * eqn/lex.c (get_token): Rework handling of escapes.
15099 (lex_error): Move declaration into...
15102 * xditview/xditview.c (main): Make -page option work.
15104 * Makefile: Correct comment about -DBROKEN_SPOOLER and pageview.
15106 Wed Feb 6 12:28:43 1991 James Clark (jjc at jclark)
15108 * macros/tmac.s (B2): Correct size of box.
15110 Tue Feb 5 00:37:35 1991 James Clark (jjc at jclark)
15112 * macros/tmac.s (B2): Postpone drawing the box until in the
15113 top-level diversion.
15115 * tty/tmac.tty: Add font translations for C, CR, CW.
15117 * groff.c (synopsis, help): Document -i.
15118 * groff.sh: Implement -i.
15120 * macros/tmac.s (@NH): Put a `.' after multi-part numbers.
15121 Simplify the construction of SN.
15123 * troff/number.c (parse_term): Give `|' a higher precedence.
15124 * tbl/table.c (numeric_text_entry::simple_print): Parenthesise
15127 * macros/tmac.s (B2): Use par@finish instead of par@reset.
15129 Mon Feb 4 12:36:09 1991 James Clark (jjc at jclark)
15131 * lib/string.c (string::move): New function.
15132 * lib/stringclass.h: Declare it.
15134 Sat Feb 2 16:02:16 1991 James Clark (jjc at jclark)
15136 * troff/env.c (distribute_space): Add optional argument
15138 (environment::wrap_up_field): Call distribute_space with
15139 `force_forward' argument of 1.
15141 Fri Feb 1 19:36:33 1991 James Clark (jjc at jclark)
15143 * lib/string.c, lib/stringclass.h (string::operator+=(char)):
15144 Inline it. Move reallocation into...
15145 (string::grow1): New function.
15146 * pic/Makefile, tbl/Makefile, eqn/Makefile, ps/Makefile: Redo
15147 dependencies to include library header files.
15148 * lib/Makefile: Make string.c and lf.c depend on stringclass.h.
15150 Thu Jan 31 15:02:27 1991 James Clark (jjc at jclark)
15152 * macros/tmac.s (@NH): Use the same number registers than -ms does
15153 for the heading level counters. Use the same string that -ms does
15154 for the number for this heading.
15156 Wed Jan 30 14:25:40 1991 James Clark (jjc at jclark)
15158 * lib/new.c (operator new): Cast result of malloc to char *.
15160 * troff/input.c (spring_trap, lookup_request): Add assert that nm
15163 Tue Jan 29 18:08:05 1991 James Clark (jjc at jclark)
15165 * groff.c (main): Support -i.
15167 Sun Jan 27 13:23:17 1991 James Clark (jjc at jclark)
15169 * pic/pic.h: Include <osfcn.h>.
15171 * ps/ps.c: Add declaration of mktemp.
15173 * Makefile: Add -DHAVE_UNION_WAIT option for CPPDEFINES.
15174 * groff.c: If HAVE_UNION_WAIT is defined, declare wait()'s
15175 argument as union wait *.
15176 (run_commands): If HAVE_UNION_WAIT is defined cast wait()'s
15177 argument to union wait *.
15179 Sat Jan 26 12:04:52 1991 James Clark (jjc at jclark)
15181 * tty/tmac.tty: Add definition of \(co.
15183 * pic/object.c (make_arc): Only increase radius when radius
15184 strictly less than d.
15185 (arc_object::update_bounding_box): May need to add 4.0 to end_quad
15188 * troff/env.c (environment::environment(symbol),
15189 environment::environment(const environment *)): Initialize
15192 Sat Jan 19 08:18:35 1991 James Clark (jjc at jclark)
15194 * tbl/main.c (main): Add exit(0).
15196 * ps/ps.c (ps_printer::~ps_printer): Use fseek instead of rewind.
15198 * pic/main.c (main):
15199 * eqn/main.c (main):
15200 * tbl/main.c (main):
15201 * etc/soelim.c (main):
15202 * driver/printer.c (printer::~printer):
15203 * troff/node.c (real_output_file::~real_output_file,
15204 real_output_file::flush): Check for errors on stdout.
15206 * most files: Add 1991 to copyright notice.
15208 * macros/tmac.s: Don't test \n(.x and \n(.y.
15210 * troff/input.c (token::next): Rename `escape_char' label to
15211 `handle_escape_char' and `normal_char' label to
15212 `handle_normal_char'.
15214 Thu Jan 17 15:46:35 1991 James Clark (jjc at jclark)
15216 * groff.c (main, synopsis, help): Support -a option.
15217 * groff.sh: Likewise. Also eliminate Zflag variable by adding -z
15218 to trflags while parsing options.
15220 Tue Jan 15 13:07:27 1991 James Clark (jjc at jclark)
15222 * troff/number.c (parse_term): With `m', `M' and `n' scale
15223 indicators, convert scale factor to hunits before scaling.
15225 Mon Jan 14 12:39:12 1991 James Clark (jjc at jclark)
15227 * lib/font.c (scale_round): Better test for overflow when n is
15230 Thu Jan 10 11:10:56 1991 James Clark (jjc at jclark)
15232 * tbl/main.c (process_format): Add second argument of type
15233 options*. Change callers. Allow opt->tab_char as well as '\t'
15234 between format items.
15236 Mon Jan 7 12:30:18 1991 James Clark (jjc at jclark)
15238 * macros/tmac.an (PD): With no arguments, make sure register PD is
15240 (TH): Call PD with no argument, instead of setting register PD
15243 Sun Jan 6 11:18:39 1991 James Clark (jjc at jclark)
15245 * Version 1.00 released.
15247 Sat Jan 5 08:44:30 1991 James Clark (jjc at jclark)
15249 * ps/tmac.ps, xditview/tmac.X: Add font translation of C to CR.
15251 * dvi/devdvi/DESC: Mount CW instead of CR.
15253 * dvi/tmac.dvi: Add definition of \(tm.
15255 * dvi/devdvi/texsy.map: Add lh, and rh.
15256 * dvi/devdvi/texex.map: Add lt, rt, lb, rb, lk, rk.
15257 * dvi/devdvi/texmi.map: Add *o. Regenerate fonts.
15259 * dvi/devdvi/FontMakefile: Generate H from cmss10.
15260 * dvi/devdvi/Makefile: Install H.
15261 * dvi/devdvi/H: New file.
15263 Fri Jan 4 15:04:57 1991 James Clark (jjc at jclark)
15265 * troff/env.c (vertical_spacing): Don't allow vertical spacing to
15268 Thu Jan 3 13:41:19 1991 James Clark (jjc at jclark)
15270 * macros/tmac.s (@EN): Add \n(.V to the argument to ds@need.
15272 * macros/tmac.pic (PS): Avoid attempting to set negative indent.
15274 * macros/tmac.s (@EN): Handle the case where the equation is empty
15275 but the label is not.
15277 Wed Jan 2 10:31:44 1991 James Clark (jjc at jclark)
15279 * troff/groff.h: New warning category WARN_SPACE.
15280 * troff/input.c: Add WARN_SPACE to DEFAULT_WARNING_MASK. Add
15281 WARN_SPACE to warning_table.
15282 (interpolate_macro): Give a warning of type WARN_SPACE if the name
15283 is longer than two characters and is not defined, but the first
15284 two characters do make a defined name.
15286 * PROBLEMS: New file.
15288 * CHANGES: New file.
15289 * README-0.6, README-1.00: Deleted.
15291 * groff.c, groff.sh: Add X75-12 and X100-12 devices.
15292 * xditview/devX75/Makefile: Make devX75-12.
15293 * xditview/devX100/Makefile: Make devX100-12.
15295 * xditview/devX100/eqnchar, xditview/devX75/eqnchar,
15296 dvi/devdvi/eqnchar, ps/devps/eqnchar: Remove use of \R.
15298 Tue Jan 1 19:24:01 1991 James Clark (jjc at jclark)
15300 * README-0.7: Rename to README-1.00.
15302 * macros/tmac.pic: New file.
15303 * macros/Makefile (install.nobin): Install tmac.pic.
15305 Mon Dec 31 10:40:53 1990 James Clark (jjc at jclark)
15307 * troff/env.c (hyphen_word): Correct the test for whether the
15308 token is a hyphen. Reset npos to 0.
15310 * macros/tmac.s (par@sup-start, par@sup-end): New implementations.
15312 Sun Dec 30 15:53:13 1990 James Clark (jjc at jclark)
15314 * macros/tmac.s (ds*common-end): Call par*reset.
15316 (par@reset-indent): Deleted.
15318 * macros/tmac.s (@IP): Divert the label.
15320 Sat Dec 29 14:33:32 1990 James Clark (jjc at jclark)
15322 * xditview/draw.c (setGC): Use a line width of .1m rather than
15323 .04m by default; round rather than truncate value.
15325 * tbl/table.c (class empty_entry): New class.
15326 (empty_entry::empty_entry, empty_entry::line_type): New functions.
15327 (table::add_entry): Represent empty entries by objects of type
15329 (table_entry::line_type): Return -1.
15330 (table::determine_row_type): Ignore entries with line_type 0.
15331 Treat type -1 as non-lines.
15333 Fri Dec 28 15:04:41 1990 James Clark (jjc at jclark)
15335 * ps/devps/textmap, xditview/libXdvi/DviChar.c, tty/devlatin1/R.proto,
15336 macros/tmac.s: Rename \(-d to \(Sd.
15338 Thu Dec 27 12:35:47 1990 James Clark (jjc at jclark)
15340 * ps/devps/textmap: Add `sd', `/_' and `3d' characters.
15341 * xditview/libXdvi/DviChar.c: Likewise.
15342 * dvi/devdvi/texsy.map: Add `<<', `>>'.
15344 Wed Dec 26 13:33:23 1990 James Clark (jjc at jclark)
15346 * troff/div.c (top_level_diversion::begin_page): Call
15347 init_output() if the_output is 0.
15349 Sat Dec 22 12:35:29 1990 James Clark (jjc at jclark)
15351 * troff/input.c: Replace ESCAPE_E by ESCAPE_e and ESCAPE_C by
15353 (get_copy): Turn \E into ESCAPE_E.
15354 (token::process, asciify): Handle ESCAPE_E.
15356 * macros/tmac.s (ds*common-end, par@reset): Add `.rj 0'.
15358 (DS): Implement `.DS R'.
15360 Fri Dec 21 11:41:53 1990 James Clark (jjc at jclark)
15362 * macros/tmac.s (FS): New macro.
15364 * macros/tmac.s (fn@do-FS): Use @LP instead of LP.
15366 * macros/tmac.s (cov*tl-init): Remove after first execution
15367 instead of aliasing to @nop. Call top of page macro explicitly
15368 instead of setting trap; call @init first. Set pg@top as top of
15370 (cov*auto-init): Deleted. Set cov*tl-init instead of
15371 cov*auto-init as top of page trap.
15372 (TL, LP): Do a break instead of calling cov*tl-init.
15373 (cov*print): With RP format but no TL, alias FS and FE to @FS and
15374 @FE; in this case also give a warning and always start another
15375 page. No need to set pg@top here.
15376 (cov*tl-init): Rename to cov*first-page-init.
15378 * macros/tmac.s (RP): Do `.pn 0'.
15379 (cov*tl-init): With RP format don't do `.pn 0'.
15381 * macros/tmac.s (pg@cs-top): Set no space mode.
15383 * macros/tmac.s (par@TL, par@AU, par@AI): New macros.
15384 (cov*ab-init): Alias TL, AU and AI to these.
15386 Thu Dec 20 10:10:50 1990 James Clark (jjc at jclark)
15388 * macros/tmac.s (@EQ): Move the space before the equation into @EN
15389 (@EN): Do nothing unless \n[dl] is > 0.
15391 Tue Dec 18 12:20:47 1990 James Clark (jjc at jclark)
15393 * pic/object.c (ellipse_object::radius): New function.
15395 * VERSION: Change version to 0.7.
15397 * tbl/table.c (block_entry::do_divert): Declare return type as
15399 (block_entry::divert, alphabetic_block_entry::divert): Return 1.
15401 Mon Dec 17 12:30:34 1990 James Clark (jjc at jclark)
15403 * troff/column.c: New file.
15404 * troff/Makefile: Corresponding changes.
15406 * troff/hvunits.c (scale(vunits, vunits, vunits)): New function.
15409 * troff/div.c (top_level_diversion::space): If the space causes
15410 the first-page transition and springs a trap, truncate the space
15413 Fri Dec 14 12:30:02 1990 James Clark (jjc at jclark)
15415 * ps/ps.c (ps_printer::do_import): Add a `clear' after including
15418 * pic/troff.c (troff_output::line_thickness,
15419 troff_output::set_fill): Do a horizontal motion to compensate for
15420 the width of the \D escape sequence.
15422 Thu Dec 13 10:17:14 1990 James Clark (jjc at jclark)
15424 * xditview/tmac.X: Reinstate definition of \(rn, but only for X100
15427 * eqn/sqrt.c (sqrt_box::compute_metrics): Supply missing argument
15430 * tbl/table.c (simple_entry::simply_print): Don't declare as pure.
15431 Supply empty definition.
15432 (text_entry::simple_print, simple_text_entry::simple_print):
15433 Delete declarations.
15434 (table::add_entry): Represent empty entries by objects of type
15437 Wed Dec 12 08:50:48 1990 James Clark (jjc at jclark)
15439 * troff/Makefile: Remove -DHYPHEN_CONTROL from DEFINES.
15441 * tbl/table.c (left_text_entry::add_tab): New function.
15443 * macros/tmac.s: Make @RT an alias for par@reset. Make RT
15444 initialize like LP.
15446 Mon Dec 10 11:19:55 1990 James Clark (jjc at jclark)
15448 * troff/env.c (environment::start_field): Give an error message if
15449 there is no next tab.
15451 Sun Dec 9 11:46:40 1990 James Clark (jjc at jclark)
15453 * troff/env.c (hyphenate): Skip initial elements with zero
15456 * macros/tmac.s (par@init): Keep VS in points rather than units.
15458 Sat Dec 8 23:00:27 1990 James Clark (jjc at jclark)
15460 * pic/main.c (main): Implement `-c' option.
15461 * pic/output.h: Declare make_tpic_output().
15462 * pic/tex.c (tex_output::set_pen_size): Make it virtual and
15464 (tpic_output): New class.
15465 (tpic_output::tpic_output, tpic_output::set_pen_size,
15466 tpic_output::command, make_tpic_output): New functions.
15468 Fri Dec 7 11:57:41 1990 James Clark (jjc at jclark)
15470 * tbl/main.c (main): Call `.ab' if \n(.g is false. Define TS/TE
15471 if they're not already defined.
15472 * tbl/table.c (init_output): Don't test \n(.g.
15474 * troff/input.c (do_if_request): Delete `g' condition. Recognize
15475 `d', `r' and `c' conditions even in compatibility mode.
15477 Tue Dec 4 09:13:47 1990 James Clark (jjc at jclark)
15479 * ps/tmac.ps (ps-bb): Protect against negative numbers in bounding
15482 Mon Dec 3 07:18:26 1990 James Clark (jjc at jclark)
15484 * troff/env.h (environment::prev_line_interrupted): New member.
15485 (environment::get_prev_line_interrupted): New function.
15486 * troff/env.c (environment::newline): Set prev_line_interrupted.
15487 (environment::environment(const environment *),
15488 environment::environment(symbol)): Initialize
15489 prev_line_interrupted.
15490 * troff/input.c (process_input_stack): Don't give special
15491 treatment to space and newline at the beginning of the line if the
15492 previous line was interrupted.
15494 Sat Dec 1 15:48:37 1990 James Clark (jjc at jclark)
15496 * eqn/eqn.y: Disallow PRIME by itself.
15497 * eqn/lex.c (token_table): Bind `opprime' instead of `prime' to
15499 (def_table): Remove definition of '. Define prime to be `.
15501 * eqn/eqn.y: Split off part of rule `script' into a new rule
15504 Fri Nov 30 10:23:44 1990 James Clark (jjc at jclark)
15506 * macros/tmac.s ({, }): New string aliases.
15508 Thu Nov 29 11:34:40 1990 James Clark (jjc at jclark)
15510 * README-0.7: New file.
15512 Wed Nov 28 10:09:57 1990 James Clark (jjc at jclark)
15514 * macros/tmac.s: New file.
15515 * man/groff_ms.man: New file.
15516 * Makefile: Add definition of TMAC_S. Pass TMAC_S in SUBFLAGS.
15517 * Makefile.bd: Similarily.
15518 * man/Makefile: Add groff_ms.n to MAN7PAGES. Replace @TMAC_S@. Add
15519 definition of TMAC_S.
15520 * macros/Makefile: Add definition of TMAC_S. Install tmac.s.
15521 * macros/TODO: New file.
15523 Sat Nov 24 20:04:54 1990 James Clark (jjc at jclark)
15525 * troff/env.c (right_justify): New function.
15526 (init_env_requests): Bind this to request "rj".
15527 (center_lines): Set right_justify_lines to 0. If we get a bad
15528 integer, center 1 line.
15529 (environment::environment(symbol), environment::environment(const
15530 environment *)): Initialize right_justify_lines.
15531 (environment::get_right_justify_lines): New function.
15532 (init_env_requests): Bind this to number_register ".rj".
15534 * troff/env.c (environment::choose_breakpoint): Implement
15535 hyphenation_margin and hyphenation_space.
15536 (environment::get_hyphenation_space,
15537 environment::get_hyphenation_margin): New functions.
15538 (init_env_requests): Bind these to .hys and .hym.
15539 (hyphenation_space_request, hyphenation_margin_request): New
15541 (init_env_requests): Bind these to hys and hym.
15542 (environment::environment(symbol), environment::environment(const
15543 environment *)): Initialize hyphenation_margin and
15545 * troff/env.h: Corresponding changes to class environment.
15547 Fri Nov 23 09:08:16 1990 James Clark (jjc at jclark)
15549 * troff/div.c (blank_line): Always do a break.
15551 * eqn/box.c (do_text): Turn off escapes while appending text to
15554 Thu Nov 22 10:58:59 1990 James Clark (jjc at jclark)
15556 * troff/input.c (while_break_request, while_continue_request): New
15558 (init_input_requests): Bind these to "break" and "continue".
15559 (while_depth, while_break_flag): New variables.
15560 (while_request): Update while_depth. Break out of loop if
15561 while_break_flag is set.
15563 Wed Nov 21 10:54:40 1990 James Clark (jjc at jclark)
15565 * tbl/table.c (init_span_reg): Initialize span_width_reg to \n(.H
15568 Mon Nov 19 00:45:03 1990 James Clark (jjc at jclark)
15570 * Makefile: Include -DBROKEN_SPOOLER by default. Expand comment.
15572 * stringify: New file.
15573 * Makefile (groff.o): Use stringify.
15575 * xditview/tmac.X: Remove definition of \(rn.
15576 * xditview/libXdvi/DviChar.c: Remove radicalex from
15579 Sat Nov 17 10:44:58 1990 James Clark (jjc at jclark)
15581 * tbl/table.c (table::add_entry): Allow alphabetic text blocks.
15582 (alphabetic_block_entry::alphabetic_block_entry,
15583 alphabetic_block_entry::divert, alphabetic_block_entry::print):
15585 (block_entry::divert): Split off body into ...
15586 (block_entry::do_divert): If the block is alphabetic, subtract 2n
15587 from the line length; also update the span width to dl+2n, and the
15588 alphabetic span width to dl.
15590 * driver/input.c (do_file): While reading argument to D command,
15591 when expanding buffer, multiply szp by sizeof(int) rather than 2
15592 in the argument to memcpy.
15594 * tbl/table.c (compute_span_width): Add 2n rather than 1n to the
15595 width of alphabetic columns.
15597 Fri Nov 16 06:34:27 1990 James Clark (jjc at jclark)
15599 * troff/node.c (lookup_family): Supply second argument to lookup.
15601 * troff/dictionary.c (dictionary::lookup): After an unsuccesful
15602 search, return immediately if v is 0.
15604 * pic/troff.c: Define EQN_NO_EXTRA_SPACE_REG.
15605 (troff_output::start_picture): Set this reg.
15606 (troff_output::end_picture): Remove this reg
15607 * eqn/box.c (box::extra_space): Don't produce `\x's if
15608 EQN_NO_EXTRA_SPACE_REG is defined.
15610 * eqn/eqn.y: Allow just a PRIME to be a `simple'.
15611 * eqn/text.c (split_text): Map ' to \(fm when it's the first
15614 Thu Nov 15 10:35:06 1990 James Clark (jjc at jclark)
15616 * macros/tmac.e: Use font 3 instead of B in $c. Remove `bd'
15619 * troff/div.c (top_level_diversion::top_level_diversion):
15620 Initialize page_number to 0.
15622 Wed Nov 14 21:41:58 1990 James Clark (jjc at jclark)
15624 * groff/troff (environment::environment(const environment *)):
15625 Initialize name to e->name, rather than "anonymous".
15627 Sat Nov 10 01:59:37 1990 James Clark (jjc at jclark)
15629 * xditview/libXdvi/Dvi.c (ShowDvi): If eof is encountered, reset
15630 requested_page. Split middle part into ...
15631 (FindPage): New function.
15632 (SetValues): If we don't yet know the last page, and the requested
15633 page is greater than the current page, call FindPage.
15634 Update the font_map_string before doing this.
15636 * xditview/tmac.X: Add definitions of \(sq, \(ga, \(dg and \(dd.
15637 Translate \(lh and \(rh into left and right double arrows.
15639 * troff/node.c (class hyphen_inhibitor_node): New class.
15640 (hyphen_inhibitor_node::hyphen_inhibitor_node,
15641 hyphen_inhibitor_node::copy, hyphen_inhibitor_node::same,
15642 hyphen_inhibitor_node::type,
15643 hyphen_inhibitor_node::get_hyphenation_type): New functions.
15644 (node::add_discretionary_hyphen): Use hyphen_inhibitor_node rather
15645 than dbreak_node(0, 0) to represent a `\%' at the beginning of a
15648 Fri Nov 9 16:05:38 1990 James Clark (jjc at jclark)
15650 * troff/node.h (dummy_node::get_hyphenation_type,
15651 transparent_dummy_node::get_hyphenation_type): Declare them.
15652 * troff/node.c: (dummy_node::get_hyphenation_type,
15653 transparent_dummy_node::get_hyphenation_type): New functions.
15655 Wed Nov 7 10:09:06 1990 James Clark (jjc at jclark)
15657 * xditview/libXdvi/draw.c: If M_PI not defined after including
15658 math.h, then define it.
15660 * xditview/Makefile: Add definition of AR. Pass it to the submake
15662 * xditview/libXdvi/Makefile: Add definitions of AR and RANLIB.
15664 Tue Nov 6 10:14:27 1990 James Clark (jjc at jclark)
15666 * troff/dictionary.h (object_dictionary::alias): Declare return
15668 * troff/dictionary.c (object_dictionary::alias): Return non-zero
15669 if the old name was defined.
15670 * troff/input.c (alias_macro): Give a warning if the old name was
15672 * troff/reg.c (alias_reg): Likewise.
15674 Mon Nov 5 00:31:39 1990 James Clark (jjc at jclark)
15676 * troff/input.c (token::next): Delete implementation of \R.
15678 * macros/Makefile: Strip comments from tmac.e while installing it.
15680 * troff/input.c: New variable `nroff_mode'.
15681 (troff_request, nroff_request): New functions.
15682 (init_input_requests): Bind `troff' and `nroff' to troff_request
15684 (do_if_request): Compute results of t and n conditions from
15687 * text/text.c (split_text): Fix typo in >=.
15689 * eqn/lex.c: Add definition of `==' to def_table.
15691 Fri Nov 2 02:49:09 1990 James Clark (jjc at jclark)
15693 * pic/tex.c (tex_output::start_picture): Change the definitions of
15694 \graph and \graphtemp so that they work properly with Plain TeX.
15696 * pic/tex.c (tex_output::solid_arc): Ensure that the second angle
15697 argument to `ar' is not less than the first.
15699 * pic/pic.y: Allow a comma between elements of the variable list
15700 in the argument to `reset'.
15702 * pic/object.c (arc_object::arc_object): Fix computation of
15705 * eqn/main.c (main): Add exit(0).
15707 Thu Nov 1 02:03:50 1990 James Clark (jjc at jclark)
15709 * troff/div.c (begin_page): Test no_space_mode after doing the
15710 break, but still push the page ejector cookie before doing the
15711 break. Also set the next page number after doing the break.
15713 * xditview/xditview.c (NewFile): Don't set the title and icon name
15714 if this is the first file and its name is `-'.
15715 * groff/groff.c: Define a new device flag XT_OPTION. Set it for
15716 the X75 and X100 devices.
15717 (main): If a device has the XT_OPTION flag set and there's exactly
15718 one file argument, pass the driver -xrm and -title options to set
15719 the icon name and window title to the name of the file.
15721 * troff/env.c (environment_switch): If there was an argument but
15722 it wasn't a valid number or name, then pop an environment but
15723 don't give an error message on underflow.
15725 * troff/number.c (start_number): Correct spelling in error message.
15727 * troff/input.c (token::delimiter): Don't print an error message
15730 * xditview/libXdvi/parse.c (ParseInput): In case 'D', only call
15731 ParseDrawFunction if dw->display_enable is true.
15733 Wed Oct 31 05:49:50 1990 James Clark (jjc at jclark)
15735 * pic/pic.y: Parse text positioning like normal attributes, so as
15736 to allow `"text" at 0,0 ljust'. Don't allow `center' as a
15737 positioning attribute.
15739 Mon Oct 29 22:50:38 1990 James Clark (jjc at jclark)
15741 * tbl/main.c (process_data): When in state START while reading a
15742 text block, don't change to state MIDDLE if c is a newline.
15744 Sun Oct 28 21:59:56 1990 James Clark (jjc at jclark)
15746 * dvi/dvi.c (dvi_printer::begin_page): Rename `i' variable to `j'
15747 so as to avoid shadowing parameter.
15749 Wed Oct 24 18:35:39 1990 James Clark (jjc at jclark)
15751 * tbl/table.c (trim_space): Deleted.
15752 (table::add_entry): Don't call trim_space.
15754 Mon Oct 22 03:48:39 1990 James Clark (jjc at jclark)
15756 * VERSION: Change version to 0.6.
15758 * troff/number.c (parse_expr): Make == work.
15760 Sat Oct 20 11:28:17 1990 James Clark (jjc at jclark)
15762 * man/grog.man: New file.
15763 * man/Makefile: Add grog.n to MAN1PAGES.
15764 * etc/grog.sh: New file.
15765 * etc/Makefile: Install grog.sh as grog.
15767 Fri Oct 19 11:17:15 1990 James Clark (jjc at jclark)
15769 * troff/input.c (token::next): Implement \E.
15771 Thu Oct 18 11:56:24 1990 James Clark (jjc at jclark)
15773 * xditview/tmac.X: Change font translations to match tmac.ps.
15775 * troff/input.c (non_empty_name_warning): Don't give a warning if
15776 `\{' terminates the name.
15778 Tue Oct 16 10:04:23 1990 James Clark (jjc at jclark)
15780 * ps/devps/symbol.diff: New file.
15781 * ps/devps/FontMakefile: Mention symbol.diff.
15783 Sun Oct 14 11:46:46 1990 James Clark (jjc at jclark)
15785 * troff/node.c (font_position): Use get_long_name to read the
15788 * troff/env.c (environment_switch): If we get a number that's < 0
15789 or >= NENVIRONMENTS, treat it like a name.
15790 Change NENVIRONMENTS to 10.
15792 * troff/groff.h: Remove definition of FONTS_MAX.
15793 * troff/node.h (class font_family): Make map a pointer instead of
15794 an array. Add a map_size member. Make it a class. Make nm const
15795 and public. Make invalidate_fontno a friend.
15796 * troff/node.c: Define font_table_size. Make font_info a pointer
15797 rather than an array.
15798 (class troff_output_file): Allocate font_position dynamically. Add
15799 nfont_positions member.
15800 (troff_output_file::set_font): Grow font_position if necessary.
15801 (troff_output_file::~troff_output_file): Delete font_position.
15802 (troff_output_file::troff_output_file): Allocate font_position.
15803 (grow_font_table): New function.
15804 (troff_output_file::really_begin_page,
15805 troff_output_file:really_copy_page): Use nfont_positions rather
15807 (mount_font_no_translate, mount_style): Call grow_font_table if
15809 (font_family::font_family): Allocate map.
15810 (font_family::make_definite): Grow map if necessary. Use
15811 font_table_size instead of FONTS_MAX.
15812 (font_family::~font_family): New function.
15813 (invalidate_fontno): Use font_family::map_size.
15814 (get_fontno, env_space_width, env_half_narrow_space_width,
15815 env_narrow_space_width, symbol_fotno, is_good_fontno,
15816 get_bold_fontno, make_glyph_node): Use font_table_size rather than
15818 (next_available_font_position): Never return 0.
15820 Fri Oct 12 10:17:52 1990 James Clark (jjc at jclark)
15822 * ps/tmac.ps: Add font translations for compatibility with dpost.
15824 Thu Oct 11 12:09:03 1990 James Clark (jjc at jclark)
15826 * eqn/pile.c: Rename default_baseline_sep to baseline_sep.
15827 Move BASELINE_SEP_FORMAT and COLUMN_WIDTH_FORMAT into pbox.h.
15828 Move definitions baseline_sep, shift_down, column_sep,
15829 matrix_side_sep into...
15830 * eqn/box.c: Add them to param_table.
15831 * eqn/pbox.h: Add declarations to pbox.h.
15833 * troff/input.c (set_string): Cast value to unsigned char *.
15835 * troff/token.h (process_input_stack): Declare it static before
15836 declaring it a friend.
15838 Wed Oct 10 09:59:13 1990 James Clark (jjc at jclark)
15840 * dvi/devdvi/texex.map: Fix positions of extensible brace middle
15842 * dvi/devdvi/EX: Regenerate.
15844 * troff/input.c (init_charset_table): Make ", ', ), ], *, \(dg
15847 Tue Oct 9 08:34:02 1990 James Clark (jjc at jclark)
15849 * eqn/lex.c: In defaults_table, make definition of `dot' call
15850 `dot_def'. Don't explicitly make it roman. Similarily for other
15853 * pic/lex.c (for_input::for_input): Add by_is_multiplicative
15855 (for_input::get, for_input::peek): Use this.
15856 (do_for): Add by_is_multiplicative argument.
15857 * pic/pic.y: Change optional_by clause to allow '*' after `by'.
15858 Change semantic value of optional_by to be a double plus a flag
15859 saying whethet the by clause is multiplicative.
15861 * eqn/lex.c (get_delimited_text): Remember location of start of
15862 definition. Improve error handling when EOF is encountered.
15864 * lib/font.h: Rename handle_x_command to
15865 handle_unknown_font_command.
15866 * lib/font.c (font::load): Call handle_unknown_font_command for
15867 any unknown command in the font description file. Don't call
15868 handle_x_command. Include the name of the command in the argv.
15869 Improve message for unknown command after kernpairs or charset
15871 * ps/ps.c (ps_font::handle_x_command): Rename to
15872 handle_unknown_font_command. Remove message about `x download'
15873 command. Give error message for wrong number of arguments.
15874 * ps/devps/afmtodit: Generate `encoding' instead of `x encoding'.
15875 * dvi/dvi.c (dvi_font::handle_x_command): Rename to
15876 handle_unknown_font_command. Give an error message for wrong
15877 number of arguments. Rename design_size to designsize.
15878 * dvi/tfmtodit.c (main): Generate `checksum' instead of `x
15879 checksum', `designsize' instead of `design_size'.
15881 Mon Oct 8 00:38:55 1990 James Clark (jjc at jclark)
15883 * eqn/*.[chy]: Change underaccent to uaccent.
15885 * eqn/eqn.y: Add rule for underaccent. Declare UNDERACCENT token;
15886 give it the same precedence as ACCENT.
15887 * eqn/other.c (make_underaccent_box): New function.
15888 * eqn/box.h: Declare it.
15889 * eqn/lex.c: Add UNDERACCENT to token_table. Add utilde to
15892 Sun Oct 7 11:25:16 1990 James Clark (jjc at jclark)
15894 * pic/pic.y (reset_all): New function. Called in rule for RESET.
15895 (parse_init): Call reset_all.
15896 (define_variable): When defining scale reset only those
15897 pre-defined variables that are scaled.
15898 (defaults_table): Add `scale' as non-scaled value.
15900 * pic/pic.y: Redo parsing of text adjustments: parse adjustments
15901 together with the text; allow any number of positioning words;
15902 allow center as a positioning word.
15904 * pic/object.c (output::compute_scale): Get picture maximum height
15905 and width from variables called maxpswid and maxpsht.
15906 * pic/pic.y: Add maxpswid and maxpsht to defaults_table.
15908 Sat Oct 6 10:16:56 1990 James Clark (jjc at jclark)
15910 * pic/object.c (object_spec::make_text): Multiply textht by number
15913 * pic/pic.y: Allow `sprintf("string", expr,...)' wherever text can
15915 (do_sprintf): New function.
15916 (pic.gperf): Add sprintf token.
15917 (text, sprintf): New rules.
15919 * pic/pic.y: `rand()' with no arguments returns a random number
15920 in the range [0,1).
15922 * pic/pic.y: Allow a bare expression to be an attribute: change
15923 precedences to support this. Change optional_ordinal rule to
15924 optional_ordinal_last to avoid reduce/reduce conflict.
15925 * pic/object.c (object_spec::object_spec): Initialize direction.
15927 * pic/pic.y: Implement ^ operator meaning exponentiation.
15929 * troff/node.h: Add default argument to mount_font.
15930 * troff/node.c (font_position): Read an optional third argument
15931 giving the external_name.
15932 (mount_font): Add optional argument giving the external_name.
15933 (mount_font_not_translate): Have additional argument giving
15934 external name. Use this name to load the font. Pass both names
15935 to font_info::font_info.
15936 (font_info::font_info): Have additional argument giving
15938 (class tfont): New member external_name.
15939 (font_info::get_tfont): Use external name to construct tfont_spec.
15941 Fri Oct 5 04:03:13 1990 James Clark (jjc at jclark)
15943 * eqn/lex.c (init_table): Add argument giving device. Define
15944 name of device to be "1".
15945 (do_ifdef): Counts as true if the argument has been defined with
15947 * eqn/main.c (main): Call init_table with device argument. Make
15948 device local to main.
15949 * eqn/eqn.h: Change declaration of init_table. Remove declaration
15952 * pic/lex.c (get_delimited): Allow text to be delimited by
15953 matching {}s. Don't recognize ending delimiter within a string.
15955 * troff/input.c (get_delim_name): New function.
15956 (token::next): Implement \C.
15958 * lib/font.c (font::load): Grok ---. Add an alias for each
15959 character based on its code.
15960 (font::get_code_width): Deleted.
15961 * lib/font.h (class font): Declare font::number_to_index().
15962 Remove declaration of font::get_code_width.
15963 * lib/nametoindex.c (font::name_to_index): Add 512 rather than 256
15964 to indices of named characters.
15965 (font::number_to_index): New function.
15966 * troff/input.c (font::number_to_index): New function.
15967 (get_charinfo_by_number, charinfo::get_number,
15968 charinfo::set_number): New functions.
15969 (token::next): Turn \N into a TOKEN_NUMBERED_CHAR.
15970 (token::process, token::description, token::get_char,
15971 token::add_to_node_list, token::operator==): Handle
15972 TOKEN_NUMBERED_CHAR.
15973 * troff/charinfo.h: Declare get_charinfo_by_number,
15974 charinfo::get_number, charinfo::set_number. Add NUMBERED flag to
15976 (charinfo::numbered): New function.
15977 * troff/token.h: Add TOKEN_NUMBERED_CHAR.
15978 * troff/env.h (class environment): Remove declaration of ...
15979 * troff/env.c (environment::make_numbered_char_node): Deleted.
15980 * troff/node.c (make_numbered_node): Deleted.
15981 (class numbered_glyph_node): Remove.
15982 (troff_output_file::put_char_width, troff_output_file::put_char):
15983 Handle numbered chars.
15984 (troff_output_file::numbered_char): Removed.
15985 (tfont::get_code_width): Removed.
15986 (make_glyph_node): Don't search special fonts for numbered
15988 * troff/node.h: Remove declaration of make_numbered_node.
15989 * driver/input.c (do_file): Handle N command.
15990 * driver/printer.h: Add declaration of ...
15991 * driver/printer.c (printer::set_numbered_char): New function.
15992 * dvi/tfmtodit.c (main): Generate unnamed entries.
15993 * ps/devps/afmtodit: Likewise.
15994 * xditview/xtotroff.c (MapFont): Likewise.
15995 * xditview/libXdvi/parse.c (ParseInput): Grok N command.
15997 * tbl/main.c (process_format): If multiple widths are specified
15998 for a column but all the widths are the same, don't give an error
16001 * tbl/table.c (table::do_row): If the current row is all lines and
16002 the stuff doesn't contains a line, mark the top of the row after
16003 printing stuff before the row. If the current row is not all
16004 lines and the stuff doesn't contain a line, don't unnecessarily
16005 mark the top of the row before printing the stuff.
16007 Mon Oct 1 11:42:00 1990 James Clark (jjc at jclark)
16009 * troff/groff.h: Remove MAX_PATH.
16010 * troff/input.c (open_file): Dynamically allocate space for the
16012 (open_mac_file, process_macro_file): Corresponding changes.
16014 Sun Sep 23 18:56:26 1990 James Clark (jjc at jclark)
16016 * troff/node.h (class output_file): Make copy_file pure. Add
16017 vspace method ifdef COLUMN. Add is_printing method.
16018 * troff/node.c: Add class printing_reg. Add class
16019 real_output_file. Derive other output_file classes from
16020 real_output_file; in these classes rename begin_page to
16021 really_begin_page, print_line to really_print_line, copy_file to
16022 really_copy_file, transparent_char to really_transparent_char.
16023 Move output_file::flush to real_output_file. Add printing member
16024 to class output_file.
16025 * troff/div.h: Remove printing member from top_level_diversion.
16026 Add vspace member function to class diversion ifdef COLUMN. Add
16027 some declarations ifdef COLUMN.
16028 * troff/div.c (top_level_diversion::copy_file,
16029 top_level_diversion::transparent_output,
16030 top_level_diversion::output): Don't test printing member before
16032 * troff/input.c: Handle initial variable_space_request ifdef
16034 * troff/Makefile: Add column.c but comment it out. Add -DCOLUMN
16035 but comment it out.
16037 Sat Sep 22 11:32:22 1990 James Clark (jjc at jclark)
16039 * troff/div.c (diversion::need): Make any space forced. If we
16040 sprung a trap, set truncated_space to minus the distance to the
16041 trap and set needed_space to the amount that was needed.
16042 (top_level_diversion::space): A forced space turns no_space_mode
16044 (class constant_vunits_reg): New class.
16045 (init_div_requests): Implement number registers .trunc and .ne
16046 using constant_vunits_reg.
16047 (class truncated_space_reg): Deleted.
16049 * troff/div.h: Don't have a no_space_mode member in diversion.
16050 Instead have it in top_level_diversion.
16051 * troff/div.c (diversion::diversion): Don't initialize
16053 (top_level_diversion::top_level_diversion): Initialize
16055 (no_space, restore_spacing): Do nothing if curdiv != topdiv.
16056 (macro_diversion::output): Don't clear no_space_mode.
16058 * troff/input.c (diverted_space_node::reread): Don't call
16059 environment::do_break. In fill mode, act like a blank line.
16060 (diverted_copy_file_node::reread): Don't call
16061 environment::do_break.
16063 * troff/div.c (blank_line): New function.
16064 * troff/div.h: Declare it.
16065 * troff/input.c (process_input_stack): Call it.
16067 * troff/div.c (truncated_space_reg::get_string): New function.
16068 (init_div_requests): Bind to .trunc.
16069 (space_request, top_level_diversion::space,
16070 top_level_diversion::output, macro_diversion::space,
16071 macro_diversion::output): Update truncated_space.
16072 (macro_diversion::output): Redo calculations when trap sprung.
16073 (macro_diversion::output, macro_diversion::space): No need for
16076 * troff/div.c (top_level_diversion::output): Set nl_reg_contents
16077 after truncating post line spacing.
16079 Fri Sep 21 11:27:25 1990 James Clark (jjc at jclark)
16081 * ps/devps/prologue (MF, SF): Make them work even if setfont is
16082 defined as a procedure rather than as an operator.
16084 Thu Sep 20 12:55:05 1990 James Clark (jjc at jclark)
16086 * troff/div.c (macro_diversion::space): Ignore no_space_mode.
16088 Wed Sep 19 10:54:37 1990 James Clark (jjc at jclark)
16090 * troff/div.c (top_level_diversion::output): Merge
16091 output_file::print_line and output_file::end_of_line member
16093 * troff/div.h (class output_file):
16094 * troff/node.c (troff_output_file::print_line,
16095 troff_output_file::end_of_line, output_file::end_of_line,
16096 ascii_output_file::print_line, suppress_output_file::print_line):
16097 Corresponding changes.
16099 Tue Sep 18 11:31:47 1990 James Clark (jjc at jclark)
16101 * troff/input.c (token::next): Don't give a warning for `\.'.
16103 * troff/env.c (environment::get_center_lines): New function.
16104 (init_env_requests): Bind number register .ce to it.
16105 * troff/env.h: Declare it.
16106 * tbl/table.c (table::init_output): Define reset macro to restore
16107 .ce. If center option not given, store .ce in SAVED_CENTER_REG.
16109 (table::print): If center option not given, then imply center
16110 option if SAVED_CENTER_REG > 0.
16112 Mon Sep 17 09:19:19 1990 James Clark (jjc at jclark)
16114 * ps/devps/Makefile: Remove T from FONTS. Remove TSymbol.ps and
16115 Troff.ps from DOWNLOAD.
16117 * troff/Makefile: Change comment in DEFINES to avoid confusing
16120 * ps/ps.c (ps_printer::do_exec): Allow newlines within PostScript
16121 code. Don't try to catch errors with stopped.
16122 (check_line_lengths): New function.
16123 * ps/devps/prologue (EXEC): Deleted.
16124 (EBEGIN, EEND): New procedures.
16126 Sun Sep 16 14:51:15 1990 James Clark (jjc at jclark)
16128 * troff/input.c: Include request.h before node.h.
16129 * troff/node.c: Likewise.
16130 * troff/env.c: Likewise.
16131 * troff/div.c: Likewise.
16132 * troff/node.h (class special_node): Store argument as a macro
16133 rather than a char *.
16134 * troff/node.c (special_node::special_node, special_node::copy):
16136 (special_node::~special_node): Deleted.
16137 (special_node::tprint): Deleted.
16138 (special_node::tprint_start, special_node::tprint_end,
16139 special_node::tprint_char): New functions.
16140 (troff_output_file::special): Deleted.
16141 (troff_output_file::start_special, troff_output_file::end_special,
16142 troff_output_file::special_char): New functions.
16143 * troff/input.c (special_node::tprint): New function.
16144 (do_special): Use macro not char *.
16145 (do_transparent_macro): Deleted.
16146 (token::next): Don't call do_transparent_macro.
16148 * troff/input.c (token::next): Add 'Y' case.
16149 (do_transparent_macro): New function.
16150 * troff/node.c (troff_output_file::special): Handle newlines with
16151 argument using new continuation convention.
16152 * driver/input.c (get_string): Cope with continuation convention.
16153 (do_file): Don't call skip_line after calling get_string(1).
16154 * ps/ps.c (ps_printer::special, ps_printer::do_import,
16155 ps_printer::do_def, ps_printer::do_exec): Cope with newlines in
16157 * xditview/libXdvi/parse.c (ParseInput): Ignore lines starting
16160 Sat Sep 15 19:00:10 1990 James Clark (jjc at jclark)
16162 * troff/input.c (asciify): By default, illegal input characters
16163 should return empty string.
16165 * troff/input.c (copy_file): Handle first page transition like title.
16166 (token::next, process_input_stack): Grok COPY_FILE_REQUEST.
16168 * troff/input.c (token::next): Improve error message for EOF after
16170 (input_char_description): New function.
16171 (get_char_for_escape_name): Use input_char_description.
16172 (token::next): Warn about unrecognized escape sequences.
16173 (warning_table): Add WARN_ESCAPE.
16174 * troff/groff.h: Declare WARN_ESCAPE. Change WARN_TOTAL
16177 * troff/token.h: Remove declaration of process_input_stack.
16179 * troff/input.c: Remove declaration of init_hyphen_requests.
16180 * troff/request.h: Correct spelling in declaration of same.
16182 * troff/input.c (token::next): Check whether escape_char is 0.
16184 Fri Sep 14 12:09:25 1990 James Clark (jjc at jclark)
16186 * groff.c (main, usage, help): Implement -P and -L options.
16187 * groff.sh: Likewise.
16189 * troff/input.c (token::next): Use some gotos to avoid code
16192 * troff/input.c (get_long_name, get_name, read_long_ecsape_name):
16193 Avoid calling symbol::symbol if name empty.
16195 Thu Sep 13 06:21:45 1990 James Clark (jjc at jclark)
16197 * troff/input.c (init_input_requests): Make \n(.x return the major
16198 version number and \n(.y return the minor version number.
16199 * troff/Makefile: Construct file majorminor.c defining
16200 major_version and minor_version automatically from ../VERSION.
16202 * troff/node.c (class glyph_node): Make operator new and operator
16204 (class ligature_node): Similarily.
16206 * troff/input.c (operator==(const macro &, const macro &)): New
16208 (non_interpreted_node::same): Use this.
16209 (string_iterator::string_iterator): Make macro& argument const.
16211 * troff/input.c (input_iterator::get): New function. Don't make
16212 asciify_macro or class non_interpreted_node friends of class
16214 (non_interpreted_node::interpret): Use input_iterator::get.
16215 (asciify_macro): Likewise.
16217 * troff/input.c (~token_node, ~string_iterator, ~arg_list,
16218 ~non_interpreted_node): Deleted.
16219 * troff/node.c: (~suppress_output_file, ~ascii_output_file):
16222 * troff/symbol.h: Make all symbol member functions const.
16224 * lib/strtol.c: New file.
16225 * lib/Makefile: Add strtol.c.
16226 * Makefile: Define STRTOL as strtol.o to include strtol in
16229 Wed Sep 12 10:00:49 1990 James Clark (jjc at jclark)
16231 * pic/troff.c (troff_output::simple_circle): Divide by scale.
16233 Tue Sep 11 14:17:16 1990 James Clark (jjc at jclark)
16235 * troff/input.c (do_special): Use input_level.
16237 * troff/token.h (TOKEN_BACKSPACE): New token.
16238 (token::backspace): New function.
16239 * troff/input.c (token::description, token::next, token::process):
16240 Grok TOKEN_BACKSPACE.
16241 (do_special): Turn TOKEN_BACKSPACE back into \b.
16243 * troff/token.h (token::leader): New function.
16244 * troff/input.c (do_special): Turn TOKEN_LEADER back into \001.
16246 * troff/input.c (do_special): Turn TOKEN_TAB back into \t.
16248 * troff/input.c (do_special): Use token::description in error
16251 Mon Sep 10 11:06:27 1990 James Clark (jjc at jclark)
16253 * troff/input.c (decode_args): Combine quoted and
16254 quote_input_level variables. Make it a for (;;) loop.
16256 * troff/input.c (get_char_for_escape_name): Check for \001 and \b.
16258 * troff/input.c (read_long_escape_name): The test for whether to
16259 expand buffer was off by 1.
16260 (read_string): Similarily.
16262 Fri Sep 7 11:45:50 1990 James Clark (jjc at jclark)
16264 * troff/input.c: Use `const int' rather than `static const int'.
16266 * troff/div.h (diversion::copy_file): Declare as pure virtual.
16267 (macro_diversion::copy_file): New function.
16268 * troff/node.h: New class diverted_copy_file_node.
16269 * troff/node.c: Implement it.
16270 * troff/input.c (copy_file): Use diversion::copy_file. Handle
16271 first page transition by pushing a diverted_copy_file_node.
16272 * troff/input.c (token::next, process_input_stack): Don't handle
16275 Thu Sep 6 13:29:10 1990 James Clark (jjc at jclark)
16277 * ps/ps.c (flush_sbuf): Remember to add sbuf_kern when checking
16278 whether space widths need adjusting.
16280 * troff/charinfo.h: Generalize translated_to_space to
16281 special_translation so as to allow translation to \&.
16282 * troff/input.c (translate): Allow translation to \&.
16283 (charinfo::*): Corresponding changes.
16284 * troff/node.c (make_node, node::add_char): Corresponding changes.
16285 * troff/node.h (dummy_node::dummy_node): Allow optional first
16288 * lib/lib.h: Make codes 0200 to 0237 illegal input characters.
16289 * troff/token.h: Remove TOKEN_TITLE. Remove token::title. Add
16291 * troff/input.c (token::next): Turn a TITLE_REQUEST into a
16292 TOKEN_REQUEST with an argument of TITLE_REQUEST.
16293 (token::process): Grok that.
16294 * troff/input.c (copy_file): Handle first page transition like
16295 title by pushing a COPY_FILE_REQUEST cookie.
16296 (token::next, process_input_stack): Grok that.
16297 * troff/node.h (output_file::copy_file): Add x and y arguments.
16299 * troff/div.c (top_level_diversion::copy_file): Supply them.
16300 * troff/node.c (troff_output_file::copy_file): Add x and y
16301 arguments; moveto specified position. Invalidate font_position
16302 array after copying file.
16303 (output_file::copy_file): New function.
16304 (suppressed_output_file::copy_file, ascii_output::copy_file):
16306 * troff/input.c (transparent_file): New function.
16307 (init_input_requests): Bind to "trf".
16308 (token::next): Handle TRANSPARENT_FILE_REQUEST cookie.
16309 (process_input_stack): Likewise.
16311 * troff/Makefile: Add ../lib/lib.h to GROFF_H.
16313 * troff/node.c (init_node_requests): New number registers .kern
16314 pointing to global_kern_mode, and .lg pointing to
16315 global_ligature_mode.
16317 * troff/node.c (ligature): Don't change it if we get a bad
16320 * troff/input.c (do_define_string): Don't strip tabs.
16322 * troff/input.c (asciify_macro): Make the string_iterator auto.
16324 * troff/node.c (init_font_requests): Rename to...
16325 (init_node_requests):
16326 * troff/node.h: Change declaration.
16327 * troff/input.c (main): Change call.
16329 * troff/input.c (node::reread, diverted_space_node::reread): New
16331 (process_input_stack): Call reread rather than
16332 get_diverted_space_node.
16333 * troff/node.c (node::get_diverted_space_node,
16334 diverted_space_node::get_diverted_space_node): Removed.
16335 * troff/node.h: Declare reread methods instead of
16336 get_diverted_space_node methods. Make `n' member private.
16337 * troff/input.c: (token::diverted_space): Removed.
16338 * troff/token.h: Removed declaration.
16341 Tue Sep 4 00:48:04 1990 James Clark (jjc at jclark)
16343 * eqn/script.c (script_box::compute_metrics): Don't let
16344 SUP_RAISE_FORMAT become negative.
16346 * tbl/table.c (table::do_row): Entries that don't end in the
16347 this row shouldn't make the row non-blank.
16349 * tbl/table.c (table::make_columns_equal): Only set the width of
16350 columns which are marked as equal.
16352 * tbl/main.c (process_data): Before issuing excess data error,
16353 if last character was a newline unget it; then get it again after
16354 the error. Also include the contents of the entry in the message.
16356 * groff.c: New file.
16357 * Makefile: Build groff from groff.c. Make it possible to use
16358 either groff.sh or groff.c as groff.
16359 * Makefile.bd: Similarily.
16361 Mon Sep 3 09:39:49 1990 James Clark (jjc at jclark)
16363 * groff.sh: Don't delay expansion of $@ in assignment to files.
16364 Remove occurrences of \".
16366 Sun Sep 2 09:56:59 1990 James Clark (jjc at jclark)
16368 * all Makefiles: Simplify and rearrange.
16370 * Makefile: Handle fmod like malloc.
16371 * lib/Makefile: Similarily.
16372 * lib/fmod.c: Remove #ifdef NEED_FMOD.
16374 * Makefile: Rename OPTIMISE to OPTIMIZE.
16376 * groff.sh: Remove assignment to PATH.
16377 * Makefile: Remove SHPATH variable.
16378 * Makefile.bd: Similarily.
16380 * groff.sh: Add -V option to print the pipeline instead of
16383 Fri Aug 31 00:56:46 1990 James Clark (jjc at jclark)
16385 * lib/font.c: Split off file searching into ...
16386 * lib/fontfile.c: New file.
16388 * lib/strerror.c (strerror): Use `Error %d' for unknown errors.
16390 Thu Aug 30 13:13:55 1990 James Clark (jjc at jclark)
16392 * tbl/table.c (table::do_hspan): Delete assertion that e != 0.
16393 Also change misleading comment.
16394 (table::do_vspan): Change similarily misleading comment.
16395 * tbl/main.c (process_data): A format row with an explicit `s'
16396 uses up a data line, even if all the other columns are `_' or `='.
16398 * troff/input.c (token::description): Fix description of
16399 TOKEN_DUMMY and TOKEN_EMPTY.
16401 Wed Aug 29 04:12:08 1990 James Clark (jjc at jclark)
16403 * groff.sh: Fix description of -Z in help message.
16405 Tue Aug 28 07:28:33 1990 James Clark (jjc at jclark)
16407 * pic/object.c (object_spec::make_object): Allow negative and zero
16409 * pic/pic.y: Give linethick default value of -1.0.
16410 * pic/troff.c (troff_output::troff_output): Initialize
16411 last_line_thickness to BAD_THICKNESS.
16412 (troff_output::finish_picture): Set thickness to BAD_THICKNESS.
16413 (troff_output::line_thickness): Canonicalize negative thicknesses
16414 to RELATIVE_THICKNESS.
16415 * pic/tex.c (tex_output::set_pen_size): Silently map negative line
16416 thicknesses to DEFAULT_PEN_SIZE. Canonicalize negative pen sizes
16418 (tex_output::start_picture): Set pen_size to -2.0.
16420 * ps/ps.c (ps_printer::set_line_thickness): If line_thickness is
16421 0, then use 0 linewidth.
16422 (ps_printer::ps_printer): Initialize line_thickness to -1.
16424 * pic/troff.c (troff_output::simple_ellipse): Divide by scale.
16426 * ps/devps/symbolchars: Remove `or'.
16427 * ps/tmac.ps: Implement \(or with .char.
16429 * ps/devps/symbolchars: Move most characters into textmap.
16430 * ps/devps/textmap: Add names for troff bracket characters. Remove
16433 * ps/devps/TSymbol.ps: Removed.
16434 * ps/devps/FontMakefile: Make S from Symbol not TSymbol.
16435 * ps/tmac.ps: Do with .char what TSymbol did.
16436 * ps/devps/download: Remove TSymbol.
16438 * ps/devps/T: Removed.
16439 * ps/devps/Troff.ps: Removed.
16440 * ps/devps/Troff.afm: Removed.
16441 * ps/tmac.ps: Implement \(ru, \(ul, and \(br with .char.
16442 * ps/devps/download: Remove Troff.
16443 * ps/devps/FontMakefile: Remove T target.
16444 * ps/devps/DESC-A4: Remove T from font list.
16445 * ps/devps/DESC-letter: Likewise.
16447 * troff/input.c (macro_to_node): Rename to ...
16448 (charinfo_to_node): Don't pass mac argument. Temporarily remove the
16449 character's definition while processing it.
16450 * troff/node.c (node::add_char, make_node): Change calls to
16451 macro_to_node accordingly.
16453 * troff/input.c (token::next): Translate \_ to \(ul.
16455 * tty/devascii/R.proto: Add `|'.
16456 * tty/devlatin1/R.proto: Likewise.
16458 Mon Aug 27 11:25:41 1990 James Clark (jjc at jclark)
16460 * man: Put the version number in all the man pages.
16462 Sun Aug 26 11:40:05 1990 James Clark (jjc at jclark)
16464 * Makefile.bd: New file.
16465 * README.bd: New file.
16467 * VERSION: New file.
16468 * lib/version.c: Removed.
16469 * lib/Makefile: Create version.c from ../VERSION. Remove version.c
16472 * troff/input.c (main): Get hyphen_file from GROFF_HYPHEN
16473 environment variable.
16475 * all Makefiles: Split install target into install.bin for
16476 binaries, and install.nobin for everything else.
16477 * Makefile: Add bindist target.
16479 * man/afmtodit.man: New file.
16480 * man/Makefile: Add afmtodit.n to MAN1PAGES.
16481 * ps/devps/Makefile: Add textmap to DEVICEFILES. Install afmtodit
16483 * ps/Makefile: Pass BINDIR to make install in devps.
16485 * ps/ps.c (ps_printer::set_char): Do nothing if the character is
16486 the space character.
16488 * ps/devps/FontMakefile: Rename symbol.afm to tsymbol.afm.
16490 Sat Aug 25 15:39:03 1990 James Clark (jjc at jclark)
16492 * ps/ps.c: Redo font downloading.
16493 * ps/devps/download: New file.
16494 * ps/devps/Makefile: Add download to DEVICEFILES.
16495 * ps/devps/afmtodit: Remove -d option.
16496 * ps/devps/FontMakefile: Don't use -d option with afmtodit.
16497 * ps/devps/symbosl.ps: Add %%DocumentFonts comment.
16498 * ps/devps/zapfdr.ps: Likewise.
16499 * ps/devps/TSymbol.ps: Likewise.
16501 Fri Aug 24 20:10:30 1990 James Clark (jjc at jclark)
16503 * groff.sh: Initialize dev to ${GROFF_TYPESETTER:-@DEVICE@}.
16505 Thu Aug 23 10:03:47 1990 James Clark (jjc at yquem)
16507 * ps/ps.c (ps_output::include_file): If BROKEN_SPOOLER is defined,
16508 then strip the first line if it starts with %.
16509 * Makefile: Add a comment about this.
16511 * man/tfmtodit.man: New file.
16512 * man/Makefile: Add tfmtodit.n to MAN1PAGES.
16513 * dvi/Makefile: Install tfmtodit in BINDIR.
16515 * dvi/tfmtodit.c (usage): Mention -v option.
16517 Wed Aug 22 09:56:36 1990 James Clark (jjc at yquem)
16519 * troff/node.c (troff_output_file::end_of_line): Call do_motion.
16520 * troff/node.c (troff_output_file::transparent_char): Don't call
16523 * eqn: Add check_tabs method to most box classes.
16524 * eqn/box.c (box::top_level): Call check_tabs.
16526 * eqn/script.c (script_box::output): Use \Z.
16527 * eqn/limit.c (limit_box::output): Use \Z.
16529 * eqn/box.c (box::top_level): Use itoa.
16531 Tue Aug 21 09:29:28 1990 James Clark (jjc at yquem)
16533 * dvi/tmac.dvi: Add font translations for CR, C, TT.
16534 * dvi/devdvi/Makefile: Don't make links to CW.
16536 * ps/tmac.ps: Add font translations for C, CW, CO, CX, CD, H, HO,
16538 * xditview/tmac.X: Likewise.
16540 * troff/node.c: Add font translation feature.
16541 (get_font_translation): New function.
16542 (symbol_fontno): Translate the font name.
16543 (mount_font_no_translate): Rename to mount_font to this.
16544 (mount_font): New function.
16545 (font_family::make_definite): Call mount_font_no_translate instead
16547 (mount_style): Translate the font name.
16548 (font_translate): New function.
16549 (init_font_requests): Bind "ftr" to font_translate.
16551 * ps/devps/prologue (SN): New procedure that rounds a position to
16552 the nearest (pixel + (.25,.25)).
16553 (DL): Use SN to round endpoints.
16555 * lib/version.c: Changed version to 0.5.
16557 Sat Aug 18 04:43:21 1990 James Clark (jjc at yquem)
16559 * Makefile: Move definition of PAGE to the very beginning, so that
16560 people are less likely to miss it.
16562 Fri Aug 17 02:15:11 1990 James Clark (jjc at yquem)
16564 * man/Makefile: Don't need to sed out @UPCASE_PROG_PREFIX@.
16566 * troff/env.c (environment::choose_breakpoint): Make `can't find
16567 breakpoint' error a warning of type WARN_BREAK. Change message to
16568 `can't break line'.
16569 * troff/groff.h: Declare WARN_BREAK with code 4; change WARN_INPUT to
16571 * troff/input.c: Add WARN_BREAK to warning_table. Include
16572 WARN_BREAK in DEFAULT_WARNING_MASK.
16574 * tty/tmac.tty: Add definition of \(+-.
16576 * groff.sh: Remove `--' option to set command.
16578 * dvi/devdvi/texsy.map: Remove duplicate md entry.
16580 * ps/devps/eqnchar: Better definition of cdot using md.
16581 * dvi/devdvi/eqnchar: Likewise.
16582 * xditview/devX100/eqnchar: Likewise.
16583 * xditview/devX75/eqnchar: Likewise.
16584 * eqn/lex.c: Add definition of cdot.
16586 Thu Aug 16 09:33:57 1990 James Clark (jjc at yquem)
16588 * troff/input.c (get_optional_char): New function.
16589 * troff/input.c (set_page_character): Use get_optional_char(),
16590 rather than has_arg() and tok.get_char(1).
16591 * troff/env.c (tab_character, leader_character, hyphen_char,
16592 field_characters): Likewise.
16593 (margin_character): Likewise. Also always delete the
16594 margin_character_node.
16596 * troff/input.c (token::get_char): Use token::description.
16598 * troff/input.c (has_arg): Don't skip over tab and \}.
16599 * troff/number.c (start_number): Give a warning if the number
16600 starts with \} (WARN_RIGHT_BRACE) or tab (WARN_TAB).
16602 Wed Aug 15 10:04:37 1990 James Clark (jjc at yquem)
16604 * troff/input.c (empty_name_warning, non_empty_name_warning): New
16606 (get_name, get_long_name): Use these. Rename `warn' argument to
16609 * troff/node.c (get_fontno): Test that the symbol is not null.
16611 * troff/input.c (token::description): New function.
16612 * troff/number.c (parse_term): Use token::description in `numeric
16613 expression expected' message.
16614 * troff/groff.h: Add WARN_MISSING.
16615 * troff/number.c (start_number): New function.
16616 * troff/number.c (get_vunits, get_hunits, get_number, get_integer,
16617 get_incr_number): Use start_number().
16618 * troff/input.c (DEFAULT_WARNING_MASK): Enable WARN_NUMBER by
16620 * troff/input.c (get_name, get_long_name): Use WARN_MISSING.
16621 * troff/reg.c (alter_format): Use WARN_MISSING. Also use
16623 * troff/input.c (token::get_char): Use WARN_MISSING.
16624 * troff/input.c (token::delimiter): Use token::description.
16625 * troff/env.c (environment_switch): Back out Aug 3 change.
16626 * troff/input.c (has_arg): Skip over \}s and tabs but give a
16628 * troff/token.h (token::tab): New function.
16629 * troff/node.c (get_fontno): Use tok.skip() rather than has_arg().
16630 * troff/reg.c (alter_format): Likewise.
16631 * troff/node.c (bold_font): Use has_arg() rather than tok.skip().
16633 Tue Aug 14 10:11:21 1990 James Clark (jjc at yquem)
16635 * troff (most files): Redo warnings. Divide warnings into various
16636 categories; warning() has an additional first argument indicating
16637 the category it falls into.
16638 * troff/input.c (main): -w now takes an argument. New option -W.
16639 (enable_warning, disable_warning): New functions.
16641 * ps/devps/afmtodit: Add -a option to lie about the italic angle.
16642 * ps/devps/FontMakefile: Pretend TI has an angle of 7.
16644 Mon Aug 13 10:11:16 1990 James Clark (jjc at yquem)
16646 * ps/devps/eqnchar: Better definitions of dotdot, vec, dyad, inf.
16647 * xditview/devX100/eqnchar: Likewise. Remove definition of dot.
16648 * xditview/devX75/eqnchar: Likewise.
16649 * dvi/devdvi/eqnchar: Better definitions of vec, dyad, dotdot.
16651 * eqn/other.c: When bar or over applies to a single character
16652 don't produce an overline_box or an underline_box. Instead produce
16653 an accent_box or an underaccent_box, with the accent a line
16654 whose width is accent_width. New classes underaccent_box,
16655 overline_char_box and underline_char_box.
16656 * eqn/box.h: Move overline_box, underline_box, accent_box class
16657 declarations into eqn/other.c. Add declarations of
16658 make_underline_box, make_overline_box, make_accent_box.
16659 * eqn/eqn.y: Call make_overline_box, make_underline_box
16660 make_accent_box instead of constructors.
16661 * eqn/pbox.h, eqn/box.c: Add accent_width parameter.
16663 * eqn/other.c: Add accent_box::~accent_box.
16664 * eqn/box.h: Declare it.
16666 * groff.sh: With -Tps, use eqn -D.
16668 * eqn/other.c (overline_box::output): Use \Z. If draw_flag use \D
16670 (underline_box::output): Similarily.
16671 (accent_box::output): Use \Z.
16673 * xditview/tmac.X: Add definitions of ~ and ^ (so that they are a
16676 Sun Aug 12 09:41:15 1990 James Clark (jjc at yquem)
16678 * troff/div.c (top_level_diversion::transparent_output(unsigned
16679 char)): Use asciify.
16680 * troff/input.c (asciify): Don't make it static.
16681 * troff/token.h (asciify): Declare it.
16683 * troff/input.c (get_name, get_long_name, token::get_char,
16684 token::delimiter): Add an extra default argument which says
16685 whether a warning should be printed.
16686 * troff: Pass a non-zero argument to one of these rather than
16687 printing a warning directly.
16689 Sat Aug 11 09:02:21 1990 James Clark (jjc at yquem)
16691 * troff: Consistently use symbol::is_null.
16693 * troff/dictionary.h: Move some inline functions into
16696 * troff/request.h: Move inline functions into input.c.
16697 (request_or_macro::invoke): Make it pure.
16699 * troff/input.c, troff/reg.h: New class `constant_int_reg'.
16700 * troff/input.c (init_input_requests): Use class constant_int_reg.
16701 (class compatible_reg): Deleted.
16702 * troff/div.c (init_div_requests): Use class constant_int_reg.
16703 (class last_post_line_extra_space_reg): Deleted.
16705 * troff/env.c (tab_character): Don't change the tab character if
16706 we get an invalid argument.
16707 (hyphen_char): Similarily.
16709 * troff/reg.c (alter_format): Check that nm is not null.
16711 * Makefile, groff.sh: Make it possible to customize the commands
16712 used for printing PostScript and dvi files. Also make it possible
16713 to customize the path used by groff.sh.
16715 * eqn/eqn.y: Make `left' right associative.
16717 Fri Aug 10 18:20:39 1990 James Clark (jjc at yquem)
16719 * pic/pic.h: Added definition of M_SQRT2 for those systems that
16722 * pic/pic.h: Removed definition of INT_MAX.
16724 * troff/node.c (italic_corrected_node::vertical_extent): Omit
16727 * troff/input.c (token::next): Handle \R like \n.
16729 Tue Aug 7 09:46:33 1990 James Clark (jjc at yquem)
16731 * ps/tmac.pc (PSPIC): Simplify.
16733 * troff/env.c (tab_stops::to_string):
16734 * pic/pic.y (object_type_name):
16735 * pic/troff.c (simple_output::line):
16736 * pic/tex.c (tex_output::spline):
16737 * pic/object.c (object_spec::make_object):
16738 * tbl/main.c (process_data): Add cases to switch statements to
16739 avoid cfront warnings. (Some of these are spurious, since the
16740 switch already has a default case.)
16742 * ps/tmac.ps (PSPIC): Reformatted. Prefix all local names with
16743 `ps-'. Don't test systat; instead check number of arguments to
16746 Mon Aug 6 00:13:07 1990 James Clark (jjc at yquem)
16748 * macros/tmac.e: Do not decrease the page offset by 0.5i.
16750 * ps/ps.c (ps_printer::ps_printer): Use mktemp instead of tempnam.
16751 Unlink the file as soon as we have opened it, so that we don't
16752 have to bother with signal handlers.
16753 (handler): Deleted.
16754 (fatal_error_exit): Deleted.
16755 (main): Don't call signal.
16757 * dvi/tfmtodit.c: Add -k option so that kerns with the skewchar
16759 * dvi/devdvi/Makefile: Use the -k option with S and MI.
16761 * pic/pic.y: If there is a label, or an nth construction before
16762 the first `.' in the argument to `with', ignore it and generate a
16764 * pic/lex.c (lex_warning): New function.
16766 * tbl/table.c (table::init_output): In section keep and release
16767 macro, use 0 indent when diverting and the correct indent when
16770 * troff/input.c (interpolate_number_format): Do not interpolate
16771 anything if the number register is not defined.
16773 * tbl/main.c (process_data): Don't add entry when col >= ncolumns.
16775 Sat Aug 4 08:12:05 1990 James Clark (jjc at yquem)
16777 * ps/devps/prologue (PICTURE): Set components of graphics state to
16778 their default values.
16780 * ps/devps/text.enc: Add trademark
16781 * ps/devps/textmap: Add names for club, spade, heart, diamond,
16782 carriagereturn, suchthat. Use Upsilon1 rather than Upsilon.
16783 * ps/devps/symbolchars: Add names for summation and product.
16785 * dvi/devdvi/texsy.map: Add names for club, spade, heart, diamond,
16786 suchthat. Add pp. Add upper-case letters.
16788 * xditview/libXdvi/DviChar.c: Add names for club, spade, heart,
16789 diamond, carriagereturn, suchthat. Use Upsilon1 rather than
16792 * dvi/devdvi/texsy.map: Rename lA (left angle bracket) to la, and
16793 rA (right angle bracket) to ra. Introduce names for double-headed
16794 arrows and double-barred arrows: <>, va, lA, rA, hA, uA, dA, vA.
16795 * ps/devps/textmap: Likewise for ps device.
16796 * xditview/libXdvi/DviChar.c: Likewise for X100 and X75 devices.
16797 * tty/devascii/R.proto: Rename lA to la and rA to ra.
16798 * tty/devascii/R.proto: Likewise.
16799 * tty/tmac.tty: Provide definitions for \(<>, \(lA, \(rA, \(hA,
16801 * eqn/delim.c: In delim_table, rename \(lA to \(la and \(rA to \(ra.
16803 * xditview/tmac.X: Add definitions for \(fi \(fl \(ff \(Fi \(Fl.
16805 * eqn/lex.c: Added definitions of `approx', `grad' and `del' to
16808 Fri Aug 3 09:59:27 1990 James Clark (jjc at yquem)
16810 * troff/div.c (when_request): Use symbol::is_null rather than
16811 has_arg to determine whether we have an argument.
16812 (change_trap): Remove the trap if we get an invalid number. Give
16813 an error if we don't get at least the macro name.
16814 (diversion_trap): Remove trap if we get an invalid name or number.
16816 * troff/env.c (environment_switch): Pop if we get an invalid
16817 symbol or numeric expression.
16819 * troff/input.c (do_define_macro): If EOF is encoutered while
16820 defining the macro, do tok.next() before returning.
16822 * troff/token.h (has_arg): Move definition from here, to ...
16823 * troff/input.c (has_arg): ... here
16825 * troff/env.c (space_size): Do nothing if we get an invalid argument.
16826 * troff/input.c (shift): Likewise.
16828 * pic/lex.c (get_token_after_dot): Accept `.center' as a synonym
16831 * pic/troff.c (troff_output::start_picture): Comment out calls to
16834 * eqn/main.c (do_file): Subtract 1 from current_lineno if
16835 interpret_lf_args succeeds.
16837 * eqn/main.c (do_file): Don't recognize delimiter if preceded by
16838 \\. This avoids problems with \$N.
16840 * groff.sh: Pass -C to preprocessors.
16842 * lib/lf.c (interpret_lf_args): Be more flexible.
16844 * tbl/main.c (main): Add -C option.
16845 (table_input::get): Do not recognize TE if followed by character
16846 other than a space or newline unless -C option given.
16847 (process_input_file): Likewise for lf, TS.
16848 (process_data): Likewise for lf in text blocks.
16850 * eqn/main.c (main): Add -C option.
16851 (do_file): Don't recognize EQ, EN or lf if followed by character
16852 other than space or newline unless -C option given.
16853 * eqn/lex.c (file_input::read_line): Similarily.
16854 * eqn/eqn.h: Declare compatible_flag.
16856 * etc/soelim.c (main): Add -C option.
16857 (interpret_lf_args): Use version in libgroff.
16860 * pic/main.c (main): Add -C option, which sets compatible_flag.
16861 (top_input::get), (top_input::peek): If -C option not given,
16862 do not recognize .PS/.PE/.PF/.lf if followed by a character
16863 other than space or newline.
16864 * pic/lex.c (file_input::read_line): Similarily.
16865 * pic/pic.h: Add declaration of compatible_flag.
16867 Thu Aug 2 11:11:27 1990 James Clark (jjc at yquem)
16869 * ps/tmac.ps (PSPIC): Avoid use of `echo -n'.
16871 * troff/node.c, troff/node.h: Add `asciify' methods to classes
16872 derived from node. New class space_char_hmotion_node.
16873 * troff/input.c (asciify_macro): New function.
16874 * troff/input.c (init_input_requests): New request `asciify' bound
16876 * macros/mm.diff: New file.
16877 * Makefile: In install.mm target use `patch' to apply
16880 * troff/input.c (macro::print_size): Just print the size in bytes.
16882 * troff/div.c (return_request): Correct the argument
16885 Wed Aug 1 12:38:36 1990 James Clark (jjc at yquem)
16887 * troff/node.h (class composite_node): Add sz member.
16888 * troff/node.c (composite_node::size): Return sz.
16889 * troff/input.c (macro_to_node): Use the initial size in the
16890 environment as the size of the composite_node.
16892 * troff/node.c (node::zero_width_tprint): Provide a reasonable
16895 Tue Jul 31 10:07:10 1990 James Clark (jjc at yquem)
16897 * troff/div.c (change_trap): If we get a bad number expression,
16900 Mon Jul 30 10:30:49 1990 James Clark (jjc at yquem)
16902 * lib/matherr.c (matherr): Define this only if math.h defines
16905 Sun Jul 29 10:34:27 1990 James Clark (jjc at yquem)
16907 * troff/div.c (macro_diversion::distance_to_next_trap): If there
16908 no diversion trap return vunits(INT_MAX - vresolution).
16910 Sat Jul 28 14:28:14 1990 James Clark (jjc at yquem)
16912 * troff/input.c (do_zero_width): New implementation that doesn't
16913 use a temporary environment. Use instead:
16914 (token::add_to_node_list): New function.
16915 * troff/env.c (environment::get_prev_char_height),
16916 (environment::get_prev_char_height),
16917 (environment::get_prev_char_skew): New functions.
16918 (environment::get_prev_char): New function.
16919 (environment::get_prev_char_width): Change to use get_prev_char.
16920 (init_env_request): Implement new registers .cht, .cdp, .csk.
16921 * eqn/sqrt.c (sqrt_box::output): Don't rely upon the argument to
16922 \Z being processed in a separate environment.
16924 Fri Jul 27 10:21:25 1990 James Clark (jjc at yquem)
16926 * tbl/table.c: Removed TABLE_BOTTOM_REG.
16928 * tbl/table.c (table::init_output): In the section release macro,
16929 give a warning message if the section won't fit on one page.
16931 * tbl/table.c (table::do_top): Emit table keep only if table is
16933 (table::do_bottom): Likewise for table release.
16934 (table::table), (table::add_vertical_rule): Remove reference to
16936 * tbl/table.h: Remove keep member.
16938 * tbl/table.c: New register SUPPRESS_BOTTOM_REG. In
16939 SECTION_RELEASE_MACRO, if there's not enough space before the next
16940 trap to output the diversion, call T# ourselves, set
16941 SUPPRESS_BOTTOM_REG to 1, spring the trap, then set
16942 SUPPRESS_BOTTOM_REG back to 0. In T#, do nothing if
16943 SUPPRESS_BOTTOM_REG is non-zero. In T#, always mark the current
16944 vertical position and return to it before turning traps on again.
16946 Thu Jul 26 02:54:32 1990 James Clark (jjc at yquem)
16948 * troff/node.c, troff/node.h: In classes derived from node,
16949 replace prev_char_width method by last_char_node method.
16950 * troff/env.c (environment::get_prev_char_width): Use
16951 node::last_char_node rather than node::get_prev_char_width.
16953 * Makefile: Added comment about -fno-inline on 68030-based
16956 * troff/reg.c (number_format_to_ascii), eqn/delim.c (DELIM_TABLE_SIZE),
16957 tty/tty.c (tty_font::load_tty_font), dvi/tfmtodit.c (main): Cast
16958 expressions using sizeof to int.
16959 * dvi/dvi.c (dvi_font::handle_x_command): Avoid long->int warnings.
16961 * macros/tmac.e (TS): Don't move @f back past the current
16964 Wed Jul 25 09:11:08 1990 James Clark (jjc at yquem)
16966 * ps/ps.c (main): Buffer stderr.
16967 * dvi/dvi.c (main): Likewise.
16968 * tty/tty.c (main): Likewise.
16970 * ps/ps.c (ps_printer::do_import): Improve error handling.
16972 * troff/input.c (abort_request): Use asciify.
16974 * driver/printer.h (printer::draw), driver/printer.c (printer::draw),
16975 ps/ps.c (ps_printer::draw), dvi/dvi.c (dvi_printer::draw): Make
16976 type of first argument int rather than char. This works around a
16977 bug on the 68030 based Apollo using g++ 1.37.1.
16979 * tbl/table.h (class table): Add `keep' member.
16980 * tbl/table.c (table::table): Initialize `keep'.
16981 (table::add_vertical_rule): Set `keep' to 1.
16982 (table::do_top): Only emit table keep macro is `keep' is non-zero.
16983 (table::do_bottom): Likewise for table release macro.
16984 (table::do_row): Emit section keep macro even if the row is 0.
16986 Tue Jul 24 08:35:07 1990 James Clark (jjc at yquem)
16988 * macros/tmac.e (@C): Preserve the font family across the change
16991 Mon Jul 23 10:15:23 1990 James Clark (jjc at yquem)
16993 * lib/font.c: Initialize font::hor and font::vert to 1.
16994 (font::load_desc): Check the values of font::hor and font::vert.
16996 * lib/lib.h: Added definition of INT_DIGITS. Fix it so that it can
16997 be included in a C compilation.
16998 (iftoa): Use INT_DIGITS. Include lib.h.
17000 (as_string): Likewise.
17001 * tbl/table.c: Removed definition of INT_DIGITS.
17002 * eqn/box.c (box::top_level): Use INT_DIGITS + 1 instead of 12.
17003 * troff/input.c (input_input_requests): Likewise.
17004 * ps/ps.c (make_encoding_name): Likewise.
17005 (ps_printer::set_style): Likewise.
17006 (ps_output::put_number): Use 1 + INT_DIGITS + 1 instead of 12.
17008 * tty/devascii/R.proto: Map fm onto '.
17009 * tty/devlatin1/R.proto: Likewise.
17011 Sat Jul 21 12:45:07 1990 James Clark (jjc at yquem)
17013 * tbl/table.c: Use ' instead of DELIMITER_CHAR in places where the
17014 argument to \w is at a different input level.
17016 * tbl/table.c (table::init_output): Define a new macro
17017 REPEATED_VPT_MACRO, like vpt but if in a diversion also
17018 transparently outputs itself.
17019 (table::define_bottom_macro): Use REPEATED_VPT_MACRO instead of
17021 (table::do_row): Likewise.
17023 * tbl/table.c (vertical_rule::print): Prefix the .sp -1 line with
17024 TRANSPARENT_STRING_NAME.
17026 * tbl/table.c (table::init_output): In the table release macro
17027 print an error message and don't produce any output if after
17028 issuing the need request the table still will not fit. Also
17029 remove the diversion after bringing it back.
17031 * tbl/table.c (table::init_output): Define a new macro
17032 REPEATED_MARK_MACRO, like mk but if in a diversion also
17033 transparently outputs itself.
17034 (table::do_row): Mark row_top_reg using REPEATED_MARK_MACRO. This
17035 is necessary because .TH might not call .T#.
17036 (table::do_top): Likewise TOP_REG.
17037 (table::define_bottom_macro): If TOP_REG is no longer valid, use
17038 #T - DOUBLE_LINE_SEP rather than #T. This is necessary because the
17039 table header might contain just the two top rules.
17041 Fri Jul 20 10:51:42 1990 James Clark (jjc at yquem)
17043 * troff/div.c: Implement new request `ptr' to print all traps.
17045 * troff/env.c (init_env_requests): Implement `.tabs' reg with
17046 init_string_env_reg.
17047 * troff/env.c (class tab_reg): Deleted.
17049 Thu Jul 19 12:07:16 1990 James Clark (jjc at yquem)
17051 * troff/div.c: New number register .pn returns the number of the
17052 next page as set by the pn request.
17054 * macros/tmac.an: Redid headers and footers. Number each manual
17055 entry starting from 1 unless \nC is > 0, like Sun. Added an
17056 optional 5th argument to .TH which specifies the manual name and
17057 appears in the center of the header. Understand the X, P and D
17058 registers like Sun.
17060 Wed Jul 18 10:23:31 1990 James Clark (jjc at yquem)
17062 * troff/env.c (init_env_requests): New number register `.lt' to
17063 return the title length.
17065 * troff/node.h (class transparent_dummy_node): New class.
17066 * troff/node.c (class transparent_dummy_node): Provide member
17068 * troff/env.c (interrupt): Add a transparent_dummy_node, rather
17071 * troff/input.c (token::next): New escape sequence \).
17072 * troff/input.c (get_copy): Recognize \) in copy mode.
17074 * troff/input.c (input_stack::clear): New function.
17075 * troff/input.c (exit_request): Use input_stack::clear.
17077 * troff/token.h: Removed TOKEN_NO_PRINT_CHAR.
17078 * troff/input.c (token::process): Removed case TOKEN_NO_PRINT_CHAR.
17080 * troff/env.c: Move set_page_character to input.c. Move
17081 page_character to input.c also.
17082 * troff/env.c (title): Split off the reading of the parts of the
17083 title into read_title_parts.
17084 * troff/input.c (read_title_parts): New function. Check the
17085 input_level when testing whether a token matches the delimiter.
17087 * troff/input.c (exit_request): New function.
17088 * troff/input.c (init_input_requests): Bind ex request to
17089 exit_request rather than exit_groff.
17091 * troff/input.c (exit_groff): Call tok.next() before
17092 process_input_stack().
17094 Mon Jul 16 09:47:23 1990 James Clark (jjc at yquem)
17096 * troff/env.c: ifdef widow control support on WIDOW_CONTROL.
17097 * troff/env.h: ditto.
17098 * troff/input.c: ditto.
17100 * troff/env.c (environment::is_empty): Test pending_lines.
17102 * troff/env.c (environment::have_pending_lines): Removed.
17104 * troff/input.c: Add request to flush pending lines from the
17107 * troff/env.c, troff/env.h: Add automatic widow control feature.
17109 * troff/input.c (exit_groff): Do process_input_stack() after
17110 do_break() but before setting exit_flag to 2.
17112 * troff/input.c: Remove FLUSH_PENDING_LINES and
17113 TOKEN_FLUSH_PENDING_LINES. Instead, flush pending lines from
17114 environment after END_TRAP token seen, but only if there aren't
17115 any more traps still unfinished.
17116 * troff/token.h: Remove TOKEN_FLUSH_PENDING_LINES.
17118 Sun Jul 15 10:50:08 1990 James Clark (jjc at yquem)
17120 * troff/env.c: Rename the `retain_size' member of class
17121 pending_output_line to `no_fill'.
17123 * troff/env.c (title): When the line is output, make the
17124 retain_size argument !fill.
17126 * troff/node.h: Add `hyphenated' member to struct breakpoint.
17127 * troff/node.c (space_node::get_breakpoints),
17128 (dbreak_node::get_breakpoints): Fill this in.
17129 * troff/env.c: Allow specification of maximum number of
17130 consecutive hyphenated lines.
17132 * troff/env.c (environment::is_empty): Add test for !current_tab.
17134 Sat Jul 14 11:23:01 1990 James Clark (jjc at yquem)
17136 * troff/env.c (environment::hyphenate_line): Don't completely give
17137 up if the word is not to be hyphenated; continue so that breaks
17138 can be made at break_char_node's.
17140 * lib/lib.h: Only define INT_MAX if it's not already defined;
17141 undef INT_MIN if it's already defined.
17143 * Makefile: Make it easy to define CFRONT_ANSI_BUG.
17145 * lib/lib.h: If CFRONT_ANSI_BUG is defined, cast INT_MIN to long.
17146 This works around a bug in AT&T C++ 2.0 used with an ANSI C
17149 * macros/tmac.an (an-header): Set no-space mode.
17151 * macros/tmac.an (TH): Start a new page if necessary.
17153 * Started using ChangeLog at version 0.4.
17156 version-control: never